/**
 * Tema BEACH — invitación de boda en playa con paleta crema + peach + verde-mint suave.
 * Tipografía Cormorant Garamond (serif) + Pinyon Script (script) + Inter (sans).
 * Override de los componentes existentes para encajar con la maqueta de Ana & Marcos.
 *
 * Como Esencia, Olivia y Aurea, la invitación es una tarjeta vertical centrada (ancho móvil,
 * 520px) sobre un fondo neutro: en ordenador se ve igual que en el móvil, sin maquetación
 * de escritorio (nada de hero a dos columnas ni rejillas anchas).
 */

.theme-beach {
    --beach-cream: #f5efe6;
    --beach-cream-light: #faf6ee;
    --beach-cream-warm: #efe5d6;
    --beach-peach: #e8a987;
    --beach-peach-soft: #f0c0a3;
    --beach-mint: #d4e2dc;
    --beach-mint-soft: #e3edea;
    --beach-text: #2c2c2c;
    --beach-text-soft: #6b6b6b;
    --beach-gold: #c2a07a;
    --beach-line: #e8ddd0;

    --beach-font-serif: 'Cormorant Garamond', Georgia, serif;
    --beach-font-script: 'Pinyon Script', 'Cormorant Garamond', cursive;
    --beach-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --hero-text: var(--beach-text);
    --hero-text-muted: var(--beach-text-soft);

    /* Fondo exterior (se ve a los lados de la tarjeta en ordenador). */
    --beach-outer: #e9dfd0;
    --site-bg: var(--beach-outer);

    background: var(--beach-outer);
    color: var(--beach-text);
    font-family: var(--beach-font-sans);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: clip;
}

/* Tarjeta vertical: a ancho completo en móvil, centrada y con sombra en ordenador. */
.theme-beach .beach-app {
    position: relative;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    background: var(--beach-cream);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: clip;
}

@media (min-width: 640px) {
    .theme-beach {
        padding: 32px 16px;
    }
    .theme-beach .beach-app {
        min-height: auto;
        border-radius: 18px;
        box-shadow: 0 18px 50px rgba(70, 60, 45, 0.16);
        overflow: clip;
    }
}

/* Cualquier media (img, svg, video) dentro del tema no debe desbordar su contenedor. */
.theme-beach img,
.theme-beach svg,
.theme-beach video {
    max-width: 100%;
}

/* Cada sección y el wrapper del componente no pueden generar scroll horizontal. */
.theme-beach > div,
.theme-beach .cmp-scope,
.theme-beach > div > section,
.theme-beach .beach-app > section,
.theme-beach .countdown-section,
.theme-beach .program-section,
.theme-beach .dress-section,
.theme-beach .faq-section,
.theme-beach .gallery-section,
.theme-beach .venue-section,
.theme-beach .rsvp-section,
.theme-beach .site-footer {
    max-width: 100%;
    overflow-x: clip;
}

/* textBlock / infoBox: cuerpo con la tipografía de Beach (Inter); sus fuentes por defecto
   (Great Vibes, Source Sans) ni se cargan en este tema. */
.theme-beach .text-section { --text-font-sans: var(--beach-font-sans); }
.theme-beach .infobox-section { --infobox-font-sans: var(--beach-font-sans); }

/* Título como los títulos de sección de Beach ("CELEBRACIÓN", "LUGAR DEL EVENTO"):
   Cormorant en mayúsculas con espaciado. */
.theme-beach .text-section__title,
.theme-beach .infobox-section__title {
    font-family: var(--beach-font-serif);
    font-size: 0.95rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--beach-text-soft);
    font-weight: 500;
}

/* Cuerpo del textBlock / infoBox: tipografía elegante de Beach (Cormorant), color coherente.
   El `*` fuerza que cualquier contenido HTML pegado (div, p, span) herede la misma estética
   en lugar de salir en negro/desalineado. */
.theme-beach .infobox__text,
.theme-beach .text-block__content {
    font-family: var(--beach-font-serif);
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--beach-text);
}
.theme-beach .infobox__text *,
.theme-beach .text-block__content * {
    font-family: inherit;
    color: inherit;
}

.theme-beach h1,
.theme-beach h2,
.theme-beach h3,
.theme-beach h4 {
    font-family: var(--beach-font-serif);
    font-weight: 400;
    color: var(--beach-text);
    letter-spacing: 0.02em;
}

/* ─── HERO ──────────────────────────────────────────────────── */
.theme-beach .beach-hero {
    background: var(--beach-cream);
    position: relative;
    overflow: hidden;
}

.beach-hero__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: transparent;
}

.beach-hero__monogram {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--beach-font-serif);
    font-size: 1.6rem;
    color: var(--beach-text);
    letter-spacing: 0.04em;
    line-height: 1;
}

.beach-hero__monogram-letter {
    font-weight: 500;
}

.beach-hero__monogram-amp {
    font-family: var(--beach-font-script);
    color: var(--beach-gold);
    font-size: 1.7rem;
    line-height: 1;
    transform: translateY(-0.04em);
}

.beach-hero__date {
    font-family: var(--beach-font-sans);
    font-size: 0.72rem;
    letter-spacing: 4px;
    color: var(--beach-text);
    font-weight: 500;
    text-transform: uppercase;
}

.beach-hero__body {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 0;
}

.beach-hero__content {
    text-align: center;
    padding: 26px 24px 36px;
}

.beach-hero__eyebrow {
    font-size: 0.7rem;
    letter-spacing: 5px;
    color: var(--beach-text);
    font-weight: 500;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.beach-hero__names {
    font-family: var(--beach-font-serif);
    font-size: clamp(2.2rem, 9vw, 3.6rem);
    line-height: 1.05;
    color: var(--beach-text);
    font-weight: 400;
    letter-spacing: 0.04em;
    margin: 6px 0 14px;
    text-transform: uppercase;
}

.beach-hero__amp {
    font-style: italic;
    font-weight: 400;
    color: var(--beach-text);
    font-family: var(--beach-font-serif);
    text-transform: none;
    margin: 0 0.05em;
}

.beach-hero__tagline {
    font-family: var(--beach-font-script);
    font-size: 1.6rem;
    color: var(--beach-text-soft);
    line-height: 1.3;
    margin: 0 auto 24px;
    max-width: 480px;
}

.beach-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--beach-peach);
    color: var(--beach-text);
    text-decoration: none;
    padding: 13px 28px;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    font-family: var(--beach-font-sans);
    border-radius: 2px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.beach-hero__cta:hover {
    background: var(--beach-peach-soft);
    transform: translateY(-1px);
}

.beach-hero__cta-arrow {
    font-size: 1rem;
    line-height: 1;
}

.beach-hero__image {
    width: 100%;
    height: 320px;
    background-size: cover;
    background-position: center;
    background-color: var(--beach-cream-warm);
}

/* ─── COUNTDOWN ─── */
.theme-beach .countdown-section {
    background-color: var(--cmp-bg, var(--beach-cream-light));
    /* El fondo de hojas (apaisado, con las hojas en los extremos) se escala con la altura; el
       contador va acotado (ver .countdown) para que las hojas no pisen las cifras. */
    padding: 64px 24px;
    color: var(--beach-text);
    text-align: center;
}

.theme-beach .countdown-section__title {
    font-family: var(--beach-font-serif);
    font-size: 0.85rem;
    letter-spacing: 8px;
    color: var(--beach-text);
    text-transform: uppercase;
    margin: 0 0 28px;
    font-weight: 500;
}

.theme-beach .countdown-section__subtitle {
    display: none;
}

.theme-beach .countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    max-width: 600px;
    margin: 0 auto;
    gap: 0;
    border-radius: 0;
}

.theme-beach .countdown__item {
    flex: none;
    border: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    padding: 0 4px;
    color: var(--beach-text);
    text-align: center;
    min-width: 0;
}

.theme-beach .countdown__item + .countdown__item::before {
    display: none;
}

.theme-beach .countdown__value {
    font-family: var(--beach-font-serif);
    font-size: clamp(2rem, 8vw, 3rem);
    color: var(--beach-text);
    font-weight: 400;
    line-height: 1;
}

.theme-beach .countdown__label {
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--beach-text-soft);
    margin-top: 10px;
    font-family: var(--beach-font-sans);
    font-weight: 500;
    opacity: 1;
}

/* ─── PROGRAMA ─── */
.theme-beach .program-section {
    background-color: var(--cmp-bg, var(--beach-mint-soft));
    padding: 60px 24px 70px;
    text-align: center;
    color: var(--beach-text);
    position: relative;
}

.theme-beach .program-section__subtitle {
    font-family: var(--beach-font-script);
    font-size: 1.4rem;
    color: var(--beach-text-soft);
    margin: 0 0 6px;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
}

.theme-beach .program-section__title {
    font-family: var(--beach-font-serif);
    font-size: 1.4rem;
    letter-spacing: 8px;
    color: var(--beach-text);
    text-transform: uppercase;
    margin: 0 0 36px;
    font-weight: 500;
}

/* Timeline mobile: vertical con línea + puntos en dorado/peach. */
.theme-beach .timeline {
    --timeline-line: var(--beach-gold);
    --timeline-dot: var(--beach-peach);
    --timeline-icon: var(--beach-gold);
    --timeline-subtext: var(--beach-text-soft);
    max-width: 580px;
    margin: 0 auto;
    padding: 1rem 0 0;
}

.theme-beach .timeline__line {
    background: color-mix(in srgb, var(--beach-gold) 60%, transparent);
    width: 1px;
}

.theme-beach .timeline__dot {
    background: var(--beach-peach);
    border-color: var(--beach-mint-soft);
    width: 10px;
    height: 10px;
    border-width: 2px;
}

.theme-beach .timeline__time {
    font-family: var(--beach-font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--beach-text);
    letter-spacing: 0;
}

/* Icono sin marco circular: solo el SVG en dorado, más grande y libre. */
.theme-beach .timeline__icon {
    background: transparent;
    border: none;
    color: var(--beach-gold);
    width: 48px;
    height: 48px;
}

.theme-beach .timeline__icon svg {
    width: 36px;
    height: 36px;
}

.theme-beach .timeline__event-title {
    font-family: var(--beach-font-sans);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--beach-text-soft);
    font-weight: 500;
    margin: 0;
}

/* Descripción del acto (la edita el cliente): pequeña, en Inter, bajo el título. */
.theme-beach .timeline__event-desc {
    font-family: var(--beach-font-sans);
    font-size: 0.82rem;
    line-height: 1.45;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 400;
    color: var(--beach-text-soft);
    margin: 4px 0 0;
}


/* ─── DRESS CODE ─── */
.theme-beach .dress-section {
    background-color: var(--cmp-bg, var(--beach-cream));
    padding: 80px 24px;
    color: var(--beach-text);
    min-height: 520px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    /* En móvil: ancho completo, altura proporcional (puede recortar arriba/abajo si la imagen es más alta que la sección). */
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
}

.theme-beach .dress-section__inner {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

.theme-beach .dress-image {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.theme-beach .dress-image__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.theme-beach .dress-section__title {
    font-family: var(--beach-font-serif);
    font-size: 0.95rem;
    letter-spacing: 6px;
    color: var(--beach-text);
    text-transform: uppercase;
    margin: 0 0 8px;
    font-weight: 500;
}

/* Descripción (textarea de hasta 500 caracteres): párrafo legible en Inter, centrado. */
.theme-beach .dress-description {
    font-family: var(--beach-font-sans);
    font-size: 0.95rem;
    color: var(--beach-text);
    margin: 0 auto 18px;
    line-height: 1.6;
    font-weight: 400;
    max-width: 380px;
    overflow-wrap: anywhere;
}

/* Rótulo corto ("Dress Code"): caligrafía como en la maqueta. */
.theme-beach .dress-description--headline {
    font-family: var(--beach-font-script);
    font-size: 2.6rem;
    line-height: 1.1;
    max-width: none;
}

.theme-beach .dress-note {
    font-family: var(--beach-font-sans);
    font-size: 0.95rem;
    color: var(--beach-text-soft);
    margin: 0 auto;
    line-height: 1.6;
    max-width: 380px;
}

/* ─── FAQ ─── */
.theme-beach .faq-section {
    background-color: var(--cmp-bg, var(--beach-cream-light));
    padding: 60px 24px;
    text-align: center;
    color: var(--beach-text);
}

.theme-beach .faq-section__title {
    font-family: var(--beach-font-serif);
    font-size: 1.05rem;
    letter-spacing: 6px;
    color: var(--beach-text);
    text-transform: uppercase;
    margin: 0 0 28px;
    font-weight: 500;
}

.theme-beach .faq-section__subtitle {
    display: none;
}

.theme-beach .faq-list {
    text-align: left;
    max-width: 580px;
    margin: 0 auto;
}

.theme-beach .faq-item {
    background: var(--beach-cream-warm);
    border: none;
    margin-bottom: 8px;
    border-radius: 4px;
    box-shadow: none;
    overflow: hidden;
}

.theme-beach .faq-item__header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: var(--beach-font-sans);
    font-size: 0.85rem;
    color: var(--beach-text);
    text-align: left;
    font-weight: 500;
}

.theme-beach .faq-item__content {
    color: var(--beach-text-soft);
}

.theme-beach .faq-item__content-inner {
    padding: 0 20px 16px;
    font-size: 0.85rem;
    color: var(--beach-text-soft);
    line-height: 1.6;
    font-family: var(--beach-font-sans);
}

/* ─── GALERÍA ─── */
.theme-beach .gallery-section {
    background-color: var(--cmp-bg, var(--beach-cream));
    padding: 60px 0 30px;
    color: var(--beach-text);
}

.theme-beach .gallery-section__inner {
    text-align: center;
    padding: 0;
}

.theme-beach .gallery-section__title {
    font-family: var(--beach-font-serif);
    font-size: 1.05rem;
    letter-spacing: 6px;
    color: var(--beach-text);
    text-transform: uppercase;
    margin: 0 24px 28px;
    font-weight: 500;
}

.theme-beach .gallery-section__subtitle {
    display: none;
}

/* El wrap original es flex con flechas; las ocultamos y dejamos solo la rejilla. */
.theme-beach .gallery-strip-wrap {
    display: block;
}

.theme-beach .gallery-strip__nav {
    display: none;
}

.theme-beach .gallery-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 24px;
    overflow: visible;
    scroll-snap-type: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.theme-beach .gallery-strip__item {
    flex: none;
    width: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    overflow: hidden;
    scroll-snap-align: none;
}

.theme-beach .gallery-strip__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* ─── VENUE ─── */
.theme-beach .venue-section {
    background-color: var(--cmp-bg, var(--beach-cream-light));
    padding: 60px 24px;
    color: var(--beach-text);
}

/*
 * Beach venue: la sección entera se renderiza como una sola tarjeta unificada
 * (imagen arriba + "LUGAR DEL EVENTO" + Playa Paraíso + dirección + botón).
 * La card hace display:contents para que sus hijos pasen a ser hijos directos
 * de section__inner y compartan la misma caja con sombra y bordes redondeados.
 */
.theme-beach .venue-section__inner {
    max-width: 360px;
    margin: 0 auto;
    background: var(--beach-cream-light);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.theme-beach .venue-card {
    display: contents;
}

/* Imagen superior de la card unificada. */
.theme-beach .venue-section__image {
    width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Imagen del 2º venue en adelante: full-width dentro de la card unificada (sin bordes ni margen). */
.theme-beach .venue-card__image {
    width: 100%;
    height: 240px;
    border-radius: 0;
    margin: 24px 0 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Etiqueta por venue, con el mismo estilo que el título de sección ("LOCALIZACIÓN DEL EVENTO"). */
.theme-beach .venue-card__label {
    font-family: var(--beach-font-serif);
    font-size: 0.9rem;
    letter-spacing: 6px;
    color: var(--beach-text-soft);
    text-transform: uppercase;
    font-weight: 500;
    margin: 0;
    padding: 28px 24px 4px;
}

.theme-beach .venue-section__title {
    font-family: var(--beach-font-serif);
    font-size: 0.9rem;
    letter-spacing: 6px;
    color: var(--beach-text-soft);
    text-transform: uppercase;
    margin: 0;
    padding: 28px 24px 4px;
    font-weight: 500;
}

.theme-beach .venue-section__subtitle {
    margin: 0;
    padding: 0 24px 8px;
    font-family: var(--beach-font-sans);
    font-size: 0.85rem;
    color: var(--beach-text-soft);
}

/* Elementos decorativos del componente que no se usan en beach. */
.theme-beach .venue-card__icon,
.theme-beach .venue-card__times,
.theme-beach .venue-card__map {
    display: none;
}

.theme-beach .venue-card__name {
    font-family: var(--beach-font-script);
    font-size: 2.2rem;
    letter-spacing: 0;
    color: var(--beach-text);
    text-transform: none;
    font-weight: 400;
    margin: 0 0 14px;
    padding: 4px 24px 0;
    text-align: center;
    line-height: 1;
}

.theme-beach .venue-card__address {
    font-family: var(--beach-font-sans);
    font-size: 0.9rem;
    color: var(--beach-text-soft);
    line-height: 1.6;
    margin: 0 0 24px;
    padding: 0 24px;
    text-align: center;
}

.theme-beach .venue-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto 32px;
    padding: 12px 32px;
    background: var(--beach-peach);
    color: var(--beach-text);
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-family: var(--beach-font-sans);
    border-radius: 2px;
    transition: background 0.3s ease;
}

.theme-beach .venue-card__btn:hover {
    background: var(--beach-peach-soft);
    color: var(--beach-text);
}

/* Contacto y notas opcionales del lugar (solo se pintan si el item los define). */
.theme-beach .venue-card__contact {
    list-style: none;
    margin: 0 0 24px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: var(--beach-font-sans);
    font-size: 0.95rem;
}

.theme-beach .venue-card__contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--beach-text);
    font-weight: 500;
}

.theme-beach .venue-card__contact-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: var(--beach-peach);
}

.theme-beach .venue-card__contact-item a {
    color: inherit;
    text-decoration: none;
}

.theme-beach .venue-card__contact-item a:hover {
    text-decoration: underline;
}

.theme-beach .venue-card__details {
    margin: 0 0 24px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    font-family: var(--beach-font-sans);
}

.theme-beach .venue-card__detail {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.theme-beach .venue-card__detail-icon {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    color: var(--beach-text);
}

.theme-beach .venue-card__detail-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.theme-beach .venue-card__detail-body {
    flex: 1 1 auto;
    min-width: 0;
}

.theme-beach .venue-card__detail-title {
    margin: 0 0 3px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--beach-text);
}

.theme-beach .venue-card__detail-text {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--beach-text-soft);
    white-space: pre-line;
}

.theme-beach .venue-card__detail--highlight {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px 20px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.045);
}

.theme-beach .venue-card__detail--highlight .venue-card__detail-icon {
    width: 22px;
    height: 22px;
    margin: 0 0 8px;
}

.theme-beach .venue-card__detail--highlight .venue-card__detail-title {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.theme-beach .venue-card__detail--highlight .venue-card__detail-text {
    font-size: 0.9rem;
}

/* ─── RSVP ─── */
.theme-beach .rsvp-section {
    background-color: var(--cmp-bg, var(--beach-cream));
    color: var(--beach-text);
    padding: 70px 24px;
    text-align: center;
}

.theme-beach .rsvp-section__title {
    color: var(--beach-text);
    font-size: 1.4rem;
    line-height: 1.3;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin: 0 0 12px;
    font-weight: 500;
    font-family: var(--beach-font-serif);
}

.theme-beach .rsvp-section__subtitle {
    font-family: var(--beach-font-sans);
    color: var(--beach-text-soft);
    font-size: 0.9rem;
    margin: 0 auto 36px;
    line-height: 1.5;
    max-width: 460px;
}

.theme-beach .rsvp-form {
    text-align: left;
    max-width: 560px;
    margin: 0 auto;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.theme-beach .rsvp-form__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.theme-beach .rsvp-form__label {
    color: var(--beach-text);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: var(--beach-font-sans);
    font-weight: 600;
    margin-bottom: 0;
}

.theme-beach .rsvp-form__input,
.theme-beach .rsvp-form__textarea,
.theme-beach .rsvp-form__group select {
    width: 100%;
    background: var(--beach-cream-light);
    border: 1px solid var(--beach-line);
    color: var(--beach-text);
    padding: 13px 16px;
    font-family: var(--beach-font-sans);
    font-size: 0.9rem;
    outline: none;
    border-radius: 4px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.theme-beach .rsvp-form__input::placeholder,
.theme-beach .rsvp-form__textarea::placeholder {
    color: var(--beach-text-soft);
}

.theme-beach .rsvp-form__input:focus,
.theme-beach .rsvp-form__textarea:focus,
.theme-beach .rsvp-form__group select:focus {
    border-color: var(--beach-peach);
    background: var(--beach-cream-light);
}

.theme-beach .rsvp-form__submit,
.theme-beach .rsvp-form button[type="submit"] {
    width: auto;
    margin-top: 8px;
    padding: 14px 32px;
    background: var(--beach-peach);
    color: var(--beach-text);
    border: none;
    font-family: var(--beach-font-sans);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.3s ease;
    align-self: end;
}

.theme-beach .rsvp-form__submit:hover,
.theme-beach .rsvp-form button[type="submit"]:hover {
    background: var(--beach-peach-soft);
    color: var(--beach-text);
}

/* ─── FOOTER ─── */
.theme-beach .site-footer {
    /* Sobrescribe los tokens del componente base para que el SVG del corazón y
       el enlace de crédito (que usan currentColor / --footer-text vía color-mix)
       hereden los colores del tema en lugar del blanco por defecto. */
    --footer-bg: var(--cmp-bg, var(--beach-cream));
    --footer-text: var(--beach-text);

    background-color: var(--cmp-bg, var(--beach-cream));
    color: var(--beach-text);
    padding: 50px 24px 36px;
    text-align: center;
    border-top: 1px solid var(--beach-line);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.theme-beach .site-footer__heart svg {
    color: var(--beach-gold);
}

.theme-beach .site-footer__names {
    font-family: var(--beach-font-serif);
    font-size: 1.6rem;
    color: var(--beach-text);
    letter-spacing: 0.04em;
    margin: 0;
    text-transform: uppercase;
    font-weight: 500;
}

.theme-beach .site-footer__names .amp,
.theme-beach .site-footer__amp {
    font-style: italic;
    font-family: var(--beach-font-script);
    color: var(--beach-gold);
    font-weight: 400;
    text-transform: none;
    margin: 0 0.05em;
}

.theme-beach .site-footer__date {
    font-size: 0.72rem;
    letter-spacing: 4px;
    color: var(--beach-text-soft);
    margin: 0;
    text-transform: uppercase;
}

.theme-beach .site-footer__credit {
    font-family: var(--beach-font-sans);
    font-style: normal;
    color: var(--beach-text-soft);
    margin: 8px 0 0;
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 520px;
}

.theme-beach .site-footer__link,
.theme-beach .site-footer__credit-link {
    color: var(--beach-peach);
    text-decoration: none;
}

.theme-beach .site-footer__link:hover,
.theme-beach .site-footer__credit-link:hover {
    color: var(--beach-text);
}

/* ─── Hero: adornos opcionales (image_corner / image_bottom / image_wave) ─────────
   Solo aparecen si la invitación los configura. */
.beach-hero {
    position: relative;
}
/* Hoja (u otra ilustración) asomando por la esquina superior derecha: sube hasta la barra del
   monograma y la fecha, por delante de la foto pero por detrás de la barra (orden de capas:
   fecha > hoja > foto). */
.beach-hero__topbar {
    position: relative;
    z-index: 3;
}
.beach-hero__body {
    position: relative;
}
.beach-hero__corner {
    position: absolute;
    top: -59px;
    right: 0;
    width: 24%;
    height: auto;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}
/* Franja decorativa (arena, conchas…) detrás de los textos, pegada al borde inferior. */
.beach-hero__content--decor {
    position: relative;
    background: var(--beach-hero-bottom) bottom center / 100% auto no-repeat;
    padding-bottom: 72px;
}
/* Borde inferior de la foto en forma de ola: máscara de dos capas (bloque + franja ondulada). */
.beach-hero__image--wave {
    --beach-wave-h: 38px;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M0 0H100V4.5C88 9.5 72 1 55 5.5 40 9.5 20 1.5 0 6.5Z'/%3E%3C/svg%3E"), linear-gradient(#000, #000);
    -webkit-mask-size: 100% var(--beach-wave-h), 100% calc(100% - var(--beach-wave-h) + 1px);
    -webkit-mask-position: bottom center, top center;
    -webkit-mask-repeat: no-repeat;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M0 0H100V4.5C88 9.5 72 1 55 5.5 40 9.5 20 1.5 0 6.5Z'/%3E%3C/svg%3E"), linear-gradient(#000, #000);
    mask-size: 100% var(--beach-wave-h), 100% calc(100% - var(--beach-wave-h) + 1px);
    mask-position: bottom center, top center;
    mask-repeat: no-repeat;
}

/* ─── Tarjeta: reglas de móvil siempre activas ──────────────────────────────
   Los componentes genéricos cambian de maqueta por media query (ancho de la ventana), pero
   dentro de la tarjeta el ancho útil es siempre el de un móvil. Se fijan aquí sus variantes
   móviles para que en ordenador no aparezca la maqueta ancha. */

/* Programa: línea de tiempo a la izquierda con los textos a la derecha (variante ≤700px). */
.theme-beach .timeline__line,
.theme-beach .timeline__dot {
    left: 20px;
}
.theme-beach .timeline__item,
.theme-beach .timeline__item:nth-child(odd) {
    flex-direction: row;
    padding-left: 50px;
    padding-right: 0;
}
.theme-beach .timeline__item:nth-child(odd) .timeline__content {
    text-align: left;
    justify-content: flex-start;
}
.theme-beach .timeline__item:nth-child(odd) .timeline__content-text {
    text-align: left;
}

/* Ubicación: variante ≤480px del componente. */
.theme-beach .venue-card__times {
    gap: 1.5rem;
}
.theme-beach .venue-card__map {
    height: 220px;
}

/* FAQ: variante ≤500px del componente. */
.theme-beach .faq-item__content-inner {
    padding-left: 1.25rem;
}

/* Cuenta atrás: contador acotado para dejar sitio a las hojas del fondo en los laterales. */
.theme-beach .countdown {
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
}
