:root {
    --gold: #b89658;
    --gold-dark: #967540;
    --gold-light: #dac79f;
    --cream: #f7f3eb;
    --cream-2: #eee7da;
    --paper: #fffdf9;
    --ink: #282722;
    --muted: #6f6a61;
    --line: rgba(150, 117, 64, 0.23);
    --white: #ffffff;
    --shadow: 0 22px 70px rgba(63, 51, 34, 0.12);
    --serif: 'Cormorant Garamond', Georgia, serif;
    --script: 'Great Vibes', cursive;
    --sans: 'Montserrat', Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    overflow-x: hidden;
}

body:not(.invitation-open) {
    overflow: hidden;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

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

.page-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    z-index: 10000;
    pointer-events: none;
}

/* APERTURA */
.envelope-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 42%, rgba(255,255,255,.95), rgba(247,243,235,.9) 50%, rgba(235,225,207,.95) 100%),
        var(--cream);
    transition: opacity .75s ease, transform .75s ease;
}

.envelope-overlay::before {
    content: '';
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(184,150,88,.3);
    pointer-events: none;
}

.envelope-overlay.leaving {
    opacity: 0;
    transform: scale(1.03);
}

.opening-content {
    position: relative;
    z-index: 4;
    width: min(100%, 620px);
    text-align: center;
}

.opening-kicker,
.eyebrow {
    font-size: .71rem;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.opening-kicker {
    margin-bottom: 15px;
}

.opening-couple {
    margin-bottom: 30px;
    font-family: var(--script);
    font-size: clamp(3.2rem, 10vw, 5.3rem);
    font-weight: 400;
    line-height: .95;
    color: var(--ink);
}

.opening-couple span {
    color: var(--gold);
}

.envelope {
    position: relative;
    width: min(82vw, 360px);
    height: 235px;
    margin: 0 auto;
    border: 0;
    background: transparent;
    cursor: pointer;
    perspective: 1100px;
    filter: drop-shadow(0 24px 28px rgba(55,44,26,.18));
    transition: transform .3s ease;
}

.envelope:hover {
    transform: translateY(-6px);
}

.envelope-back,
.envelope-front,
.envelope-flap,
.envelope-letter,
.wax-seal {
    position: absolute;
}

.envelope-back {
    inset: 22px 0 0;
    border-radius: 3px 3px 8px 8px;
    background: linear-gradient(135deg, #caa76a, #b38b4b);
    z-index: 1;
}

.envelope-letter {
    left: 9%;
    top: 22px;
    z-index: 2;
    width: 82%;
    height: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border: 1px solid rgba(184,150,88,.2);
    background: #fffdfa;
    transform: translateY(25px);
    transition: transform .8s cubic-bezier(.19,1,.22,1) .25s;
}

.envelope-letter::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(184,150,88,.25);
}

.envelope-letter span {
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
    font-family: var(--serif);
    font-size: 1rem;
    font-style: italic;
    color: var(--muted);
}

.envelope-letter strong {
    position: relative;
    z-index: 1;
    max-width: 95%;
    font-family: var(--serif);
    font-size: clamp(1.45rem, 5vw, 2rem);
    line-height: 1;
    font-weight: 500;
    color: var(--gold-dark);
}

.envelope-front {
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    height: 185px;
    overflow: hidden;
    border-radius: 0 0 8px 8px;
}

.envelope-front::before,
.envelope-front::after {
    content: '';
    position: absolute;
    bottom: -6px;
    width: 73%;
    height: 165px;
    background: linear-gradient(145deg, #d6b777, #b48a48);
}

.envelope-front::before {
    left: -16%;
    transform: rotate(31deg);
    transform-origin: bottom left;
}

.envelope-front::after {
    right: -16%;
    transform: rotate(-31deg);
    transform-origin: bottom right;
}

.envelope-flap {
    left: 0;
    right: 0;
    top: 22px;
    z-index: 5;
    height: 130px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    background: linear-gradient(180deg, #b38a4b, #c6a463);
    transform-origin: top center;
    backface-visibility: hidden;
    transition: transform .75s cubic-bezier(.55,.05,.2,1);
}

.wax-seal {
    z-index: 7;
    left: 50%;
    top: 110px;
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border: 4px double rgba(255,255,255,.32);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #d9c086, #a98549 70%);
    color: #fffaf0;
    transform: translateX(-50%);
    box-shadow: 0 6px 14px rgba(80,55,22,.25);
    transition: opacity .25s ease, transform .4s ease;
}

.envelope.open .envelope-flap {
    transform: rotateX(180deg);
    z-index: 0;
}

.envelope.open .envelope-letter {
    transform: translateY(-58px);
}

.envelope.open .wax-seal {
    opacity: 0;
    transform: translateX(-50%) scale(.6);
}

.opening-hint {
    margin-top: 28px;
    font-size: .73rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    animation: hintPulse 2s infinite;
}

.opening-hint i {
    margin-right: 8px;
    color: var(--gold);
}

.opening-ornament {
    position: absolute;
    width: min(42vw, 420px);
    height: min(60vw, 540px);
    opacity: .2;
    border: 1px solid var(--gold);
    border-radius: 50% 10% 50% 10%;
    transform: rotate(28deg);
}

.opening-ornament-left {
    left: -13vw;
    bottom: -16vw;
}

.opening-ornament-right {
    right: -13vw;
    top: -18vw;
    transform: rotate(205deg);
}

@keyframes hintPulse {
    0%, 100% { opacity: .55; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(4px); }
}

/* FLOTANTES */
.floating-actions {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: opacity .4s ease;
}

.floating-actions.hidden {
    opacity: 0;
    pointer-events: none;
}

.floating-button {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 50%;
    background: rgba(44,42,36,.9);
    color: white;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    backdrop-filter: blur(10px);
    transition: transform .25s ease, background .25s ease, opacity .25s ease;
}

.floating-button:hover {
    transform: translateY(-3px);
    background: var(--gold-dark);
}

#music-control.is-playing i {
    animation: musicBeat 1.2s infinite ease-in-out;
}

#scroll-top {
    opacity: 0;
    pointer-events: none;
}

#scroll-top.show {
    opacity: 1;
    pointer-events: auto;
}

@keyframes musicBeat {
    50% { transform: scale(1.15); }
}

/* ESTRUCTURA */
.section-pad {
    padding: 105px 24px;
}

.section-shell {
    width: min(100%, 1120px);
    margin: 0 auto;
}

.section-shell.narrow {
    width: min(100%, 760px);
}

.soft-section {
    background:
        radial-gradient(circle at 10% 10%, rgba(184,150,88,.07), transparent 28%),
        radial-gradient(circle at 90% 80%, rgba(184,150,88,.07), transparent 30%),
        var(--cream);
}

.section-heading {
    max-width: 750px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading h2,
.rsvp-content h2,
.share-content h2 {
    margin: 10px 0 15px;
    font-family: var(--serif);
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    line-height: 1;
    font-weight: 500;
}

.section-heading > p:last-child {
    max-width: 650px;
    margin: 0 auto;
    color: var(--muted);
    line-height: 1.8;
}

.eyebrow.light {
    color: rgba(255,255,255,.78);
}

.ornamental-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 24px auto;
    color: var(--gold);
}

.ornamental-divider span {
    width: 58px;
    height: 1px;
    background: var(--line);
}

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .85s ease, transform .85s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* HERO */
.hero-section {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: white;
}

.hero-background,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-background {
    background-image: url('https://images.unsplash.com/photo-1511285560929-80b456fea0bc?auto=format&fit=crop&w=2000&q=88');
    background-position: center;
    background-size: cover;
    transform: scale(1.035);
}

.hero-shade {
    background: linear-gradient(180deg, rgba(20,18,14,.3), rgba(20,18,14,.58)), linear-gradient(90deg, rgba(20,18,14,.18), transparent, rgba(20,18,14,.18));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(92%, 920px);
    padding: 110px 20px 75px;
    text-align: center;
    text-shadow: 0 2px 18px rgba(0,0,0,.18);
}

.hero-title {
    margin: 17px 0 5px;
    font-family: var(--serif);
    font-size: clamp(3.8rem, 10vw, 7.2rem);
    line-height: .88;
    font-weight: 500;
}

.hero-subtitle {
    margin-bottom: 22px;
    font-family: var(--serif);
    font-size: clamp(1.15rem, 3vw, 1.65rem);
    font-style: italic;
    opacity: .9;
}

.hero-names {
    font-family: var(--script);
    font-size: clamp(3.6rem, 11vw, 7.4rem);
    line-height: .9;
}

.hero-names span {
    color: var(--gold-light);
}

.hero-date-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 32px auto 0;
}

.hero-date-line span {
    width: min(14vw, 100px);
    height: 1px;
    background: rgba(255,255,255,.5);
}

.hero-date-line p {
    font-size: .8rem;
    letter-spacing: .28em;
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    transform: translateX(-50%);
    opacity: .85;
}

.scroll-indicator small {
    font-size: .58rem;
    letter-spacing: .23em;
}

.scroll-indicator i {
    animation: scrollBounce 1.8s infinite;
}

@keyframes scrollBounce {
    50% { transform: translateY(7px); }
}

/* FRASE */
.quote-section {
    text-align: center;
    background: var(--paper);
}

.quote-heart {
    margin-bottom: 28px;
    font-size: 1.05rem;
    color: var(--gold);
}

.quote-text {
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 3.3rem);
    line-height: 1.25;
    font-style: italic;
}

.lead-copy {
    color: var(--muted);
    font-family: var(--serif);
    font-size: 1.25rem;
    line-height: 1.85;
}

/* FECHA */
.date-feature-section {
    text-align: center;
}

.calendar-display {
    display: grid;
    grid-template-columns: minmax(85px, 1fr) minmax(120px, 180px) minmax(85px, 1fr);
    align-items: center;
    max-width: 650px;
    margin: 25px auto 12px;
}

.calendar-number {
    padding: 0 20px;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    font-family: var(--serif);
    font-size: clamp(5.2rem, 13vw, 8.5rem);
    line-height: .9;
    font-weight: 500;
    color: var(--gold-dark);
}

.calendar-side {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .18em;
}

.calendar-side strong {
    font-family: var(--serif);
    font-size: 1.6rem;
    letter-spacing: .06em;
}

.calendar-side span {
    color: var(--muted);
}

.event-time {
    margin-top: 22px;
    font-family: var(--serif);
    font-size: 1.45rem;
}

.event-time i {
    margin-right: 8px;
    color: var(--gold);
}

.countdown-wrap {
    margin-top: 52px;
}

.countdown-label {
    margin-bottom: 15px;
    font-family: var(--script);
    font-size: 2.4rem;
    color: var(--gold-dark);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.time-box {
    min-width: 105px;
    padding: 20px 16px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.48);
}

.time-box span {
    display: block;
    font-family: var(--serif);
    font-size: 2.6rem;
    line-height: 1;
    font-weight: 500;
    color: var(--gold-dark);
}

.time-box p {
    margin-top: 7px;
    font-size: .65rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}

/* INVITADO */
.guest-section {
    text-align: center;
}

.guest-card {
    position: relative;
    margin-top: 25px;
    padding: 62px 35px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.guest-card::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(184,150,88,.15);
    pointer-events: none;
}

.guest-card-corner {
    position: absolute;
    width: 110px;
    height: 110px;
    border: 1px solid var(--gold-light);
    border-radius: 50% 0 50% 0;
    opacity: .5;
}

.guest-card-corner.top-left {
    top: -60px;
    left: -50px;
}

.guest-card-corner.bottom-right {
    right: -50px;
    bottom: -60px;
}

.guest-icon {
    margin-bottom: 22px;
    font-size: 2rem;
    color: var(--gold);
}

.guest-card h3 {
    margin-bottom: 16px;
    font-family: var(--serif);
    font-size: clamp(2.3rem, 7vw, 4rem);
    line-height: 1;
    font-weight: 500;
}

.guest-card p,
.guest-card span {
    display: block;
    color: var(--muted);
    line-height: 1.7;
}

.guest-card strong {
    display: block;
    margin: 10px 0 16px;
    font-family: var(--serif);
    font-size: 2rem;
    color: var(--gold-dark);
}

/* FAMILIA */
.family-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 18px;
}

.family-card {
    padding: 42px 28px;
    text-align: center;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.54);
}

.family-symbol {
    margin-bottom: 18px;
    font-size: 1.35rem;
    color: var(--gold);
}

.family-card h3 {
    margin-bottom: 16px;
    font-family: var(--serif);
    font-size: 1.75rem;
    font-weight: 600;
}

.family-card p {
    margin: 5px 0;
    color: var(--muted);
    font-family: var(--serif);
    font-size: 1.15rem;
}

/* CINEMÁTICA */
.cinematic-section,
.share-section,
.rsvp-section {
    position: relative;
    min-height: 700px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.cinematic-image,
.cinematic-overlay,
.share-photo,
.share-overlay,
.rsvp-background,
.rsvp-overlay {
    position: absolute;
    inset: 0;
}

.cinematic-image {
    background: url('https://images.unsplash.com/photo-1519741347686-c1e331cda363?auto=format&fit=crop&w=1900&q=84') center/cover;
}

.cinematic-overlay {
    background: linear-gradient(90deg, rgba(28,25,20,.75), rgba(28,25,20,.38) 60%, rgba(28,25,20,.15));
}

.cinematic-copy {
    position: relative;
    z-index: 2;
    width: min(90%, 1050px);
    color: white;
}

.cinematic-copy > * {
    max-width: 590px;
}

.script-small {
    margin-bottom: 4px;
    font-family: var(--script);
    font-size: 2.5rem;
    color: var(--gold-light);
}

.cinematic-copy h2 {
    margin-bottom: 25px;
    font-family: var(--serif);
    font-size: clamp(3.7rem, 8vw, 6.7rem);
    line-height: .9;
    font-weight: 500;
}

.cinematic-copy > p:last-child {
    font-family: var(--serif);
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255,255,255,.86);
}

/* UBICACIONES */
.location-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.location-card {
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 18px 55px rgba(51,43,31,.09);
}

.location-photo {
    height: 320px;
    background-position: center;
    background-size: cover;
    transition: transform .65s ease;
}

.location-card:hover .location-photo {
    transform: scale(1.035);
}

.church-photo {
    background-image: url('https://images.unsplash.com/photo-1438032005730-c779502df39b?auto=format&fit=crop&w=1000&q=82');
}

.party-photo {
    background-image: url('https://images.unsplash.com/photo-1464366400600-7168b8af9bc3?auto=format&fit=crop&w=1000&q=82');
}

.location-body {
    padding: 34px;
}

.location-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.location-body h3 {
    font-family: var(--serif);
    font-size: 2.15rem;
    line-height: 1;
    font-weight: 500;
}

.location-hour {
    margin: 10px 0 15px;
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--gold-dark) !important;
}

.location-body p {
    color: var(--muted);
    line-height: 1.75;
}

.outline-button,
.light-button,
.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 14px 24px;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .25s ease;
}

.outline-button {
    margin-top: 24px;
    border: 1px solid var(--gold);
    color: var(--gold-dark);
}

.outline-button:hover {
    background: var(--gold-dark);
    color: white;
}

/* DRESS CODE */
.dress-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 760px;
    margin: 0 auto;
}

.dress-card {
    padding: 40px 25px;
    text-align: center;
    background: rgba(255,255,255,.6);
    border: 1px solid var(--line);
}

.dress-card i {
    margin-bottom: 17px;
    font-size: 2.4rem;
    color: var(--gold-dark);
}

.dress-card h3 {
    margin-bottom: 8px;
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 600;
}

.dress-card p {
    color: var(--muted);
}

.dress-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    max-width: 720px;
    margin: 28px auto 0;
    padding: 18px 22px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.5);
    color: var(--muted);
    line-height: 1.55;
}

.white-swatch {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border: 1px solid #d7d2ca;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 5px #f7f4ee;
}

/* ITINERARIO */
.event-timeline {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
}

.event-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 49px;
    width: 1px;
    background: var(--line);
}

.timeline-item {
    position: relative;
    min-height: 112px;
    padding: 0 0 35px 120px;
}

.timeline-icon {
    position: absolute;
    left: 24px;
    top: 0;
    z-index: 1;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold-light);
    border-radius: 50%;
    background: var(--paper);
    color: var(--gold-dark);
}

.timeline-item time {
    display: block;
    margin-bottom: 5px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
    color: var(--gold-dark);
}

.timeline-item h3 {
    margin-bottom: 4px;
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 500;
}

.timeline-item p {
    color: var(--muted);
    line-height: 1.65;
}

.punctuality-note {
    max-width: 720px;
    margin: 28px auto 0;
    padding: 22px;
    text-align: center;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    line-height: 1.6;
}

.punctuality-note i {
    margin-right: 8px;
    color: var(--gold);
}

/* HISTORIA */
.story-line {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.story-moment {
    position: relative;
    padding: 40px 28px 34px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.58);
}

.story-moment > span {
    display: block;
    margin-bottom: 24px;
    font-family: var(--serif);
    font-size: 3.5rem;
    line-height: 1;
    color: var(--gold-light);
}

.story-year {
    margin-bottom: 7px;
    font-size: .67rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gold-dark) !important;
}

.story-moment h3 {
    margin-bottom: 12px;
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 600;
}

.story-moment p {
    color: var(--muted);
    line-height: 1.75;
}

/* GALERÍA */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 180px;
    gap: 12px;
}

.gallery-item {
    grid-column: span 4;
    overflow: hidden;
    background: var(--cream-2);
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 8;
}

.gallery-item img {
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease, filter .7s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
    filter: saturate(.9) contrast(1.03);
}

.gallery-caption {
    margin-top: 18px;
    text-align: center;
    font-size: .78rem;
    color: var(--muted);
}

/* COMPARTIR */
.share-section {
    min-height: 620px;
    text-align: center;
    color: white;
}

.share-photo {
    background: url('https://images.unsplash.com/photo-1519167758481-83f550bb49b3?auto=format&fit=crop&w=1900&q=84') center/cover;
}

.share-overlay {
    background: rgba(26,23,19,.62);
}

.share-content {
    position: relative;
    z-index: 2;
    width: min(90%, 720px);
}

.share-content > i {
    margin-bottom: 22px;
    font-size: 2rem;
    color: var(--gold-light);
}

.share-content > p:not(.eyebrow) {
    margin: 0 auto 28px;
    max-width: 620px;
    line-height: 1.75;
    color: rgba(255,255,255,.82);
}

.light-button {
    border: 1px solid rgba(255,255,255,.65);
    color: white;
}

.light-button:hover {
    background: white;
    color: var(--ink);
}

/* NOTAS */
.notes-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.note-card {
    padding: 48px 38px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.58);
}

.note-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border: 1px solid var(--gold-light);
    border-radius: 50%;
    color: var(--gold-dark);
    font-size: 1.35rem;
}

.note-card h3 {
    margin: 10px 0 14px;
    font-family: var(--serif);
    font-size: 2rem;
    line-height: 1.05;
    font-weight: 600;
}

.note-card > p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.8;
}

.text-button {
    margin-top: 20px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--gold);
    background: transparent;
    color: var(--gold-dark);
    font-weight: 600;
    cursor: pointer;
}

.gift-info {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease, opacity .3s ease, margin .3s ease;
}

.gift-info.show {
    max-height: 150px;
    margin-top: 20px;
    opacity: 1;
}

.gift-info p {
    margin: 6px 0;
    color: var(--muted);
}

/* FAQ */
.faq-list {
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 25px 2px;
    font-family: var(--serif);
    font-size: 1.45rem;
    cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary i {
    font-size: .85rem;
    color: var(--gold);
    transition: transform .25s ease;
}

.faq-list details[open] summary i {
    transform: rotate(45deg);
}

.faq-list details p {
    padding: 0 40px 25px 2px;
    color: var(--muted);
    line-height: 1.75;
}

/* RSVP */
.rsvp-section {
    min-height: 740px;
    color: white;
    text-align: center;
}

.rsvp-background {
    background: url('https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=2000&q=86') center/cover;
}

.rsvp-overlay {
    background: linear-gradient(rgba(25,22,18,.68), rgba(25,22,18,.73));
}

.rsvp-content {
    position: relative;
    z-index: 2;
}

.rsvp-content > p:not(.eyebrow):not(.rsvp-deadline) {
    max-width: 650px;
    margin: 0 auto;
    color: rgba(255,255,255,.83);
    line-height: 1.8;
}

.rsvp-summary {
    max-width: 540px;
    margin: 30px auto;
    padding: 24px;
    border-top: 1px solid rgba(255,255,255,.28);
    border-bottom: 1px solid rgba(255,255,255,.28);
}

.rsvp-summary span,
.rsvp-summary small {
    display: block;
    color: rgba(255,255,255,.68);
}

.rsvp-summary strong {
    display: block;
    margin: 7px 0 4px;
    font-family: var(--serif);
    font-size: 2.2rem;
    font-weight: 500;
}

.rsvp-deadline {
    margin-bottom: 26px;
    font-size: .86rem;
    color: rgba(255,255,255,.76);
}

.rsvp-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.primary-button,
.ghost-button {
    border: 1px solid transparent;
}

.primary-button {
    background: var(--gold-light);
    color: #2d261b;
}

.primary-button:hover {
    background: white;
    transform: translateY(-2px);
}

.ghost-button {
    border-color: rgba(255,255,255,.6);
    background: transparent;
    color: white;
}

.ghost-button:hover {
    border-color: white;
    background: rgba(255,255,255,.08);
}

/* FOOTER */
.wedding-footer {
    padding: 85px 24px 70px;
    text-align: center;
    background: #28251f;
    color: white;
}

.footer-monogram {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    margin: 0 auto 28px;
    border: 1px solid rgba(218,199,159,.45);
    border-radius: 50%;
    font-family: var(--serif);
    font-size: 1.55rem;
    color: var(--gold-light);
}

.footer-monogram span {
    margin: 0 2px;
    font-family: var(--script);
}

.wedding-footer > p:first-of-type {
    max-width: 530px;
    margin: 0 auto 26px;
    color: rgba(255,255,255,.64);
    line-height: 1.75;
}

.wedding-footer h2 {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 400;
    color: rgba(255,255,255,.75);
}

.footer-names {
    margin: 7px 0 20px;
    font-family: var(--script);
    font-size: clamp(3.7rem, 10vw, 5.7rem);
    color: var(--gold-light);
}

.footer-date {
    font-size: .68rem;
    letter-spacing: .25em;
    color: rgba(255,255,255,.5);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .section-pad {
        padding: 85px 22px;
    }

    .family-grid,
    .location-grid,
    .notes-grid {
        grid-template-columns: 1fr;
    }

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

    .location-photo {
        height: 280px;
    }

    .gallery-item {
        grid-column: span 6;
    }

    .gallery-item.wide {
        grid-column: span 12;
    }
}

@media (max-width: 640px) {
    .section-pad {
        padding: 72px 18px;
    }

    .envelope-overlay::before {
        inset: 10px;
    }

    .opening-kicker,
    .eyebrow {
        font-size: .62rem;
        letter-spacing: .2em;
    }

    .opening-couple {
        margin-bottom: 22px;
    }

    .envelope {
        width: min(88vw, 330px);
        height: 220px;
    }

    .wax-seal {
        top: 104px;
        width: 62px;
        height: 62px;
    }

    .floating-actions {
        right: 14px;
        bottom: 14px;
    }

    .floating-button {
        width: 44px;
        height: 44px;
    }

    .hero-section {
        min-height: 94svh;
    }

    .hero-background {
        background-position: 58% center;
    }

    .hero-content {
        padding-top: 100px;
    }

    .hero-date-line {
        gap: 10px;
    }

    .hero-date-line p {
        font-size: .67rem;
        letter-spacing: .2em;
    }

    .calendar-display {
        grid-template-columns: 1fr 120px 1fr;
    }

    .calendar-number {
        padding: 0 10px;
    }

    .calendar-side {
        font-size: .68rem;
        letter-spacing: .08em;
    }

    .calendar-side strong {
        font-size: 1.2rem;
    }

    .countdown {
        gap: 6px;
    }

    .time-box {
        min-width: 0;
        flex: 1;
        padding: 16px 8px;
    }

    .time-box span {
        font-size: 2rem;
    }

    .time-box p {
        font-size: .55rem;
        letter-spacing: .08em;
    }

    .guest-card {
        padding: 50px 20px;
    }

    .family-grid,
    .dress-grid {
        grid-template-columns: 1fr;
    }

    .cinematic-section {
        min-height: 720px;
        align-items: end;
    }

    .cinematic-image {
        background-position: 58% center;
    }

    .cinematic-overlay {
        background: linear-gradient(180deg, rgba(28,25,20,.18), rgba(28,25,20,.82) 72%);
    }

    .cinematic-copy {
        padding-bottom: 65px;
    }

    .cinematic-copy h2 {
        font-size: clamp(3.2rem, 14vw, 5rem);
    }

    .location-body {
        padding: 28px 22px;
    }

    .dress-note {
        align-items: flex-start;
        text-align: left;
    }

    .event-timeline::before {
        left: 25px;
    }

    .timeline-item {
        padding-left: 74px;
    }

    .timeline-icon {
        left: 0;
        width: 50px;
        height: 50px;
    }

    .gallery-grid {
        grid-auto-rows: 150px;
    }

    .gallery-item,
    .gallery-item.wide {
        grid-column: span 6;
    }

    .gallery-item:nth-child(4) {
        grid-column: span 12;
    }

    .note-card {
        padding: 38px 24px;
    }

    .faq-list summary {
        font-size: 1.25rem;
    }

    .rsvp-section {
        min-height: 780px;
    }

    .rsvp-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-button,
    .ghost-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
