/* ==========================================================================
   Sitio público: capa premium sobre admin.css (tokens y componentes base)
   ========================================================================== */

:root {
    --display: 'Sora', 'Inter', system-ui, sans-serif;
    --nav-h: 72px;
    --dock-h: 0px;
    --hero-ink: #04130d;
    --glass: rgba(255, 255, 255, .62);
    --glass-border: rgba(255, 255, 255, .55);
    --amber: #f59e0b;
}
[data-bs-theme='dark'] {
    --glass: rgba(15, 23, 19, .62);
    --glass-border: rgba(255, 255, 255, .08);
}

body.site { background: var(--bg); background-image: none; overflow-x: hidden; padding-bottom: var(--dock-h); }
.site h1, .site h2, .site h3, .display { font-family: var(--display); }
.site-main { min-height: 60vh; }
.progress-top { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 2000; background: transparent; pointer-events: none; }
.progress-top i { display: block; height: 100%; width: 0; background: var(--brand-grad); transform-origin: left; box-shadow: 0 0 12px rgba(16, 185, 129, .7); }

/* ---------- Navbar ---------- */
.site-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1100; height: var(--nav-h);
    display: flex; align-items: center; transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s, height .3s var(--ease);
    color: #fff;
}
.site-nav.solid, .site-nav.scrolled {
    background: var(--glass); backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px);
    box-shadow: 0 1px 0 var(--border), 0 10px 30px -18px rgba(0, 0, 0, .35); color: var(--text); height: 64px;
}
.site-nav .wrap { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.site-nav .brand { padding: 0; color: inherit; }
.site-nav .brand-name { font-family: var(--display); font-size: 1.05rem; letter-spacing: -.03em; }
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-links a {
    padding: 9px 15px; border-radius: 999px; color: inherit; text-decoration: none; font-weight: 600; font-size: .9rem; opacity: .82;
    transition: background .2s, opacity .2s;
}
.nav-links a:hover, .nav-links a.active { background: rgba(127, 127, 127, .16); opacity: 1; }
.site-nav .icon-btn { color: inherit; border: 1px solid rgba(127, 127, 127, .3); background: rgba(127, 127, 127, .08); }
.site-nav .btn-brand { padding: .55rem 1.15rem; }
.nav-burger { display: none; }
@media (max-width: 860px) {
    .nav-links { display: none; }
    .site-nav .wrap { padding: 0 16px; }
    .site-nav .cta-nav { display: none; }
    .site-nav .theme { margin-left: auto; }
}

/* ---------- Dock móvil ---------- */
.dock {
    position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 1100;
    display: none; padding: 8px; gap: 4px; border-radius: 24px;
    background: var(--glass); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--glass-border); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .45);
}
.dock a {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px; border-radius: 17px;
    color: var(--text-2); text-decoration: none; font-size: .68rem; font-weight: 700; transition: background .2s, color .2s, transform .2s var(--ease);
}
.dock a.active { background: var(--brand-soft); color: var(--brand-700); }
.dock a:active { transform: scale(.94); }
.dock a.go { background: var(--brand-grad); color: #03231a; box-shadow: 0 8px 18px -8px rgba(16, 185, 129, .8); }
@media (max-width: 860px) { .dock { display: flex; } :root { --dock-h: 96px; } }

/* ---------- Botones del sitio ---------- */
.btn-glow { position: relative; overflow: hidden; isolation: isolate; }
.btn-glow::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); z-index: -1; }
.btn-glow:hover::after { transform: translateX(120%); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.btn-xl { padding: .9rem 1.6rem; font-size: 1.02rem; border-radius: 16px; }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255, 255, 255, .45); animation: ripple .6s linear; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- Hero ---------- */
.hero-x { position: relative; min-height: min(100svh, 880px); display: flex; align-items: center; color: #fff; overflow: hidden; padding: calc(var(--nav-h) + 40px) 0 90px; isolation: isolate; }
.hero-bg { position: absolute; inset: -6% 0 -6% 0; z-index: -3; background-size: cover; background-position: center; will-change: transform; }
.hero-x::before { content: ''; position: absolute; inset: 0; z-index: -2; background:
    radial-gradient(900px 520px at 85% 10%, rgba(16, 185, 129, .45), transparent 60%),
    radial-gradient(700px 500px at 5% 100%, rgba(20, 184, 166, .35), transparent 60%),
    linear-gradient(180deg, rgba(3, 19, 13, .74) 0%, rgba(3, 19, 13, .9) 70%, #04130d 100%); }
.hero-x::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .35; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px; mask-image: radial-gradient(circle at 50% 35%, #000, transparent 70%); }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; animation: drift 14s ease-in-out infinite alternate; }
.orb.a { width: 340px; height: 340px; background: rgba(52, 211, 153, .4); top: 8%; right: 6%; }
.orb.b { width: 280px; height: 280px; background: rgba(45, 212, 191, .28); bottom: 10%; left: -4%; animation-duration: 18s; }
@keyframes drift { to { transform: translate3d(-40px, 30px, 0) scale(1.15); } }
.hero-x .wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; width: 100%; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(10px); font-size: .8rem; font-weight: 600; }
.eyebrow .pulse { width: 10px; height: 10px; border-radius: 50%; background: #34d399; position: relative; margin-left: 6px; }
.eyebrow .pulse::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #34d399; animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.hero-title { font-size: clamp(2.5rem, 7vw, 5.2rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.02; margin: 22px 0 18px; max-width: 14ch; }
.hero-title .grad { background: linear-gradient(90deg, #6ee7b7, #2dd4bf 50%, #a7f3d0); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; }
.hero-title .w > span { display: inline-block; transform: translateY(110%); animation: wordup .9s var(--ease) forwards; animation-delay: calc(var(--i) * 80ms + 150ms); }
@keyframes wordup { to { transform: none; } }
.hero-lead { font-size: clamp(1.02rem, 2vw, 1.25rem); color: rgba(255, 255, 255, .78); max-width: 52ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.float-card {
    position: absolute; padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(14px); color: #fff; font-weight: 600; font-size: .85rem; display: flex; align-items: center; gap: 10px; animation: floaty 6s ease-in-out infinite;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
}
.float-card .ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-grad); color: #03231a; }
.float-card small { display: block; font-weight: 500; opacity: .75; font-size: .72rem; }
.float-card.f1 { right: 7%; top: 30%; }
.float-card.f2 { right: 18%; top: 52%; animation-delay: -2s; }
.float-card.f3 { right: 4%; top: 68%; animation-delay: -4s; }
@keyframes floaty { 50% { transform: translateY(-14px); } }
@media (max-width: 1100px) { .float-card { display: none; } }

.finder {
    margin-top: 44px; padding: 14px; border-radius: 26px; max-width: 920px;
    background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: saturate(170%) blur(22px); -webkit-backdrop-filter: saturate(170%) blur(22px);
    box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7); color: var(--text);
    display: grid; grid-template-columns: 1.2fr 1fr .8fr auto; gap: 10px; align-items: end;
}
.finder label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-left: 6px; }
.finder .form-control, .finder .form-select { height: 52px; background: var(--surface); border-radius: 16px; }
.finder .btn { height: 52px; padding: 0 1.6rem; }
@media (max-width: 760px) { .finder { grid-template-columns: 1fr 1fr; border-radius: 22px; } .finder > :first-child, .finder > :last-child { grid-column: 1 / -1; } }
.scroll-hint { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .45); border-radius: 14px; }
.scroll-hint::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 50% { transform: translateY(12px); opacity: .2; } }
@media (max-width: 760px) { .scroll-hint { display: none; } .hero-x { padding-bottom: 60px; } }

/* ---------- Secciones ---------- */
.section { padding: clamp(56px, 9vw, 110px) 0; position: relative; }
.container-x { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 575px) { .container-x { padding: 0 16px; } }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-kicker { color: var(--brand-600); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.sec-kicker::before { content: ''; width: 28px; height: 2px; background: var(--brand-grad); border-radius: 2px; }
.sec-title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.08; margin: 12px 0 0; max-width: 18ch; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; color: var(--brand-700); }
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* Stats */
.stats { margin-top: -54px; position: relative; z-index: 3; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 8px; border-radius: 28px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.stat-x { padding: 22px 20px; text-align: center; position: relative; }
.stat-x + .stat-x::before { content: ''; position: absolute; left: 0; top: 24%; height: 52%; width: 1px; background: var(--border); }
.stat-x b { display: block; font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-x span { color: var(--muted); font-size: .82rem; font-weight: 600; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; } .stat-x:nth-child(3)::before { display: none; } .stat-x { padding: 18px 10px; } }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--border); background: var(--surface); padding: 16px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--text-2); white-space: nowrap; }
.marquee-item i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-grad); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Tarjetas de cancha ---------- */
.courts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.court-x {
    position: relative; border-radius: 28px; overflow: hidden; background: var(--surface); border: 1px solid var(--border);
    box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); transform-style: preserve-3d; will-change: transform;
    display: flex; flex-direction: column; color: inherit; text-decoration: none;
}
.court-x:hover { box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .45); }
.court-x .media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #16a34a, #14532d); }
.court-x .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.court-x:hover .media img { transform: scale(1.09); }
.court-x .media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(3, 19, 13, .72)); }
.court-x .ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .85); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; backdrop-filter: blur(10px); }
.court-x .tags { position: absolute; left: 14px; top: 14px; right: 14px; display: flex; justify-content: space-between; z-index: 2; }
.pill.glass { background: rgba(255, 255, 255, .85); color: #064e3b; }
.pill.dark { background: rgba(3, 19, 13, .6); color: #fff; border: 1px solid rgba(255, 255, 255, .2); }
.court-x .price { position: absolute; left: 16px; bottom: 14px; z-index: 2; color: #fff; line-height: 1; }
.court-x .price b { font-family: var(--display); font-size: 1.7rem; letter-spacing: -.04em; }
.court-x .price small { opacity: .8; font-weight: 500; }
.court-x .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.court-x h3 { font-size: 1.15rem; font-weight: 700; margin: 0; letter-spacing: -.03em; }
.court-x .meta { color: var(--muted); font-size: .86rem; display: flex; gap: 14px; flex-wrap: wrap; }
.court-x .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-s { padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: .72rem; font-weight: 600; color: var(--text-2); }
.court-x .go { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 10px; font-weight: 700; color: var(--brand-700); }
.court-x .go .arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); transition: background .3s, transform .3s var(--ease); }
.court-x:hover .go .arrow { background: var(--brand-grad); color: #03231a; transform: rotate(-45deg); }
.court-x.off { opacity: .6; filter: grayscale(.5); pointer-events: none; }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; position: relative; }
.step { padding: 28px; border-radius: 26px; background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step .n { font-family: var(--display); font-weight: 800; font-size: 4.5rem; line-height: 1; position: absolute; right: 18px; top: 6px; color: var(--brand-soft); letter-spacing: -.06em; }
.step .ic { width: 52px; height: 52px; border-radius: 17px; display: grid; place-items: center; background: var(--brand-grad); color: #03231a; margin-bottom: 18px; box-shadow: 0 12px 24px -10px rgba(16, 185, 129, .7); }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Features bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento > div { padding: 28px; border-radius: 28px; background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; }
.bento .b1 { grid-column: span 3; background: linear-gradient(145deg, #064e3b, #0a1a14); color: #e8fff5; border: 0; }
.bento .b1 p { color: #a7d9c5; }
.bento .b2 { grid-column: span 3; }
.bento .b3, .bento .b4, .bento .b5 { grid-column: span 2; }
.bento h3 { font-size: 1.2rem; margin-bottom: 8px; }
.bento p { color: var(--muted); margin: 0; }
.bento .big { font-family: var(--display); font-size: 3.4rem; font-weight: 800; letter-spacing: -.06em; line-height: 1; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bento .glow { position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -60px; bottom: -80px; background: radial-gradient(circle, rgba(52, 211, 153, .5), transparent 70%); }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } .bento > div { grid-column: auto !important; } }

/* ---------- FAQ ---------- */
.faq .accordion-item { border: 1px solid var(--border); border-radius: 20px !important; margin-bottom: 12px; overflow: hidden; background: var(--surface); }
.faq .accordion-button { background: transparent; color: var(--text); font-weight: 700; padding: 20px 22px; box-shadow: none; font-family: var(--display); letter-spacing: -.02em; }
.faq .accordion-button:not(.collapsed) { color: var(--brand-700); background: var(--brand-soft); }
.faq .accordion-button::after { filter: none; }
[data-bs-theme='dark'] .faq .accordion-button::after { filter: invert(1); }
.faq .accordion-body { color: var(--text-2); padding: 6px 22px 22px; }

/* ---------- Contacto / CTA / Footer ---------- */
.cta-band { border-radius: 34px; padding: clamp(32px, 6vw, 64px); color: #eafff6; position: relative; overflow: hidden; background: radial-gradient(600px 300px at 90% 0%, rgba(52, 211, 153, .5), transparent 60%), linear-gradient(135deg, #064e3b, #0a1a14); }
.cta-band h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.045em; max-width: 16ch; }
.cta-band p { color: #a7d9c5; max-width: 44ch; }
.contact-card { padding: 28px; border-radius: 28px; background: var(--surface); border: 1px solid var(--border); height: 100%; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border); }
.contact-row:last-child { border: 0; }
.contact-row .ic { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-700); flex: none; }
.contact-row small { display: block; color: var(--muted); font-weight: 600; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.contact-row a { color: var(--text); font-weight: 600; text-decoration: none; }
.map-frame { border-radius: 28px; overflow: hidden; border: 1px solid var(--border); min-height: 320px; height: 100%; background: var(--surface-2); display: grid; place-items: center; }
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; filter: saturate(.9); }
.site-foot { background: #04100b; color: #8fb0a2; padding: 56px 0 calc(34px + var(--dock-h)); margin-top: 90px; }
.site-foot a { color: #cdeee0; text-decoration: none; }
.site-foot a:hover { color: #fff; }
.site-foot .brand-name { color: #fff; font-family: var(--display); }

/* ---------- Ficha de cancha ---------- */
.page-pad { padding-top: calc(var(--nav-h) + 24px); }
.crumbs { font-size: .85rem; color: var(--muted); display: flex; gap: 8px; align-items: center; margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--brand-700); }
.court-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .85fr); gap: 36px; align-items: start; }
@media (max-width: 991px) { .court-layout { grid-template-columns: minmax(0, 1fr); } }
.court-layout > * { min-width: 0; }
.gallery { display: grid; grid-template-columns: 1fr; gap: 12px; }
.gallery .main { position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #16a34a, #14532d); box-shadow: var(--shadow); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform 1.2s var(--ease); }
.gallery .main:hover img { transform: scale(1.04); }
.gallery .thumbs { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
.gallery .thumbs button { flex: 0 0 96px; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; border: 2px solid transparent; padding: 0; background: none; opacity: .6; scroll-snap-align: start; transition: opacity .2s, border-color .2s, transform .2s var(--ease); }
.gallery .thumbs button.on { opacity: 1; border-color: var(--brand); transform: translateY(-3px); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.court-info h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.05em; margin: 20px 0 10px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 18px 0; }
.fact { padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.fact small { display: block; color: var(--muted); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.fact b { font-family: var(--display); font-size: 1.05rem; letter-spacing: -.02em; }

.booker { position: sticky; top: calc(var(--nav-h) + 16px); border-radius: 30px; padding: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.booker-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.booker-head h2 { font-size: 1.25rem; margin: 0; }
.booker-head .from { color: var(--muted); font-size: .85rem; } .booker-head .from b { font-family: var(--display); color: var(--text); font-size: 1.3rem; }
.lbl { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 16px 0 8px; display: flex; justify-content: space-between; align-items: center; }
.date-strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 8px; margin: 0 -4px; scrollbar-width: none; }
.date-strip::-webkit-scrollbar { display: none; }
.dchip { flex: 0 0 62px; scroll-snap-align: start; padding: 10px 0; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--border); text-align: center; cursor: pointer; transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s; font-family: inherit; color: var(--text); }
.dchip small { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.dchip b { display: block; font-family: var(--display); font-size: 1.25rem; letter-spacing: -.04em; line-height: 1.2; }
.dchip em { display: block; font-style: normal; font-size: .62rem; color: var(--muted); }
.dchip:hover { transform: translateY(-3px); border-color: var(--brand); }
.dchip.on { background: var(--brand-grad); border-color: transparent; color: #03231a; box-shadow: 0 12px 22px -10px rgba(16, 185, 129, .8); transform: translateY(-3px); }
.dchip.on small, .dchip.on em { color: rgba(3, 35, 26, .7); }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { padding: 9px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); font-weight: 700; font-size: .88rem; cursor: pointer; transition: all .2s var(--ease); }
.seg label:hover { border-color: var(--brand); }
.seg input:checked + label { background: var(--text); color: var(--surface); border-color: var(--text); }
.seg input:focus-visible + label { box-shadow: var(--ring); }
.slot-group + .slot-group { margin-top: 12px; }
.slot-group h4 { font-size: .78rem; font-weight: 700; color: var(--muted); margin: 0 0 8px; display: flex; align-items: center; gap: 8px; font-family: var(--font); letter-spacing: 0; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.slot { padding: 10px 6px; border-radius: 15px; background: var(--surface-2); border: 1px solid var(--border); cursor: pointer; text-align: center; font-family: inherit; color: var(--text); transition: transform .2s var(--ease), border-color .2s, background .2s, box-shadow .2s; animation: pop .45s var(--ease) both; animation-delay: calc(var(--i) * 28ms); }
.slot b { display: block; font-size: .98rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.slot small { color: var(--muted); font-weight: 600; font-size: .72rem; }
.slot:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 10px 20px -12px rgba(16, 185, 129, .7); }
.slot.on { background: var(--brand-grad); border-color: transparent; color: #03231a; box-shadow: 0 14px 24px -10px rgba(16, 185, 129, .8); }
.slot.on small { color: rgba(3, 35, 26, .75); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }
.skeleton { border-radius: 15px; height: 56px; background: linear-gradient(100deg, var(--surface-2) 30%, var(--border) 50%, var(--surface-2) 70%); background-size: 200% 100%; animation: sk 1.2s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.summary { margin-top: 16px; padding: 14px 16px; border-radius: 18px; background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); display: flex; justify-content: space-between; align-items: center; gap: 12px; animation: pop .4s var(--ease) both; }
.summary b.total { font-family: var(--display); font-size: 1.5rem; letter-spacing: -.04em; }
.empty { text-align: center; padding: 22px 10px; color: var(--muted); border: 1px dashed var(--border-strong); border-radius: 18px; }
.sticky-cta { display: none; }
@media (max-width: 991px) {
    .booker { position: static; padding: 18px; border-radius: 26px; }
    .sticky-cta {
        position: fixed; left: 12px; right: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 1090; display: none; align-items: center; gap: 12px;
        padding: 10px 10px 10px 18px; border-radius: 22px; background: var(--text); color: var(--surface); box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .6);
        animation: pop .4s var(--ease) both;
    }
    .sticky-cta.show { display: flex; }
    .sticky-cta b { font-family: var(--display); font-size: 1.15rem; letter-spacing: -.03em; }
    .sticky-cta small { display: block; opacity: .7; font-size: .72rem; }
    .sticky-cta .btn { margin-left: auto; }
}

/* ---------- Filtros / páginas internas ---------- */
.filter-bar { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 6px; }
.filter-bar a { flex: none; padding: 9px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 700; font-size: .88rem; color: var(--text-2); text-decoration: none; transition: all .2s var(--ease); }
.filter-bar a:hover { border-color: var(--brand); }
.filter-bar a.on { background: var(--text); color: var(--surface); border-color: var(--text); }
.page-hero { padding: calc(var(--nav-h) + 36px) 0 30px; position: relative; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.05em; margin: 6px 0 8px; }
.site .card { border-radius: 26px; }
.site .alert { border-radius: 18px; }
.flash { position: fixed; top: calc(var(--nav-h) + 10px); left: 50%; transform: translateX(-50%); width: min(560px, calc(100% - 24px)); z-index: 1200; display: grid; gap: 8px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.reveal.left { transform: translateX(-30px); } .reveal.left.in { transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .orb, .float-card, .marquee-track, .hero-title .grad, .eyebrow .pulse::after { animation: none !important; }
    .hero-title .w > span { transform: none; animation: none; }
}

/* ---------- Pantalla de reserva (booking) ---------- */
.site .alert-warning, .site .alert-success, .site .alert-info, .site .alert-danger, .site .alert-primary, .site .alert-secondary, .site .alert-dark { border-radius: 22px; }
.bk-wrap { padding-top: calc(var(--nav-h) + 24px); }

[hidden] { display: none !important; }
.site .btn-lg { border-radius: 16px; }
.bk-wrap .card { box-shadow: var(--shadow-sm); }
.bk-wrap .alert { box-shadow: var(--shadow); }

.finder > * { min-width: 0; }
.finder .form-control, .finder .form-select { min-width: 0; width: 100%; }
@media (max-width: 575px) { .hero-title { font-size: clamp(2.3rem, 11vw, 3.2rem); } .hero-x .wrap { padding: 0 16px; } }
