/* ============================================================
   HEART ILLUSTRATED WEDDING — Lorreyn & Andrei
   Hand-drawn black & white aesthetic, paper textures,
   alternating light/dark sections (Canva-style).
   ============================================================ */

@font-face {
    font-family: 'DO All Caps';
    src: url("../fonts/DO-AllCaps-Regular.9637daedc375.woff2") format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Dreaming Outloud';
    src: url("../fonts/DreamingOutloud.9637daedc375.woff2") format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Dreaming Outloud Script';
    src: url("../fonts/DO-Script-Regular.7e5ac6f8c54a.woff2") format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-paper: #f1eee7;
    --bg-dark: #0d0d0d;
    --text-dark: #1a1a1a;
    --text-light: #f1eee7;
    --text-muted: #6f6f6f;
    --border-light: #d4d0c4;
    --border-dark: #2a2a2a;

    --font-caps: 'Dreaming Outloud', 'Quicksand', sans-serif;
    --font-script: 'Dreaming Outloud Script', 'Dreaming Outloud', 'Quicksand', cursive;
    --font-body: 'Dreaming Outloud', 'Quicksand', sans-serif;

    --transition: 0.35s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 18px; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-caps);
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--text-dark);
    background: var(--bg-paper);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

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


/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(50px, 7vh, 80px) clamp(20px, 5vw, 60px);
    position: relative;
    overflow: hidden;
}


.section--light {
    background-color: var(--bg-paper);
    background-image: url("../images/background-white.833a48ea0368.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-dark);
}

.section--dark {
    background-color: var(--bg-dark);
    background-image: url("../images/background-dark.fec9675ca146.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light);
}


/* ============================================================
   ILLUSTRATIONS
   ============================================================ */
.illust {
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
}
.illust--sm { width: clamp(65px, 12vw, 90px); }
.illust--md { width: clamp(120px, 19vw, 170px); }
.illust--lg { width: clamp(220px, 36vw, 360px); }
.illust--wide { width: clamp(180px, 32vw, 260px); }


/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-heading {
    font-family: var(--font-caps);
    font-weight: 400;
    font-size: clamp(2rem, 5.5vw, 3.2rem);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 2.2rem;
    line-height: 1.2;
}

.section-heading--light { color: var(--text-light); }

.section-heading--script {
    font-family: var(--font-script);
    font-style: normal;
    font-weight: 400;
    font-size: clamp(2.4rem, 6.5vw, 3.8rem);
    letter-spacing: 0.02em;
    text-transform: none;
}


/* ============================================================
   BUTTONS — pill-shape, hand-drawn feel
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-caps);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    padding: 0.95rem 2.6rem;
    border-radius: 50px;
    border: 1.5px solid var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
    color: var(--text-dark);
}

.btn--filled { background: var(--text-dark); color: var(--bg-paper); }
.btn--filled:hover { background: #333; border-color: #333; }
.btn--outlined:hover { background: var(--text-dark); color: var(--bg-paper); }

.btn--light { border-color: var(--text-light); color: var(--text-light); }
.btn--light:hover { background: var(--text-light); color: var(--bg-dark); }

.btn--full { width: 100%; }


/* ============================================================
   SIDE NAV DOTS
   ============================================================ */
.side-nav {
    position: fixed;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid #999;
    background: transparent;
    transition: var(--transition);
    display: block;
}

.nav-dot:hover,
.nav-dot.active {
    background: #1a1a1a;
    border-color: #1a1a1a;
}


/* ============================================================
   LANGUAGE TOGGLE
   ============================================================ */
.lang-toggle {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 1100;
    display: inline-flex;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 50px;
    padding: 3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(4px);
}
.lang-toggle button {
    background: transparent;
    border: 0;
    padding: 5px 12px;
    font-family: var(--font-caps);
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    cursor: pointer;
    color: #555;
    border-radius: 50px;
    transition: background-color 0.2s, color 0.2s;
}
.lang-toggle button:hover { color: #1a1a1a; }
.lang-toggle button.is-active {
    background: #1a1a1a;
    color: #f1eee7;
}

/* Hide inactive language content */
html[lang="ro"] [lang="en"] { display: none !important; }
html[lang="en"] [lang="ro"] { display: none !important; }


/* ============================================================
   HERO
   ============================================================ */
.hero { text-align: center; }

.hero__illustration {
    position: relative;
    margin: 0 auto 1.8rem;
    display: inline-block;
}

.hero__couple {
    width: clamp(260px, 75vw, 540px);
    max-width: 100%;
    height: auto;
}

/* Text overlaid inside the heart */
.hero__heart-text {
    position: absolute;
    top: 44%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
    width: 78%;
}

.hero__names {
    font-family: var(--font-caps);
    font-style: normal;
    font-size: clamp(1.8rem, 5.2vw, 2.6rem);
    font-weight: 400;
    letter-spacing: -0.006em;
    line-height: 1;
    text-transform: uppercase;
    color: rgb(0, 0, 0);
    margin-bottom: 0.25em;
    transform: translateX(-3%);
    line-height: 1;
    white-space: nowrap;
}

.hero__sub {
    font-family: var(--font-caps);
    font-size: clamp(1rem, 2.8vw, 1.45rem);
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.066em;
    line-height: 1.2;
    color: rgb(0, 0, 0);
    margin-bottom: 0.4em;
}

.hero__date {
    font-family: var(--font-caps);
    font-size: clamp(1.2rem, 2.8vw, 1.6rem);
    font-weight: 400;
    letter-spacing: 0.22em;
    color: #1a1a1a;
    margin: 0.4em 0;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.hero__buttons .btn {
    font-size: 1.4rem;
    font-weight: 400;
    padding: 0.7rem 3.5rem;
    letter-spacing: 0.4em;
}


/* ============================================================
   CELEBRATE
   ============================================================ */
.celebrate__content {
    text-align: center;
    max-width: 620px;
    width: 100%;
}

.celebrate__frame {
    position: relative;
    padding: 1rem 0 0;
    margin: 0 auto;
    width: 100%;
    max-width: 560px;
}

.celebrate__frame-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.celebrate__frame-inner .illust { margin-bottom: 0.8rem; }
.celebrate__frame-inner .section-heading { margin-bottom: 2.5rem; }

.celebrate__title-wrap {
    position: relative;
    display: inline-block;
    margin: 0 auto;
}
.celebrate__title-wrap .celebrate__glasses {
    margin: 0 auto;
}
.celebrate__title-pre {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-caps);
    font-weight: 400;
    font-size: clamp(1.6rem, 4vw, 2rem);
    letter-spacing: 0.06em;
    line-height: 1;
    color: var(--text-light);
    white-space: nowrap;
    pointer-events: none;
}
.celebrate__title-main { margin-top: 0.2rem; }

/* RO image-based version */
.celebrate__en,
.celebrate__ro {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    container-type: inline-size;
}

html[lang="ro"] .celebrate__content { max-width: 1440px; }
html[lang="ro"] .celebrate__frame { max-width: 1340px; }
html[lang="ro"] .celebrate__ro { max-width: 1280px; }
html[lang="ro"] .celebrate__ro-glasses { width: 14.5%; top: 3%; }

html[lang="en"] .celebrate__content { max-width: 1440px; }
html[lang="en"] .celebrate__frame { max-width: 1340px; }
html[lang="en"] .celebrate__en { max-width: 1280px; }
html[lang="en"] .celebrate__en-glasses { width: 19.5%; top: -3%; left: 50%; }
.celebrate__en-image-wrap,
.celebrate__ro-image-wrap {
    position: relative;
}
.celebrate__en picture,
.celebrate__ro picture {
    display: block;
    width: 100%;
}

.celebrate__en-tagline,
.celebrate__ro-tagline { display: none; }
.celebrate__en-image,
.celebrate__ro-image {
    display: block;
    width: 100%;
    height: auto;
}

/* EN glasses — desktop */
.celebrate__en-glasses {
    position: absolute;
    top: 1%;
    left: 50.9%;
    transform: translateX(-50%);
    width: 180px;
    height: auto;
    z-index: 1;
}

/* RO glasses — desktop */
.celebrate__ro-glasses {
    position: absolute;
    top: 2%;
    left: 49.9%;
    transform: translateX(-50%);
    width: 155px;
    height: auto;
    z-index: 1;
}

.celebrate__en-song,
.celebrate__ro-song,
.celebrate__en-map,
.celebrate__ro-map {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: max-content;
}
.celebrate__en-song,
.celebrate__ro-song { bottom: -2%; }
.celebrate__en-song { bottom: -7%; }

.celebrate__ro-map { bottom: 34%; }
.celebrate__en-map { bottom: 26%; }

.celebrate__en-map .song-btn__circle,
.celebrate__ro-map .song-btn__circle { display: none; }

.celebrate__en-map .song-btn__label,
.celebrate__ro-map .song-btn__label {
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.celebrate__en-song .song-btn,
.celebrate__ro-song .song-btn,
.celebrate__en-map .song-btn,
.celebrate__ro-map .song-btn {
    font-size: clamp(0.88rem, 3.4cqi, 1.4rem);
    gap: 0.55em;
    letter-spacing: 0.22em;
}
.celebrate__en-song .song-btn__circle,
.celebrate__ro-song .song-btn__circle,
.celebrate__en-map .song-btn__circle,
.celebrate__ro-map .song-btn__circle {
    width: 1.8em;
    height: 1.8em;
    border-width: 0.08em;
}
.celebrate__en-song .song-btn__circle svg,
.celebrate__ro-song .song-btn__circle svg,
.celebrate__en-map .song-btn__circle svg,
.celebrate__ro-map .song-btn__circle svg {
    width: 0.75em;
    height: 0.75em;
}

.celebrate__text {
    font-family: var(--font-caps);
    font-weight: 400;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    letter-spacing: 0.16em;
    line-height: 2;
    margin-bottom: 1.8rem;
    color: #d6d2c5;
}

.photos__content {
    text-align: center;
    max-width: 680px;
}

.photos__text {
    font-family: var(--font-caps);
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    letter-spacing: 0.16em;
    line-height: 2;
    color: var(--text-muted);
}

.celebrate__datetime {
    font-family: var(--font-caps);
    font-weight: 500;
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.celebrate__venue p {
    font-family: var(--font-caps);
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.2em;
    line-height: 1.8;
    color: #c2bfb3;
}

.celebrate__song { margin-top: 1.5rem; }

.song-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-family: var(--font-caps);
    font-size: 0.95rem;
    letter-spacing: 0.22em;
    font-weight: 500;
    transition: var(--transition);
}
.song-btn:hover { opacity: 0.7; }

.song-btn__circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
}



/* ============================================================
   TIMELINE
   ============================================================ */
.timeline__content {
    text-align: center;
    max-width: 760px;
    width: 100%;
}

.timeline-snake {
    position: relative;
    margin: 2rem auto 0;
    width: 100%;
    max-width: 620px;
}

.timeline__cake { width: clamp(220px, 24vw, 320px); }

.timeline__ro-image {
    width: 100%;
    max-width: 900px;
    margin: 0.5rem auto 0;
    height: auto;
    display: block;
}

.timeline__ro-image[lang="en"] {
    transform: translateX(4.4%);
}

.timeline__ro-image[lang="ro"] {
    max-width: 780px;
}

.timeline-section .timeline__content { max-width: 1200px; }

.timeline-snake img {
    display: block;
    width: 100%;
    height: auto;
}

.timeline__stop {
    position: absolute;
    transform: translateY(-50%);
    line-height: 1.3;
    max-width: 32%;
}

.timeline__stop--left {
    right: 60%;
    text-align: right;
}

.timeline__stop--right {
    left: 60%;
    text-align: left;
}

.timeline__time,
.timeline__event {
    font-family: var(--font-caps);
    font-size: 1em;
    font-weight: 400;
    font-style: normal;
    color: rgb(0, 0, 0);
    font-kerning: normal;
    text-decoration: none;
    letter-spacing: 0.05em;
    line-height: 19px;
}

.timeline__time { margin-bottom: 0.2rem; }


/* ============================================================
   ON THE DAY
   ============================================================ */
.details__content {
    text-align: center;
    max-width: 680px;
}

.details__text { margin-bottom: 2.5rem; }

.details__text p {
    font-family: var(--font-caps);
    font-weight: 400;
    font-size: clamp(1rem, 2.1vw, 1.2rem);
    letter-spacing: 0.14em;
    line-height: 2;
    margin-bottom: 1.4rem;
    color: #d6d2c5;
}

.details__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* ============================================================
   TRAVEL & ACCOMMODATION
   ============================================================ */
.travel__content {
    max-width: 1320px;
    width: 100%;
    text-align: center;
}

.travel__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.travel__card {
    background: #ffffff;
    border-radius: 14px;
    padding: 2rem 2.8rem;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.travel__card:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
}

.travel__card-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto 0.25rem;
}

.travel__card h3 {
    font-family: var(--font-caps);
    font-weight: 600;
    font-size: 1.6rem;
    letter-spacing: 0.18em;
    margin-bottom: 1.2rem;
    line-height: 1.4;
    color: var(--text-dark);
}

.travel__card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.travel__card-body p {
    font-family: var(--font-caps);
    font-weight: 400;
    font-size: 1.235rem;
    letter-spacing: 0.08em;
    line-height: 1;
    color: var(--text-dark);
    margin-bottom: 0.9rem;
}

.travel__recommended {
    font-weight: 600 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: var(--text-dark) !important;
    margin-top: 0.5rem;
}

.travel__card-btn {
    margin-top: auto;
    align-self: center;
    padding: 0.75rem 1.8rem;
    font-size: 1.05rem;
    letter-spacing: 0.18em;
}

.travel__card-body p.travel__card-foot {
    margin-top: auto;
    margin-bottom: 5rem;
    padding-top: 1rem;
}

html[lang="en"] .travel__card-body p.travel__recommended {
    margin-top: auto;
}

.travel__link {
    color: var(--text-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}
.travel__link:hover { opacity: 0.7; }


/* ============================================================
   COUNTDOWN
   ============================================================ */
.countdown-section {
    padding-top: 0;
    justify-content: flex-start;
}

.countdown__content { text-align: center; }

.countdown__heading {
    font-family: var(--font-caps);
    font-weight: 400;
    font-size: clamp(1.8rem, 4.8vw, 3rem);
    letter-spacing: 0.14em;
    line-height: 1.4;
    margin-bottom: 2.5rem;
}

.countdown__timer {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.countdown__cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.countdown__number {
    font-family: var(--font-caps);
    font-weight: 400;
    font-size: clamp(3rem, 8vw, 5rem);
    letter-spacing: 0.04em;
    color: var(--text-light);
    line-height: 1;
}

.countdown__label {
    font-size: 0.85rem;
    letter-spacing: 0.22em;
    opacity: 0.6;
    margin-top: 0.7rem;
}

.countdown__sep {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 200;
    color: var(--text-light);
    opacity: 0.4;
    line-height: 1;
    align-self: flex-start;
    padding-top: 0.4em;
}

.countdown__btn { margin-top: 1rem; }


/* ============================================================
   DRESSCODE
   ============================================================ */
.dresscode__content {
    text-align: center;
    max-width: 620px;
}

.dresscode__text {
    font-family: var(--font-caps);
    font-weight: 400;
    font-size: clamp(1rem, 2.1vw, 1.2rem);
    letter-spacing: 0.12em;
    line-height: 2;
    color: var(--text-muted);
    margin-bottom: 2.2rem;
}

.dresscode__palette {
    display: flex;
    justify-content: center;
    gap: 1.1rem;
    flex-wrap: wrap;
}

.palette-swatch {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.1);
}

.palette-swatch:hover { transform: scale(1.12); }


/* ============================================================
   PHOTOS — SHARE THE MEMORIES (QR)
   ============================================================ */
.photos__content {
    text-align: center;
    max-width: 620px;
    width: 100%;
}

.photos__icon {
    width: clamp(70px, 11vw, 96px);
    height: auto;
    display: block;
    margin: 0 auto 1.4rem;
}

.photos__text {
    font-family: var(--font-caps);
    font-weight: 400;
    font-size: clamp(1rem, 2.1vw, 1.2rem);
    letter-spacing: 0.14em;
    line-height: 1.8;
    margin-bottom: 2.2rem;
    color: var(--text-dark);
}

.photos__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* ============================================================
   DRESSCODE
   ============================================================ */
.dresscode__content {
    text-align: center;
    max-width: 720px;
    width: 100%;
}

.dresscode__icon {
    margin: 0 auto 1.2rem;
}

.dresscode__tagline {
    font-family: var(--font-script);
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    color: var(--text-dark);
    margin: 0.4rem 0 2rem;
    line-height: 1.2;
}

.dresscode__body {
    font-family: var(--font-caps);
    font-weight: 400;
    font-size: clamp(1rem, 2.1vw, 1.2rem);
    letter-spacing: 0.14em;
    line-height: 1.4;
    color: var(--text-dark);
}

.dresscode__body p + p {
    margin-top: 1.4rem;
}


/* ============================================================
   RSVP FORM
   ============================================================ */
.rsvp__content {
    max-width: 540px;
    width: 100%;
    text-align: center;
}

.rsvp__heading {
    font-family: var(--font-caps);
    font-weight: 500;
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    letter-spacing: 0.14em;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.rsvp__heading-script {
    font-family: var(--font-script);
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: 0.02em;
    text-transform: none;
    line-height: 1.2;
}

.rsvp__sub {
    font-family: var(--font-caps);
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.1em;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.rsvp__sub-emph {
    color: var(--text-dark);
    font-weight: 600;
}

.rsvp__content { max-width: 640px; }

.rsvp-form {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.rsvp-block { display: flex; flex-direction: column; gap: 1rem; }

.rsvp-block__title {
    font-family: var(--font-caps);
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-dark);
    text-align: left;
    margin: 0 0 0.4rem;
}

.rsvp-block__desc {
    font-family: var(--font-caps);
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0 0 0.6rem;
}

.form-asterisk { color: #b85a4a; margin-left: 0.15em; }

.form-help {
    margin: 0.4rem 0 0;
    font-family: var(--font-caps);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    line-height: 1.6;
    color: var(--text-muted);
    font-style: italic;
}

.form-error {
    margin: 0.5rem 0 0;
    font-family: var(--font-caps);
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    line-height: 1.4;
    color: #e63946;
    font-weight: 600;
    text-align: left;
}

.form-input.is-invalid {
    border-color: #e63946;
    box-shadow: 0 0 0 1px #e63946 inset;
}

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

#transportNotesGroup { margin-top: 1.5rem; }

.form-group label {
    display: block;
    font-family: var(--font-caps);
    font-size: 0.92rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--text-dark);
}

.form-input {
    font-family: var(--font-caps);
    font-size: 1.05rem;
    font-weight: 400;
    padding: 0.85rem 1rem;
    border: 1.5px solid #b8b3a5;
    border-radius: 6px;
    background: #fff;
    color: var(--text-dark);
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.form-input:focus { border-color: var(--text-dark); }
textarea.form-input { resize: vertical; min-height: 90px; }


/* ---- Guest rows ---- */
.guest-list { display: flex; flex-direction: column; gap: 1rem; }

.guest-row {
    border: 1.5px solid #d4d0c4;
    border-radius: 14px;
    padding: 1.1rem;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    position: relative;
}

.guest-row__names {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.guest-row__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.guest-row__tag {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.7rem;
    background: #ece8de;
    color: var(--text-dark);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-radius: 999px;
}

.guest-row__remove {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    width: 26px;
    height: 26px;
    border: none;
    background: transparent;
    color: #888;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
}
.guest-row__remove:hover { background: rgba(0, 0, 0, 0.06); color: var(--text-dark); }

.attendance-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.attendance-pill {
    display: block;
    cursor: pointer;
    margin: 0;
}
.attendance-pill input { display: none; }
.attendance-pill > span {
    display: block;
    text-align: center;
    padding: 0.5rem 0.8rem;
    background: transparent;
    border: 1.5px solid #c8c3b5;
    color: var(--text-dark);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    border-radius: 999px;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.attendance-pill:hover > span {
    background: var(--text-dark);
    color: var(--bg-paper);
    border-color: var(--text-dark);
}
.attendance-pill input:checked + span {
    background: var(--text-dark);
    color: var(--bg-paper);
    border-color: var(--text-dark);
}


/* ---- Add buttons ---- */
.rsvp-add-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.rsvp-add-btn {
    padding: 1.1rem 0.8rem;
    background: transparent;
    border: 1.5px dashed #b8b3a5;
    border-radius: 14px;
    cursor: pointer;
    font-family: var(--font-caps);
    font-size: 0.95rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-dark);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.rsvp-add-btn:hover:not(:disabled) { background: #f5f1e7; border-color: var(--text-dark); }
.rsvp-add-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.rsvp-add-btn__icon { font-size: 1.1rem; }


/* ---- Events ---- */
.event-list { display: flex; flex-direction: column; gap: 0.6rem; }

.event-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    border: 1.5px solid #d4d0c4;
    border-radius: 12px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}
.event-row:hover { background: rgba(255, 255, 255, 0.85); }
.event-row input { display: none; }

.event-row__check {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 1.5px solid #888;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.event-row input:checked + .event-row__check {
    background: var(--text-dark);
    border-color: var(--text-dark);
}
.event-row input:checked + .event-row__check::after {
    content: '';
    width: 5px;
    height: 10px;
    border: solid var(--bg-paper);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.event-row__body { display: flex; flex-direction: column; gap: 0.15rem; }
.event-row__name {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dark);
}
.event-row__meta {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}


/* ---- Menus per guest ---- */
.menu-section { display: flex; flex-direction: column; gap: 1.5rem; }

.menu-guest {
    border: 1.5px solid #d4d0c4;
    border-radius: 14px;
    padding: 1rem 1rem 0.6rem;
    background: rgba(255, 255, 255, 0.6);
}
.menu-guest__title {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin: 0 0 0.2rem;
}
.menu-guest__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 0.7rem;
}

.menu-options { display: flex; flex-direction: column; gap: 0.6rem; }

.menu-option {
    display: block;
    cursor: pointer;
    border: 1.5px solid #d4d0c4;
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
    background: #fff;
    transition: var(--transition);
}
.menu-option:hover { border-color: #a8a395; }
.menu-option input { display: none; }

.menu-option__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.menu-option__name {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.menu-option__radio {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    border: 1.5px solid #888;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.menu-option input:checked ~ .menu-option__head .menu-option__radio {
    background: var(--text-dark);
    border-color: var(--text-dark);
}
.menu-option input:checked ~ .menu-option__head .menu-option__radio::after {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--bg-paper);
    border-radius: 50%;
}
.menu-option input:checked ~ .menu-option__head .menu-option__name { color: var(--text-dark); }
.menu-option input:checked {} /* placeholder */

.menu-option__desc {
    margin: 0.6rem 0 0;
    padding: 0.6rem 0 0;
    border-top: 1px dashed #d4d0c4;
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-muted);
    white-space: pre-line;
    display: none;
}
.menu-option input:checked ~ .menu-option__desc { display: block; }

.menu-guest__notes {
    margin-top: 0.7rem;
}
.menu-guest__notes label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}
.menu-guest__notes input {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1.5px solid #d4d0c4;
    border-radius: 6px;
    background: #fff;
    font-family: var(--font-caps);
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
}
.menu-guest__notes input:focus { border-color: var(--text-dark); }

.rsvp-success { padding: 3rem 1rem; text-align: center; }

.rsvp-success h3 {
    font-family: var(--font-caps);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.rsvp-success__sub {
    font-family: var(--font-caps);
    font-weight: 500;
    font-size: clamp(1.1rem, 2.6vw, 1.4rem);
    letter-spacing: 0.18em;
    line-height: 1.5;
    margin: 0 0 1.5rem;
}

.rsvp-success__icon {
    display: block;
    margin: 0 auto 1.5rem;
}

.rsvp-success__update {
    font-family: var(--font-caps);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0 auto 2rem;
    max-width: 520px;
}

.rsvp__footer-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}


/* ============================================================
   FADE-IN
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }


/* ============================================================
   RSVP SUMMARY (return-visit read-only view)
   ============================================================ */
.rsvp-summary {
    max-width: 560px;
    margin: 0 auto 2rem;
    padding: 1.75rem 1.75rem 2rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    text-align: center;
}
.rsvp-summary__heading {
    font-size: 1.4rem;
    letter-spacing: 0.18em;
    margin-bottom: 0.4rem;
}
.rsvp-summary__sub {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}
.rsvp-summary__body {
    text-align: left;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.rsvp-summary__body p { margin: 0.4rem 0; }
.rsvp-summary__guests {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}
.rsvp-summary__guests li {
    padding: 0.55rem 0;
    border-bottom: 1px dashed var(--border-light);
}
.rsvp-summary__guests li:last-child { border-bottom: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
    .travel__grid { grid-template-columns: 1fr; gap: 1rem; }
    .section--dark,
    .rsvp-section {
        background-size: auto;
        background-repeat: repeat;
    }
    .travel__card-icon { margin: 0 auto -1rem; }
    .travel__card:last-child .travel__card-icon { margin: 0 auto 0.5rem; }
    .travel__card h3 { margin-bottom: 0.6rem; }
}

@media (max-width: 768px) {
    .side-nav { right: 10px; gap: 10px; }
    .nav-dot { width: 8px; height: 8px; }

    .hero__buttons { gap: 0.75rem; }
    .hero__buttons .btn {
        font-size: 1.2rem;
        font-weight: 400;
        padding: 0.6rem 3rem;
        letter-spacing: 0.4em;
    }
    .details__buttons { flex-direction: column; align-items: center; }
    .rsvp__footer-buttons { flex-direction: column; align-items: center; }

    .timeline__stop { max-width: 36%; }

    .countdown__sep { color: #ffffff; opacity: 1; }
    .countdown__cell { min-width: 60px; }
}

@media (max-width: 600px) {
    .hero__heart-text { top: 46%; }
    .hero__names { margin-bottom: 0.15em; }
    .hero__sub { margin-bottom: 0.2em; font-size: clamp(0.75rem, 2.2vw, 1rem); }
    .hero__date { margin: 0.2em 0; }

    .timeline__cake { width: clamp(120px, 30vw, 170px); }

    /* Width scales with viewport so glasses stay proportional
       across iPhone 12 Pro (390px), iPhone 17 Pro (393px),
       iPhone Pro Max (430px), and latest Samsung (412px). */
    html[lang="ro"] .celebrate__ro-glasses {
        top: -10%;
        left: 50%;
        width: 24%;
    }
    html[lang="en"] .celebrate__en-glasses {
        top: -19%;
        left: 50%;
        width: 33%;
    }

    .celebrate__en-song .song-btn__circle,
    .celebrate__ro-song .song-btn__circle {
        width: 1.6em;
        height: 1.6em;
    }
    .celebrate__en-map,
    .celebrate__ro-map {
        position: static;
        left: auto;
        bottom: auto;
        transform: none;
        margin: 1.2rem auto 0;
    }
    .celebrate__en-map .song-btn,
    .celebrate__ro-map .song-btn {
        border: 1px solid var(--text-light);
        border-radius: 999px;
        padding: 0.55em 1.6em;
        transition: var(--transition);
    }
    .celebrate__en-map .song-btn:hover,
    .celebrate__ro-map .song-btn:hover {
        background: var(--text-light);
        color: var(--text-dark);
        opacity: 1;
    }
    .celebrate__en-map .song-btn__label,
    .celebrate__ro-map .song-btn__label {
        text-decoration: none;
    }

    .celebrate__en-tagline,
    .celebrate__ro-tagline {
        display: block;
        font-family: var(--font-caps);
        font-weight: 400;
        font-size: 1rem;
        letter-spacing: 0.14em;
        line-height: 1.5;
        color: var(--text-light);
        text-align: center;
        margin: 3rem 1rem 0;
    }

    .celebrate__en-song,
    .celebrate__ro-song {
        position: static;
        left: auto;
        bottom: auto;
        transform: none;
        margin: 1.6rem auto 0;
    }

    /* Let sa-sarbatorim / celebrate image stretch full-bleed on phones */
    .celebrate { padding-left: 0; padding-right: 0; }
    .celebrate__content,
    .celebrate__frame { max-width: none; }
    .celebrate__en,
    .celebrate__ro { max-width: none; }
    .celebrate__en picture,
    .celebrate__ro picture { display: block; width: 100%; }
    .celebrate__en-image,
    .celebrate__ro-image { width: 100%; }

    .timeline__stop {
        max-width: 32% !important;
    }
    .timeline__stop--left { text-align: right; }
    .timeline__stop--right { text-align: left; }

    /* Per-stop positioning on mobile.
       For --left stops, edit `left` (distance from container's LEFT edge).
       For --right stops, edit `right` (distance from container's RIGHT edge).
       Smaller value = closer to the snake hearts in the middle. */
    .timeline-snake .timeline__stop:nth-of-type(1) { /* 18:00 CIVIL CEREMONY (left)  */
        top: 12% !important;
        left: 10% !important; right: auto !important;
    }
    .timeline-snake .timeline__stop:nth-of-type(2) { /* 18:15 RELIGIOUS CEREMONY (right) */
        top: 25% !important;
        right: 0% !important; left: auto !important;
    }
    .timeline-snake .timeline__stop:nth-of-type(3) { /* 19:00 PARTY (left) */
        top: 40% !important;
        left: 22% !important; right: auto !important;
    }
    .timeline-snake .timeline__stop:nth-of-type(4) { /* 20:00 DANCE (right) */
        top: 58% !important;
        right: 20% !important; left: auto !important;
    }
    .timeline-snake .timeline__stop:nth-of-type(5) { /* 1:00 CAKE (left) */
        top: 78% !important;
        left: 25% !important; right: auto !important;
    }
    .timeline-snake .timeline__stop:nth-of-type(6) { /* 2:00 BBQ (right) */
        top: 92% !important;
        right: 35% !important; left: auto !important;
    }
}

@media (max-width: 480px) {
    .section { padding: 50px 16px; }
    .countdown-section { padding-top: 0; padding-bottom: 50px; }

    .hero__buttons { flex-direction: column; align-items: center; }
    .btn { min-width: 170px; }

    .palette-swatch { width: 40px; height: 40px; }
}
