/* =========================
   RESET + BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    min-height: 100%;
    scroll-behavior: smooth;
    position: relative;
}


body {
    min-height: 100%;
    overflow-x: hidden;
    font-family: 'Cormorant Garamond', serif;
    background-color: #f3eee3;
    color: #4f5a46;
    line-height: 1.4;
}

button,
input,
textarea {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}

p,
h1,
h2,
h3,
h4,
h5,
summary,
label,
span {
    overflow-wrap: break-word;
}

main {
    width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================
   INTRO VIDEO
========================= */
.intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    opacity: 1;
    transition: opacity 1.2s ease;
}

    .intro-overlay::after {
        content: "Toca para abrir";
        position: absolute;
        left: 50%;
        bottom: 42px;
        transform: translateX(-50%);
        color: rgba(255, 255, 255, 0.92);
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.5rem;
        letter-spacing: 1px;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
        z-index: 2;
        pointer-events: none;
        transition: opacity 0.35s ease;
    }

    .intro-overlay.is-playing::after {
        opacity: 0;
    }

.intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.intro-overlay.is-fading {
    opacity: 0;
}

.intro-overlay.is-hidden {
    display: none;
}

/* =========================
   HERO
========================= */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url("assets/background.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

    .hero::after {
        display: none;
    }

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, rgba(18, 20, 17, 0.28) 0%, rgba(18, 20, 17, 0.42) 45%, rgba(18, 20, 17, 0.48) 100% );
    backdrop-filter: blur(0.6px);
    -webkit-backdrop-filter: blur(0.6px);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 92%;
    padding: 24px 20px 110px;
    color: #ffffff;
    transform: translateY(42px);
}

.sub-text {
    margin-top: 34px;
    margin-bottom: 8px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1.3;
    text-transform: uppercase;
    text-align: center;
    color: #f1e9dd;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
    opacity: 0.9;
}

.name {
    margin: 0;
    font-weight: 400;
    font-size: clamp(3.85rem, 14.8vw, 5.4rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.22);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

    .name:last-of-type {
        transform: none;
    }

.ampersand {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin: 0.5rem 0 -0.2rem;
    color: #f1e9dd;
    opacity: 0.85;
    transform: translateY(2px);
}

.date {
    margin-top: 14px;
    font-size: 1.28rem;
    font-weight: 600;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.scroll-down {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    color: #ffffff;
}

    .scroll-down .text {
        font-size: 0.76rem;
        font-weight: 500;
        line-height: 1.2;
        white-space: nowrap;
        color: rgba(255, 255, 255, 0.92);
        letter-spacing: 0.22em;
        opacity: 0.95;
    }

    .scroll-down .arrow {
        display: inline-block;
        font-size: 0.95rem;
        line-height: 1;
        color: rgba(255, 255, 255, 0.92);
        animation: floatArrow 2s ease-in-out infinite;
    }

@keyframes floatArrow {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.68;
    }

    50% {
        transform: translateY(4px);
        opacity: 1;
    }
}

/* =========================
   FIXED BUTTONS
========================= */
.sound-btn {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 99999;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #6f7d5c;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

    .sound-btn:hover {
        transform: scale(1.04);
        background: rgba(103, 111, 86, 0.92);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    }

    .sound-btn svg {
        width: 20px;
        height: 20px;
        stroke: #e8e1d6;
        fill: none;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.lang-switch {
    position: fixed;
    top: 22px;
    right: 18px;
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: #6f7d5c;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transform: scale(0.92);
    z-index: 2147483647;
}

.lang-btn {
    border: none;
    background: transparent;
    padding: 6px 10px;
    border-radius: 999px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2147483647;
}

    .lang-btn.active {
        background: #e8e1d6;
        color: #3e3e3e;
    }

/* =========================
   COUNTDOWN
========================= */
.countdown-section {
    background: #f3eee3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px 0;
}

.countdown-container {
    width: 100%;
    max-width: 760px;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.countdown-titles {
    font-weight: 500;
    color: #4f5a46;
    margin-bottom: 10px;
    font-size: clamp(2.1rem, 7vw, 2.6rem);
    letter-spacing: 0.02em;
}

.countdown-subtitle {
    margin-bottom: 40px;
    font-size: 1rem;
    color: #746e64;
    line-height: 1.45;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.countdown-box {
    background: #f5f2ec;
    border-radius: 10px;
    padding: 14px 12px;
    box-shadow: 0 5px 16px rgba(79, 90, 70, 0.06);
    border: 1px solid rgba(79, 90, 70, 0.08);
}

.countdown-number {
    font-size: 1.8rem;
    font-weight: 500;
    color: #4f5a46;
    font-family: Georgia, serif;
}

.countdown-text {
    margin-top: 6px;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: #4f5a46;
}

.section-divider {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .section-divider img {
        opacity: 0.9;
    }

    .section-divider::before,
    .section-divider::after {
        background: rgba(111, 123, 95, 0.35);
    }

/* =========================
   WELCOME
========================= */
.story-section {
    padding: 0 0 20px;
    text-align: center;
    overflow: hidden;
    margin-top: -0.5rem;
}

.story-row {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 420px;
    margin: -6px auto 24px;
    gap: 0.9rem;
}

.dog-decor {
    width: 140px;
    height: auto;
    flex-shrink: 0;
    margin: 0 5px 5px 30px;
    opacity: 0.9;
    transform: translateY(-3px);
}

.story-text {
    margin: 0;
    text-align: left;
    max-width: 145px;
    font-weight: 500;
    font-size: 1.3rem;
    line-height: 1.35;
    letter-spacing: 0.015em;
    text-wrap: balance;
    color: #4f5a46;
}

.photo-carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
    margin-top: 10px;
}

.photo-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: scrollCarousel 60s linear infinite;
}

.photo-slide {
    width: 235px;
    height: 315px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
    border-radius: 3px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);

}

@keyframes scrollCarousel {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 7px));
    }
}

/* =========================
   DETAILS
========================= */

.story-section,
.details-section {
    animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.details-section {
    background-color: #f3eee3;
    padding: 20px 20px 0px 20px;
    text-align: center;
}

.detail-illustration {
    display: flex;
    justify-content: center;
    margin: 0 auto 16px;
    max-width: 500px;
}

    .detail-illustration img {
        width: 50%;
        max-width: 320px;
        height: auto;
    }


.details-titles {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    color: #4f5a46;
    font-size: clamp(2.1rem, 7vw, 2.5rem);
    font-weight: 500;
    margin-top: 10px;
}

.details-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: #6f6a5f;
}

.details-card {
    max-width: 700px;
    margin: 0 0 30px 0;
    padding: 32px 24px;
    border: 1px solid rgba(79, 90, 70, 0.10);
    border-radius: 8px;
    background: linear-gradient( to bottom, #faf7f1, #faf7f1 );
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.details-icon-circle {
    margin: 0 auto 26px;
    border-radius: 50%;
    background-color: #f3eee3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
}

.details-card-quinta {
    max-width: 700px;
    margin: 30px auto;
    padding: 15px 24px;
    border: 1px solid rgba(79, 90, 70, 0.10);
    border-radius: 8px;
    background: linear-gradient( to bottom, #faf7f1, #f3eee3 );
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.details-h4 {
    font-weight: 500;
    margin-bottom: 4px;
    opacity: 0.9;
    font-size: 1.3rem;
    font-weight: 500;
    color: #3f4a38;
}

.details-h5 {
    font-size: 0.95rem;
    line-height: 2rem;
    font-weight: 500;
    margin-bottom: 8px;
    opacity: 0.65;
}


.details-time {
    margin-bottom: 22px;
    font-weight: 400;
    line-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 1.1rem;
    color: #4f5a46;
    opacity: 1;
    margin-top: 10px;}
    .details-time span:last-child {
        font-weight: 500;
    }

.details-image {
    width: 100%;
    max-width: 560px;
    max-height: 260px;
    margin: 0 auto 30px;
    border-radius: 8px;
    object-fit: cover;
}

.details-image-quinta {
    width: 100%;
    max-width: 560px;
    height: 260px;
    margin: 0 auto 30px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center 80%;
}

.time-icon {
    display: flex;
    align-items: center;
}
    .time-icon svg {
        width: 15px;
        height: 15px;
        stroke: #7a7468;
        fill: none;
        stroke-width: 1.6;
        display: block;
    }

.details-button {
    background: #f5f2ec;
    width: 100%;
    max-width: 520px;
    margin: 0 auto 12px;
    padding: 14px 18px;
    border: 1px solid rgba(100, 100, 90, 0.3);
    border-radius: 10px;
    background-color: #f5f2ec;
    color: #4f5a46;
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

    .details-button .icon {
        width: 18px;
        height: 18px;
        stroke: #4f5a46;
        stroke-width: 1.6;
        fill: none;
        flex-shrink: 0;
        opacity: 0.9;
    }

    .details-button:hover {
        background-color: rgba(111, 123, 95, 0.08);
        transform: translateY(-1px);
    }


/* =========================
   SCHEDULE
========================= */

.schedule-section {
    position: relative;
    background: #f3eee3;
    padding: 7px 20px 22px;
    overflow: hidden;
}

.schedule-layout {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}

.schedule-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.schedule-illustration {
    display: flex;
    justify-content: center;
    margin-bottom: 34px;
}

    .schedule-illustration img {
        width: 250px;
        max-width: 70%;
        height: auto;
        display: block;
        opacity: 0.8;
    }

.schedule-time {
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    color: #4f5a46;
    font-weight: 700;
    margin-top: 6px;
    margin-bottom: 20px;
}

.schedule-content::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 180px;
    bottom: 34px;
    width: 1px;
    background: rgba(79, 90, 70, 0.10);
    transform: translateX(-50%);
    z-index: -1;
}


.schedule-item {
    position: relative;
    max-width: 290px;
    margin: 0 auto 38px;
    padding: 0 8px;
    background: #f3eee3;
}

    .schedule-item:last-of-type {
        margin-bottom: 0;
    }

    .schedule-item h3 {
        margin: 0 0 8px;
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.85rem;
        font-weight: 500;
        line-height: 1.08;
        color: #4f5a46;
    }

    .schedule-item p {
        margin: 0;
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.05rem;
        line-height: 1.4;
        color: #6b655b;
    }

.schedule-flower-side {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

    .schedule-flower-side img {
        display: block;
        opacity: 0.70;
    }

.schedule-flower-left {
    left: -64px;
    top: 390px;
}

    .schedule-flower-left img {
        width: 120px;
        transform: rotate(16deg) scaleX(-1);
    }

.schedule-flower-right {
    right: -58px;
    top: 270px;
}

    .schedule-flower-right img {
        width: 105px;
        transform: rotate(-16deg);
    }


/* =========================
   FAQ
========================= */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

    .divider span:first-child,
    .divider span:last-child {
        width: 60px;
        height: 1px;
        background: rgba(79, 90, 70, 0.28);
    }

.faq-section {
    background-color: #f3eee3;
    padding: 20px 20px 40px 20px;
    text-align: center;
}

.faq-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    border: 3px solid #4f5a46;
    border-radius: 50%;
    font-size: 1.6rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6f7b5f;
    transition: transform 0.25s ease;
    opacity: 0.55;
}

.faq-titles {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    color: #4f5a46;
    font-size: clamp(2.1rem, 7vw, 2.5rem);
    font-weight: 500;
    padding: 0px 0px 30px;
}

.faq-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: #6f6a5f;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.faq-item {
    background: #f5f2ec;
    border: 1px solid rgba(79, 90, 70, 0.08);
    border-radius: 8px;
    padding: 0;
    text-align: left;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

    .faq-item[open] {
        background: #f8f5ef;
        box-shadow: 0 10px 22px rgba(0,0,0,0.05);
        border: 1px solid rgba(79, 90, 70, 0.12);
    }

    .faq-item summary {
        list-style: none;
        cursor: pointer;
        color: #4f5a46;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        font-size: 1.12rem;
        padding: 18px 22px;
    }

        .faq-item summary::-webkit-details-marker {
            display: none;
        }

        .faq-item summary::after {
            content: "";
            width: 9px;
            height: 9px;
            border-right: 1.5px solid #4f5a46;
            border-bottom: 1.5px solid #4f5a46;
            transform: rotate(45deg);
            opacity: 0.85;
            transition: transform 0.25s ease, opacity 0.25s ease;
            flex-shrink: 0;
        }

    .faq-item[open] summary::after {
        transform: rotate(-135deg);
        opacity: 0.9;
    }

    .faq-item p {
        padding: 8px 28px 22px 22px;
        font-size: 1.05rem;
        line-height: 1.62;
        color: #6f685f;
        margin: 0;
    }

/* =========================
   RSVP
========================= */
.rsvp-section {
    background-color: #f3eee3;
    padding: 10px 20px 30px;
    text-align: center;
}

.rsvp-illustration {
    display: flex;
    justify-content: center;
    width: 140px;
    margin: 10px auto 14px;
    opacity: 0.85;
}

    .rsvp-illustration img {
        width: 130%;
        max-width: 200px;
        height: auto;
        transform: rotate(5deg);
        filter: saturate(0.9) brightness(1.02) contrast(0.95);
    }

.rsvp-titles {
    width: 100%;
    max-width: 700px;
    margin: 10px auto 8px auto;
    color: #4f5a46;
    font-size: clamp(2.1rem, 7vw, 2.5rem);
    font-weight: 500;
}

.rsvp-subtitle {
    font-size: 1.2rem;
    margin-bottom: 36px;
    opacity: 0.9;
    color: #6f6a5f;
}
.rsvp-header {
    margin-bottom: 34px;
}

    .rsvp-header h2 {
        font-size: 2.7rem;
        color: #4f5a46;
        margin-bottom: 8px;
        line-height: 1.05;
    }

    .rsvp-header p {
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.2rem;
        color: #6f6a5f;
    }

.rsvp-card {
    max-width: 760px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(120, 120, 100, 0.12);
    border-radius: 18px;
    padding: 20px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    text-align: left;
}

.rsvp-form {
    padding: 8px 24px;
}

.form-group {
    margin: 20px 0px 0px 0px;
    border: none;
    padding: 0;
    margin-bottom: 16px;
}

    .form-group legend {
        display: block;
        width: 100%;
        margin: 0 0 16px;
        padding: 0;
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.25rem;
        color: #4f5a46;
    }

.radio-option {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: start;
    column-gap: 10px;
    margin-bottom: 12px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.08rem;
    line-height: 1.35;
    color: #6f685f;
}

    .radio-option input {
        width: 16px;
        height: 16px;
        margin: 3px 0 0;
        padding: 0;
        accent-color: #6f7d5c;
    }

.checkbox-row label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.08rem;
    color: #6f685f;
}

input[type="text"],
textarea {
    width: 100%;
    border: 1px solid rgba(79, 90, 70, 0.14);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.78);
    padding: 14px 16px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    color: #4f5a46;
    caret-color: #6f7d5c;
    color-scheme: light;
    outline: none;
    margin-bottom: 14px;
    box-shadow: inset 0 0 0 1000px rgba(255, 255, 255, 0.01);
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

    input[type="text"]:focus,
    textarea:focus {
        border-color: rgba(111, 125, 92, 0.58);
        background-color: #fffdf9;
        box-shadow: 0 0 0 3px rgba(111, 125, 92, 0.10);
    }

input[type="text"]:-webkit-autofill,
input[type="text"]:-webkit-autofill:hover,
input[type="text"]:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #4f5a46;
    -webkit-box-shadow: 0 0 0 1000px #fffdf9 inset;
    caret-color: #6f7d5c;
}

.form-error {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: -5px 0 14px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    line-height: 1.3;
    color: #9a6252;
}

    .form-error::before {
        content: "♡";
        font-size: 0.9rem;
        color: #9a6252;
    }

fieldset.has-error {
    border: none;
    background: transparent;
}

input[type="text"].has-error {
    border-color: rgba(154, 98, 82, 0.55);
    background-color: #fffaf7;
    box-shadow: 0 0 0 3px rgba(154, 98, 82, 0.08);
}

.form-status {
    margin: 14px 0 0;
    padding: 12px 14px;
    border-radius: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    line-height: 1.35;
    text-align: center;
}

.form-status--success {
    color: #526047;
    border: 1px solid rgba(111, 125, 92, 0.24);
    background: rgba(111, 125, 92, 0.08);
}

.form-status--error {
    color: #8a594b;
    border: 1px solid rgba(154, 98, 82, 0.24);
    background: rgba(154, 98, 82, 0.07);
}

.guest-counter {
    display: flex;
    align-items: center;
    gap: 16px;
}

#guestCount {
    font-size: 1.4rem;
    font-weight: 500;
    color: #4f5a46;
    min-width: 28px;
    text-align: center;
}
.counter-btn {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(79, 90, 70, 0.12);
    background: rgba(255, 255, 255, 0.72);
    color: #4f5a46;
    border-radius: 12px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.9;
}
    .counter-btn:active {
        background: #f5f2ec;
        transform: none;
    }


#guestCount {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: #4f5a46;
}

.guest-card {
    background: transparent;
    border-top: 1px solid rgba(79, 90, 70, 0.10);
}

    .guest-card + .guest-card {
        background: #f8f5ef75;
        border: 1px solid rgba(79, 90, 70, 0.06);
        border-radius: 8px;
        padding: 18px 16px;
        margin-top: 22px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    }
    .guest-card:first-child {
        background: #f8f5ef75;
        border: 1px solid rgba(79, 90, 70, 0.06);
        border-radius: 8px;
        padding: 18px 16px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.04);
        border-color: rgba(79, 90, 70, 0.16);
    }

.guest-title {
    font-family: 'Cormorant Garamond', serif;
    color: #4f5a46;
    font-size: 1.08rem;
    margin: 0 0 14px;
    color: #4f5a46;
}

.checkbox-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.small-label {
    color: #4f5a46;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.rem;
    color: #4f5a46;
    font-size: 1rem;
    margin: 18px 0 10px;
    color: #6f685f;
}

.diet-group {
    margin-top: 16px;
}

.diet-options {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin: 0 0 14px;
}

.diet-option {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    font-size: 0.98rem;
    color: #6f685f;
    white-space: normal;
}

    .diet-option input {
        width: 15px;
        height: 15px;
        margin: 0;
        padding: 0;
        flex-shrink: 0;
        margin-top: 8px;
        accent-color: #6f7d5c;
    }

.diet-input {
    margin-bottom: 0;
}

.rsvp-submit {
    width: 100%;
    font-size: 1rem;
    font-weight: 200;
    cursor: pointer;
    border-radius: 14px;
    padding: 14px 18px;
    background: #6f7d5c;
    color: #ffffff;
    border: 1px solid rgba(79, 90, 70, 0.18);
    margin-top: 8px;
    transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

    .rsvp-submit:hover {
        background: #6f7b5f;
        color: #fff;
        transform: translateY(-1px);
    }

    .rsvp-submit:disabled {
        cursor: wait;
        opacity: 0.65;
        transform: none;
    }

    .rsvp-submit:focus-visible,
    .counter-btn:focus-visible,
    .details-button:focus-visible,
    .faq-item summary:focus-visible {
        outline: 2px solid rgba(111, 125, 92, 0.62);
        outline-offset: 3px;
    }

.form-note {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    color: #7a7468;
}

/* =========================
   FOOTER
========================= */
.footer-section {
    background: linear-gradient(180deg, #36442f 0%, #2f3b29 100%);
    color: #f8f3ea;
    text-align: center;
    padding: 50px 20px 70px;
}

.footer-illustration {
    max-width: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.9;
}

    .footer-illustration img {
    width: 220px; /* ajusta ao tamanho pretendido */
    max-width: 100%;
    height: auto;
    display: block;
    }



.footer-names {
    font-size: 30px;
    font-weight: 600;
    margin: 0;
    color: #fffaf2;
}

.footer-date {
    font-size: 18px;
    margin: 10px 0 34px;
    color: #fffaf2;
}

.footer-credit {
    font-size: 18px;
    margin: 0;
    color: #e8dfcf;
}

    .footer-credit span {
        color: #c7b36a;
    }
