/**
 * Tema AUTUM (Classic) — atardecer de otoño, hojas rojizas y granate.
 * Tipografía Cormorant Garamond (serif en versalitas) + Great Vibes (caligrafía del "&").
 *
 * Hero a pantalla completa con la foto de fondo; la cuenta atrás se monta sobre su
 * borde inferior en una mancha de papel blanco. Todas las reglas viven dentro de
 * `.theme-classic-autum` para que ningún estilo escape a otras plantillas.
 */

.theme-classic-autum {
    --au-bg: #f7f1e8;            /* papel cálido del resto de secciones */
    --au-text: #3d2b2b;
    --au-text-soft: #7a6660;
    --au-wine: #6e1f2e;          /* granate de nombres y cifras */
    --au-gold: #c9a35c;          /* caligrafía dorada */
    --au-line: rgba(110, 31, 46, 0.45);
    --au-paper: rgba(255, 252, 247, 0.9);
    --au-section-dark: #f0e1d5;   /* papel rosado: historia, ubicaciones… */
    --au-section-light: #f8f1e8;  /* papel claro: programa… */

    --au-font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --au-font-script: 'Great Vibes', 'Cormorant Garamond', cursive;

    --site-bg: var(--au-bg);

    background: var(--au-bg);
    color: var(--au-text);
    font-family: var(--au-font-serif);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: clip;
}

.theme-classic-autum img,
.theme-classic-autum svg,
.theme-classic-autum video {
    max-width: 100%;
}

.theme-classic-autum .au-page {
    position: relative;
    overflow-x: clip;
}

.theme-classic-autum h1,
.theme-classic-autum h2,
.theme-classic-autum h3 {
    font-family: var(--au-font-serif);
    font-weight: 500;
    color: var(--au-text);
}

/* ─── HERO ──────────────────────────────────────────────────── */
.theme-classic-autum .au-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* Deja sitio abajo para la mancha de la cuenta atrás, que se monta encima. */
    padding: clamp(36px, 6vh, 60px) 24px 230px;
    box-sizing: border-box;
    overflow: hidden;
    background: #d9b48f var(--au-hero-image, none) center / cover no-repeat;
    color: var(--au-wine);
}

.theme-classic-autum .au-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Velo suave para que el texto se lea sobre el cielo sin apagar la foto. */
.theme-classic-autum .au-hero__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(255, 246, 236, 0.28) 0%, rgba(255, 246, 236, 0) 45%),
        linear-gradient(to top, rgba(60, 30, 20, 0.18) 0%, rgba(60, 30, 20, 0) 40%);
}

/* Hojas (PNG/WebP con transparencia). Se balancean como con brisa.
   flower_left / flower_right son capas a toda la altura del hero (mismo formato
   vertical que la foto, con hojas arriba y abajo): en escritorio se pegan al lateral
   con su proporción; en móvil cubren el hero igual que la foto para que las hojas
   caigan donde las pintó el diseñador. flower_bottom_* son recortes de esquina. */
.theme-classic-autum .au-hero__leaves {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    user-select: none;
}
.theme-classic-autum .au-hero__leaves--top-left,
.theme-classic-autum .au-hero__leaves--top-right {
    top: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    max-width: 60%;
    object-fit: cover;
}
.theme-classic-autum .au-hero__leaves--top-left {
    left: 0;
    object-position: left center;
    /* Un poco escondida hacia la izquierda para que no invada la escena. */
    --au-sway-base: translateX(-22%);
    transform: var(--au-sway-base);
    transform-origin: 0 0;
    animation: auSway 8s ease-in-out infinite;
}
.theme-classic-autum .au-hero__leaves--top-right {
    right: 0;
    object-position: right center;
    transform-origin: 100% 0;
    animation: auSwayAlt 9s ease-in-out infinite;
    animation-delay: -3s;
}
.theme-classic-autum .au-hero__leaves--bottom-left,
.theme-classic-autum .au-hero__leaves--bottom-right {
    bottom: 0;
    width: clamp(150px, 32vw, 420px);
    height: auto;
}
.theme-classic-autum .au-hero__leaves--bottom-left {
    left: 0;
    transform-origin: 0 100%;
    animation: auSwayAlt 8.5s ease-in-out infinite;
    animation-delay: -5s;
}
.theme-classic-autum .au-hero__leaves--bottom-right {
    right: 0;
    transform-origin: 100% 100%;
    animation: auSway 9.5s ease-in-out infinite;
    animation-delay: -1.5s;
}
@keyframes auSway {
    0%   { transform: var(--au-sway-base, translateX(0)) rotate(0deg); }
    30%  { transform: var(--au-sway-base, translateX(0)) rotate(0.6deg) translateY(-2px); }
    55%  { transform: var(--au-sway-base, translateX(0)) rotate(-0.25deg); }
    80%  { transform: var(--au-sway-base, translateX(0)) rotate(0.4deg) translateY(-1px); }
    100% { transform: var(--au-sway-base, translateX(0)) rotate(0deg); }
}
@keyframes auSwayAlt {
    0%   { transform: var(--au-sway-base, translateX(0)) rotate(0deg); }
    35%  { transform: var(--au-sway-base, translateX(0)) rotate(-0.55deg) translateY(-2px); }
    60%  { transform: var(--au-sway-base, translateX(0)) rotate(0.2deg); }
    85%  { transform: var(--au-sway-base, translateX(0)) rotate(-0.35deg) translateY(-1px); }
    100% { transform: var(--au-sway-base, translateX(0)) rotate(0deg); }
}

.theme-classic-autum .au-hero__content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 640px;
}

/* "Esta invitación es exclusiva para ti": versalitas con mucho tracking. */
.theme-classic-autum .au-hero__tag {
    margin: 0 0 10px;
    font-family: var(--au-font-serif);
    font-weight: 500;
    font-size: clamp(0.62rem, 1.6vw, 0.8rem);
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--au-wine);
}

/* Filete con hojita central. */
.theme-classic-autum .au-hero__ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 auto 18px;
    max-width: 360px;
    color: #4f5f3a;
}
.theme-classic-autum .au-hero__ornament-line {
    flex: 1 1 auto;
    height: 1px;
    background: var(--au-line);
}
.theme-classic-autum .au-hero__ornament-leaf {
    width: 44px;
    height: auto;
    flex: 0 0 auto;
}

/* Nombres apilados en granate; el "&" en caligrafía dorada se mete entre ambos. */
.theme-classic-autum .au-hero__names {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    font-family: var(--au-font-serif);
    font-weight: 500;
    font-size: clamp(2.7rem, 9.5vw, 5rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1.02;
    color: var(--au-wine);
    padding-left: 0.14em; /* compensa el tracking final */
    text-shadow: 0 1px 2px rgba(255, 245, 235, 0.35);
}
.theme-classic-autum .au-hero__name {
    display: block;
}
.theme-classic-autum .au-hero__amp {
    display: block;
    font-family: var(--au-font-script);
    font-weight: 400;
    font-size: 0.78em;
    letter-spacing: 0;
    text-transform: none;
    line-height: 0.7;
    /* Granate como los nombres: el dorado se perdía sobre el cielo del atardecer. */
    color: var(--au-wine);
    margin: -0.08em 0 -0.06em;
    padding-right: 0.14em;
    text-shadow: 0 1px 2px rgba(255, 245, 235, 0.35);
}

/* "Nos casamos" */
.theme-classic-autum .au-hero__subtitle {
    margin: 16px 0 10px;
    font-weight: 500;
    font-size: clamp(0.82rem, 2.1vw, 1.05rem);
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--au-wine);
}

/* Fecha entre filetes. */
.theme-classic-autum .au-hero__date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 auto;
    max-width: 360px;
    font-weight: 600;
    font-size: clamp(1.15rem, 2.8vw, 1.5rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    /* Cifras a la altura de las mayúsculas (la fuente trae cifras "antiguas", más bajas). */
    font-variant-numeric: lining-nums;
    color: var(--au-wine);
    /* Halo claro: la fecha cae sobre el sol, la zona más luminosa de la foto. */
    text-shadow: 0 0 10px rgba(255, 244, 230, 0.85), 0 1px 2px rgba(255, 244, 230, 0.6);
}
.theme-classic-autum .au-hero__date-line {
    flex: 1 1 auto;
    height: 1px;
    background: var(--au-line);
}
.theme-classic-autum .au-hero__date-text {
    flex: 0 0 auto;
    /* Compensa el tracking final para centrarla ópticamente. */
    padding-left: 0.22em;
}

/* Aparición escalonada al cargar. */
.theme-classic-autum .au-fade {
    opacity: 0;
    transform: translateY(12px);
    animation: auFadeUp 0.9s ease-out forwards;
    animation-delay: var(--au-fade-delay, 0ms);
}
@keyframes auFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ─── CUENTA ATRÁS ──────────────────────────────────────────── */
/* Se monta sobre el borde inferior del hero (el hero reserva 230px de padding). */
.theme-classic-autum .au-countdown {
    position: relative;
    z-index: 4;
    margin-top: -210px;
    padding: 0 16px 0;
    text-align: center;
}

/* Mancha de papel: blanco translúcido con bordes irregulares y halo difuminado. */
.theme-classic-autum .au-countdown__panel {
    position: relative;
    width: min(560px, 100%);
    margin: 0 auto;
    padding: 30px 22px 18px;
    box-sizing: border-box;
    background: var(--au-paper);
    border-radius: 46% 54% 48% 52% / 38% 34% 66% 62%;
    box-shadow:
        0 0 0 10px rgba(255, 252, 247, 0.55),
        0 0 0 22px rgba(255, 252, 247, 0.28),
        0 0 36px 14px rgba(255, 252, 247, 0.35),
        0 10px 30px rgba(60, 30, 20, 0.12);
}
/* Con PNG de papel/acuarela propio (brush_image), la mancha la pone la imagen: una banda
   3:1 con hojas a los lados y el papel rasgado en el centro (x 25–72 %, y 30–78 %).
   El texto se coloca dentro del papel y la flecha cuelga de su borde inferior. */
.theme-classic-autum .au-countdown__panel--brush {
    width: min(960px, 100%);
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
}
.theme-classic-autum .au-countdown__brush {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 10px 22px rgba(60, 30, 20, 0.18));
}
.theme-classic-autum .au-countdown__panel--brush .au-countdown__inner {
    position: absolute;
    left: 26%;
    right: 28.5%;
    top: 31%;
    height: 46%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.theme-classic-autum .au-countdown__panel--brush .au-countdown__title {
    margin-bottom: 6px;
    font-size: clamp(0.62rem, 1.2vw, 0.78rem);
}
.theme-classic-autum .au-countdown__panel--brush .au-countdown__grid {
    max-width: none;
}
.theme-classic-autum .au-countdown__panel--brush .au-countdown__cell {
    gap: 3px;
    padding: 2px 4px 4px;
}
.theme-classic-autum .au-countdown__panel--brush .au-countdown__num {
    font-size: clamp(1.4rem, 3.2vw, 2.1rem);
}
.theme-classic-autum .au-countdown__panel--brush .au-countdown__label {
    font-size: clamp(0.46rem, 1vw, 0.56rem);
}
.theme-classic-autum .au-countdown__panel--brush .au-countdown__scroll {
    position: absolute;
    left: 50%;
    bottom: -8px;
    margin: 0 0 0 -19px;
    width: 38px;
    height: 38px;
    background: rgba(255, 252, 247, 0.92);
}

.theme-classic-autum .au-countdown__inner {
    position: relative;
    z-index: 1;
}

.theme-classic-autum .au-countdown__title {
    margin: 0 0 14px;
    font-weight: 500;
    font-size: clamp(0.72rem, 1.8vw, 0.9rem);
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--au-wine);
}

/* Cuatro cifras separadas por filetes verticales. */
.theme-classic-autum .au-countdown__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 460px;
    margin: 0 auto;
}
.theme-classic-autum .au-countdown__cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 4px 6px 8px;
    min-width: 0;
    border-left: 1px solid var(--au-line);
}
.theme-classic-autum .au-countdown__cell:first-child {
    border-left: 0;
}
.theme-classic-autum .au-countdown__num {
    font-family: var(--au-font-serif);
    font-variant-numeric: lining-nums tabular-nums;
    font-weight: 500;
    font-size: clamp(1.7rem, 6vw, 2.5rem);
    line-height: 1;
    color: var(--au-wine);
}
.theme-classic-autum .au-countdown__label {
    font-weight: 600;
    font-size: clamp(0.5rem, 1.4vw, 0.62rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--au-text);
}

/* Flecha circular para bajar. */
.theme-classic-autum .au-countdown__scroll {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-top: 14px;
    border: 1.5px solid var(--au-wine);
    border-radius: 50%;
    color: var(--au-wine);
    background: rgba(255, 252, 247, 0.6);
    transition: background 0.2s ease, transform 0.2s ease;
    animation: auBounce 2.4s ease-in-out infinite;
}
.theme-classic-autum .au-countdown__scroll svg {
    width: 20px;
    height: 20px;
}
.theme-classic-autum .au-countdown__scroll:hover {
    background: #fff;
    transform: translateY(2px);
}
@keyframes auBounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(4px); }
}

/* Aparición al hacer scroll (con JS); sin JS todo es visible. */
.theme-classic-autum.au-js .au-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.theme-classic-autum.au-js .au-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 640px) {
    .theme-classic-autum .au-hero {
        padding-bottom: 250px;
        /* El texto empieza por debajo del grupo de hojas superior. */
        padding-top: clamp(120px, 16vh, 160px);
    }
    /* Móvil: las hojas del hero más escondidas para que no pisen los nombres. */
    .theme-classic-autum .au-hero__leaves--top-left {
        --au-sway-base: translateX(-36%);
    }
    .theme-classic-autum .au-countdown {
        margin-top: -230px;
    }
    .theme-classic-autum .au-countdown__panel {
        padding: 26px 14px 16px;
        border-radius: 40% 60% 45% 55% / 30% 30% 70% 70%;
    }
    .theme-classic-autum .au-countdown {
        overflow: visible;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }
    .theme-classic-autum .au-countdown__panel--brush {
        width: 196vw;
        max-width: none;
        margin-left: calc(50% - 98vw);
        padding: 0;
    }
    .theme-classic-autum .au-body {
        margin-top: -100px;
    }
    .theme-classic-autum .au-countdown__panel--brush .au-countdown__title {
        font-size: 0.66rem;
        margin-bottom: 4px;
    }
    .theme-classic-autum .au-countdown__panel--brush .au-countdown__num {
        font-size: clamp(1.3rem, 6vw, 1.6rem);
    }
    .theme-classic-autum .au-countdown__panel--brush .au-countdown__label {
        font-size: 0.48rem;
        letter-spacing: 0.16em;
    }
    .theme-classic-autum .au-hero__leaves--bottom-left,
    .theme-classic-autum .au-hero__leaves--bottom-right {
        width: clamp(120px, 42vw, 220px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .theme-classic-autum .au-hero__leaves,
    .theme-classic-autum .au-countdown__scroll {
        animation: none;
    }
    .theme-classic-autum .au-fade {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .theme-classic-autum.au-js .au-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ─── CUERPO (desde la cuenta atrás en adelante) ────────────── */
/* Tira de hojas repetida en vertical por el borde izquierdo. A la derecha solo si
   se configura una imagen propia (body_flower_right); no se espeja la izquierda. */
.theme-classic-autum .au-body {
    position: relative;
    background: var(--au-bg);
    overflow: hidden;
    /* Se mete bajo la banda de la cuenta atrás (que queda por encima, z-index 4)
       para que las hojas del cuerpo enlacen con las de la banda sin costura. */
    margin-top: -100px;
}
.theme-classic-autum .au-body--flowers::before,
.theme-classic-autum .au-body--flowers::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    /* Las hojas ocupan el 45 % izquierdo de la imagen; el resto es transparente. */
    width: var(--au-body-flower-width, clamp(170px, 30vw, 440px));
    background-image: var(--au-body-flower-left);
    background-repeat: repeat-y;
    background-size: 100% auto;
    background-position: left top;
    pointer-events: none;
    z-index: 2;
}
.theme-classic-autum .au-body--flowers::before {
    left: 0;
}
.theme-classic-autum .au-body--flowers::after {
    right: 0;
    background-image: var(--au-body-flower-right, none);
    background-position: right top;
}
/* Sin imagen derecha propia no hay tira derecha. */
.theme-classic-autum .au-body--flowers.au-body--mirror::after {
    display: none;
}
.theme-classic-autum .au-body__content {
    position: relative;
    z-index: 1;
}

/* Secciones: columna central con aire para que las hojas no pisen el contenido.
   Los fondos alternan dos tonos de papel (oscuro / claro) con un leve veteado. */
.theme-classic-autum .au-section {
    padding: clamp(40px, 6vw, 64px) clamp(24px, 15vw, 260px);
    background:
        radial-gradient(ellipse 60% 70% at 18% 25%, rgba(255, 255, 255, 0.35), transparent 70%),
        radial-gradient(ellipse 50% 60% at 85% 80%, rgba(255, 255, 255, 0.25), transparent 70%),
        var(--au-section-light);
}
.theme-classic-autum .au-body__content > .au-section:nth-child(odd) {
    background:
        radial-gradient(ellipse 60% 70% at 18% 25%, rgba(255, 255, 255, 0.3), transparent 70%),
        radial-gradient(ellipse 50% 60% at 85% 80%, rgba(255, 250, 245, 0.3), transparent 70%),
        var(--au-section-dark);
}
.theme-classic-autum .au-body__content > .au-section:first-child {
    padding-top: clamp(76px, 9vw, 100px);
}
.theme-classic-autum .au-section__inner {
    max-width: 860px;
    margin: 0 auto;
}

/* Titular de sección: versalitas granate + hojita. */
.theme-classic-autum .au-heading {
    text-align: center;
    margin-bottom: clamp(22px, 4vw, 34px);
}
.theme-classic-autum .au-heading__title {
    margin: 0;
    font-family: var(--au-font-serif);
    font-weight: 500;
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--au-wine);
    padding-left: 0.34em;
}
.theme-classic-autum .au-heading__rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 8px auto 0;
    max-width: 260px;
}
.theme-classic-autum .au-heading__rule::before,
.theme-classic-autum .au-heading__rule::after {
    content: '';
    flex: 1 1 auto;
    height: 1px;
    background: var(--au-line);
    opacity: 0.6;
}
.theme-classic-autum .au-heading__leaf {
    display: block;
    width: 40px;
    height: auto;
    flex: 0 0 auto;
}

/* ─── NUESTRA HISTORIA ──────────────────────────────────────── */
.theme-classic-autum .au-story__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 56px);
    align-items: center;
}
.theme-classic-autum .au-story__grid--text-only {
    grid-template-columns: minmax(0, 1fr);
}
.theme-classic-autum .au-story__text {
    text-align: center;
}
.theme-classic-autum .au-story__text p {
    margin: 0;
    font-family: var(--au-font-serif);
    font-size: clamp(1.05rem, 1.7vw, 1.2rem);
    line-height: 1.7;
    color: var(--au-text);
}
/* Polaroid con dos ramas detrás (flower_left arriba-izquierda, flower_right abajo-derecha). */
.theme-classic-autum .au-story__photo {
    position: relative;
    /* El bloque entero (ramas + polaroid) por encima de la sección siguiente (programa,
       z-index 1): la animación de aparición crea su propio contexto de apilamiento, así
       que el orden hay que fijarlo aquí, no en las ramas. */
    z-index: 2;
    width: min(300px, 100%);
    margin: 0 auto;
}
.theme-classic-autum .au-story__photo-flower {
    position: absolute;
    z-index: 0;
    height: auto;
    pointer-events: none;
    user-select: none;
}
.theme-classic-autum .au-story__photo-flower--left {
    top: -16%;
    left: -46%;
    width: 100%;
}
.theme-classic-autum .au-story__photo-flower--right {
    bottom: -44%;
    right: -46%;
    width: 84%;
}
.theme-classic-autum .au-story__polaroid {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 12px 12px 14px;
    background: #fffdf9;
    box-shadow: 0 10px 28px rgba(60, 30, 20, 0.18), 0 2px 6px rgba(60, 30, 20, 0.1);
}
.theme-classic-autum .au-story__polaroid img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.theme-classic-autum .au-story__polaroid figcaption {
    margin-top: 10px;
    text-align: center;
    font-family: var(--au-font-script);
    font-size: 1.45rem;
    line-height: 1.1;
    color: var(--au-wine);
}

/* ─── PROGRAMA DEL DÍA ──────────────────────────────────────── */
/* Fondo propio (bg_image): manchas de acuarela a sangre sobre el papel claro. La imagen va
   en una capa que sobresale por arriba y por abajo de la sección y se desvanece en los
   extremos, para que las manchas entren en las secciones vecinas sin línea de corte. */
.theme-classic-autum .au-body__content > .au-section.au-program--bg {
    position: relative;
    z-index: 1;
    background: var(--au-section-light);
}
.theme-classic-autum .au-program--bg::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -140px;
    bottom: -260px;
    background: var(--au-program-bg) center / cover no-repeat;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 140px, #000 calc(100% - 260px), transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 140px, #000 calc(100% - 260px), transparent 100%);
}
.theme-classic-autum .au-program--bg > .au-section__inner {
    position: relative;
    z-index: 1;
}
/* Línea vertical central; cada hito es una fila de 3 columnas (lado / línea / lado).
   En los hitos pares el texto va a la izquierda y el icono a la derecha; en los impares
   al revés. Entre hitos, una fila con la ramita sobre la línea. */
.theme-classic-autum .au-program__list {
    position: relative;
    list-style: none;
    margin: 0 auto;
    padding: 10px 0 0;
    max-width: 640px;
    --au-icon: clamp(96px, 14vw, 128px);
    --au-line-col: 48px;
}
.theme-classic-autum .au-program__list::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    margin-left: -0.5px;
    background: var(--au-line);
    opacity: 0.7;
}
.theme-classic-autum .au-program__item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--au-line-col) minmax(0, 1fr);
    align-items: center;
    column-gap: 4px;
    min-height: calc(var(--au-icon) + 24px);
}
/* Texto a la izquierda, icono a la derecha (hitos pares). */
.theme-classic-autum .au-program__item--text-left .au-program__text { grid-column: 1; text-align: right; align-items: flex-end; }
.theme-classic-autum .au-program__item--text-left .au-program__badge { grid-column: 3; justify-self: start; }
/* Icono a la izquierda, texto a la derecha (hitos impares). */
.theme-classic-autum .au-program__item--text-right .au-program__text { grid-column: 3; grid-row: 1; text-align: left; align-items: flex-start; }
.theme-classic-autum .au-program__item--text-right .au-program__badge { grid-column: 1; grid-row: 1; justify-self: end; }

.theme-classic-autum .au-program__dot {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--au-gold);
    box-shadow: 0 0 0 4px var(--au-section-light);
    z-index: 1;
}
.theme-classic-autum .au-program__text {
    display: flex;
    flex-direction: column;
    padding: 0 10px;
}
.theme-classic-autum .au-program__time {
    font-weight: 500;
    font-size: 1.02rem;
    letter-spacing: 0.22em;
    color: #b08a4e;
}
.theme-classic-autum .au-program__name {
    margin: 2px 0 0;
    font-family: var(--au-font-serif);
    font-weight: 500;
    font-size: clamp(1.6rem, 3.2vw, 2.1rem);
    line-height: 1.1;
    color: var(--au-wine);
}
.theme-classic-autum .au-program__desc {
    margin: 4px 0 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--au-text-soft);
}
/* Filete con ramita bajo el nombre. */
.theme-classic-autum .au-program__rule {
    display: flex;
    align-items: center;
    gap: 6px;
    width: min(150px, 100%);
    margin-top: 10px;
}
.theme-classic-autum .au-program__rule::before,
.theme-classic-autum .au-program__rule::after {
    content: '';
    flex: 1 1 auto;
    height: 1px;
    background: var(--au-line);
    opacity: 0.6;
}
.theme-classic-autum .au-program__rule img {
    width: 30px;
    height: auto;
    flex: 0 0 auto;
}
.theme-classic-autum .au-program__rule:empty { display: none; }

/* Icono en círculo con hojas detrás, asomando por la esquina superior exterior. */
.theme-classic-autum .au-program__badge {
    position: relative;
    width: var(--au-icon);
    height: var(--au-icon);
    margin: 0 8px;
}
.theme-classic-autum .au-program__icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%, #f7ead9 0%, #f1e1cc 70%, #ecd9c1 100%);
    border: 1.5px solid #c9a35c;
    color: var(--au-wine);
}
.theme-classic-autum .au-program__icon svg {
    width: 54%;
    height: 54%;
}
.theme-classic-autum .au-program__flower {
    position: absolute;
    z-index: 0;
    width: 150%;
    height: auto;
    pointer-events: none;
    user-select: none;
}
/* Icono a la derecha: hojas por arriba-derecha. Icono a la izquierda: espejadas, arriba-izquierda. */
.theme-classic-autum .au-program__item--text-left .au-program__flower {
    top: -30%;
    right: -62%;
}
.theme-classic-autum .au-program__item--text-right .au-program__flower {
    top: -30%;
    left: -62%;
    transform: scaleX(-1);
}

/* Con imagen de línea (timeline.webp, 4 puntos a 11,9 / 36,8 / 62,5 / 84,6 % de su alto):
   la imagen ocupa todo el alto de la lista y las filas se reparten para que el centro de
   cada hito coincida con su punto. Se ocultan la línea y los puntos CSS. */
.theme-classic-autum .au-program__list--img {
    display: grid;
    grid-template-rows: 1.9% 20% 4.9% 20% 5.7% 20% 2.1% 20% 5.4%;
    min-height: calc((var(--au-icon) + 24px) * 5);
    padding: 0;
}
.theme-classic-autum .au-program__list--img::before {
    display: none;
}
.theme-classic-autum .au-program__list--img .au-program__dot {
    visibility: hidden;
}
.theme-classic-autum .au-program__list--img .au-program__item {
    min-height: 0;
}
.theme-classic-autum .au-program__list--img .au-program__item:nth-of-type(1) { grid-row: 2; }
.theme-classic-autum .au-program__list--img .au-program__item:nth-of-type(2) { grid-row: 4; }
.theme-classic-autum .au-program__list--img .au-program__item:nth-of-type(3) { grid-row: 6; }
.theme-classic-autum .au-program__list--img .au-program__item:nth-of-type(4) { grid-row: 8; }
.theme-classic-autum .au-program__timeline {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: auto;
    max-width: none;
    transform: translateX(-50%);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.theme-classic-autum .au-program__list--img .au-program__item {
    position: relative;
    z-index: 1;
}

/* Medallón como imagen (círculo + icono + hojas en un solo PNG/WebP): ocupa el ancho del
   círculo más las hojas; el círculo queda en el lado de la línea. */
.theme-classic-autum .au-program__badge--img {
    width: calc(var(--au-icon) * 1.6);
    height: auto;
    margin: 0 4px;
}
.theme-classic-autum .au-program__badge-img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
    user-select: none;
}

/* Ramita sobre la línea entre hitos (girada en vertical). */
.theme-classic-autum .au-program__gap {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
}
.theme-classic-autum .au-program__gap-sprig {
    width: 64px;
    height: auto;
    transform: rotate(-70deg);
    position: relative;
    z-index: 1;
}

/* ─── UBICACIONES ───────────────────────────────────────────── */
/* Fondo en degradado: arranca en el papel claro del programa (sección anterior) y
   baja hasta el papel rosado propio de las secciones impares. */
.theme-classic-autum .au-body__content > .au-section.au-places {
    background:
        radial-gradient(ellipse 50% 60% at 85% 80%, rgba(255, 250, 245, 0.25), transparent 70%),
        linear-gradient(to bottom, var(--au-section-light) 0%, var(--au-section-dark) 45%, var(--au-section-dark) 100%);
}
.theme-classic-autum .au-places__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(20px, 3vw, 32px);
}
.theme-classic-autum .au-place {
    background: #fffdf9;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(60, 30, 20, 0.12);
    text-align: center;
}
.theme-classic-autum .au-place__photo img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}
.theme-classic-autum .au-place__body {
    padding: 18px 20px 22px;
}
.theme-classic-autum .au-place__label {
    margin: 0 0 6px;
    font-weight: 500;
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--au-text-soft);
}
.theme-classic-autum .au-place__name {
    margin: 0;
    font-family: var(--au-font-serif);
    font-weight: 600;
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    line-height: 1.2;
    color: var(--au-text);
}
.theme-classic-autum .au-place__address {
    margin: 8px 0 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--au-text-soft);
}
.theme-classic-autum .au-place__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 9px 20px;
    border: 1px solid var(--au-wine);
    border-radius: 8px;
    color: var(--au-wine);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease;
}
.theme-classic-autum .au-place__btn svg {
    width: 16px;
    height: 16px;
}
.theme-classic-autum .au-place__btn:hover {
    background: var(--au-wine);
    color: #fff;
}

@media (max-width: 760px) {
    .theme-classic-autum .au-section {
        padding-left: 68px;
        padding-right: 24px;
    }
    .theme-classic-autum .au-body--flowers::before,
    .theme-classic-autum .au-body--flowers::after {
        width: clamp(130px, 40vw, 220px);
    }
    .theme-classic-autum .au-story__grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .theme-classic-autum .au-story__photo {
        width: min(250px, 72%);
        margin-top: 10px;
    }
    .theme-classic-autum .au-program__list {
        --au-icon: 84px;
        --au-line-col: 34px;
    }
    .theme-classic-autum .au-program__name {
        font-size: 1.45rem;
    }
    .theme-classic-autum .au-program__time {
        font-size: 0.9rem;
        letter-spacing: 0.16em;
    }
    .theme-classic-autum .au-program__text {
        padding: 0 4px;
    }
    .theme-classic-autum .au-program__badge {
        margin: 0 2px;
    }
    .theme-classic-autum .au-program__gap {
        height: 56px;
    }
    .theme-classic-autum .au-program__gap-sprig {
        width: 52px;
    }
}

/* ─── ALOJAMIENTO ───────────────────────────────────────────── */
.theme-classic-autum .au-lodging__card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(20px, 3.5vw, 40px);
    align-items: center;
}
.theme-classic-autum .au-lodging__photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(60, 30, 20, 0.16);
}
.theme-classic-autum .au-lodging__name {
    margin: 0;
    font-family: var(--au-font-serif);
    font-weight: 600;
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
    line-height: 1.2;
    color: var(--au-text);
}
.theme-classic-autum .au-lodging__stars {
    margin: 4px 0 10px;
    font-size: 1rem;
    letter-spacing: 0.12em;
    color: #c98a2e;
    line-height: 1;
}
.theme-classic-autum .au-lodging__desc {
    margin: 0;
    font-size: clamp(0.98rem, 1.5vw, 1.1rem);
    line-height: 1.6;
    color: var(--au-text);
}
/* Cuadro del código: fondo crema, etiqueta en versalitas, código en granate y botón copiar. */
.theme-classic-autum .au-lodging__discount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 18px;
    background: #f1e3d2;
    border: 1px solid rgba(110, 31, 46, 0.14);
    border-radius: 10px;
}
.theme-classic-autum .au-lodging__discount-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 auto;
    text-align: center;
    gap: 2px;
}
.theme-classic-autum .au-lodging__discount-label {
    font-weight: 600;
    font-size: 0.68rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--au-text);
}
.theme-classic-autum .au-lodging__discount-code {
    font-family: var(--au-font-serif);
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    color: var(--au-wine);
}
.theme-classic-autum .au-lodging__discount-benefit {
    font-size: 0.85rem;
    color: var(--au-text-soft);
}
.theme-classic-autum .au-lodging__copy {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--au-text-soft);
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}
.theme-classic-autum .au-lodging__copy svg {
    width: 22px;
    height: 22px;
}
.theme-classic-autum .au-lodging__copy:hover {
    color: var(--au-wine);
    background: rgba(255, 255, 255, 0.5);
}
.theme-classic-autum .au-lodging__copy.is-copied {
    color: #4f5f3a;
}
.theme-classic-autum .au-lodging__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
    padding: 13px 20px;
    border-radius: 10px;
    background: var(--au-wine);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}
.theme-classic-autum .au-lodging__btn svg {
    width: 28px;
    height: 19px;
}
.theme-classic-autum .au-lodging__btn:hover {
    background: #581826;
    transform: translateY(-1px);
}

/* ─── GALERÍA ───────────────────────────────────────────────── */
/* Polaroids en fila, giradas en sentido alterno y ligeramente solapadas. */
.theme-classic-autum .au-gallery__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 0;
    padding: 10px 0 6px;
}
.theme-classic-autum .au-gallery__polaroid {
    flex: 0 0 auto;
    width: clamp(150px, 23%, 230px);
    margin: 0 -6px;
    padding: 8px 8px 10px;
    background: #fffdf9;
    box-shadow: 0 8px 22px rgba(60, 30, 20, 0.18), 0 2px 5px rgba(60, 30, 20, 0.1);
    /* `rotate`/`scale` como propiedades sueltas: no chocan con el transform de .au-reveal. */
    rotate: var(--au-tilt, 0deg);
    transition: rotate 0.25s ease, scale 0.25s ease, transform 0.8s ease-out, opacity 0.8s ease-out;
}
.theme-classic-autum .au-gallery__polaroid:hover {
    rotate: 0deg;
    scale: 1.06;
    z-index: 3;
}
.theme-classic-autum .au-gallery__open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}
.theme-classic-autum .au-gallery__open:focus-visible {
    outline: 2px solid var(--au-wine);
    outline-offset: 3px;
}
.theme-classic-autum .au-gallery__polaroid img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Visor a pantalla completa de la galería. */
.theme-classic-autum .au-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 56px 64px;
    box-sizing: border-box;
    background: rgba(40, 18, 14, 0.94);
    cursor: zoom-out;
}
.theme-classic-autum .au-lightbox.is-open {
    display: flex;
}
.theme-classic-autum .au-lightbox__frame {
    margin: 0;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default;
}
.theme-classic-autum .au-lightbox__img {
    display: block;
    max-width: min(1100px, 100%);
    max-height: calc(100vh - 150px);
    max-height: calc(100dvh - 150px);
    object-fit: contain;
    padding: 10px 10px 12px;
    background: #fffdf9;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    user-select: none;
}
.theme-classic-autum .au-lightbox__caption {
    margin: 14px 0 0;
    font-family: var(--au-font-script);
    font-size: 1.5rem;
    color: #f6e9dc;
    text-align: center;
}
.theme-classic-autum .au-lightbox__caption:empty {
    display: none;
}
.theme-classic-autum .au-lightbox__close,
.theme-classic-autum .au-lightbox__nav {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 2;
}
.theme-classic-autum .au-lightbox__close:hover,
.theme-classic-autum .au-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.28);
}
.theme-classic-autum .au-lightbox__close svg,
.theme-classic-autum .au-lightbox__nav svg {
    width: 22px;
    height: 22px;
}
.theme-classic-autum .au-lightbox__close {
    top: 16px;
    right: 16px;
}
.theme-classic-autum .au-lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
}
.theme-classic-autum .au-lightbox__nav--prev { left: 14px; }
.theme-classic-autum .au-lightbox__nav--next { right: 14px; }
.theme-classic-autum .au-lightbox__counter {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.75);
}
.theme-classic-autum .au-gallery__polaroid figcaption {
    margin-top: 6px;
    text-align: center;
    font-family: var(--au-font-script);
    font-size: 1.1rem;
    line-height: 1.1;
    color: var(--au-wine);
}
.theme-classic-autum .au-gallery__caption {
    margin: 22px 0 0;
    text-align: center;
    font-family: var(--au-font-script);
    font-size: clamp(1.5rem, 2.6vw, 1.9rem);
    line-height: 1.1;
    color: var(--au-wine);
}

@media (max-width: 760px) {
    .theme-classic-autum .au-lodging__card {
        grid-template-columns: minmax(0, 1fr);
    }
    .theme-classic-autum .au-lodging__body {
        text-align: center;
    }
    .theme-classic-autum .au-gallery__row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 14px;
    }
    .theme-classic-autum .au-gallery__polaroid {
        width: auto;
        margin: 0;
    }
    .theme-classic-autum .au-lightbox {
        padding: 64px 12px 48px;
    }
    .theme-classic-autum .au-lightbox__img {
        max-height: calc(100vh - 160px);
        max-height: calc(100dvh - 160px);
    }
    .theme-classic-autum .au-lightbox__nav {
        top: auto;
        bottom: 10px;
        transform: none;
        width: 40px;
        height: 40px;
    }
    .theme-classic-autum .au-lightbox__counter {
        bottom: 22px;
    }
}

/* ─── INFORMACIÓN ADICIONAL ─────────────────────────────────── */
/* Tres columnas con icono en círculo, rótulo en versalitas y texto. */
.theme-classic-autum .au-info__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(22px, 3vw, 36px) clamp(18px, 3vw, 40px);
    align-items: start;
}
.theme-classic-autum .au-info__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.theme-classic-autum .au-info__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #f1e4d2;
    border: 1px solid rgba(110, 31, 46, 0.3);
    color: var(--au-wine);
}
.theme-classic-autum .au-info__icon svg {
    width: 56%;
    height: 56%;
}
.theme-classic-autum .au-info__label {
    margin: 14px 0 8px;
    font-family: var(--au-font-serif);
    font-weight: 600;
    font-size: 0.86rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--au-wine);
}
.theme-classic-autum .au-info__text {
    margin: 0;
    font-size: clamp(0.98rem, 1.5vw, 1.08rem);
    line-height: 1.55;
    color: var(--au-text);
    max-width: 300px;
}
.theme-classic-autum .au-info__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 10px 24px;
    border: 1px solid var(--au-wine);
    border-radius: 10px;
    color: var(--au-wine);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
.theme-classic-autum .au-info__btn svg {
    width: 18px;
    height: 18px;
}
.theme-classic-autum .au-info__btn:hover {
    background: var(--au-wine);
    color: #fff;
}

/* Número de cuenta: cuadro crema con etiqueta, número en granate y botón copiar. */
.theme-classic-autum .au-info__account {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(360px, 100%);
    margin-top: 16px;
    padding: 12px 12px 12px 16px;
    background: #f1e3d2;
    border: 1px solid rgba(110, 31, 46, 0.14);
    border-radius: 10px;
    text-align: left;
}
.theme-classic-autum .au-info__account-text {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    gap: 2px;
}
.theme-classic-autum .au-info__account-label {
    font-weight: 600;
    font-size: 0.64rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--au-text);
}
.theme-classic-autum .au-info__account-number {
    font-family: var(--au-font-serif);
    font-variant-numeric: lining-nums tabular-nums;
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.02em;
    color: var(--au-wine);
    /* El IBAN se parte por sus grupos de 4, nunca a mitad de grupo. */
    overflow-wrap: normal;
    word-break: normal;
}
.theme-classic-autum .au-info__copy {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--au-text-soft);
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}
.theme-classic-autum .au-info__copy svg {
    width: 20px;
    height: 20px;
}
.theme-classic-autum .au-info__copy:hover {
    color: var(--au-wine);
    background: rgba(255, 255, 255, 0.5);
}
.theme-classic-autum .au-info__copy.is-copied {
    color: #4f5f3a;
}

@media (max-width: 760px) {
    .theme-classic-autum .au-info__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ─── RSVP ──────────────────────────────────────────────────── */
/* Banda de papel rasgado (band_image, 3:1, borde superior transparente) como cabecera del
   RSVP. Se solapa con la sección anterior para que el papel "entre" en ella; el formulario
   genérico va debajo sobre el papel claro (el mismo del programa) para que no haya corte. */
.theme-classic-autum .au-rsvp {
    position: relative;
    background: var(--au-section-light);
}
/* Con banda: el papel rosado empieza bajo la banda; la parte transparente de arriba deja
   ver la sección anterior. */
.theme-classic-autum .au-rsvp--band {
    margin-top: calc(-100vw / 3 * 0.62);
    background: none;
}
.theme-classic-autum .au-rsvp--band .au-rsvp__inner {
    background: var(--au-section-light);
}
.theme-classic-autum .au-rsvp__band {
    display: block;
    position: relative;
    z-index: 3;
    width: 100%;
    height: auto;
    margin-bottom: -2px;
    pointer-events: none;
    user-select: none;
}
.theme-classic-autum .au-rsvp--band .au-rsvp__inner {
    position: relative;
    z-index: 3;
}
/* El formulario genérico hereda el papel claro y se pega a la banda. */
.theme-classic-autum .au-rsvp .rsvp-section {
    background-color: var(--au-section-light);
    padding-top: 1.5rem;
}
/* El titular del formulario en granate (la regla genérica del tema para h2 lo dejaba en marrón). */
.theme-classic-autum .au-rsvp .rsvp-section__title {
    color: var(--cmp-text, var(--au-wine));
}

/* ─── PIE ───────────────────────────────────────────────────── */
/* Papel rosado como la galería; los colores de texto vienen de la config del componente. */
.theme-classic-autum .site-footer {
    background-color: var(--cmp-bg, var(--au-section-dark));
    color: var(--cmp-text, var(--au-wine));
}

/* ─── HOJA QUE CAE ──────────────────────────────────────────── */
/* El contenedor cae en vertical (y gira despacio); la imagen se balancea de lado a lado
   como una hoja en el aire. Va fija sobre la ventana, por encima de todo menos el visor. */
.au-leaf {
    position: fixed;
    top: -90px;
    z-index: 60;
    pointer-events: none;
    user-select: none;
    animation: auLeafFall var(--au-leaf-dur, 12s) linear forwards;
    will-change: transform;
}
.au-leaf img {
    display: block;
    width: 100%;
    height: auto;
    animation: auLeafSway var(--au-leaf-sway, 3.2s) ease-in-out infinite alternate;
    filter: drop-shadow(0 4px 6px rgba(60, 30, 20, 0.18));
}
@keyframes auLeafFall {
    0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
    6%   { opacity: 1; }
    100% { transform: translateY(calc(100vh + 160px)) rotate(calc(300deg * var(--au-leaf-dir, 1))); opacity: 1; }
}
@keyframes auLeafSway {
    0%   { transform: translateX(calc(-38px * var(--au-leaf-dir, 1))) rotate(calc(-22deg * var(--au-leaf-dir, 1))); }
    100% { transform: translateX(calc(38px * var(--au-leaf-dir, 1))) rotate(calc(22deg * var(--au-leaf-dir, 1))); }
}
@media (prefers-reduced-motion: reduce) {
    .au-leaf { display: none; }
}
