:root {
    --bg: #f5f2eb;
    --paper: #ffffff;
    --paper-soft: #eee9df;
    --ink: #11100e;
    --muted: #666059;
    --green: #173f2a;
    --green-dark: #0d271a;
    --gold: #a67c2e;
    --gold-soft: #eee2c9;
    --red: #7c1c1d;
    --line: rgba(17, 16, 14, 0.13);
    --line-strong: rgba(17, 16, 14, 0.25);
    --shadow: 0 18px 48px rgba(17, 16, 14, 0.08);
    --radius: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: 96px;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
}

body::before {
    content: "";
    position: fixed;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--green);
    pointer-events: none;
    z-index: 30;
}

img {
    display: block;
    max-width: 100%;
}

.pictogram-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(245, 242, 235, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.nav {
    width: min(1160px, calc(100% - 2rem));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {position: relative;display: inline-flex;align-items: center;min-height: 44px;padding: 0 15px;color: var(--ink);font-family: Georgia, "Times New Roman", serif;font-size: 1.35rem;font-weight: 700;letter-spacing: 0.12em;text-decoration: none;white-space: nowrap;}

.brand::after {content: "";position: absolute;left: 50%;bottom: -13px;width: 110px;height: 28px;transform: translateX(-50%);background: url("../img/dekor-nadpis-srdce.png") center / auto 28px repeat-x;opacity: 0.95;z-index: -1;pointer-events: none;}

.nav-links,
.nav-actions {
    display: flex;
    align-items: center;
}

.nav-links {
    gap: 0.08rem;
    margin-left: auto;
}

.nav-links a,
.nav-cta {
    text-decoration: none;
    padding: 0.62rem 0.72rem;
    border-radius: 4px;
    font-size: 0.93rem;
    font-weight: 800;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.nav-links a {
    color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--ink);
    background: rgba(17, 16, 14, 0.045);
}

.nav-actions {
    gap: 0.55rem;
}

.nav-cta {
    color: #fff;
    background: var(--green);
    border: 1px solid var(--green);
    white-space: nowrap;
    animation: cta-attention 30s ease-in-out infinite;
}

.nav-confirmation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    color: #fff;
    background: var(--green);
    border: 1px solid var(--green);
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(23, 63, 42, 0.18);
}

@keyframes cta-attention {
    0%, 68%, 100% {
        background: var(--green);
        border-color: var(--green);
    }

    10%, 22% {
        background: #5f4a1f;
        border-color: #5f4a1f;
    }
}

.nav-cta:hover,
.nav-cta:focus-visible {
    color: #fff;
    background: var(--green-dark);
    border-color: var(--green-dark);
    animation-play-state: paused;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line-strong);
    background: var(--paper);
    border-radius: 4px;
    padding: 0.65rem 0.9rem;
    color: var(--ink);
    font: inherit;
    font-weight: 850;
}

.section {
    width: min(1160px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 5.25rem 0;
}

.hero {
    position: relative;
    min-height: calc(100vh - 72px);
    isolation: isolate;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.34) 45%, rgba(0, 0, 0, 0.14)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.34), transparent 28%, rgba(0, 0, 0, 0.16)),
        url("../img/uvodni.png") center / cover no-repeat;
}

.hero-inner {
    width: min(1160px, calc(100% - 2rem));
    min-height: calc(100vh - 72px);
    margin: 0 auto;
    display: grid;
    align-content: center;
    position: relative;
    padding: clamp(5rem, 10vh, 8rem) 0 clamp(6.25rem, 14vh, 8rem);
}

.hero-copy {
    max-width: 780px;
    border-left: 3px solid rgba(255, 255, 255, 0.66);
    padding-left: clamp(1.25rem, 3vw, 2rem);
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.hero-eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.hero-eyebrow::after {
    background: var(--gold);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 0 0.85rem;
    color: var(--green);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::after {
    content: "";
    width: 44px;
    height: 1px;
    background: var(--gold);
}

h1,
h2,
h3 {
    line-height: 1.12;
    margin: 0;
}

h1,
h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

h1 {
    max-width: 820px;
    font-size: clamp(4.2rem, 9.4vw, 8rem);
    letter-spacing: -0.06em;
}

.hero-names {
    margin: 0.85rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.65rem, 3.1vw, 2.6rem);
    letter-spacing: 0.03em;
}

.hero-countdown {
    position: absolute;
    left: 0;
    bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    max-width: calc(100vw - 2rem);
    padding: 0.8rem 1rem;
    color: #fff;
    background: rgba(17, 16, 14, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
}

.countdown-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.countdown-values {
    display: inline-flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    line-height: 1;
}

.countdown-values span {
    white-space: nowrap;
    font-size: 0.94rem;
}

.countdown-values strong {
    color: var(--gold-soft);
    font-size: 1.1rem;
}

h2 {
    max-width: 850px;
    font-size: clamp(2.15rem, 4.4vw, 4.05rem);
    letter-spacing: -0.035em;
}

h3 {
    font-size: 1.08rem;
    font-weight: 850;
}

.section p,
.rsvp-copy p {
    color: var(--muted);
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 3.05rem;
    padding: 0.82rem 1.15rem;
    border: 1px solid transparent;
    border-radius: 4px;
    font: inherit;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-primary {
    color: #fff;
    background: var(--green);
    box-shadow: 0 12px 24px rgba(24, 63, 43, 0.17);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--green-dark);
}

.button-full {
    width: 100%;
}

.quick-facts {
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
}

.quick-facts article {
    display: grid;
    align-content: start;
    min-height: 152px;
    padding: 1.3rem 1.35rem;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.quick-facts article:first-child {
    border-left: 1px solid var(--line);
}

.quick-facts article:last-child {
    border-right: 1px solid var(--line);
}

.fact-icon {
    display: inline-flex;
    width: 2.1rem;
    height: 2.1rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    border: 1px solid var(--line);
    background: var(--paper-soft);
    border-radius: 999px;
    font-size: 1rem;
}

.quick-facts strong {
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.16rem, 2.2vw, 1.45rem);
    line-height: 1.2;
}

.quick-facts strong a {
    text-decoration-color: var(--gold);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.2em;
}

.quick-facts small {
    display: block;
    margin-top: 0.45rem;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.notice {
    width: min(1160px, calc(100% - 2rem));
    margin: 1rem auto 0;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-left-width: 4px;
    background: var(--paper);
    box-shadow: 0 10px 30px rgba(17, 16, 14, 0.05);
}

.notice-success {
    border-left-color: var(--green);
}

.notice-error {
    border-left-color: var(--red);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
}

.when-where-section {
    padding-top: 4.25rem;
}

.anchor-icons {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.35rem;
}

.anchor-icon {
    display: grid;
    place-items: center;
    min-height: 112px;
    padding: 1rem;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    text-align: center;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(17, 16, 14, 0.035);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.anchor-icon:hover,
.anchor-icon:focus-visible {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    background: #fff;
    box-shadow: 0 16px 34px rgba(17, 16, 14, 0.07);
}

.anchor-icon img,
.anchor-icon .pictogram-img {
    width: 3.1rem;
    height: 3.1rem;
    object-fit: contain;
}

.anchor-icon span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.plain-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.15rem;
    height: 2.15rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
}

.plain-icon img,
.plain-icon .pictogram-img {
    width: 1.1rem;
    height: 1.1rem;
    object-fit: contain;
}

.icon-title {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.icon-title .plain-icon {
    width: 1.95rem;
    height: 1.95rem;
}

.icon-title .plain-icon img,
.icon-title .plain-icon .pictogram-img {
    width: 1rem;
    height: 1rem;
    object-fit: contain;
}

.card,
.info-card,
.hotel-card,
.parking-card,
.rsvp-form,
.results-login,
.results-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 14px 34px rgba(17, 16, 14, 0.05);
}

.location-card {
    padding: 2rem;
    border-top: 3px solid var(--green);
}

.card-label {
    display: inline-flex;
    margin-bottom: 1.2rem;
    padding: 0.32rem 0.65rem;
    color: var(--green-dark);
    background: var(--gold-soft);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.text-link {
    color: var(--green);
    font-weight: 900;
    text-decoration-color: var(--gold);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.22em;
}

.story-section {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
    gap: clamp(1.6rem, 5vw, 4rem);
    align-items: center;
    padding-top: 4rem;
}

.story-photo {
    position: relative;
    margin: 0;
    padding: 0.8rem;
    background: var(--paper);
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow);
}

.story-photo::before {
    content: "";
    position: absolute;
    inset: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.58);
    pointer-events: none;
    z-index: 1;
}

.story-photo::after {
    content: "";
    position: absolute;
    width: 4rem;
    height: 4rem;
    right: -0.45rem;
    bottom: -0.45rem;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    pointer-events: none;
}

.story-photo img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    background: var(--paper-soft);
}

.story-copy {
    padding: clamp(0.5rem, 2vw, 1.5rem) 0;
}

.story-note {
    margin-top: 1.4rem;
    color: var(--green) !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
}

.gallery {
    padding-top: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
    grid-auto-flow: dense;
}

.gallery-grid figure {
    display: grid;
    grid-template-rows: minmax(250px, 1fr) auto;
    min-height: 250px;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 14px 34px rgba(17, 16, 14, 0.05);
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    background: var(--paper-soft);
}

.gallery-grid figcaption {
    padding: 0.58rem 0.72rem;
    color: var(--muted);
    background: #fff;
    border-top: 1px solid var(--line);
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gallery-grid figure:nth-child(1) {
    grid-row: span 2;
    min-height: 520px;
}

.gallery-grid figure:nth-child(1) img {
    min-height: 470px;
}

.gallery-grid figure:nth-child(5) {
    grid-column: span 2;
}

.timeline {
    display: grid;
    gap: 0.85rem;
    margin-top: 2rem;
    border-left: 2px solid var(--gold);
    padding-left: 1rem;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    padding: 1.15rem 1.25rem;
    background: var(--paper);
    border: 1px solid var(--line);
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: calc(-1rem - 7px);
    top: 1.5rem;
    width: 12px;
    height: 12px;
    background: var(--green);
    border: 3px solid var(--bg);
    border-radius: 999px;
}

.timeline-item time {
    color: var(--red);
    font-size: 1.25rem;
    font-weight: 950;
}

.timeline-item p {
    margin: 0.45rem 0 0;
    color: var(--muted);
}

.section-heading-row {
    display: block;
}

.hotels-section {
    padding-top: 4rem;
}

.hotel-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 2rem;
}

.hotel-card {
    position: relative;
    padding: 1.15rem;
    min-height: 100%;
    border-top: 3px solid var(--green);
}

.hotel-card:nth-child(2) {
    border-top-color: var(--gold);
}

.hotel-card:nth-child(3) {
    border-top-color: var(--red);
}

.hotel-card:nth-child(4) {
    border-top-color: var(--ink);
}

.hotel-number {
    position: absolute;
    right: 1rem;
    top: 0.9rem;
    color: rgba(17, 16, 14, 0.13);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.35rem;
    font-weight: 700;
    line-height: 1;
}

.hotel-card h3 {
    position: relative;
    padding-right: 2.25rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.28rem;
}

.hotel-card p {
    margin: 0.75rem 0 0.95rem;
    font-size: 0.92rem;
}

.hotel-card dl {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding-top: 0.8rem;
    border-top: 1px solid var(--line);
}

.hotel-card dl div {
    display: grid;
    gap: 0.15rem;
}

.hotel-card dt {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hotel-card dd {
    margin: 0;
    color: var(--ink);
    font-size: 0.94rem;
    font-weight: 700;
}

.hotel-card dd a {
    color: var(--green);
}

.hotel-actions {
    display: flex;
    gap: 0.55rem;
    margin-top: 1rem;
}

.hotel-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.32rem;
    padding: 0.48rem 0.72rem;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    font-size: 0.92rem;
    font-weight: 900;
    text-decoration: none;
}

.hotel-actions a:first-child {
    color: #fff;
    background: var(--green);
    border-color: var(--green);
}

.parking-section {
    padding-top: 4rem;
}

.parking-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 2rem;
}

.parking-card {
    position: relative;
    min-height: 100%;
    padding: 1.35rem;
    border-top: 3px solid var(--ink);
}

.parking-card:nth-child(2) {
    border-top-color: var(--green);
}

.parking-card:nth-child(3) {
    border-top-color: var(--gold);
}

.parking-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    margin-bottom: 1rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-weight: 950;
}

.parking-card p {
    margin: 0.7rem 0 1rem;
    font-size: 0.94rem;
}

.info-section {
    padding-top: 4rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.info-card {
    min-height: 100%;
    padding: 1.55rem;
    border-top: 3px solid var(--gold);
}

.info-card-wide {
    grid-row: auto;
}

.info-card:nth-child(1) {
    border-top-color: var(--green);
}

.info-card:nth-child(2) {
    border-top-color: var(--gold);
}

.info-card:nth-child(3) {
    border-top-color: var(--ink);
}

.info-card:nth-child(4) {
    border-top-color: var(--red);
}

.info-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.info-card p + p {
    margin-top: 0.85rem;
}

.rsvp-section {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: start;
}

.rsvp-copy {
    position: sticky;
    top: 110px;
    border-left: 3px solid var(--gold);
    padding-left: 1.4rem;
}

.rsvp-form {
    padding: clamp(1.2rem, 4vw, 2rem);
    border-top: 3px solid var(--green);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-row {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

label {
    color: var(--ink);
    font-weight: 850;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    padding: 0.92rem 1rem;
    color: var(--ink);
    background: #fff;
    font: inherit;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(24, 63, 43, 0.12);
}

textarea {
    resize: vertical;
}

.hidden-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.footer {
    width: min(1160px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 4rem;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--line);
}

.footer a {
    color: var(--green);
    font-weight: 900;
}

.results-page {
    background: var(--bg);
}

.results-wrap {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 4rem 0;
}

.results-wrap h1 {
    margin-bottom: 1.75rem;
    font-size: clamp(2.4rem, 5vw, 4.3rem);
}

.results-login {
    max-width: 440px;
    padding: 1.5rem;
    border-top: 3px solid var(--green);
}

.results-login .notice {
    width: 100%;
    margin: 0 0 1rem;
}

.results-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.results-pill {
    display: inline-flex;
    padding: 0.62rem 0.8rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    font-weight: 850;
}

.results-panel {
    overflow: hidden;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
    font-size: 0.94rem;
}

.results-table th,
.results-table td {
    padding: 0.85rem 0.9rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.results-table th {
    color: #fff;
    background: var(--green-dark);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.results-table tr:last-child td {
    border-bottom: 0;
}

.results-table .note-cell {
    max-width: 340px;
    white-space: pre-wrap;
}

.results-empty {
    margin: 0;
    padding: 1.5rem;
    color: var(--muted);
}

@media (max-width: 1060px) {
    .hotel-grid,
    .anchor-icons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .nav {
        width: min(100% - 1.5rem, 1160px);
        gap: 0.65rem;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-actions {
        margin-left: auto;
    }

    .nav-cta {
        padding-inline: 0.72rem;
    }

    .nav-links {
        position: absolute;
        left: 0.75rem;
        right: 0.75rem;
        top: 72px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        margin-left: 0;
        padding: 0.5rem;
        background: var(--paper);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        padding: 0.78rem 0.85rem;
    }

    .hero,
    .hero-inner {
        min-height: calc(86vh - 72px);
    }

    .hero {
        background-position: center;
    }

    .split,
    .story-section,
    .section-heading-row,
    .rsvp-section {
        grid-template-columns: 1fr;
    }

    .parking-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 4rem 0;
    }

    .quick-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-facts article,
    .quick-facts article:first-child,
    .quick-facts article:last-child {
        border: 1px solid var(--line);
    }

    .info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .info-card-wide {
        grid-row: auto;
        grid-column: span 2;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid figure:nth-child(1) {
        grid-row: auto;
        min-height: 260px;
    }

    .gallery-grid figure:nth-child(1) img {
        min-height: 260px;
    }

    .gallery-grid figure:nth-child(5) {
        grid-column: auto;
    }

    .timeline {
        padding-left: 0.8rem;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }

    .rsvp-copy {
        position: static;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: clamp(3.2rem, 17vw, 4.65rem);
    }

    .brand {
        font-size: 1.12rem;
    }

    .nav-cta,
    .nav-toggle {
        font-size: 0.86rem;
    }

    .nav-cta {
        padding-inline: 0.58rem;
    }

    .hero-inner {
        width: min(100% - 1.25rem, 1160px);
        padding-top: 4.25rem;
        padding-bottom: 7.25rem;
    }

    .hero-copy {
        border-left-width: 2px;
        padding-left: 1rem;
    }

    .hero-countdown {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.42rem;
        bottom: 1.25rem;
        padding: 0.72rem 0.85rem;
    }

    .countdown-values {
        gap: 0.7rem;
    }

    .section {
        width: min(100% - 1.25rem, 1160px);
    }

    .quick-facts,
    .hotel-grid,
    .parking-grid,
    .info-grid,
    .form-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid figure,
    .gallery-grid figure:nth-child(1) {
        min-height: 240px;
    }

    .gallery-grid img,
    .gallery-grid figure:nth-child(1) img {
        min-height: 220px;
    }

    .anchor-icons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
    }

    .anchor-icon {
        min-height: 96px;
        padding: 0.85rem;
    }

    .anchor-icon img,
    .anchor-icon .pictogram-img {
        width: 2.7rem;
        height: 2.7rem;
    }

    .info-card-wide {
        grid-column: auto;
    }

    .footer {
        flex-direction: column;
    }
}


@media (prefers-reduced-motion: reduce) {
    .nav-cta {
        animation: none;
    }
}

.companions-list {
    margin: 0 0 1.2rem;
    padding: 1rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
}

.companions-list[hidden] {
    display: none;
}

.companions-title {
    margin-bottom: 0.25rem;
    color: var(--ink);
    font-weight: 900;
}

.companions-description {
    margin: 0 0 0.9rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.companion-row {
    margin: 0 0 0.9rem;
    padding: 0;
    border: 0;
}

.companion-row:last-child {
    margin-bottom: 0;
}

.companion-row legend {
    margin-bottom: 0.55rem;
    color: var(--green-dark);
    font-size: 0.85rem;
    font-weight: 900;
}

.companion-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.compact-form-row {
    margin-bottom: 0;
}

.compact-form-row label {
    font-size: 0.9rem;
}

@media (max-width: 620px) {
    .companion-grid {
        grid-template-columns: 1fr;
    }
}

/* RSVP jako odpovědní dopis / pohled */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.rsvp-section {
    display: block;
}

.rsvp-copy {
    position: static;
    top: auto;
    max-width: 780px;
    margin: 0 auto 1.15rem;
    padding-left: 0;
    border-left: 0;
    text-align: center;
}

.rsvp-copy h2 {
    max-width: none;
    margin: 0 auto;
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    letter-spacing: -0.025em;
}

.rsvp-form.rsvp-letter {
    position: relative;
    width: 100%;
    padding: 0;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(166, 124, 46, 0.08), transparent 30%),
        linear-gradient(315deg, rgba(23, 63, 42, 0.07), transparent 34%),
        #fff;
    border: 1px solid var(--line-strong);
    border-top: 0;
    box-shadow: 0 24px 70px rgba(17, 16, 14, 0.1);
}

.rsvp-form.rsvp-letter::before,
.rsvp-form.rsvp-letter::after {
    content: "";
    position: absolute;
    pointer-events: none;
    opacity: 0.42;
}

.rsvp-form.rsvp-letter::before {
    inset: 0 0 auto 0;
    height: clamp(4.5rem, 11vw, 7.5rem);
    background:
        linear-gradient(156deg, transparent 49.5%, rgba(17, 16, 14, 0.13) 50%, transparent 50.6%),
        linear-gradient(24deg, transparent 49.5%, rgba(17, 16, 14, 0.11) 50%, transparent 50.6%);
}

.rsvp-form.rsvp-letter::after {
    inset: auto 0 0 0;
    height: clamp(3.4rem, 8vw, 5.4rem);
    background: linear-gradient(0deg, rgba(17, 16, 14, 0.045), transparent);
}

.letter-paper {
    position: relative;
    z-index: 1;
    padding: clamp(1.45rem, 4vw, 3.1rem);
}

.letter-stamp {
    position: absolute;
    z-index: 2;
    top: clamp(1rem, 2vw, 1.6rem);
    right: clamp(1rem, 2.4vw, 2rem);
    display: grid;
    place-items: center;
    width: 4.25rem;
    height: 3.05rem;
    color: var(--muted);
    border: 1px dashed var(--line-strong);
    background: rgba(255, 255, 255, 0.72);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.letter-date {
    margin: 0 5.4rem 1.7rem 0;
    color: var(--muted);
    text-align: right;
    font-size: 0.95rem;
}

.letter-salutation,
.letter-signoff {
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
}

.letter-salutation {
    margin: 0 0 1.2rem;
}

.letter-signoff {
    margin: 1.35rem 0 0.2rem;
}

.letter-sentence {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem 0.65rem;
    margin-bottom: 1.25rem;
    color: var(--ink);
    font-size: clamp(1.02rem, 1.6vw, 1.18rem);
}

.rsvp-letter input,
.rsvp-letter textarea {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    border-radius: 0;
    padding: 0.42rem 0.12rem 0.35rem;
    box-shadow: none;
}

.rsvp-letter input:focus,
.rsvp-letter textarea:focus {
    border-color: var(--green);
    box-shadow: 0 3px 0 rgba(23, 63, 42, 0.12);
}

.rsvp-letter textarea {
    min-height: 6.4rem;
    padding: 0.8rem;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.58);
    resize: vertical;
}

.letter-input-name {
    flex: 1 1 260px;
    min-width: 210px;
    font-weight: 800;
}

.letter-count-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 1rem;
    max-width: 580px;
    margin: 0.75rem 0 1rem;
}

.letter-mini-field {
    display: grid;
    grid-template-columns: 1fr 5rem;
    align-items: end;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line);
}

.letter-mini-field label {
    color: var(--muted);
    font-size: 0.94rem;
}

.letter-mini-field input {
    text-align: center;
    font-weight: 900;
}

.letter-companions {
    margin: 0.95rem 0 1rem;
    padding: 0.78rem 0 0.25rem;
    background: transparent;
    border: 0;
    border-top: 1px dashed var(--line-strong);
    border-bottom: 1px dashed var(--line);
}

.rsvp-letter .companions-title {
    margin-bottom: 0.35rem;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    font-weight: 700;
}

.rsvp-letter .companion-row {
    display: grid;
    grid-template-columns: minmax(5.6rem, 0.18fr) 1fr;
    align-items: end;
    gap: 0.65rem;
    min-width: 0;
    margin: 0 0 0.45rem;
    padding: 0;
    border: 0;
}

.rsvp-letter .companion-row legend {
    margin: 0 0 0.2rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.rsvp-letter .companion-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    min-width: 0;
}

.rsvp-letter .compact-form-row {
    gap: 0.12rem;
    margin-bottom: 0;
}

.rsvp-letter .compact-form-row label {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 850;
}

.rsvp-letter .compact-form-row input {
    padding: 0.28rem 0.08rem;
}

.letter-note-row {
    margin: 1rem 0 0;
}

.letter-note-row label {
    display: inline-flex;
    margin-bottom: 0.45rem;
    color: var(--muted);
}

.rsvp-letter .button-full {
    width: auto;
    min-width: 230px;
    margin-top: 1rem;
}

@media (max-width: 760px) {
    .letter-count-grid {
        grid-template-columns: 1fr 1fr;
        max-width: none;
    }

    .rsvp-letter .companion-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
}

@media (max-width: 560px) {
    .letter-stamp {
        width: 3.55rem;
        height: 2.55rem;
        font-size: 0.76rem;
    }

    .letter-date {
        margin-right: 4.1rem;
        font-size: 0.86rem;
    }

    .letter-count-grid,
    .rsvp-letter .companion-grid {
        grid-template-columns: 1fr;
    }

    .letter-mini-field {
        grid-template-columns: 1fr 4.6rem;
    }

    .rsvp-letter .button-full {
        width: 100%;
        min-width: 0;
    }
}

/* Světlejší vzhled se stuhou a kompaktní RSVP odpověď */
:root {
    --bg: #ffffff;
    --paper: #ffffff;
    --paper-soft: #fbfaf6;
    --ink: #161412;
    --muted: #665f56;
    --green: #2f6d3d;
    --green-dark: #1f4d2c;
    --gold: #d4a51f;
    --gold-soft: #fff4cc;
    --red: #b62924;
    --red-dark: #7c1f1d;
    --line: rgba(22, 20, 18, 0.10);
    --line-strong: rgba(22, 20, 18, 0.18);
    --shadow: 0 18px 46px rgba(22, 20, 18, 0.10);
    --shadow-soft: 0 10px 28px rgba(22, 20, 18, 0.07);
    --radius: 16px;
}

body {
    background:
        radial-gradient(circle at 18% 0%, rgba(212, 165, 31, 0.08), transparent 28rem),
        radial-gradient(circle at 82% 8%, rgba(47, 109, 61, 0.07), transparent 30rem),
        #fff;
}

body::before {
    width: auto;
    height: 52px;
    inset: 72px 0 auto 0;
    background: url("../img/stuha-okraj.png") center / auto 52px repeat-x;
    opacity: 0.42;
    z-index: 0;
}

.site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(22, 20, 18, 0.08);
    box-shadow: 0 8px 26px rgba(22, 20, 18, 0.06);
}

main,
.footer {
    position: relative;
    z-index: 1;
}

.brand::after {
    background: linear-gradient(90deg, var(--red), var(--gold), var(--green));
}

.nav-cta,
.button-primary,
.hotel-actions a:first-child {
    background: var(--green);
    border-color: var(--green);
}

@keyframes cta-attention {
    0%, 68%, 100% {
        background: var(--green);
        border-color: var(--green);
    }

    10%, 22% {
        background: var(--red);
        border-color: var(--red);
    }
}

.nav-cta:hover,
.nav-cta:focus-visible,
.button-primary:hover,
.button-primary:focus-visible,
.hotel-actions a:first-child:hover,
.hotel-actions a:first-child:focus-visible {
    background: var(--green-dark);
    border-color: var(--green-dark);
}

.section {
    position: relative;
    width: min(1160px, calc(100% - 2rem));
    margin: 2.1rem auto;
    padding: clamp(2.15rem, 4vw, 3.45rem);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 18px;
    background: url("../img/stuha-okraj.png") center / auto 56px repeat-x;
    opacity: 0.92;
    pointer-events: none;
}

.section > h2:first-child,
.section-heading-row h2,
.rsvp-copy h2,
.story-copy h2 {
    margin-top: 0.35rem;
}

.hero {
    margin-bottom: 2.1rem;
}

.hero-countdown {
    border-radius: 999px;
    background: rgba(22, 20, 18, 0.56);
}

.card,
.info-card,
.hotel-card,
.parking-card,
.results-login,
.results-panel {
    background: #fff;
    border-color: var(--line);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(22, 20, 18, 0.07);
}

.location-card,
.hotel-card,
.parking-card,
.info-card,
.results-login {
    border-top-width: 0;
}

.location-card::before,
.hotel-card::before,
.parking-card::before,
.info-card::before,
.results-login::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--green), var(--gold), var(--red));
    border-radius: 14px 14px 0 0;
}

.location-card,
.hotel-card,
.parking-card,
.info-card,
.results-login {
    position: relative;
    overflow: hidden;
}

.hotel-card:nth-child(2)::before,
.parking-card:nth-child(2)::before,
.info-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--gold), var(--green));
}

.hotel-card:nth-child(3)::before,
.parking-card:nth-child(3)::before,
.info-card:nth-child(4)::before {
    background: linear-gradient(90deg, var(--red), var(--gold));
}

.hotel-card:nth-child(4)::before,
.info-card:nth-child(3)::before {
    background: linear-gradient(90deg, var(--green), var(--red));
}

.anchor-icon,
.gallery-grid figure,
.timeline-item {
    background: #fff;
    border-color: var(--line);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(22, 20, 18, 0.06);
}

.timeline {
    border-left-color: var(--green);
}

.timeline-item::before {
    background: var(--red);
    border-color: #fff;
}

.timeline-item time {
    color: var(--green-dark);
}

.text-link,
.footer a,
.hotel-card dd a {
    color: var(--green-dark);
    text-decoration-color: var(--red);
}

.story-photo {
    border-radius: 16px;
    border-color: var(--line);
}

.story-photo::after {
    border-right-color: var(--red);
    border-bottom-color: var(--red);
}

.gallery-grid figcaption {
    color: var(--muted);
    background: #fff;
}

.footer {
    margin-top: 2.1rem;
    padding-top: 2rem;
}

.rsvp-section {
    display: block;
}

.rsvp-copy {
    position: static;
    max-width: none;
    margin: 0 0 1rem;
    padding: 0;
    border: 0;
    text-align: left;
}

.rsvp-copy h2 {
    max-width: none;
    font-size: clamp(1.65rem, 3vw, 2.55rem);
}

.rsvp-copy p {
    max-width: 680px;
    margin: 0.45rem 0 0;
}

.rsvp-form.reply-card {
    position: relative;
    width: 100%;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(22, 20, 18, 0.09);
}

.rsvp-form.reply-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 20px;
    background: url("../img/stuha-okraj.png") center / auto 58px repeat-x;
    opacity: 0.95;
}

.reply-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem clamp(1rem, 3vw, 1.6rem) 0.9rem;
    margin-top: 20px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(251, 250, 246, 0.98), #fff);
}

.reply-kicker {
    display: inline-flex;
    color: var(--red-dark);
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.reply-card-header p {
    margin: 0.28rem 0 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.reply-date {
    flex: 0 0 auto;
    padding: 0.38rem 0.6rem;
    color: var(--green-dark);
    background: var(--gold-soft);
    border: 1px solid rgba(212, 165, 31, 0.32);
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 900;
    white-space: nowrap;
}

.reply-fields {
    padding: clamp(1rem, 3vw, 1.6rem);
}

.reply-main-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 9rem 9rem;
    gap: 0.85rem;
    align-items: end;
}

.reply-card .form-row {
    gap: 0.28rem;
    margin-bottom: 0;
}

.reply-card label {
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 900;
}

.reply-card input,
.reply-card textarea {
    min-height: 2.7rem;
    padding: 0.68rem 0.75rem;
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    box-shadow: none;
}

.reply-card input:focus,
.reply-card textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(47, 109, 61, 0.12);
}

.reply-small-field input {
    text-align: center;
    font-weight: 900;
}

.reply-companions {
    margin: 0.85rem 0 0;
    padding: 0.85rem;
    background: var(--paper-soft);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.reply-card .companions-title {
    margin-bottom: 0.55rem;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 950;
}

.reply-card .companion-row {
    display: grid;
    grid-template-columns: 5.9rem minmax(0, 1fr);
    align-items: end;
    gap: 0.65rem;
    margin: 0 0 0.55rem;
    padding: 0;
    border: 0;
}

.reply-card .companion-row:last-child {
    margin-bottom: 0;
}

.reply-card .companion-row legend {
    margin: 0 0 0.6rem;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 950;
    white-space: nowrap;
}

.reply-card .companion-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.reply-card .compact-form-row label {
    font-size: 0.72rem;
}

.reply-card .compact-form-row input {
    min-height: 2.35rem;
    padding: 0.5rem 0.6rem;
}

.reply-note-row {
    margin-top: 0.85rem;
}

.reply-card textarea {
    min-height: 5.2rem;
    resize: vertical;
}

.reply-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
}

.reply-submit-row span {
    color: var(--muted);
    font-size: 0.92rem;
}

.reply-submit-row .button {
    min-width: 13rem;
    min-height: 2.8rem;
    border-radius: 999px;
}

@media (min-width: 1180px) {
    body {
        background:
            url("../img/stuha-okraj.png") left 100px / 120px auto repeat-y,
            url("../img/stuha-okraj.png") right 100px / 120px auto repeat-y,
            radial-gradient(circle at 18% 0%, rgba(212, 165, 31, 0.08), transparent 28rem),
            radial-gradient(circle at 82% 8%, rgba(47, 109, 61, 0.07), transparent 30rem),
            #fff;
    }
}

@media (max-width: 960px) {
    body::before {
        top: 72px;
        height: 44px;
        background-size: auto 44px;
        opacity: 0.26;
    }

    .section {
        padding: clamp(1.65rem, 5vw, 2.4rem);
        margin: 1.35rem auto;
        border-radius: 14px;
    }

    .reply-main-grid {
        grid-template-columns: 1fr 1fr;
    }

    .reply-name-field {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .section {
        width: min(100% - 1rem, 1160px);
    }

    .section::before {
        height: 12px;
        background-size: auto 42px;
    }

    .reply-card-header {
        flex-direction: column;
        gap: 0.7rem;
        padding: 1rem 0.9rem 0.85rem;
    }

    .reply-fields {
        padding: 0.9rem;
    }

    .reply-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
    }

    .reply-name-field {
        grid-column: span 2;
    }

    .reply-card .companion-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .reply-card .companion-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .reply-submit-row {
        align-items: stretch;
        flex-direction: column;
    }

    .reply-submit-row .button {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 440px) {
    .reply-card .companion-grid {
        grid-template-columns: 1fr;
    }
}


/* Finální úpravy stuhy, menu a doprovodu */
:root {
    --ribbon-side-width: clamp(64px, 7vw, 118px);
}

body {
    background:
        radial-gradient(circle at 18% 0%, rgba(219, 170, 30, 0.07), transparent 28rem),
        radial-gradient(circle at 82% 6%, rgba(47, 109, 61, 0.06), transparent 30rem),
        #fff;
}

body::before,
body::after {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    width: var(--ribbon-side-width);
    background: url("../img/stuha-okraj.png") center top / 100% auto repeat-y;
    pointer-events: none;
    z-index: 0;
    opacity: 0.92;
}

body::before {
    left: 0;
}

body::after {
    right: 0;
    transform: scaleX(-1);
    transform-origin: center;
}

.site-header {
    position: sticky;
    overflow: visible;
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    height: 15px;
    background: url("../img/stuha-sekce.png") center / auto 34px repeat-x;
    opacity: 0.5;
    pointer-events: none;
}

.brand {
    gap: 0.52rem;
}

.brand::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -13px;
    width: 110px;
    height: 28px;
    transform: translateX(-50%);
    background: url("../img/dekor-nadpis-srdce.png") center / auto 28px repeat-x;
    opacity: 0.95;
    z-index: -1;
    pointer-events: none;
}


main,
.footer {
    position: relative;
    z-index: 1;
}

.section {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 20px 48px rgba(22, 20, 18, 0.08);
}

.section::before {
    height: 15px;
    background: url("../img/stuha-sekce.png") center / auto 38px repeat-x;
    opacity: 0.82;
}

.rsvp-form.reply-card::before {
    height: 17px;
    background: url("../img/stuha-sekce.png") center / auto 38px repeat-x;
    opacity: 0.9;
}

.reply-card-header {
    margin-top: 17px;
}

/* Doprovody: dost místa, vedle sebe dokud je prostor. */
.reply-card .companions-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: stretch;
}

.reply-card .companion-row {
    flex: 1 1 460px;
    min-width: min(100%, 460px);
    display: block;
    margin: 0;
    padding: 0.62rem 0.7rem 0.7rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(22, 20, 18, 0.04);
}

.reply-card .companion-row legend {
    display: block;
    width: 100%;
    margin: 0 0 0.42rem;
    padding: 0;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 950;
    line-height: 1.2;
    white-space: nowrap;
}

.reply-card .companion-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(170px, 1fr));
    gap: 0.6rem;
}

.reply-card .compact-form-row input {
    min-width: 0;
    min-height: 2.55rem;
    padding: 0.56rem 0.68rem;
}

@media (min-width: 1320px) {
    .nav,
    .hero-inner,
    .section,
    .footer {
        width: min(1160px, calc(100% - (2 * var(--ribbon-side-width)) - 2rem));
    }
}

@media (max-width: 1179px) {
    body::before {
        top: 72px;
        right: 0;
        bottom: auto;
        width: auto;
        height: 46px;
        background: url("../img/stuha-sekce.png") center / auto 46px repeat-x;
        opacity: 0.24;
    }

    body::after {
        display: none;
    }

    .site-header::after {
        opacity: 0.42;
    }
}

@media (max-width: 760px) {
    .brand::before {
        width: 34px;
        height: 18px;
        background-size: auto 28px;
    }

    .reply-card .companion-row {
        flex-basis: 100%;
        min-width: 100%;
    }

    .reply-card .companion-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .reply-card .companion-grid {
        grid-template-columns: 1fr;
    }
}

/* Dekorace z nových folklorních prvků + odstranění pruhu pod menu */
.site-header::after {
    content: none !important;
    display: none !important;
}

/* Na menších obrazovkách už neděláme samostatný pruh hned pod menu. */
@media (max-width: 1179px) {
    body::before {
        display: none !important;
    }
}

.section {
    isolation: isolate;
}

.section > * {
    position: relative;
    z-index: 1;
}

/* Původní celoplošná stuha nad každou sekcí je nahrazená lehčími květinovými prvky u nadpisů. */
.section::before {
    content: none !important;
    display: none !important;
}

.hero-copy::before {
    content: "";
    display: block;
    width: min(320px, 72vw);
    height: 48px;
    margin: 0 0 0.65rem;
    background: url("../img/dekor-nadpis-srdce.png") left center / contain no-repeat;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
}

.section > h2:first-child::before,
.section-heading-row h2::before,
.when-where-section .split h2::before,
.story-copy h2::before,
.rsvp-copy h2::before {
    content: "";
    display: block;
    width: min(230px, 68vw);
    height: 34px;
    margin: 0 0 0.32rem;
    background: url("../img/dekor-nadpis-kvet.png") left center / contain no-repeat;
    opacity: 0.95;
}

.rsvp-copy h2::before {
    width: min(310px, 76vw);
    height: 38px;
    background-image: url("../img/dekor-nadpis-srdce.png");
}

/* Pár jemných motivů dovnitř webu - ne jako přeplácaná tapeta, jen tam, kde neruší obsah. */
.when-where-section::after,
.story-section::after,
.rsvp-form.reply-card::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.when-where-section::after {
    right: clamp(0.8rem, 2.8vw, 2rem);
    bottom: 1.05rem;
    width: clamp(42px, 6vw, 74px);
    height: clamp(190px, 25vw, 320px);
    background-image: url("../img/dekor-stonek-svisly.png");
    opacity: 0.14;
}

.story-section::after {
    left: -3.1rem;
    bottom: -3.8rem;
    width: clamp(150px, 20vw, 235px);
    height: clamp(190px, 24vw, 300px);
    background-image: url("../img/dekor-roh.png");
    opacity: 0.10;
    transform: rotate(-6deg);
}

.rsvp-form.reply-card::before {
    height: 22px;
    background: url("../img/dekor-linka-kvet.png") center / auto 44px no-repeat;
    opacity: 0.86;
}

.reply-card-header {
    margin-top: 22px;
}

.rsvp-form.reply-card::after {
    right: -2.5rem;
    bottom: -3rem;
    width: clamp(150px, 18vw, 230px);
    height: clamp(180px, 22vw, 292px);
    background-image: url("../img/dekor-roh.png");
    opacity: 0.09;
    transform: scaleX(-1) rotate(-3deg);
}

/* Doprovody - víc místa pro jména, stále se skládají vedle sebe podle šířky. */
.reply-card .companion-row {
    flex: 1 1 520px;
    min-width: min(100%, 440px);
}

.reply-card .companion-grid {
    grid-template-columns: repeat(2, minmax(190px, 1fr));
}

@media (max-width: 760px) {
    .hero-copy::before {
        width: min(260px, 78vw);
        height: 40px;
        margin-bottom: 0.45rem;
    }

    .section > h2:first-child::before,
    .section-heading-row h2::before,
    .when-where-section .split h2::before,
    .story-copy h2::before,
    .rsvp-copy h2::before {
        width: min(190px, 72vw);
        height: 28px;
    }

    .when-where-section::after,
    .story-section::after,
    .rsvp-form.reply-card::after {
        opacity: 0.055;
    }

    .reply-card .companion-row {
        flex-basis: 100%;
        min-width: 100%;
    }

    .reply-card .companion-grid {
        grid-template-columns: 1fr;
    }
}

/* === Návrat na vzhled z old.zip + aktuální texty ze svatba.zip === */
:root {
    --hero-panel-white: rgba(255, 255, 255, 0.86);
}

/* Široká obrazovka: starší hero vzhled, ale s bílým podkladem jen pod textem. */
.hero {
    background: url("../img/uvodni.png") center / cover no-repeat;
    overflow: hidden;
}

.hero-inner {
    align-content: start;
    padding-top: clamp(4.2rem, 7.4vh, 6.8rem);
    padding-bottom: clamp(5.8rem, 11vh, 7rem);
}

.hero-inner::before {
    content: "";
    position: absolute;
    left: max(-6vw, -5rem);
    top: clamp(2.4rem, 5vh, 4rem);
    width: min(720px, 64vw);
    height: min(470px, 58vh);
    background:
        radial-gradient(ellipse at 26% 30%, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 38%, rgba(255, 255, 255, 0.52) 57%, rgba(255, 255, 255, 0) 78%);
    pointer-events: none;
    z-index: 0;
}

.hero-copy,
.hero-countdown {
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 650px;
    padding-left: 0;
    border-left: 0;
    color: var(--ink);
    text-shadow: none;
}

.hero-copy::before {
    margin-left: 0;
    filter: none;
}

.hero h1 {
    color: var(--red);
    text-shadow: 0 2px 0 rgba(255,255,255,0.45), 0 10px 26px rgba(255,255,255,0.32);
}

.hero-names {
    color: var(--green);
    text-shadow: 0 2px 0 rgba(255,255,255,0.45), 0 10px 24px rgba(255,255,255,0.28);
}

.hero-countdown {
    position: relative;
    left: auto;
    bottom: auto;
    display: inline-flex;
    margin-top: 1.05rem;
    color: var(--green-dark);
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(17,16,14,0.13);
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(17,16,14,0.10);
    backdrop-filter: blur(6px);
}

.countdown-label {
    color: var(--muted);
}

.countdown-values strong {
    color: var(--green);
}

/* Stuha z old.zip po stranách zůstává jen tam, kde má prostor. */
@media (min-width: 1180px) {
    body::before,
    body::after {
        display: block;
    }
}

@media (max-width: 1179px) {
    body::before,
    body::after {
        display: none !important;
    }
}

/* Užší zobrazení: text jde pod fotku dřív, aby neležel přes obličeje. */
@media (max-width: 900px) {
    .hero {
        min-height: 1200px;
        background: none;
    }

    .hero::before {
        content: "";
        display: block;
        width: 100%;
        height: min(72vw, 460px);
        min-height: 300px;
        background: url("../img/uvodni.png") center 34% / cover no-repeat;
    }

    .hero-inner,
    .hero,
    .hero-inner {
        min-height: auto;
    }

    .hero-inner {
        width: min(100% - 1rem, 1160px);
        display: block;
        padding: 0.8rem 0 1.35rem;
        margin-top: 0;
        text-align: center;
    }

    .hero-inner::before {
        content: none;
    }

    .hero-copy {
        max-width: none;
        margin: 0 auto;
    }

    .hero-copy::before {
        margin-left: auto;
        margin-right: auto;
        background-position: center;
    }

    .hero h1 {
        color: var(--red);
        font-size: clamp(2.9rem, 13vw, 4.8rem);
        text-shadow: none;
    }

    .hero-names {
        color: var(--green);
        text-shadow: none;
    }

    .hero-countdown {
        margin: 1rem auto 0;
    }
}

@media (max-width: 640px) {
    .hero::before {
        height: min(78vw, 390px);
        min-height: 245px;
    }

    .hero-countdown {
        align-items: center;
        flex-direction: column;
        border-radius: 18px;
    }
}

/* RSVP: nadpis na střed a horní okraj formuláře jako stuha sekce z old.zip. */
.rsvp-section {
    display: block;
}

.rsvp-copy {
    position: static;
    top: auto;
    max-width: 880px;
    margin: 0 auto 1.25rem;
    padding-left: 0;
    border-left: 0;
    text-align: center;
}

.rsvp-copy h2 {
    max-width: none;
    margin-inline: auto;
    text-align: center;
}

.rsvp-copy h2::before {
    margin-left: auto;
    margin-right: auto;
    background-position: center;
}

.rsvp-form.reply-card {
    position: relative;
    overflow: hidden;
    padding-top: calc(clamp(1.2rem, 4vw, 2rem) + 18px);
}

.rsvp-form.reply-card::before {
    content: "" !important;
    display: block !important;
    position: absolute;
    inset: 0 0 auto 0;
    height: 22px;
    width: auto;
    margin: 0;
    background: url("../img/stuha-sekce.png") center / auto 42px repeat-x !important;
    opacity: 0.92;
    transform: none;
    pointer-events: none;
}

.rsvp-form.reply-card::after {
    opacity: 0.07;
}

.reply-card-header {
    margin-top: 0;
}


/* === Úprava: časomíra přímo v hero copy + statická boční stuha === */

/* Boční stuha už není přilepená k viewportu; je součást stránky a scrolluje s obsahem. */
body {
    position: relative;
}

body::before,
body::after {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    min-height: 100% !important;
}

/* Hero copy je kompaktní panel s bílým podkladem jen pod textem. */
.hero-inner {
    align-content: start;
    padding-top: clamp(2.2rem, 4.5vh, 4.2rem);
}

.hero-inner::before {
    content: none !important;
    display: none !important;
}

.hero-copy {
    position: relative;
    width: min(650px, 58vw);
    max-width: 650px;
    min-height: clamp(250px, 35vh, 360px);
    padding: clamp(1.35rem, 2.4vw, 2.1rem);
    border-left: 0;
    color: var(--ink);
    background:
        radial-gradient(ellipse at 28% 28%, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 44%, rgba(255,255,255,0.66) 66%, rgba(255,255,255,0) 83%);
    text-shadow: none;
}

.hero-copy::before {
    margin: 0 0 0.55rem;
    filter: none;
}

.hero h1 {
    width: min(480px, 100%);
    margin-top: clamp(4.7rem, 8vh, 6.4rem);
    color: var(--red) !important;
    text-shadow: 0 2px 0 rgba(255,255,255,0.5), 0 11px 26px rgba(255,255,255,0.38);
}

.hero-names {
    color: var(--green) !important;
    text-shadow: 0 2px 0 rgba(255,255,255,0.45), 0 10px 24px rgba(255,255,255,0.28);
}

/* Časomíra sedí v pravém horním rohu hero copy. */
.hero-copy .hero-countdown {
    position: absolute;
    top: clamp(1rem, 1.6vw, 1.35rem);
    right: clamp(1rem, 1.8vw, 1.55rem);
    left: auto;
    bottom: auto;
    display: block;
    width: min(260px, 42%);
    max-width: 260px;
    margin: 0;
    padding: 0.62rem 0.78rem 0.72rem;
    color: var(--green-dark);
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(17,16,14,0.12);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(17,16,14,0.10);
    backdrop-filter: blur(5px);
}

.hero-copy .countdown-label {
    display: block;
    margin: 0 0 0.38rem;
    color: var(--muted);
    font-size: 0.58rem;
    font-weight: 950;
    letter-spacing: 0.14em;
    line-height: 1;
    text-align: right;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-copy .countdown-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    align-items: center;
    line-height: 1;
}

.hero-copy .countdown-values span {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 0.2rem;
    padding: 0 0.6rem;
    border-left: 0;
    color: var(--green-dark);
    font-size: 0.63rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-copy .countdown-values span + span::before {
    content: "";
    position: absolute;
    left: -0.55rem;
    top: 50%;
    width: 1.05rem;
    height: 1.05rem;
    transform: translateY(-50%);
    background: url("../img/ornament-countdown-separator.svg") center / contain no-repeat;
}

.hero-copy .countdown-values strong {
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 2.25vw, 2.15rem);
    font-weight: 700;
}

/* Střední šířky: hero copy je stále přes fotku, ale časomíra zůstane uvnitř panelu. */
@media (max-width: 1020px) {
    .hero-copy {
        width: min(620px, 66vw);
    }

    .hero-copy .hero-countdown {
        width: min(250px, 46%);
    }

    .hero h1 {
        font-size: clamp(3.2rem, 7.6vw, 5.6rem);
    }
}

/* Úzký pohled: panel pod fotkou, stejné barvy titulku jako na desktopu. */
@media (max-width: 900px) {
    .hero-copy {
        width: 100%;
        max-width: none;
        min-height: 0;
        padding: 0.95rem 0.9rem 1.05rem;
        background: rgba(255,255,255,0.72);
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -10px 28px rgba(17,16,14,0.08);
        text-align: center;
    }

    .hero-copy::before {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-copy .hero-countdown {
        position: relative;
        top: auto;
        right: auto;
        width: min(100%, 330px);
        max-width: 330px;
        margin: 0 auto 0.72rem;
        padding: 0.56rem 0.66rem 0.62rem;
    }

    .hero-copy .countdown-label {
        text-align: center;
        font-size: 0.56rem;
    }

    .hero h1 {
        width: auto;
        margin: 0 auto;
        color: var(--red) !important;
        text-shadow: none;
    }

    .hero-names {
        color: var(--green) !important;
        text-shadow: none;
    }
}

@media (max-width: 460px) {
    .hero-copy .countdown-values span {
        padding: 0 0.45rem;
        font-size: 0.58rem;
    }

    .hero-copy .countdown-values span + span::before {
        left: -0.46rem;
        width: 0.9rem;
        height: 0.9rem;
    }

    .hero-copy .countdown-values strong {
        font-size: 1.45rem;
    }
}


/* === Úprava H1 a story fotek === */
.hero h1 {
    margin-top: 0 !important;
    line-height: 1 !important;
}

/* Story vlevo jako sada 4 fotek, které se postupně objeví při scrollu. */
.story-photo-stack {
    display: grid;
    gap: 0.9rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.story-photo-stack::before,
.story-photo-stack::after {
    content: none !important;
    display: none !important;
}

.story-photo-card {
    position: relative;
    margin: 0;
    padding: 0.62rem;
    background: var(--paper);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    overflow: hidden;
}

.story-photo-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.story-photo-card:nth-child(2) {
    margin-left: clamp(0.4rem, 3vw, 1.4rem);
}

.story-photo-card:nth-child(3) {
    margin-right: clamp(0.4rem, 3vw, 1.4rem);
}

.story-photo-card:nth-child(4) {
    margin-left: clamp(0.2rem, 2vw, 0.9rem);
}

.story-photo-card img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    background: var(--paper-soft);
    border-radius: 10px;
}

.story-photo-card figcaption {
    padding: 0.48rem 0.1rem 0.05rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
    .story-photo-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 760px) {
    .story-photo-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .story-photo-card,
    .story-photo-card:nth-child(2),
    .story-photo-card:nth-child(3),
    .story-photo-card:nth-child(4) {
        margin: 0;
    }

    .story-photo-card {
        padding: 0.42rem;
    }

    .story-photo-card figcaption {
        font-size: 0.68rem;
    }
}

@media (max-width: 460px) {
    .story-photo-stack {
        grid-template-columns: 1fr;
    }
}


/* === Story fotky: samostatné soubory + na úzkých šířkách jako pozadí pod textem === */

/* Každá story fotka má vlastní soubor:
   assets/img/story-1.png až assets/img/story-4.png */
.story-section {
    position: relative;
    overflow: hidden;
}

.story-copy {
    position: relative;
    z-index: 2;
}

/* Jakmile se fotky nevejdou vedle textu, použijí se jako jemné pozadí pod story textem. */
@media (max-width: 960px) {
    .story-section {
        display: block;
        min-height: 34rem;
    }

    .story-photo-stack {
        position: absolute;
        inset: 0;
        z-index: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        padding: 0;

        pointer-events: none;
    }

    .story-photo-card,
    .story-photo-card:nth-child(2),
    .story-photo-card:nth-child(3),
    .story-photo-card:nth-child(4) {
        margin: 0;
        padding: 0;
        opacity: 1;
        transform: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        transition: none;
    }

    .story-photo-card img {
        width: 100%;
        height: 100%;
        min-height: 17rem;
        aspect-ratio: auto;
        object-fit: cover;
        border-radius: 0;
        filter: saturate(0.92) contrast(0.96);
    }

    .story-photo-card figcaption {
        display: none;
    }

    .story-copy {
        position: relative;
        z-index: 2;
        max-width: 48rem;
        margin: 0 auto;
        padding: clamp(1.3rem, 5vw, 2.2rem);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.78);
        box-shadow: 0 18px 42px rgba(17, 16, 14, 0.08);
        backdrop-filter: blur(2px);
    }

    .story-copy::before {
        content: "";
        position: absolute;
        inset: -1.5rem;
        z-index: -1;

        pointer-events: none;
    }
}

@media (max-width: 560px) {
    .story-section {
        min-height: 31rem;
    }

    .story-photo-stack {
        grid-template-columns: 1fr;
  
    }

    .story-photo-card:nth-child(n+3) {
        display: none;
    }

    .story-copy {
        padding: 1.2rem;
        background: rgba(255, 255, 255, 0.82);
    }
}
/* Hero: stabilní výška i na nižších monitorech */.hero {min-height: 1000px;}

.hero-inner {align-content: start;padding-top: clamp(2rem, 5vh, 4rem);}

/* Textový panel drž výš a nenech ho padat do obličejů */.hero-copy {transform: none;}

/* Když je monitor nízký, zmenšíme hero text a panel */@media (max-height: 760px) and (min-width: 901px) {.hero,.hero-inner {min-height: 1200px;height: 1200px;}

.hero-inner {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(3.2rem, 6.5vw, 5.4rem);
    line-height: 1;
}

.hero-names {
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}

.hero-copy .hero-countdown {
    transform: scale(0.9);
    transform-origin: top right;
}
/* === FINAL FIX: hero vlevo jen na PC + korektní logo/stuha/hero === */

/* Logo: žádný before, stuha jako podtržení přes after */
.brand {
    position: relative;
    isolation: isolate;
    padding-bottom: 0.35rem;
}

.brand::before {
    content: none !important;
    display: none !important;
}

.brand::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.15rem;
    width: 92px;
    height: 16px;
    transform: translateX(-50%);
    background: url("../img/stuha-sekce.png") center / auto 30px repeat-x;
    opacity: 0.95;
    z-index: -1;
    pointer-events: none;
}

/* Oprava případné špatné cesty ve starších blocích */
.rsvp-form.reply-card::before {
    background: url("../img/stuha-sekce.png") center / auto 42px repeat-x !important;
}

/* Základ hero */
.hero {
    min-height: max(620px, calc(100vh - 72px));
    background: url("../img/uvodni.png") center 36% / cover no-repeat;
}

.hero-inner {
    min-height: max(620px, calc(100vh - 72px));
}

.hero h1 {
    margin-top: 0 !important;
    line-height: 1 !important;
    color: var(--red) !important;
}

.hero-names {
    color: var(--green) !important;
}

/* Pouze PC: hero-copy kotvit vlevo vůči obrazovce */
@media (min-width: 901px) {
    .hero-inner {
        width: 100%;
        max-width: none;
        margin: 0;
        padding-left: clamp(1rem, 4vw, 4rem);
        padding-right: clamp(1rem, 4vw, 4rem);

        display: flex;
        justify-content: flex-start;
        align-items: flex-start;

        padding-top: clamp(2rem, 4.5vh, 4rem);
        padding-bottom: clamp(4rem, 9vh, 6rem);
    }

    .hero-inner::before {
        content: none !important;
        display: none !important;
    }

    .hero-copy {
        position: relative;
        width: min(650px, 58vw);
        max-width: 650px;
        min-height: clamp(250px, 35vh, 360px);

        margin-left: 0;
        margin-right: auto;

        padding: clamp(1.35rem, 2.4vw, 2.1rem);
        border-left: 0;
        text-align: left;
        color: var(--ink);

        background:
            radial-gradient(
                ellipse at 28% 28%,
                rgba(255,255,255,0.98) 0%,
                rgba(255,255,255,0.92) 44%,
                rgba(255,255,255,0.66) 66%,
                rgba(255,255,255,0) 83%
            );

        text-shadow: none;
        transform: none;
    }

    .hero-copy::before {
        margin-left: 0;
        margin-right: 0;
        filter: none;
    }

    .hero-copy .hero-countdown {
        position: absolute;
        top: clamp(1rem, 1.6vw, 1.35rem);
        right: clamp(1rem, 1.8vw, 1.55rem);
        left: auto;
        bottom: auto;

        width: min(260px, 42%);
        max-width: 260px;
        margin: 0;
    }
}

/* Nízké monitory: neuděláme z hero 1000/1200px monstrum */
@media (max-height: 760px) and (min-width: 901px) {
    .hero,
    .hero-inner {
        min-height: 620px;
        height: 620px;
    }

    .hero-inner {
        padding-top: 1.4rem;
        padding-bottom: 2rem;
    }

    .hero h1 {
        font-size: clamp(3rem, 6.5vw, 5.2rem);
    }

    .hero-names {
        font-size: clamp(1.45rem, 2.4vw, 2rem);
    }

    .hero-copy .hero-countdown {
        transform: scale(0.9);
        transform-origin: top right;
    }
}

/* Mobil/tablet: nechat panel pod fotkou, ne vlevo */
@media (max-width: 900px) {
    .hero {
        min-height: auto;
        background: none;
    }

    .hero::before {
        content: "";
        display: block;
        width: 100%;
        height: min(72vw, 460px);
        min-height: 500px;
        background: url("../img/uvodni.png") center 34% / cover no-repeat;
    }

    .hero-inner {
        width: min(100% - 1rem, 1160px);
        min-height: auto;
        display: block;
        margin: 0 auto;
        padding: 0.8rem 0 1.35rem;
        text-align: center;
    }

    .hero-copy {
        width: 100%;
        max-width: none;
        min-height: 0;
        margin: 0 auto;

        padding: 0.95rem 0.9rem 1.05rem;
        text-align: center;

        background: rgba(255,255,255,0.72);
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -10px 28px rgba(17,16,14,0.08);
    }

    .hero-copy::before {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-copy .hero-countdown {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        bottom: auto;

        width: min(100%, 330px);
        max-width: 330px;
        margin: 0 auto 0.72rem;
    }

    .hero h1 {
        width: auto;
        margin: 0 auto !important;
        line-height: 1 !important;
        color: var(--red) !important;
        text-shadow: none;
    }

    .hero-names {
        color: var(--green) !important;
        text-shadow: none;
    }
}
}