/* =============================================================
   ALCORAUTO · Lavadero manual · Alcora
   Paleta "Noche y agua"
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:       #0A1420;
  --bg-2:     #0F1C2B;
  --bg-3:     #16273A;
  --line:     rgba(232, 251, 255, .10);
  --line-2:   rgba(232, 251, 255, .18);
  --ink:      #F4F9FC;
  --ink-2:    #B4C4D4;
  --mute:     #6E8498;
  --accent:   #2EE6D6;
  --accent-2: #3BA9FF;
  --foam:     #E8FBFF;
  --on-accent:#03201E;
  --tbd:      #FFC857;   /* solo para marcar contenido provisional */

  --serif: "Fraunces", "Georgia", serif;
  --sans:  "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "Consolas", monospace;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --max: 1280px;
  --radius: 22px;
  --header-h: 104px;
  --section-y: clamp(5rem, 11vw, 9.5rem);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html.is-locked, html.is-locked body { overflow: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.04; letter-spacing: -0.02em; font-weight: 500; }
em { font-style: italic; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--foam); color: var(--bg);
  border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Marcador visible de contenido provisional */
.tbd {
  display: inline-block;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: .04em;
  line-height: 1.3;
  color: var(--tbd);
  background: rgba(255, 200, 87, .10);
  border: 1px dashed rgba(255, 200, 87, .55);
  border-radius: 6px;
  padding: .18em .5em;
  vertical-align: middle;
  white-space: nowrap;
}
.tbd--lg { font-size: .9rem; padding: .3em .6em; }

/* =============================================================
   4. Typography
   ============================================================= */
.kicker, .eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow span {
  display: inline-grid; place-items: center;
  min-width: 2.1rem; height: 1.5rem; padding-inline: .4rem;
  border: 1px solid rgba(46, 230, 214, .4); border-radius: 99px;
  font-size: .68rem; color: var(--foam);
}
.eyebrow--plain { color: var(--accent); }
.sec-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-title {
  font-family: var(--serif);
  font-variation-settings: "opsz" 144, "SOFT" 60;
  font-weight: 400;
  font-size: clamp(2.3rem, 6.4vw, 4.6rem);
  margin-top: 1.1rem;
}
.sec-title em, .cta-title em, .fleet-title em, .carta-title em, .booking h2 em {
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-weight: 300;
  color: var(--accent);
}
.sec-lead { margin-top: 1.25rem; color: var(--ink-2); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 38rem; }
.sec-head--center .sec-lead { margin-inline: auto; }
.notice {
  margin-top: 1.4rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem;
  font-size: .86rem; color: var(--ink-2);
  padding: .8rem 1rem; border-radius: 14px;
  background: rgba(255, 200, 87, .05); border: 1px solid rgba(255, 200, 87, .18);
}
.notice--center { justify-content: center; max-width: 40rem; margin-inline: auto; }

/* =============================================================
   5. Components
   ============================================================= */

/* --- Buttons --- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .75rem 1.35rem;
  border-radius: 99px;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  white-space: nowrap;
  transform: translate3d(var(--bx), var(--by), 0);
  transition: transform .5s var(--ease-out), background-color .3s, color .3s, border-color .3s, box-shadow .4s var(--ease-out);
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn::after {               /* destello que cruza el botón */
  content: ""; position: absolute; inset: -20% auto -20% -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg) translateX(0);
  transition: transform .9s var(--ease-out);
}
.btn:hover::after { transform: skewX(-20deg) translateX(420%); }
.btn-primary {
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 10px 30px -10px rgba(46, 230, 214, .55), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-primary:hover { background: #5af0e3; box-shadow: 0 16px 40px -12px rgba(46, 230, 214, .75), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-ghost {
  color: var(--ink); background: rgba(232, 251, 255, .04);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--foam); background: rgba(46, 230, 214, .08); }
.btn-ghost::after { background: linear-gradient(100deg, transparent, rgba(46,230,214,.25), transparent); }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .86rem; }
.btn-lg { min-height: 54px; padding: .9rem 1.6rem; font-size: 1rem; }
.btn-xl { min-height: 60px; padding: 1rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.round-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); background: rgba(232,251,255,.03);
  transition: border-color .3s, background .3s, transform .4s var(--ease-out);
}
.round-btn svg { width: 20px; height: 20px; }
.round-btn:hover { border-color: var(--accent); background: rgba(46,230,214,.1); }
.round-btn:active { transform: scale(.92); }

/* --- Specular light that follows the pointer ("brillo de carrocería") --- */
.shine { position: relative; isolation: isolate; }
.shine::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -30%), rgba(232, 251, 255, .10), transparent 45%);
  opacity: 0; transition: opacity .5s var(--ease-out);
}
.shine:hover::before { opacity: 1; }

/* --- Image placeholders --- */
.ph {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(59, 169, 255, .20), transparent 60%),
    radial-gradient(90% 70% at 0% 100%, rgba(46, 230, 214, .14), transparent 60%),
    repeating-linear-gradient(135deg, rgba(232,251,255,.035) 0 1px, transparent 1px 14px),
    var(--bg-2);
  border: 1px solid var(--line);
  display: grid; place-items: center;
}
.ph::after {                 /* reflejo diagonal lento */
  content: ""; position: absolute; inset: -50%;
  background: linear-gradient(115deg, transparent 42%, rgba(232,251,255,.07) 50%, transparent 58%);
  animation: sheen 7s var(--ease-soft) infinite;
  pointer-events: none;
}
.ph-inner {
  position: relative; z-index: 1;
  display: grid; justify-items: center; gap: .35rem;
  text-align: center; padding: 1.5rem; max-width: 22rem;
}
.ph-inner > svg { width: 34px; height: 34px; color: var(--accent); opacity: .9; margin-bottom: .4rem; }
.ph-title { font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--foam); }
.ph-desc { font-size: .86rem; color: var(--ink-2); }
.ph--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.ph--photo:hover > img { transform: scale(1.04); }
.ph--photo::after { z-index: 1; }
.ph-cap { position: absolute; left: .8rem; bottom: .8rem; z-index: 2; }
.ph-cap .tbd, .hero-figcap .tbd { background: rgba(10, 20, 32, .8); }
.ph-ratio { margin-top: .4rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; color: var(--mute); text-transform: uppercase; }

/* =============================================================
   6. Sections
   ============================================================= */

/* --- Header --- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s, backdrop-filter .4s, transform .5s var(--ease-out);
}
.draft-strip {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .4rem var(--gutter);
  font-size: .72rem; line-height: 1.35; text-align: center;
  color: var(--tbd);
  background: rgba(255, 200, 87, .08);
  border-bottom: 1px solid rgba(255, 200, 87, .2);
}
.draft-strip strong { font-weight: 700; }
.draft-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--tbd); box-shadow: 0 0 0 4px rgba(255,200,87,.15); }
.bar {
  display: flex; align-items: center; gap: 1rem;
  max-width: var(--max); margin-inline: auto;
  padding: .8rem var(--gutter);
}
.site-header.is-scrolled { background: rgba(10, 20, 32, .92); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(10px)) {
  .site-header.is-scrolled { background: rgba(10, 20, 32, .68); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); }
}
.brand { display: inline-flex; align-items: center; gap: .55rem; margin-right: auto; }
.brand-mark { width: 26px; height: 26px; color: var(--accent); filter: drop-shadow(0 0 10px rgba(46,230,214,.6)); transition: transform .6s var(--ease-bounce); }
.brand:hover .brand-mark { transform: translateY(-3px) rotate(-8deg); }
.brand-word { font-weight: 800; font-size: 1.08rem; letter-spacing: .2em; }
.brand-word span { color: var(--accent); }
.nav { display: none; }
.nav ul { display: flex; gap: .25rem; }
.nav a {
  position: relative; display: block; padding: .5rem .8rem;
  font-size: .9rem; font-weight: 600; color: var(--ink-2);
  transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: none; }
.burger {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-content: center; gap: 6px;
}
.burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .45s var(--ease-out); }
.burger[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: -1;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
  background: var(--bg);
  display: flex; flex-direction: column; gap: 2rem;
  animation: menuIn .5s var(--ease-out);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) {
  display: flex; align-items: baseline; gap: 1rem;
  padding: .8rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(1.8rem, 8vw, 2.4rem); font-weight: 400;
}
.mobile-menu a:not(.btn) span { font-family: var(--mono); font-size: .75rem; color: var(--accent); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--accent-2), var(--accent)); box-shadow: 0 0 12px var(--accent); }

/* --- Hero --- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 5.5rem;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-mesh {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 35% at 75% 30%, rgba(59, 169, 255, .35), transparent 70%),
    radial-gradient(35% 30% at 20% 75%, rgba(46, 230, 214, .22), transparent 70%),
    radial-gradient(50% 40% at 50% 110%, rgba(59, 169, 255, .25), transparent 70%),
    linear-gradient(180deg, #081221 0%, var(--bg) 100%);
  filter: blur(30px);
  animation: meshDrift 26s var(--ease-soft) infinite alternate;
}
.hero-sheen {                 /* gran reflejo curvo, como luz sobre un capó */
  position: absolute; left: -20%; right: -20%; top: 18%; height: 70%;
  border-radius: 50%;
  border-top: 1px solid rgba(232, 251, 255, .22);
  background: radial-gradient(60% 40% at 50% 0%, rgba(232, 251, 255, .07), transparent 70%);
  transform: rotate(-6deg);
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}
.hero-drops { position: absolute; inset: 0; width: 100%; height: 100%; }
.grain {
  position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero::after {               /* fundido inferior */
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%; z-index: -1; pointer-events: none;
  background: linear-gradient(transparent, var(--bg));
}
.hero-inner { display: grid; gap: 2.5rem; position: relative; }
.hero-copy { position: relative; z-index: 2; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(46,230,214,.6); animation: pulse 2.4s infinite; }
.hero-title {
  margin-top: 1.3rem;
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(2.75rem, 11vw, 6.6rem);
  line-height: .98;
  letter-spacing: -.035em;
  max-width: 13ch;
}
.shine-text {
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent) 35%, var(--foam) 48%, var(--accent-2) 60%, var(--accent) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: textSheen 5.5s var(--ease-soft) infinite;
  padding-right: .06em;
}
.hero-sub { margin-top: 1.5rem; max-width: 34rem; font-size: clamp(1.02rem, 2vw, 1.22rem); color: var(--ink-2); }
.hero-sub strong { color: var(--foam); font-weight: 700; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-tags { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.hero-tags li {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-2);
  background: rgba(10, 20, 32, .4);
}
.hero-figure { position: relative; z-index: 1; }
.ph--hero { aspect-ratio: 4 / 3; border-radius: 28px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.hero-figcap { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; }
.hero-hint {
  position: absolute; left: var(--gutter); bottom: 1.6rem;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute);
  display: none;
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 1.4rem; translate: -50% 0;
  width: 26px; height: 42px; border-radius: 99px; border: 1.5px solid var(--line-2);
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-cue span { width: 4px; height: 8px; border-radius: 4px; background: var(--accent); animation: cue 2s var(--ease-soft) infinite; }

/* --- Ticker --- */
.ticker {
  position: relative; overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 1.1rem;
  background: linear-gradient(90deg, rgba(46,230,214,.05), rgba(59,169,255,.05));
}
.ticker-track { display: flex; width: max-content; align-items: center; gap: 1.6rem; animation: ticker 48s linear infinite; }
.ticker span {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem); white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(232, 251, 255, .55);
}
.ticker span:nth-of-type(3n+1) { color: var(--foam); -webkit-text-stroke: 0; }
.ticker i { font-style: normal; color: var(--accent); font-size: .9rem; }

/* --- Sections base --- */
.section { position: relative; padding-block: var(--section-y); }

/* --- Antes / después --- */
.works-tabs {
  position: relative; display: inline-flex; gap: .25rem; padding: .3rem;
  border: 1px solid var(--line); border-radius: 99px; background: var(--bg-2);
  margin-bottom: 1.5rem; max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.works-tabs::-webkit-scrollbar { display: none; }
.works-tabs button {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.1rem; border-radius: 99px;
  font-weight: 700; font-size: .9rem; color: var(--ink-2); white-space: nowrap;
  transition: color .4s;
}
.works-tabs button span { font-family: var(--mono); font-size: .68rem; opacity: .7; }
.works-tabs button[aria-selected="true"] { color: var(--on-accent); }
.works-tabs-ink {
  position: absolute; z-index: 0; top: .3rem; bottom: .3rem; left: 0; width: 0;
  border-radius: 99px; background: var(--accent);
  box-shadow: 0 8px 24px -8px rgba(46,230,214,.7);
  transition: transform .55s var(--ease-out), width .55s var(--ease-out);
}
.works-tabs:not(.has-ink) button[aria-selected="true"] { background: var(--accent); }

.works-stage { display: grid; }
.works-slide {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden;
  transform: scale(.985);
  transition: opacity .7s var(--ease-out), transform .9s var(--ease-out), visibility 0s .7s;
}
.works-slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.works-cap { margin-top: 1rem; color: var(--ink-2); font-size: .92rem; }
.works-cap strong { color: var(--ink); }
.works-nav { margin-top: 1.5rem; display: flex; align-items: center; gap: 1rem; }
.works-count { font-family: var(--mono); font-size: .85rem; color: var(--mute); }
.works-count b { color: var(--ink); font-weight: 500; }

/* Comparador */
.ba {
  --pos: 50%;
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3;                 /* proporción fija: no salta al cargar */
  border-radius: 26px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(232,251,255,.03) inset;
  touch-action: pan-y;                 /* deja hacer scroll vertical en móvil */
  user-select: none; -webkit-user-select: none;
  cursor: ew-resize;
  -webkit-tap-highlight-color: transparent;
}
.ba-layer { position: absolute; inset: 0; }
.ba-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after .ba-art { filter: saturate(1.15) contrast(1.06) brightness(1.04); }
.ba-before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba-before .ba-art { filter: saturate(.9); }

/* Brillo provisional del "después" */
.ba-gloss {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.ba-gloss::after {
  content: ""; position: absolute; inset: -40% -60%;
  background: linear-gradient(110deg, transparent 44%, rgba(255,255,255,.22) 50%, transparent 56%);
  animation: sheen 6s var(--ease-soft) infinite;
}

.ba-tag {
  position: absolute; top: 1rem; z-index: 3;
  font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .18em;
  padding: .45rem .75rem; border-radius: 99px;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
  pointer-events: none;
}
.ba-tag--before { left: 1rem; background: rgba(10, 20, 32, .72); color: var(--ink-2); border: 1px solid var(--line-2); text-transform: uppercase; }
.ba-tag--after { right: 1rem; background: var(--accent); color: var(--on-accent); text-transform: uppercase; box-shadow: 0 6px 20px -6px rgba(46,230,214,.8); }
.ba.is-near-left .ba-tag--before, .ba.is-near-right .ba-tag--after { opacity: 0; transform: translateY(-6px); }
.ba-slot {
  position: absolute; bottom: 1rem; z-index: 2;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .06em;
  color: var(--tbd); background: rgba(10, 20, 32, .78);
  border: 1px dashed rgba(255, 200, 87, .55); border-radius: 6px; padding: .3rem .5rem;
  white-space: nowrap; pointer-events: none;
}
.ba-slot--before { left: 1rem; }
.ba-slot--after { right: 1rem; }
.ba-provisional {
  position: absolute; z-index: 3; top: 1rem; left: 50%; translate: -50% 0;
  font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--tbd); background: rgba(10, 20, 32, .78); border: 1px dashed rgba(255,200,87,.5);
  padding: .3rem .55rem; border-radius: 6px; white-space: nowrap; pointer-events: none;
  display: none;
}
.ba-divider {
  position: absolute; z-index: 4; top: 0; bottom: 0; left: var(--pos);
  width: 2px; translate: -1px 0;
  background: linear-gradient(180deg, rgba(232,251,255,0), var(--foam) 12%, var(--foam) 88%, rgba(232,251,255,0));
  box-shadow: 0 0 18px rgba(46, 230, 214, .8), 0 0 2px rgba(255,255,255,.9);
  pointer-events: none;
}
.ba-handle {
  position: absolute; z-index: 5; top: 50%; left: var(--pos);
  width: 58px; height: 58px; translate: -50% -50%;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--on-accent);
  background: radial-gradient(circle at 35% 30%, #a6fff6, var(--accent) 55%, #17b3a6);
  box-shadow: 0 0 0 6px rgba(46, 230, 214, .18), 0 14px 30px -6px rgba(0, 0, 0, .6), inset 0 1px 1px rgba(255,255,255,.7);
  cursor: grab;
  transition: box-shadow .35s var(--ease-out), scale .35s var(--ease-out);
  touch-action: none;
}
.ba-handle svg { width: 26px; height: 26px; }
.ba-handle:hover, .ba.is-dragging .ba-handle { scale: 1.08; box-shadow: 0 0 0 10px rgba(46, 230, 214, .2), 0 18px 34px -6px rgba(0,0,0,.6), inset 0 1px 1px rgba(255,255,255,.7); }
.ba.is-dragging .ba-handle { cursor: grabbing; }
.ba-handle:focus-visible { outline: 3px solid var(--foam); outline-offset: 4px; border-radius: 50%; }
.ba-handle::after {           /* onda de agua al tocar */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--accent); opacity: 0;
}
.ba.is-dragging .ba-handle::after { animation: ripple 1.1s var(--ease-out) infinite; }

/* --- Servicios --- */
.services { background: var(--bg-2); margin-top: 3rem; }
.wave { position: absolute; left: 0; width: 100%; height: clamp(40px, 7vw, 110px); fill: var(--bg); pointer-events: none; }
.wave--top { top: -1px; }
.services-grid { display: grid; gap: 1rem; }
.services-head { margin-bottom: 1.5rem; padding-top: 1rem; }
.packs { display: grid; gap: 1rem; counter-reset: pack; }
.pack {
  position: relative; overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(232,251,255,.035), rgba(232,251,255,.01));
  border: 1px solid var(--line);
  display: grid; gap: .9rem;
  transition: border-color .5s, transform .6s var(--ease-out);
}
.pack > * { position: relative; z-index: 1; }
.pack:hover { border-color: rgba(46,230,214,.35); transform: translateY(-4px); }
.pack-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.pack-level { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pack-name {
  font-family: var(--serif); font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 80;
  font-size: clamp(2.6rem, 9vw, 4.4rem); line-height: .95; letter-spacing: -.035em;
}
.pack-tag { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink-2); margin-top: -.3rem; }
.pack-list { display: grid; gap: .55rem; margin-top: .4rem; }
.pack-list li { position: relative; padding-left: 1.6rem; color: var(--ink); font-size: .98rem; }
.pack-list li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: .7rem; height: .9rem;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5c3.6 4.8 6.2 8.4 6.2 11.8a6.2 6.2 0 0 1-12.4 0C5.8 10.9 8.4 7.3 12 2.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5c3.6 4.8 6.2 8.4 6.2 11.8a6.2 6.2 0 0 1-12.4 0C5.8 10.9 8.4 7.3 12 2.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pack-list li:has(em) { padding-left: 0; color: var(--ink-2); font-size: .88rem; }
.pack-list li:has(em)::before { display: none; }
.pack-foot { margin-top: .8rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.pack-price { display: grid; gap: .25rem; }
.pack-price span { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.pack--premium {
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(46, 230, 214, .22), transparent 60%),
    radial-gradient(70% 60% at 0% 100%, rgba(59, 169, 255, .18), transparent 60%),
    var(--bg-3);
  border-color: rgba(46, 230, 214, .4);
  box-shadow: 0 40px 80px -40px rgba(46, 230, 214, .35);
}
.pack--premium .pack-name em, .pack--premium .pack-name { color: var(--foam); }
.pack--premium::after {
  content: ""; position: absolute; inset: -50%; z-index: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 45%, rgba(232,251,255,.10) 50%, transparent 55%);
  animation: sheen 6.5s var(--ease-soft) infinite;
}

.carta {
  margin-top: clamp(3rem, 8vw, 5rem);
  display: grid; gap: 1.5rem;
  padding-top: 2rem; border-top: 1px solid var(--line);
}
.carta-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 5vw, 3rem); }
.carta-head p { margin-top: .6rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.carta-list { display: grid; gap: 0 3rem; }
.carta-list li {
  display: flex; align-items: baseline; gap: .8rem;
  padding: .95rem 0; border-bottom: 1px solid var(--line);
  transition: padding .4s var(--ease-out), color .3s;
}
.carta-list li span { font-size: 1.02rem; font-weight: 600; }
.carta-list li i { flex: 1; border-bottom: 1px dotted rgba(232,251,255,.25); translate: 0 -4px; min-width: 1rem; }
.carta-list li:hover { padding-left: .5rem; }
.carta-list li:hover span { color: var(--accent); }

/* --- Por qué a mano --- */
.why-grid { display: grid; gap: 2rem; }
.why-head { margin-bottom: 0; }
.why-list { display: grid; }
.why-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem;
  padding: 1.6rem 0; border-top: 1px solid var(--line);
}
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-num {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(2.6rem, 8vw, 4rem); line-height: .9;
  color: transparent; -webkit-text-stroke: 1px rgba(46, 230, 214, .7);
  min-width: 2.2ch;
  transition: color .5s var(--ease-out);
}
.why-list li:hover .why-num { color: var(--accent); }
.why-list h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 3.4vw, 1.9rem); }
.why-list p { margin-top: .5rem; color: var(--ink-2); max-width: 34rem; }
.why-media { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; align-items: start; }
.ph--wide { aspect-ratio: 3 / 2; grid-column: 1 / -1; }
.ph--square { aspect-ratio: 1; grid-column: 2; margin-top: -3.5rem; border: 6px solid var(--bg); }
.fleet {
  margin-top: clamp(4rem, 9vw, 6rem);
  display: grid; gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 28px;
  background:
    radial-gradient(80% 90% at 0% 0%, rgba(59,169,255,.16), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--line);
}
.fleet > * { position: relative; z-index: 1; }
.fleet-title { margin-top: .9rem; font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 5vw, 3rem); }
.fleet-copy p:not(.eyebrow) { margin: 1rem 0 1.6rem; color: var(--ink-2); max-width: 32rem; }
.ph--fleet { aspect-ratio: 3 / 2; }

/* --- Testimonios --- */
.reviews { overflow: hidden; }
.reviews-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 25rem);
  gap: 1rem; overflow-x: auto; overflow-y: visible;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: .5rem var(--gutter) 1.5rem; margin-inline: calc(var(--gutter) * -1);
}
.reviews-track::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: center;
  display: flex; flex-direction: column; gap: 1.2rem;
  padding: 1.8rem; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--line);
  transition: transform .6s var(--ease-out), border-color .4s;
}
.review > * { position: relative; z-index: 1; }
.review .tbd { align-self: flex-start; }
.review:hover { transform: translateY(-6px) rotate(-.4deg); border-color: var(--line-2); }
.review blockquote p {
  font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 48, "SOFT" 100;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem); line-height: 1.35;
}
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: .8rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.review figcaption b { display: block; font-size: .95rem; }
.review figcaption small { color: var(--mute); font-size: .8rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--on-accent); background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.review--accent { background: linear-gradient(160deg, rgba(46,230,214,.14), rgba(59,169,255,.08)), var(--bg-3); border-color: rgba(46,230,214,.3); }

/* --- CTA cita --- */
.cta-card {
  position: relative; overflow: hidden; isolation: isolate;
  text-align: center;
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1.3rem, 5vw, 4rem);
  border-radius: 32px;
  background:
    radial-gradient(70% 90% at 50% 120%, rgba(46, 230, 214, .35), transparent 65%),
    radial-gradient(60% 60% at 100% 0%, rgba(59, 169, 255, .25), transparent 60%),
    var(--bg-3);
  border: 1px solid rgba(46, 230, 214, .25);
}
.cta-title { margin-top: 1rem; font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 7vw, 4.6rem); }
.steps { margin: 2.2rem auto; display: grid; gap: .8rem; max-width: 52rem; text-align: left; }
.steps li { display: flex; gap: .9rem; align-items: center; padding: .9rem 1.1rem; border-radius: 16px; background: rgba(10, 20, 32, .45); border: 1px solid var(--line); }
.steps b { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-weight: 500; color: var(--on-accent); background: var(--accent); }
.steps span { color: var(--ink-2); font-size: .95rem; }
.steps strong { color: var(--foam); }
.fine { margin-top: 1rem; font-size: .8rem; color: var(--mute); display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; align-items: center; }
.fine strong { color: var(--ink-2); }
.cta-bubbles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-bubbles i {
  position: absolute; bottom: -60px; border-radius: 50%;
  border: 1px solid rgba(232, 251, 255, .35);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.45), rgba(232,251,255,.05) 45%, transparent 70%);
  animation: bubble 12s linear infinite;
}
.cta-bubbles i:nth-child(1) { left: 8%;  width: 28px; height: 28px; animation-delay: -2s; }
.cta-bubbles i:nth-child(2) { left: 22%; width: 14px; height: 14px; animation-delay: -7s; animation-duration: 9s; }
.cta-bubbles i:nth-child(3) { left: 48%; width: 40px; height: 40px; animation-delay: -4s; animation-duration: 15s; }
.cta-bubbles i:nth-child(4) { left: 70%; width: 18px; height: 18px; animation-delay: -1s; animation-duration: 10s; }
.cta-bubbles i:nth-child(5) { left: 86%; width: 32px; height: 32px; animation-delay: -9s; animation-duration: 13s; }
.cta-bubbles i:nth-child(6) { left: 94%; width: 12px; height: 12px; animation-delay: -5s; animation-duration: 8s; }

/* --- Contacto --- */
.contact-grid { display: grid; gap: 1rem; }
.contact-cards { display: grid; gap: .8rem; }
.c-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 1.3rem; border-radius: 18px;
  background: var(--bg-2); border: 1px solid var(--line);
  transition: border-color .4s, transform .5s var(--ease-out);
}
.c-card > * { position: relative; z-index: 1; }
.c-card > svg:first-child { width: 26px; height: 26px; flex: none; color: var(--accent); }
.c-card span { display: grid; gap: .2rem; justify-items: start; }
.c-card small { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.c-card b { font-size: 1.1rem; font-weight: 700; }
.c-card em { font-style: normal; color: var(--ink-2); font-size: .9rem; }
.c-card--wa { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.c-card--wa > svg:first-child { color: var(--on-accent); width: 30px; height: 30px; }
.c-card--wa small { color: rgba(3, 32, 30, .65); }
.c-card--wa b { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; }
.c-card--wa em { color: rgba(3, 32, 30, .75); font-weight: 700; }
.c-card--wa .tbd { color: #5a3d00; background: rgba(255,255,255,.35); border-color: rgba(90,61,0,.5); }
.c-card .c-arrow { margin-left: auto; width: 24px; height: 24px; transition: transform .45s var(--ease-out); }
a.c-card:hover { transform: translateY(-3px); border-color: rgba(46,230,214,.35); }
a.c-card:hover .c-arrow { transform: translateX(5px); }
.map { aspect-ratio: 16 / 10; min-height: 320px; }
.map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.7) brightness(.95); }
.hours { display: grid; grid-template-columns: auto; gap: .1rem; margin-top: .15rem; }
.hours dt { font-size: .82rem; color: var(--ink-2); }
.hours dd { font-weight: 700; font-size: 1.02rem; margin-bottom: .35rem; }
.open-now { font-size: .8rem !important; font-weight: 700; color: #ff9a8a !important; }
.open-now.is-open { color: var(--accent) !important; }
.map-grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(232,251,255,.05) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(232,251,255,.05) 1px, transparent 1px) 0 0 / 44px 44px;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}
.map-pin { position: absolute; top: 22%; left: 50%; translate: -50% 0; width: 40px; height: 40px; color: var(--accent); filter: drop-shadow(0 0 16px rgba(46,230,214,.8)); animation: bob 3s var(--ease-soft) infinite; }
.map-pin svg { width: 100%; height: 100%; }
.map-btn { position: absolute; right: 1rem; bottom: 1rem; z-index: 2; }
.map::after { display: none; }

/* --- Footer --- */
.footer { padding: 4rem 0 7rem; border-top: 1px solid var(--line); overflow: hidden; }
.footer-word {
  font-weight: 800; letter-spacing: .04em; line-height: .85;
  font-size: clamp(3.4rem, 17vw, 15rem);
  text-align: center;
  color: transparent; -webkit-text-stroke: 1px rgba(232, 251, 255, .22);
  background: linear-gradient(100deg, transparent 40%, rgba(46,230,214,.55) 50%, transparent 60%) 0 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  animation: textSheen 9s var(--ease-soft) infinite;
  user-select: none;
}
.footer-row { margin-top: 2.5rem; display: grid; gap: 1rem; justify-items: center; text-align: center; font-size: .85rem; color: var(--mute); }
.footer-row nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.footer-row a:hover { color: var(--ink); }

/* --- Dock móvil --- */
.dock {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
  display: flex; gap: .6rem;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, rgba(10, 20, 32, .9) 35%);
  transform: translateY(110%);
  transition: transform .6s var(--ease-out);
}
.dock.is-visible { transform: none; }
html.is-locked .dock { transform: translateY(110%); }
.dock-main { flex: 1; min-height: 54px; }
.dock-wa {
  width: 54px; height: 54px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-3); border: 1px solid var(--line-2); color: var(--accent);
}
.dock-wa svg { width: 24px; height: 24px; }

/* --- Ventana de cita --- */
.booking {
  border: 0; padding: 0; background: transparent; color: var(--ink);
  width: 100%; max-width: 100%; height: 100%; max-height: 100%;
  margin: 0;
  overflow: visible;
}
.booking::backdrop { background: rgba(3, 8, 14, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.booking[open] { display: flex; align-items: flex-end; justify-content: center; }
.booking-sheet {
  position: relative;
  width: 100%; max-width: 640px;
  max-height: 94svh; overflow-y: auto; overscroll-behavior: contain;
  padding: 1.6rem var(--gutter) calc(1.6rem + env(safe-area-inset-bottom));
  border-radius: 26px 26px 0 0;
  background:
    radial-gradient(80% 40% at 100% 0%, rgba(46,230,214,.14), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--line-2); border-bottom: 0;
  box-shadow: 0 -30px 80px -20px rgba(0,0,0,.7);
  animation: sheetIn .55s var(--ease-out);
}
.booking.is-closing .booking-sheet { animation: sheetOut .35s var(--ease-soft) forwards; }
.booking-close {
  position: sticky; top: 0; float: right; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-3); border: 1px solid var(--line-2);
  display: grid; place-items: center;
}
.booking-close span { position: absolute; width: 16px; height: 2px; border-radius: 2px; background: var(--ink); rotate: 45deg; }
.booking-close span + span { rotate: -45deg; }
.booking-head h2 { margin-top: .7rem; font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 6vw, 2.5rem); padding-right: 3rem; }
.booking-warn {
  margin-top: 1rem; display: flex; gap: .8rem; align-items: flex-start;
  padding: .9rem 1rem; border-radius: 14px;
  background: rgba(46, 230, 214, .08); border: 1px solid rgba(46, 230, 214, .3);
  font-size: .88rem; color: var(--ink-2);
}
.booking-warn svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: .1rem; }
.booking-warn strong { color: var(--foam); }
.booking-form { margin-top: 1.4rem; display: grid; gap: 1.2rem; }
.field { display: grid; gap: .5rem; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: .9rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .1rem; }
.field legend small { font-weight: 500; color: var(--mute); }
.field-row { display: grid; gap: 1.2rem; }
.field input[type="text"], .field input[type="tel"], .field input[type="date"], .select select {
  width: 100%; min-height: 52px; padding: .8rem 1rem;
  border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(10, 20, 32, .6); color: var(--ink);
  font-size: 1rem;              /* ≥16px: evita zoom en iOS */
  transition: border-color .3s, box-shadow .3s;
  color-scheme: dark;
}
.field input::placeholder { color: var(--mute); }
.field input:focus, .select select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(46,230,214,.15); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; }
.select select option, .select select optgroup { background: var(--bg-2); color: var(--ink); }
.select::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); translate: 0 -70%; rotate: 45deg; pointer-events: none; }
.cars { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.car-opt, .chip { position: relative; }
.car-opt { display: block; }
.car-opt span { height: 100%; }
.car-opt input, .chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.car-opt span {
  display: grid; justify-items: center; gap: .4rem;
  padding: .9rem .4rem .8rem; border-radius: 16px;
  border: 1px solid var(--line-2); background: rgba(10, 20, 32, .5);
  font-weight: 700; font-size: .85rem; text-align: center;
  transition: border-color .3s, background .3s, color .3s, transform .4s var(--ease-bounce);
}
.car-opt svg { width: 58px; height: 30px; color: var(--ink-2); transition: color .3s, transform .5s var(--ease-out); }
.car-opt input:checked + span { border-color: var(--accent); background: rgba(46,230,214,.12); color: var(--foam); }
.car-opt input:checked + span svg { color: var(--accent); transform: translateX(4px); }
.car-opt input:focus-visible + span, .chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.car-opt input:active + span, .chip input:active + span { transform: scale(.96); }
.slots { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: .55rem 1rem;
  border-radius: 99px; border: 1px solid var(--line-2); background: rgba(10,20,32,.5);
  font-weight: 600; font-size: .88rem;
  transition: border-color .3s, background .3s, color .3s, transform .4s var(--ease-bounce);
}
.chip input:checked + span { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.hint { font-size: .8rem; color: var(--mute); }
.hint:empty, .err:empty { display: none; }
.err { font-size: .8rem; color: #ff8a8a; font-weight: 600; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid .car-opt span { border-color: #ff8a8a; }
.booking-form .fine { justify-content: flex-start; margin-top: 0; }
.booking-done { display: grid; justify-items: center; text-align: center; gap: 1rem; padding: 2rem 0 1rem; }
.booking-done[hidden], .booking-form[hidden] { display: none; }
.booking-done h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; }
.booking-done p { color: var(--ink-2); max-width: 26rem; }
.booking-done strong { color: var(--foam); }
.done-drop svg { width: 84px; height: 84px; }
.done-drop circle { fill: rgba(46,230,214,.12); stroke: var(--accent); stroke-width: 2; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .9s var(--ease-out) forwards; }
.done-drop path { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .5s var(--ease-out) forwards; }

/* =============================================================
   7. Effects
   ============================================================= */
/* Reveals: solo se ocultan si hay JS (html.js) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js:not(.is-ready) [data-reveal] { animation: revealSafety .6s 4s forwards; }   /* si el JS falla */
@keyframes revealSafety { to { opacity: 1; transform: none; } }
.site-header.menu-open { background: rgba(8, 16, 26, .97); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
.split-word { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 60ms + .15s); }
.is-split.is-in .split-word > span { transform: none; }
[data-parallax] { will-change: transform; }

@keyframes sheen { 0% { transform: translateX(-60%); } 55%, 100% { transform: translateX(60%); } }
@keyframes textSheen { 0% { background-position: 100% 0; } 60%, 100% { background-position: 0% 0; } }
@keyframes meshDrift { 0% { transform: translate3d(0,0,0) scale(1); } 100% { transform: translate3d(-4%, 3%, 0) scale(1.12); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46,230,214,.6); } 70% { box-shadow: 0 0 0 12px rgba(46,230,214,0); } 100% { box-shadow: 0 0 0 0 rgba(46,230,214,0); } }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes ripple { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
@keyframes bubble { 0% { transform: translateY(0) translateX(0); opacity: 0; } 10% { opacity: 1; } 50% { transform: translateY(-260px) translateX(14px); } 100% { transform: translateY(-560px) translateX(-10px); opacity: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes menuIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheetIn { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheetOut { to { transform: translateY(100%); opacity: .4; } }
@keyframes sheetInDesk { from { transform: translateY(24px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sheetOutDesk { to { transform: translateY(16px) scale(.98); opacity: 0; } }

/* =============================================================
   8. Responsive (mobile-first)
   ============================================================= */
@media (max-width: 539px) {
  .ba-slot { font-size: .58rem; bottom: .8rem; }
  .ba-slot-k { display: none; }
  .ba-handle { width: 52px; height: 52px; }
  .ba-slot--before { left: .8rem; } .ba-slot--after { right: .8rem; }
  .ba-tag { top: .8rem; font-size: .66rem; }
  .ba-tag--before { left: .8rem; } .ba-tag--after { right: .8rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  body { padding-bottom: 0; }
}

@media (min-width: 540px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .ba-provisional { display: block; }
  .reviews-track { grid-auto-columns: min(70%, 25rem); }
}

@media (min-width: 720px) {
  .ba { aspect-ratio: 16 / 10; }
  .ph--hero { aspect-ratio: 4 / 5; }
  .hero-hint { display: block; }
  .carta-list { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .c-card--wa { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { flex-direction: column; align-items: flex-start; }
  .fleet { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .booking[open] { align-items: center; padding: 1.5rem; }
  .booking-sheet { border-radius: 28px; border-bottom: 1px solid var(--line-2); max-height: 92vh; padding: 2.2rem 2.4rem; animation-name: sheetInDesk; }
  .booking.is-closing .booking-sheet { animation-name: sheetOutDesk; }
}

@media (min-width: 960px) {
  :root { --header-h: 108px; }
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .burger, .mobile-menu { display: none !important; }
  .dock { display: none; }
  .hero-inner { grid-template-columns: repeat(12, 1fr); align-items: center; }
  .hero-copy { grid-column: 1 / span 7; }
  .hero-figure { grid-column: 8 / span 5; margin-left: -3rem; }
  .hero-title { max-width: 12ch; }
  .services-grid { grid-template-columns: 4fr 8fr; gap: 3rem; align-items: start; }
  .services-head { position: sticky; top: 130px; }
  .packs { grid-template-columns: 1fr 1fr; }
  .pack--premium { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
  .pack--premium .pack-top, .pack--premium .pack-name, .pack--premium .pack-tag { grid-column: 1; }
  .pack--premium .pack-list { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .pack--premium .pack-foot { grid-column: 1 / -1; }
  .carta { grid-template-columns: 4fr 8fr; gap: 3rem; }
  .why-grid { grid-template-columns: 7fr 5fr; column-gap: 4rem; align-items: start; }
  .why-head { grid-column: 1 / -1; }
  .why-list { grid-column: 1; }
  .why-media { grid-column: 2; grid-row: 2; margin-top: 2rem; }
  .why-list li { grid-template-columns: 6.5rem 1fr; gap: 1.5rem; padding: 2rem 0; }
  .reviews-track { grid-auto-flow: initial; grid-template-columns: repeat(3, 1fr); overflow: visible; padding-inline: 0; margin-inline: 0; }
  .review--accent { transform: translateY(2.5rem); }
  .review--accent:hover { transform: translateY(calc(2.5rem - 6px)) rotate(-.4deg); }
  .reviews { padding-bottom: calc(var(--section-y) + 2.5rem); }
  .contact-grid { grid-template-columns: 5fr 7fr; align-items: stretch; }
  .contact-cards { grid-template-columns: 1fr; }
  .map { aspect-ratio: auto; height: 100%; }
  .footer { padding-bottom: 4rem; }
  .footer-row { grid-template-columns: 1fr auto 1fr; text-align: left; }
  .footer-row > p:last-child { justify-self: end; }
  .footer-row > p:first-child { justify-self: start; }
}

@media (min-width: 1280px) {
  .hero-title { font-size: 7rem; }
}

/* =============================================================
   9. Reduced motion — solo efectos intrusivos
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-mesh { animation: none; }
  .cta-bubbles { display: none; }
  .ticker-track { animation-duration: 120s; }
  [data-parallax] { transform: none !important; }
}
