/* ============================================================
   🏖️  BEACH PARTY THEME — evento_beach.css
   Paleta: arena · océano · turquesa · coral · sol · palma
   ============================================================ */

/* ── Google Fonts (playeras) ── */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Quicksand:wght@300;400;500;600&family=Nunito:wght@300;400;600&display=swap');

/* ── Variables ── */
:root {
    /* Colores principales */
    --sand:        #F5EDD6;        /* arena cálida */
    --sand-lt:     #FDF6E3;        /* arena clara */
    --ocean:       #1A7FA8;        /* azul océano */
    --turquoise:   #2EC4B6;        /* turquesa */
    --turq-lt:     #7EDDD6;        /* turquesa claro */
    --coral:       #FF6B6B;        /* coral vibrante */
    --sun:         #FFD166;        /* amarillo sol */
    --palm:        #3A9E6F;        /* verde palma */
    --terracotta:  #C1583B;        /* terracota */
    --shell-pink:  #F4A5A0;        /* concha rosa */
    --ink:         #1C3A4A;        /* azul marino profundo (reemplaza el negro) */

    /* Fondos y bordes */
    --cream:       var(--sand-lt);
    --border:      #D6C9A8;        /* borde arena */
    --stone:       #7A8FA0;        /* gris oceánico */
    --gold:        var(--coral);   /* acento principal → coral */
    --gold-lt:     var(--sun);     /* acento claro → sol */

    /* Estados */
    --error:       #C0392B;
    --success:     #27A060;

    /* Gradientes reutilizables */
    --grad-sea:    linear-gradient(160deg, #E8F6F8 0%, #B2E8E8 40%, #1A9AAA 100%);
    --grad-sunset: linear-gradient(180deg, #FFE0B2 0%, #FFB347 40%, #FF6B6B 80%, #C45070 100%);
    --grad-sand:   linear-gradient(180deg, #FDF6E3 0%, #EDD9A3 100%);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── Body: fondo de arena con granos ── */
body {
    /* Degradado base: arena + tenue toque acuoso en la base */
    background: linear-gradient(180deg, #EDD9A3 0%, #F5EDD6 40%, #C8EAF0 100%);
    display: flex;
    justify-content: center;
    font-family: 'Quicksand', 'Nunito', sans-serif;
    font-weight: 400;
    min-height: 100vh;
}

/* Textura de granos de arena (puntos radiales muy sutiles) */
body::after {
    content: '';
    position: fixed; inset: 0;
    pointer-events: none; z-index: 9999; opacity: .045;
    background-image:
        radial-gradient(circle, #8B6914 1px, transparent 1px),
        radial-gradient(circle, #8B6914 1px, transparent 1px);
    background-size: 18px 18px, 9px 9px;
    background-position: 0 0, 9px 9px;
}

/* ── Contenedor ── */
.app-container {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    /* Fondo blanco cálido (no blanco puro frío) */
    background-color: #FFFBF2;
    box-shadow: 0 0 40px rgba(26, 127, 168, 0.18);
    position: relative;
    overflow-x: hidden;
    /* Borde redondeado superior para sensación de tarjeta playera */
    border-radius: 0 0 0 0;
}

/* ── Hero ── */
.hero {
    position: relative;
    height: 65vh;
    min-height: 380px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: flex-end;
    text-align: center;
    color: #fff;
    overflow: hidden;
    padding-bottom: 3rem;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Overlay: degradado atardecer playero (de arriba naranja/rosa → base oscura marina) */
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to top,
        rgba(28, 58, 74, 0.82) 0%,
        rgba(255, 107, 107, 0.18) 55%,
        rgba(255, 180, 71, 0.08) 100%
    );
    z-index: 1;
}

/* Ola decorativa en la base del hero */
.hero::after {
    content: '';
    position: absolute;
    bottom: -2px; left: -5%; right: -5%;
    height: 60px;
    background: #FFFBF2;
    border-radius: 100% 100% 0 0 / 40px 40px 0 0;
    z-index: 3;
}

.hero-content { position: relative; z-index: 2; padding: 0 1.5rem; }

/* Texto decorativo pequeño: tipografía playera redondeada */
.hero-eyebrow {
    font-family: 'Quicksand', sans-serif;
    font-size: 10px;
    letter-spacing: .4em;
    text-transform: uppercase;
    opacity: .85;
    margin-bottom: .6rem;
    color: var(--sun);
    /* Emoji playero decorativo */
}
.hero-eyebrow::before { content: '🌊 '; }
.hero-eyebrow::after  { content: ' 🌊'; }

/* Título principal → manuscrita fluida tipo "Pacifico" */
.hero-names {
    font-family: 'Pacifico', cursive;
    font-style: normal;          /* Pacifico ya es cursiva, no necesita italic */
    font-weight: 400;
    font-size: clamp(2.4rem, 12vw, 5rem);
    line-height: 1.1;
    letter-spacing: .02em;
    /* Efecto: texto con sombra solar */
    text-shadow: 0 3px 12px rgba(255, 107, 107, 0.45), 0 1px 3px rgba(0,0,0,0.3);
}

.hero-date {
    margin-top: .5rem;
    font-size: 10px;
    letter-spacing: .35em;
    text-transform: uppercase;
    opacity: .8;
    color: var(--sun);
}
.hero-date::before { content: '☀️ '; }

/* ── Timer: "burbuja de agua" ── */
.timer-wrap {
    position: relative; z-index: 2;
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: .1rem;
    /* Vidrio oceánico */
    background: rgba(46, 196, 182, 0.18);
    border: 1px solid rgba(126, 221, 214, 0.45);
    backdrop-filter: blur(16px);
    border-radius: 999px;
    padding: .6rem 1.5rem;
}

.timer-unit { text-align: center; min-width: 42px; }
.timer-unit span { display: block; }
.timer-num {
    font-size: 1.3rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    color: #fff;
}
.timer-label {
    font-size: 7px;
    letter-spacing: .2em;
    text-transform: uppercase;
    opacity: .75;
    margin-top: 2px;
    font-family: 'Quicksand', sans-serif;
}
/* Separador: ola pequeña */
.timer-sep { color: var(--sun); font-size: 1rem; opacity: .9; padding: 0 .1rem; }

/* Texto "live" pulsante → color sol */
.timer-live {
    font-size: 9px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--sun);
    text-align: center;
    margin-top: .5rem;
    position: relative; z-index: 2;
    animation: pulse-glow 2s ease-in-out infinite;
}
/* Olas en movimiento bajo el timer */
@keyframes pulse-glow { 0%,100%{opacity:.6} 50%{opacity:1} }

/* ── Quick actions: tarjetas de arena ── */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
    padding: 1.25rem 1.25rem 0;
    margin-top: -2.5rem;
    position: relative; z-index: 10;
}

.action-card {
    /* Fondo arena cálido con sutil degradado */
    background: linear-gradient(145deg, #FFFBF2, #FFF0D0);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.1rem .75rem;
    text-align: center;
    text-decoration: none;
    color: var(--ink);
    cursor: pointer;
    transition: box-shadow .3s ease-in-out, transform .3s ease-in-out;
    box-shadow: 0 4px 16px rgba(26, 127, 168, 0.1);
    display: block;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
}
.action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(46, 196, 182, 0.2);
}
.action-card:active { transform: scale(.97); }

.action-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    /* Fondo turquesa suave */
    background: linear-gradient(135deg, #C8F0EC, #7EDDD6);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto .6rem;
    font-size: 16px;
    color: var(--ocean);
    /* Brillo solar al hover */
    transition: box-shadow .3s ease-in-out;
}
.action-card:hover .action-icon {
    box-shadow: 0 0 14px rgba(255, 209, 102, 0.55);
}

.action-label {
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--ocean);
}

/* ── Secciones ── */
.section { padding: 1.25rem; }

/* ── Auth card: tarjeta de concha ── */
.auth-card {
    /* Degradado arena cálida → blanco */
    background: linear-gradient(160deg, #FFFBF2 0%, #FEF0D0 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 28px rgba(26, 127, 168, 0.1);
    position: relative;
    overflow: hidden;
}

/* Decoración: estrella de mar en esquina superior derecha */
.auth-card::before {
    content: '🌴';
    position: absolute;
    top: -8px; right: 12px;
    font-size: 52px;
    opacity: .12;
    transform: rotate(15deg);
    pointer-events: none;
}

.card-eyebrow {
    font-family: 'Quicksand', sans-serif;
    font-size: 9px;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--turquoise);
    text-align: center;
    margin-bottom: .4rem;
    font-weight: 600;
}

/* Título con fuente playera */
.card-title {
    font-family: 'Pacifico', cursive;
    font-size: 1.8rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--ink);
}
.card-title em {
    font-style: normal;
    color: var(--coral);
}

/* ── Input group ── */
.input-group { margin-bottom: .75rem; position: relative; }

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%; transform: translateY(-50%);
    font-size: 12px;
    color: var(--turquoise);
    pointer-events: none;
}

.input-field {
    width: 100%;
    background: rgba(255, 251, 242, 0.9);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: .9rem 1rem .9rem 2.6rem;
    font-family: 'Quicksand', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--ink);
    outline: none;
    transition: border-color .3s ease, box-shadow .3s ease;
    -webkit-appearance: none;
}
.input-field::placeholder { color: var(--stone); opacity: .7; }
.input-field:focus {
    border-color: var(--turquoise);
    box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.15);
}
.input-field.error { border-color: var(--error); box-shadow: 0 0 0 3px rgba(192,57,43,.08); }
.input-field.success { border-color: var(--success); }

.field-error {
    font-size: 10px;
    color: var(--error);
    margin-top: .3rem;
    padding-left: .2rem;
    display: none;
}
.field-error.show { display: block; }

/* ── Auth feedback ── */
.auth-feedback {
    border-radius: 12px;
    padding: .85rem 1rem;
    font-size: 11px;
    line-height: 1.5;
    display: none;
    margin-bottom: .75rem;
}
.auth-feedback.error { background: #FEF2F2; color: var(--error); border: 1px solid #FECACA; display: block; }
.auth-feedback.success { background: #EDFBF5; color: var(--success); border: 1px solid #A7F3D0; display: block; }

/* ── Guest badge ── */
.guest-badge {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .85rem 1rem;
    background: linear-gradient(135deg, #EDFBF5, #C8F0EC);
    border: 1px solid #A7F3D0;
    border-radius: 14px;
    margin-bottom: 1rem;
}
.guest-badge-icon { font-size: 1.1rem; color: var(--palm); flex-shrink: 0; }
.guest-badge-text { font-size: 11px; color: var(--palm); line-height: 1.4; }
.guest-badge-name { font-weight: 600; }

/* ── Botones: formas playeras ── */
.btn {
    width: 100%;
    padding: .9rem;
    border-radius: 14px;
    border: none;
    font-family: 'Quicksand', sans-serif;
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: background .3s ease-in-out, transform .2s ease, box-shadow .3s ease;
    display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.btn:active { transform: scale(.97); }

/* Primario: gradiente océano → turquesa */
.btn-primary {
    background: linear-gradient(135deg, var(--ocean), var(--turquoise));
    color: #fff;
    box-shadow: 0 4px 18px rgba(26, 127, 168, 0.3);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #155F80, #25A89C);
    box-shadow: 0 6px 22px rgba(26, 127, 168, 0.4);
    transform: translateY(-1px);
}
.btn-primary:disabled { opacity: .5; pointer-events: none; }

/* Ghost: arena con borde */
.btn-ghost {
    background: transparent;
    color: var(--stone);
    border: 1.5px solid var(--border);
    margin-top: .5rem;
}
.btn-ghost:hover { border-color: var(--turquoise); color: var(--turquoise); }

.btn-confirm-modal {
    background: linear-gradient(135deg, var(--coral), var(--terracotta));
    color: #fff;
    box-shadow: 0 4px 14px rgba(193, 88, 59, 0.25);
}
.btn-decline-modal { background: #f0ece0; color: var(--stone); }

/* Outline coral (reemplaza outline-gold) */
.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: transparent;
    color: var(--coral);
    border: 1.5px solid var(--coral);
    padding: 0.9rem 2.2rem;
    border-radius: 999px;
    font-family: 'Quicksand', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .3s ease-in-out, color .3s ease-in-out, box-shadow .3s ease-in-out;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.12);
}
.btn-outline-gold:hover {
    background-color: var(--coral);
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

/* Spinner */
.btn-spinner { display: none; }
.btn.loading .btn-spinner { display: inline-block; }
.btn.loading .btn-text { display: none; }
.spinner-sm {
    width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Menú: tarjeta marino oscuro con palmeras ── */
.menu-card {
    /* Fondo oscuro oceánico profundo */
    background: linear-gradient(160deg, #0D3B52, #1A5E78, #0D3B52);
    color: #fff;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    overflow: hidden;
    position: relative;
}

/* Palmera decorativa esquina sup-derecha (pseudo-elemento) */
.menu-card::before {
    content: '🌴';
    position: absolute;
    top: -10px; right: 10px;
    font-size: 70px;
    opacity: .18;
    transform: rotate(8deg);
    /* Animación de palmera meciéndose al hacer hover en la tarjeta */
    transition: transform .4s ease-in-out;
}
.menu-card:hover::before {
    transform: rotate(12deg);
    animation: sway-palm .8s ease-in-out infinite alternate;
}
@keyframes sway-palm {
    from { transform: rotate(6deg); }
    to   { transform: rotate(14deg); }
}

/* Concha decorativa esquina inf-izquierda */
.menu-card::after {
    content: '🐚';
    position: absolute;
    bottom: 8px; left: 14px;
    font-size: 48px;
    opacity: .13;
    transform: rotate(-20deg);
}

.menu-title {
    font-family: 'Pacifico', cursive;
    font-size: 2rem;
    font-weight: 400;
    text-align: center;
    color: var(--sun);
    margin-bottom: 1.75rem;
    position: relative; z-index: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.menu-course { position: relative; z-index: 1; }
.menu-course + .menu-course {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    /* Separador ola: línea ondulada simulada con degradado */
    border-top: 1px solid rgba(126, 221, 214, 0.2);
}

.menu-course-label {
    font-size: 8px;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--turq-lt);
    margin-bottom: .35rem;
    font-weight: 600;
    font-family: 'Quicksand', sans-serif;
}

.menu-course-desc {
    font-family: 'Nunito', sans-serif;
    font-style: italic;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255,255,255,.8);
}

.menu-allergy {
    background: none;
    border: none;
    width: 100%;
    margin-top: 1.5rem;
    font-size: 9px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(126, 221, 214, 0.5);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    font-family: 'Quicksand', sans-serif;
    position: relative; z-index: 1;
    transition: color .3s ease;
}
.menu-allergy:hover { color: var(--turq-lt); }

/* ── Galería ── */
.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1rem;
}
.gallery-title {
    font-family: 'Pacifico', cursive;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1;
    color: var(--ink);
}
.gallery-title em {
    font-style: normal;
    color: var(--turquoise);
}

/* Botón upload: ola de color coral */
.btn-upload {
    background: linear-gradient(135deg, var(--coral), #FF8E53);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: .55rem 1rem;
    font-size: 9px;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Quicksand', sans-serif;
    display: flex; align-items: center; gap: .4rem;
    transition: box-shadow .3s ease, transform .2s ease;
    box-shadow: 0 3px 12px rgba(255,107,107,0.3);
}
.btn-upload:hover {
    box-shadow: 0 5px 18px rgba(255,107,107,0.45);
    transform: translateY(-1px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}
.gallery-thumb {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--border), #C8EAF0);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gallery-add {
    aspect-ratio: 1;
    border-radius: 12px;
    border: 1.5px dashed var(--turq-lt);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .3rem;
    cursor: pointer;
    transition: border-color .3s ease, background .3s ease;
    font-size: 18px;
    color: var(--turq-lt);
    background: rgba(126, 221, 214, 0.05);
}
.gallery-add:hover {
    border-color: var(--turquoise);
    color: var(--turquoise);
    background: rgba(46, 196, 182, 0.08);
}
.gallery-add span {
    font-size: 8px;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-family: 'Quicksand', sans-serif;
}

.gallery-lock-msg {
    font-size: 10px;
    color: var(--stone);
    text-align: center;
    margin-top: .75rem;
    letter-spacing: .05em;
}

/* ── WiFi Modal: panel turquesa ── */
#wifi-modal {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(13, 59, 82, 0.55);
    backdrop-filter: blur(6px);
    display: flex; align-items: flex-end; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity .3s;
}
#wifi-modal.open { opacity: 1; pointer-events: auto; }
.wifi-panel {
    background: linear-gradient(180deg, #FFFBF2 0%, #F0FAFB 100%);
    border-radius: 28px 28px 0 0;
    padding: 2rem 1.5rem calc(2rem + env(safe-area-inset-bottom,0px));
    width: 100%; max-width: 480px;
    text-align: center;
    transform: translateY(100%);
    transition: transform .35s cubic-bezier(.32,0,.15,1);
    border-top: 3px solid var(--turquoise);
}
#wifi-modal.open .wifi-panel { transform: none; }
.wifi-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, #C8F0EC, #7EDDD6);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--ocean);
    margin: 0 auto 1rem;
    box-shadow: 0 4px 14px rgba(46, 196, 182, 0.3);
}
.wifi-network { font-size: 13px; color: var(--stone); margin: .5rem 0 .25rem; }
.wifi-pass {
    font-family: 'Pacifico', cursive;
    font-size: 1.8rem;
    color: var(--ocean);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 6px rgba(26,127,168,0.15);
}

/* ── Upload Sheet ── */
#upload-sheet {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(13, 59, 82, 0.55);
    backdrop-filter: blur(6px);
    display: flex; align-items: flex-end; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity .3s;
}
#upload-sheet.open { opacity: 1; pointer-events: auto; }
.sheet-panel {
    background: linear-gradient(180deg, #FFFBF2 0%, #F0FAFB 100%);
    border-radius: 28px 28px 0 0;
    padding: 1.5rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom,0px));
    width: 100%; max-width: 480px;
    transform: translateY(100%);
    transition: transform .35s cubic-bezier(.32,0,.15,1);
    border-top: 3px solid var(--turquoise);
}
#upload-sheet.open .sheet-panel { transform: none; }

/* Manija del sheet: forma de tabla de surf */
.sheet-handle {
    width: 40px; height: 4px;
    background: linear-gradient(90deg, var(--turq-lt), var(--turquoise));
    border-radius: 4px;
    margin: 0 auto 1.5rem;
}

/* Zona de drop: arena punteada */
.drop-zone {
    border: 1.5px dashed var(--turq-lt);
    border-radius: 16px;
    padding: 2.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: border-color .3s ease, background .3s ease;
    background: rgba(126, 221, 214, 0.04);
}
.drop-zone.drag-over {
    border-color: var(--turquoise);
    background: rgba(46, 196, 182, 0.08);
}
.drop-zone p { font-size: 12px; color: var(--stone); line-height: 1.7; margin-top: .5rem; }
.drop-zone strong { color: var(--ocean); }
#file-input { display: none; }
#upload-preview { display: flex; gap: 6px; flex-wrap: wrap; margin-top: .75rem; }
#upload-preview img { width: 60px; height: 60px; object-fit: cover; border-radius: 10px; }

/* ── Itinerario: línea de tiempo playera ── */
.itinerary-title {
    font-family: 'Pacifico', cursive;
    font-size: 2.2rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--ink);
    /* Emoji: concha antes del título */
}
.itinerary-title::before { content: '🐚 '; }
.itinerary-title::after  { content: ' 🐚'; }

.itinerary-container {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    padding-left: 2.5rem;
}

/* Línea de tiempo → gradiente turquesa */
.itinerary-container::before {
    content: '';
    position: absolute; left: 7px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
        transparent,
        var(--turq-lt) 10%,
        var(--turquoise) 50%,
        var(--turq-lt) 90%,
        transparent);
    border-radius: 2px;
}

.itinerary-item { position: relative; margin-bottom: 2rem; }

/* Punto de la línea de tiempo: estrella de mar */
.itinerary-dot {
    position: absolute; left: -2.5rem; top: 4px;
    width: 16px; height: 16px;
    background: linear-gradient(135deg, var(--sun), var(--coral));
    border: 2px solid #FFFBF2;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 8px rgba(255, 209, 102, 0.5);
}

.itinerary-time {
    font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
    color: var(--turquoise); font-weight: 700;
    margin-bottom: .2rem; display: block;
    font-family: 'Quicksand', sans-serif;
}

.itinerary-desc {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    line-height: 1.3;
    color: var(--ink);
    font-style: italic;
}

/* ── Normas / Dress code: tarjeta arena ── */
.normas-card {
    background: linear-gradient(160deg, #FFFBF2 0%, #FFF0D0 100%);
    padding: 2.5rem;
    border-radius: 28px;
    box-shadow: 0 8px 30px rgba(26,127,168,.08);
    margin: 0;
    border: 1px solid var(--border);
}
.normas-title {
    font-family: 'Pacifico', cursive;
    font-size: 2rem;
    font-weight: 400;
    text-align: center;
    color: var(--ink);
    margin-bottom: 1.75rem;
}
.normas-course {
    padding: 1.5rem 0;
    border-bottom: 1px dashed rgba(0,0,0,.08);
}
.normas-course:last-child { border-bottom: none; }
.normas-course-label {
    font-size: 8px; letter-spacing: .35em; text-transform: uppercase;
    color: var(--turquoise); margin-bottom: .35rem; font-weight: 700;
    font-family: 'Quicksand', sans-serif;
}
.normas-course-desc {
    font-family: 'Nunito', sans-serif;
    font-style: italic; font-size: 1rem; font-weight: 300;
    line-height: 1.6; color: var(--stone);
}
.normas-allergy {
    background: none; border: none; width: 100%; margin-top: 1.5rem;
    font-size: 9px; letter-spacing: .15em; text-transform: uppercase;
    color: var(--stone); text-decoration: underline; text-underline-offset: 3px;
    cursor: pointer; font-family: 'Quicksand', sans-serif;
    transition: color .3s ease;
}
.normas-allergy:hover { color: var(--turquoise); }

/* ── Modal de confirmación ── */
.modal-overlay {
    z-index: 1000;
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(13, 59, 82, 0.55);
    display: none; align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal-content {
    background: linear-gradient(160deg, #FFFBF2, #F0FAFB);
    padding: 2rem;
    border-radius: 24px;
    text-align: center;
    max-width: 350px; width: 90%;
    box-shadow: 0 12px 32px rgba(13,59,82,0.15);
    border: 1px solid var(--border);
}
.modal-content h3 {
    font-family: 'Pacifico', cursive;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: .75rem;
}
.modal-content p { margin-bottom: 1.25rem; color: var(--stone); }
.modal-actions { display: flex; flex-direction: column; gap: 10px; }
.modal-actions button {
    padding: 12px; border: none; border-radius: 14px;
    cursor: pointer; font-weight: 600;
    font-family: 'Quicksand', sans-serif;
}

/* ── Progress bar: ola que avanza ── */
.progress-container {
    width: 100%;
    background-color: #D6EEF5;
    border-radius: 10px; height: 10px;
    overflow: hidden; margin-bottom: 1rem;
    opacity: 0; transition: opacity .5s ease;
}
.progress-container.visible { opacity: 1; }
.progress-bar {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--turquoise), var(--ocean));
    transition: width 10s linear;
    border-radius: 10px;
}

/* ── Footer: atardecer playero ── */
.footer {
    /* Degradado atardecer: arena → coral → marino */
    background: linear-gradient(160deg, #1A5E78 0%, #0D3B52 60%, #0A2D3E 100%);
    color: #fff;
    padding: 6rem 2rem 4rem;
    text-align: center;
    border-radius: 48px 48px 0 0;
    position: relative;
    overflow: hidden;
}

/* Ola decorativa en el borde superior del footer */
.footer::before {
    content: '';
    position: absolute;
    top: -2px; left: -5%; right: -5%;
    height: 50px;
    background: #FFFBF2;
    border-radius: 0 0 80% 80% / 0 0 30px 30px;
    transform: scaleX(1.1);
}

/* Palmera decorativa footer */
.footer::after {
    content: '🌴';
    position: absolute;
    top: 20px; right: 20px;
    font-size: 80px;
    opacity: .08;
    transform: rotate(5deg);
    pointer-events: none;
}

.footer-logo {
    font-family: 'Pacifico', cursive;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: .02em;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.footer-logo span { color: var(--sun); }

.footer-tagline {
    font-size: 10px; text-transform: uppercase;
    letter-spacing: .4em; color: rgba(126, 221, 214, 0.6);
    margin-bottom: 4rem;
    font-family: 'Quicksand', sans-serif;
}

.footer-nav {
    display: flex; justify-content: center; gap: 2.5rem; margin-bottom: 4rem;
}
.footer-link {
    color: #fff; text-decoration: none; font-size: 13px;
    opacity: .6; transition: opacity .3s ease, color .3s ease;
    font-family: 'Quicksand', sans-serif;
}
.footer-link:hover { opacity: 1; color: var(--turq-lt); }

.footer-cta {
    /* Tarjeta CTA: "caracol" de vidrio marino */
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(126, 221, 214, 0.2);
    padding: 3rem; border-radius: 28px;
    margin: 0 auto 2rem; max-width: 400px;
    backdrop-filter: blur(4px);
}
.footer-cta h4 {
    font-family: 'Pacifico', cursive;
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 1rem; line-height: 1.3;
    color: var(--sun);
}
.footer-cta p { font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 2rem; }

/* Botón footer: sol radiante */
.btn-footer {
    display: inline-block;
    background: linear-gradient(135deg, var(--sun), var(--coral));
    color: var(--ink);
    padding: 1rem 2.5rem; border-radius: 999px;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .15em;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: 0 4px 18px rgba(255, 209, 102, 0.4);
    font-family: 'Quicksand', sans-serif;
}
.btn-footer:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 26px rgba(255, 107, 107, 0.5);
}

.footer-copy {
    font-size: 11px; color: rgba(255,255,255,.3);
    border-top: 1px solid rgba(126, 221, 214, 0.1);
    padding-top: 2rem;
    font-family: 'Quicksand', sans-serif;
}
.footer-copy::before { content: '🐠 '; }

/* ── Toast: ola de mensaje ── */
#toast {
    position: fixed;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%) translateY(1rem);
    background: linear-gradient(135deg, var(--ocean), var(--turquoise));
    color: #fff;
    font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
    padding: .7rem 1.4rem; border-radius: 999px;
    opacity: 0; pointer-events: none;
    transition: opacity .3s, transform .3s;
    z-index: 10000;
    white-space: normal; max-width: 90vw; text-align: center;
    box-shadow: 0 4px 18px rgba(26, 127, 168, 0.35);
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Misc ── */
.pb-safe { padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); }
.gallery-cta-wrap { margin-top: 2rem; text-align: center; padding: 0 1rem; }
.gallery-cta-hint {
    font-size: 10px; color: var(--stone);
    margin-top: 1rem; opacity: .8; letter-spacing: .05em;
    font-family: 'Quicksand', sans-serif;
}
.confirm-actions-wrap { margin-top: 2rem; text-align: center; padding: 0 1rem; }
.confirm-spacer { height: 1rem; }

/* ── Animación de olas (para usar en bordes decorativos) ── */
@keyframes wave-move {
    0%   { background-position: 0 bottom; }
    100% { background-position: 200px bottom; }
}

/* ── Estrella de mar que brilla al hover ── */
.itinerary-dot:hover {
    animation: starfish-glow .6s ease-in-out infinite alternate;
}
@keyframes starfish-glow {
    from { box-shadow: 0 0 6px rgba(255,209,102,.5); }
    to   { box-shadow: 0 0 18px rgba(255,209,102,.9), 0 0 30px rgba(255,107,107,.3); }
}