/* =========================================================
   Bookea — landing
   Dirección: "El producto actúa" (tasteskill, semilla 1810978483)
   Base neutra y seria (Stripe), bloques de color vivos (Figma),
   producto funcionando en pantalla (Trello). Colores fijos de la marca.
   ========================================================= */
:root {
  /* Color: base neutra + los cuatro de la camiseta */
  --ground: #ffffff;
  /* Neutros: una sola familia para el sitio, las reservas y el panel (gris con un paso hacia el verde agua) */
  --raised: #eef3f1;
  --raised-2: #e2eae7;
  --fondo-app: #f4f7f6;   /* fondo de las pantallas de app: reservas y panel */
  --ui-line: #e1e8e6;     /* bordes de cajas y reglas */
  --control: #c5d0cd;     /* borde de campos y botones secundarios */
  --ink: #11151c;
  --ink-2: #262d39;
  --soft: #4b5260;
  --faint: #8b919c;
  --orange: #e4572e;
  --orange-strong: #cc4520;
  --orange-ink: #9c3412;  /* texto de error y alerta */
  --teal: #1fa08c;
  --teal-deep: #0f5e52;   /* verde agua para texto */
  --teal-200: #b5e0d6;
  --teal-tint: #dcf0eb;
  --teal-pale: #eef7f5;
  --cream: #f5ecd7;

  /* Tipo: la marca. Display con carácter, texto de interfaz */
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;  /* títulos: ancho 112 %, peso 600 */
  --f-text: "Archivo", "Helvetica Neue", Arial, sans-serif;     /* texto: ancho normal */
  --display-ancho: 112%;
  /* Cinco medidas, nada más */
  --s-xl: clamp(46px, 5.8vw, 88px);
  --s-l: clamp(26px, 2.5vw, 36px);
  --s-m: clamp(19px, 1.5vw, 22px);
  --s-b: 17px;
  --s-s: 15px;

  /* Espacio y forma */
  --margin: clamp(16px, 2.8vw, 40px);
  --gap: clamp(16px, 1.8vw, 24px);
  --section: clamp(112px, 13vw, 200px);
  --r: 6px;

  /* Movimiento */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-rebote: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: var(--s-b);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--f-display); font-stretch: var(--display-ancho); font-weight: 600; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--orange); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--ground); padding: 10px 14px; border-radius: var(--r); }
.skip:focus { left: 8px; }

.frame {
  padding-left: max(var(--margin), env(safe-area-inset-left, 0px));
  padding-right: max(var(--margin), env(safe-area-inset-right, 0px));
}

/* ---------- Botones ----------
   Uno solo para el sitio, las reservas y el panel. El principal es noche; al pasar el cursor,
   el verde agua barre de izquierda a derecha (el mismo barrido del logo y del menú). */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; border-radius: var(--r); border: 0;
  font-size: var(--s-s); font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, border-color var(--t-hover) ease, color 220ms ease;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }
.btn--lg { padding: 16px 24px; font-size: var(--s-b); }
.btn--block { width: 100%; }
.btn--ink { background: var(--ink); color: var(--ground); }
.btn--ink::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--teal);
  clip-path: inset(0 100% 0 0); transition: clip-path 380ms var(--ease-out);
}
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--line { background: var(--ground); color: var(--ink); border: 1px solid var(--control); } /* taste-skill-ignore: botón secundario */
/* Botón chico secundario ("Copiar", "Cambiar") */
.mini, .call__copy {
  flex: none; min-height: 36px; padding: 0 12px; border: 1px solid var(--control); border-radius: var(--r); /* taste-skill-ignore: botón secundario */
  background: var(--ground); color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: background-color var(--t-hover) ease, border-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.mini:active, .call__copy:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) {
  .btn--ink:hover, .btn--ink:active { color: var(--ink); }
  .btn--ink:hover::before { clip-path: inset(0 0 0 0); }
  .btn--ink:active::before { clip-path: inset(0 0 0 0); transition-duration: 160ms; }
  .btn--ink:disabled { color: var(--ground); }
  .btn--ink:disabled::before { clip-path: inset(0 100% 0 0); }
  .btn--orange:hover { background: var(--orange-strong); }
  .btn--line:hover, .mini:hover, .call__copy:hover { background: var(--teal-pale); border-color: var(--teal-200); }
}
/* Pantallas táctiles (clases que pone toque.js): sin barrido. Al tocar, el botón se aprieta; al soltar
   se agranda un poco, se levanta, y el verde agua queda un momento antes de apagarse despacio. */
@media (hover: none), (pointer: coarse) {
  .btn--ink::before { clip-path: none; opacity: 0; transition: opacity 360ms ease; }
  .btn:active, .mini:active, .call__copy:active { transform: none; }
  :is(.btn, .mini, .call__copy, .rubro, .hora) {
    transition: scale 320ms var(--ease-rebote), translate 320ms var(--ease-rebote), background-color 360ms ease, border-color 360ms ease, color 360ms ease;
  }
  :is(.btn, .mini, .call__copy, .rubro, .hora).is-apreta { scale: 0.95; transition-duration: 90ms, 90ms, 60ms, 60ms, 60ms; }
  :is(.btn, .mini, .call__copy, .rubro, .hora).is-suelta { scale: 1.06; translate: 0 -2px; }
  /* los anchos (un botón de lado a lado, una foto) se mueven menos: si no, se salen de su caja */
  :is(.btn--block, .btn--lg, .rubro).is-apreta { scale: 0.98; }
  :is(.btn--block, .btn--lg).is-suelta { scale: 1.02; }
  .rubro.is-suelta { scale: 1.04; translate: none; }
  .btn--ink:is(.is-apreta, .is-suelta) { color: var(--ink); }
  .btn--ink:is(.is-apreta, .is-suelta)::before { opacity: 1; transition-duration: 60ms; }
  :is(.btn--line, .mini, .call__copy):is(.is-apreta, .is-suelta) { background: var(--teal-tint); border-color: var(--teal-200); }
  .btn--orange:is(.is-apreta, .is-suelta) { background: var(--orange-strong); }
}
@media (prefers-reduced-motion: reduce) {
  :is(.btn, .mini, .call__copy, .rubro, .hora):is(.is-apreta, .is-suelta) { scale: none; translate: none; }
}

/* ---------- Banda superior: mosaico + navegación ---------- */
.banda { position: relative; height: clamp(260px, 38svh, 440px); background: var(--ink); }
.mosaico {
  position: absolute; inset: 0; overflow: hidden;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: 1fr 1fr;
}
.mosaico > * { position: relative; display: block; min-width: 0; min-height: 0; overflow: hidden; }
.m-foto img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.m-canchas { grid-column: 1 / 3; grid-row: 1; }
.m-va { grid-column: 3; grid-row: 1 / 3; }
.m-peine { grid-column: 4; grid-row: 1; }
.m-vb { grid-column: 5; grid-row: 1; }
.m-tenis { grid-column: 6; grid-row: 1; }
.m-vc { grid-column: 1; grid-row: 2; }
.m-futbol { grid-column: 2; grid-row: 2; }
.m-vd { grid-column: 4; grid-row: 2; }
.m-barbero { grid-column: 5; grid-row: 2; }
.m-paletas { grid-column: 6; grid-row: 2; }
.m-tenis img { object-position: 30% 60%; }
.m-paletas img { object-position: 50% 50%; }

/* Vidrio: donde antes había bloques de color, la foto de al lado vista a través de un vidrio esmerilado.
   Al pasar el cursor, cada bloque (vidrio o foto) se tiñe del verde agua de la marca. */
.m-vidrio img {
  position: absolute; inset: -32px; width: calc(100% + 64px); height: calc(100% + 64px);
  object-fit: cover; filter: grayscale(1) blur(18px) brightness(1.15);
}
.mosaico > *::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  transition: background-color 280ms ease, box-shadow 280ms ease;
}
.m-vidrio::after {
  background: rgba(245, 247, 250, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.34); /* taste-skill-ignore: canto del vidrio, pedido del dueño */
}
.m-foto::after { background: rgba(31, 160, 140, 0); mix-blend-mode: color; }
@media (hover: hover) and (pointer: fine) {
  .m-vidrio:hover::after { background: rgba(31, 160, 140, 0.62); box-shadow: inset 0 0 0 1px rgba(31, 160, 140, 0.9); } /* taste-skill-ignore: canto del vidrio */
  .m-foto:hover::after { background: rgba(31, 160, 140, 1); }
}

/* ---------- Navegación ---------- */
.nav {
  position: absolute; inset: 0 0 auto; z-index: 2;
  display: flex; align-items: center; gap: 32px;
  min-height: 72px; padding-top: env(safe-area-inset-top, 0px);
  background: rgba(17, 21, 28, 0.62); color: var(--ground); /* velo neutro para leer sobre las fotos */
}
/* En la banda, la barra es de vidrio: deja ver el mosaico borroso y los botones son vidrio que se pone verde */
.banda .nav {
  background: rgba(17, 21, 28, 0.34);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.14); /* taste-skill-ignore: canto del vidrio */
}
.nav .btn--ink.nav__cta {
  background: rgba(255, 255, 255, 0.12); color: var(--ground);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3); /* taste-skill-ignore: canto del vidrio */
  transition: opacity 600ms var(--ease-out), transform var(--t-press) var(--ease-out), color 260ms ease, box-shadow 260ms ease;
}
/* Al pasar el cursor (o al tocarlo en el celular), un fondo verde agua barre desde el logo hacia la palabra,
   la B se inclina con un rebote y la palabra pasa a noche. Al apretar, todo se achica un poco.
   El relleno y el margen negativo dejan el logo en el mismo lugar que antes. */
.brand {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  padding: 6px 12px 6px 6px; margin-left: -6px; border-radius: 10px;
}
.brand::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 10px; background: var(--teal);
  clip-path: inset(0 100% 0 0 round 10px);
  transition: clip-path 380ms var(--ease-out);
}
.brand__mark { width: 32px; height: 32px; transition: transform 460ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.brand__word { transition: color 260ms ease; }
.brand:active { scale: 0.96; }
@media (hover: hover) and (pointer: fine) {
  .brand:hover::before { clip-path: inset(0 0 0 0 round 10px); }
  .brand:hover .brand__mark { transform: rotate(-8deg) scale(1.08); }
  .brand:hover .brand__word { color: var(--ink); }
}
@media (hover: hover) and (pointer: fine) {
  .brand:active::before { clip-path: inset(0 0 0 0 round 10px); transition-duration: 200ms; }
  .brand:active .brand__mark { transform: rotate(-8deg) scale(1.08); }
  .brand:active .brand__word { color: var(--ink); }
}
.brand { transition: scale var(--t-press) var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
  .brand::before, .nav__links a::before, .nav .nav__cta::before { transition: none; }
  .brand__mark { transition: none; }
  .brand:hover .brand__mark, .brand:active .brand__mark { transform: none; }
}
.brand__word { font-family: var(--f-display); font-stretch: var(--display-ancho); font-weight: 600; font-size: var(--s-m); letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a {
  font-size: var(--s-s); text-decoration: none; border-radius: var(--r);
  padding: 10px 14px; /* área de toque de 24px o más */
  transition: color 260ms ease;
}
/* Links y "Sumá tu negocio": el verde agua barre de izquierda a derecha, como en el logo */
.nav__links a, .nav .nav__cta { position: relative; isolation: isolate; }
.nav__links a::before, .nav .nav__cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--r); background: var(--teal);
  clip-path: inset(0 100% 0 0 round var(--r));
  transition: clip-path 380ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover, .nav .btn--ink.nav__cta:hover { color: var(--ink); }
  .nav__links a:hover::before, .nav .nav__cta:hover::before { clip-path: inset(0 0 0 0 round var(--r)); }
  .nav .btn--ink.nav__cta:hover { box-shadow: inset 0 0 0 1px var(--teal); } /* taste-skill-ignore: canto del vidrio */
}
@media (hover: hover) and (pointer: fine) {
  .nav__links a:active, .nav .btn--ink.nav__cta:active { color: var(--ink); }
  .nav__links a:active::before, .nav .nav__cta:active::before { clip-path: inset(0 0 0 0 round var(--r)); transition-duration: 200ms; }
}
/* Pantallas táctiles (pedido del dueño): el barrido no llegaba a completarse antes de cambiar de página.
   Al tocar (clases que pone script.js): se aprieta, al soltar se agranda un poco y se levanta,
   y el verde agua queda un momento antes de apagarse despacio. Sin barrido. */
@media (hover: none), (pointer: coarse) {
  .brand::before, .nav__links a::before, .nav .nav__cta::before {
    clip-path: none; opacity: 0; transition: opacity 360ms ease;
  }
  .js.nav-lista .nav > *, .nav__links a {
    transition: opacity 600ms var(--ease-out), translate 320ms var(--ease-rebote), scale 320ms var(--ease-rebote), color 360ms ease, box-shadow 360ms ease;
  }
  .brand:active { scale: 1; }
  :is(.brand, .nav__links a, .nav .nav__cta):is(.is-apreta, .is-suelta) { color: var(--ink); }
  :is(.brand, .nav__links a, .nav .nav__cta):is(.is-apreta, .is-suelta)::before { opacity: 1; transition-duration: 60ms; }
  :is(.brand, .nav__links a, .nav .nav__cta).is-apreta { scale: 0.94; transition-duration: 600ms, 90ms, 90ms, 60ms, 60ms; }
  :is(.brand, .nav__links a, .nav .nav__cta).is-suelta { scale: 1.07; translate: 0 -2px; }
  .brand:is(.is-apreta, .is-suelta) .brand__word { color: var(--ink); }
  .nav .btn--ink.nav__cta:is(.is-apreta, .is-suelta) { box-shadow: inset 0 0 0 1px var(--teal); } /* taste-skill-ignore: canto del vidrio */
}
@media (prefers-reduced-motion: reduce) {
  :is(.brand, .nav__links a, .nav .nav__cta):is(.is-apreta, .is-suelta) { scale: none; translate: none; }
}

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: min-content 1fr; column-gap: var(--gap);
  padding-top: clamp(40px, 6vh, 80px);
}
.hero__title {
  grid-column: 1 / 7; grid-row: 1;
  font-size: var(--s-xl); line-height: 0.98; letter-spacing: -0.03em; max-width: 9.5em;
}
.hero__copy { grid-column: 1 / 7; grid-row: 2; padding-top: 24px; padding-bottom: 48px; display: grid; gap: 24px; align-content: start; justify-items: stretch; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hero__title .w > span { display: inline-block; }
/* la B de Bookea es la B del isotipo, del alto de las mayúsculas y apoyada en la línea de base */
.hero__title .marca-b { display: inline-block; height: 0.69em; width: calc(0.69em * 487 / 640); vertical-align: baseline; margin-left: 0.04em; margin-right: 0.015em; }
.hero__lead { font-size: var(--s-b); max-width: 44ch; }

.stage {
  --cx: clamp(72px, 14vw, 220px);
  --cy: clamp(28px, 4.6vw, 76px);
  grid-column: 7 / -1; grid-row: 1 / span 2; align-self: start; /* el buscador, a la altura del título */
  margin-top: 0;
  margin-right: calc(-1 * max(var(--margin), env(safe-area-inset-right, 0px)));
  background: var(--orange);
  clip-path: polygon(var(--cx) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cy));
  min-height: clamp(460px, 54vh, 580px);
  overflow: hidden;
}
.stage__inner {
  display: flex; align-items: flex-start; gap: 24px;
  padding: calc(var(--cy) + 12px) clamp(16px, 3.4vw, 48px) clamp(28px, 3.4vw, 48px);
}

/* Buscador de turnos (pieza de interfaz), en dos pasos:
   1) qué: una foto por rubro   2) dónde y cuándo, con el rubro elegido arriba y "Cambiar" */
.finder {
  container-type: inline-size;
  width: min(600px, 100%); background: var(--ground); border-radius: var(--r);
  padding: clamp(18px, 2vw, 28px);
}
.finder__paso { display: grid; gap: 14px; }
.js .finder[data-paso="1"] #finder-2, .js .finder[data-paso="2"] #finder-1 { display: none; }
html:not(.js) .finder { display: grid; gap: 28px; }
html:not(.js) .elegido { display: none; }
.finder__title { font-size: var(--s-m); letter-spacing: -0.01em; }
.finder__note { font-size: 14px; color: var(--soft); }

/* Rubros con foto: en el buscador del inicio y al entrar a la página de reservas.
   Las fotos van en blanco y negro, como las del mosaico de arriba, y al pasar el cursor hacen lo mismo que ellas:
   se tiñen de verde agua (mix-blend-mode: color). Además la tarjeta entera se agranda un poco. */
.rubros { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rubro {
  position: relative; display: grid; grid-template-rows: auto auto; width: 100%; padding: 0; border: 0; text-align: left;
  border-radius: var(--r); overflow: hidden; background: var(--raised); color: var(--ink);
  transition: scale 320ms var(--ease-rebote), translate 320ms var(--ease-rebote);
}
.rubro__foto, .elegido__foto { position: relative; display: block; overflow: hidden; background: var(--raised-2); }
.rubro__foto { aspect-ratio: 3 / 4; }
.rubro__foto img, .elegido__foto img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); }
/* en las tarjetas apaisadas (celular, reservas) que no se corten las caras */
img[src*="r-barberia."] { object-position: 50% 0%; }
img[src*="r-padel."] { object-position: 50% 30%; }
.rubro__foto::after, .elegido__foto::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: rgba(31, 160, 140, 0); mix-blend-mode: color; transition: background-color 280ms ease;
}
.rubro__n {
  position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 44px; padding: 0 12px; font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: color 260ms ease;
}
.rubro__n::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--teal);
  clip-path: inset(0 100% 0 0); transition: clip-path 380ms var(--ease-out);
}
.rubro__n::after { content: "→"; color: var(--orange-strong); transition: transform var(--t-ui) var(--ease-out), color 260ms ease; }
.rubro:focus-visible { outline-offset: 2px; }
.rubro:focus-visible .rubro__foto::after { background: rgba(31, 160, 140, 1); }
@media (hover: hover) and (pointer: fine) {
  .rubro:hover { scale: 1.04; z-index: 1; }
  .rubro:hover .rubro__foto::after { background: rgba(31, 160, 140, 1); }
  .rubro:hover .rubro__n::before { clip-path: inset(0 0 0 0); }
  .rubro:hover .rubro__n::after { transform: translateX(3px); color: var(--ink); }
  .rubro:active { scale: 1; transition-duration: 120ms; }
}
@media (hover: none), (pointer: coarse) {
  .rubro__n::before { clip-path: none; opacity: 0; transition: opacity 360ms ease; }
  .rubro:is(.is-apreta, .is-suelta) { z-index: 1; }
  .rubro:is(.is-apreta, .is-suelta) .rubro__foto::after { background: rgba(31, 160, 140, 1); transition-duration: 60ms; }
  .rubro:is(.is-apreta, .is-suelta) .rubro__n::before { opacity: 1; transition-duration: 60ms; }
  .rubro:is(.is-apreta, .is-suelta) .rubro__n::after { color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) { .rubro:hover { scale: none; } }
/* con poco ancho, los cuatro siguen en fila pero sin flecha (en el celular van de a dos: ver "Teléfono") */
@container (max-width: 520px) {
  .rubro__n { font-size: 14px; padding: 0 10px; min-height: 40px; }
  .rubro__n::after { content: none; }
}
@container (max-width: 400px) {
  .rubros { gap: 6px; }
  .rubro__n { font-size: 13px; padding: 0 8px; }
}

/* El rubro ya elegido: foto chica, nombre y "Cambiar" */
.elegido { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.elegido__foto { flex: none; width: 64px; height: 64px; border-radius: var(--r); }
.elegido__foto::after { background: rgba(31, 160, 140, 1); } /* el elegido queda teñido, como una foto del mosaico con el cursor encima */
.elegido__txt { display: grid; gap: 2px; min-width: 0; }
.elegido__k { font-size: 13px; color: var(--soft); }
.elegido__n {
  font-family: var(--f-display); font-stretch: var(--display-ancho); font-size: var(--s-m); font-weight: 600;
  letter-spacing: -0.01em; line-height: 1.15; outline: none;
}
.finder__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.finder__row .ff:first-child { grid-column: 1 / -1; }

/* ---------- Campos: un solo estilo en el sitio, las reservas y el panel ---------- */
.ff, .field { display: grid; gap: 6px; min-width: 0; }
.ff label, .field label { font-size: 14px; font-weight: 600; }
.ff select, .field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 0 14px; font-size: 16px; color: var(--ink);
  background-color: var(--ground); border: 1px solid var(--control); border-radius: var(--r); /* taste-skill-ignore: campo de formulario */
  transition: border-color var(--t-ui) ease, box-shadow var(--t-ui) ease;
}
.ff select:focus, .field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); /* taste-skill-ignore: foco de campo */
}
.field ::placeholder { color: #747b87; opacity: 1; }
/* la flecha de los desplegables, la misma en todos lados (la del sistema cambia en cada navegador) */
select {
  -webkit-appearance: none; appearance: none; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5260' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px 16px;
}
.ff select, .field select { padding-right: 38px; }
.field .is-invalid { border-color: var(--orange); }
.field__help { font-size: 13px; color: var(--soft); }
.field__err { font-size: 14px; color: var(--orange-ink); font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form__note { font-size: 14px; color: var(--soft); }
.form__msg { font-size: 14px; min-height: 1.5em; }
.form__msg:empty { display: none; }
.form__msg.ok { color: var(--teal-deep); }
.form__msg.err { color: var(--orange-ink); }

.preguntas { display: grid; gap: 6px; max-width: 34em; }
.preguntas a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: center;
  padding: 12px 14px; margin-inline: -14px; border-radius: var(--r); text-decoration: none;
  transition: background-color var(--t-hover) ease;
}
.preguntas a::after {
  content: "→"; grid-column: 2; grid-row: 1 / span 2; font-size: var(--s-m); color: var(--orange-strong);
  transition: transform var(--t-ui) var(--ease-out);
}
.pq { font-family: var(--f-display); font-stretch: var(--display-ancho); font-size: var(--s-m); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.pr { font-size: var(--s-s); color: var(--soft); line-height: 1.45; }
@media (hover: hover) and (pointer: fine) {
  .preguntas a:hover { background: var(--raised); }
  .preguntas a:hover::after { transform: translateX(4px); }
}
/* ---------- Planteo ---------- */
/* Franja a todo el ancho: una cancha vacía de fondo, velo noche y la frase centrada en crema */
.intro {
  position: relative; overflow: hidden; background: var(--ink); color: var(--cream);
  min-height: clamp(380px, 56vh, 600px); display: grid; align-items: center;
}
.intro__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.intro::after { content: ""; position: absolute; inset: 0; background: rgba(17, 21, 28, 0.62); } /* velo para leer la frase */
.intro__in { position: relative; z-index: 1; display: grid; justify-items: center; padding-block: clamp(88px, 10vw, 140px); }
.intro__title {
  font-size: var(--s-xl); line-height: 1.02; letter-spacing: -0.03em; text-align: center;
  max-width: 16ch; text-wrap: balance;
}

/* ---------- Cómo funciona ---------- */
.how { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-top: clamp(80px, 9vw, 128px); } /* aire después de la foto; el de abajo lo pone la sección siguiente */
.h-sec { font-size: var(--s-l); letter-spacing: -0.02em; line-height: 1.1; }
.how__head { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; margin-bottom: 40px; }
.how__head .h-sec { grid-column: 1 / 6; }
.how__sub { grid-column: 7 / -1; font-size: var(--s-b); color: var(--soft); max-width: 46ch; }
/* Los tres pasos son cuadros lado a lado, en crema suave: se distinguen de las tarjetas grises de Funciones.
   Número, título y explicación arriba; la pantalla de ejemplo justo debajo. */
.how__list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ex {
  background: var(--cream); border-radius: var(--r); padding: clamp(24px, 2.4vw, 32px);
  display: flex; flex-direction: column; gap: 28px;
}
.ex__txt { display: grid; gap: 12px; justify-items: start; }
.ex__demo { display: grid; gap: 12px; }
/* el resultado del paso 3, compacto para que los tres cuadros queden parejos */
.ex--final .result__col { padding: 14px 16px; gap: 6px; }
.ex--final .result__v { font-size: var(--s-m); }
.ex .resp { margin-left: 24px; }
.ex .resp--chat { background: #ebe3d0; }
.ex__n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--ground); font-weight: 600; font-size: var(--s-b); font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}
.ex:first-child .ex__n { background: var(--teal); color: var(--ink); }
.ex--final .ex__n { background: var(--orange); color: var(--ink); }
.ex__say { font-family: var(--f-display); font-stretch: var(--display-ancho); font-size: clamp(22px, 2vw, 30px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.ex__exp { font-size: var(--s-b); line-height: 1.55; color: var(--soft); max-width: 38ch; }
.call {
  background: var(--ground); border-radius: var(--r); padding: 18px 20px;
  display: grid; gap: 6px; font-size: 15px;
}
.call__label { font-size: 13px; color: var(--soft); }
.call__input { border: 0; background: transparent; padding: 0; font-size: 16px; font-weight: 500; width: 100%; outline-offset: 6px; }
.call__row { display: flex; gap: 12px; align-items: center; }
.call__picked { font-weight: 500; font-size: 16px; font-variant-numeric: tabular-nums; }
.resp {
  margin-left: 40px; background: var(--ground); border: 1px solid var(--ui-line); border-radius: var(--r); /* taste-skill-ignore: borde o sombra de una pieza de interfaz (data-ui) */
  padding: 16px; display: grid; gap: 12px; font-size: 14px;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: var(--raised); border-radius: 4px; padding: 4px 10px; font-size: 13px; font-weight: 500; }
.mini-table { border-collapse: collapse; width: 100%; font-size: 14px; font-variant-numeric: tabular-nums; }
.mini-table th { text-align: left; font-weight: 500; padding: 8px 0; border-top: 1px solid var(--ui-line); } /* taste-skill-ignore: borde o sombra de una pieza de interfaz (data-ui) */
.mini-table td { text-align: right; padding: 8px 0 8px 12px; border-top: 1px solid var(--ui-line); } /* taste-skill-ignore: borde o sombra de una pieza de interfaz (data-ui) */
.mini-table td:last-child { color: var(--soft); }
.resp--chat { background: #efeae2; border-color: transparent; }
.msg { max-width: 82%; padding: 8px 12px; border-radius: 10px; font-size: 14px; }
.msg--in { background: var(--ground); justify-self: start; border-top-left-radius: 2px; }
.msg--out { background: #d6f1e8; justify-self: end; border-top-right-radius: 2px; }
.ex--final .result {
  width: 100%;
  background: var(--ink); color: var(--ground); border-radius: var(--r);
  display: grid; grid-template-columns: 1fr; gap: 1px; overflow: hidden; /* apilado dentro del cuadro; en tablet, en tres columnas */
}
.result__col { padding: 20px; display: grid; gap: 8px; align-content: start; background: var(--ink); }
.result__col + .result__col { background: var(--ink-2); }
.result__k { font-size: 13px; color: #aeb4be; }
.result__v { font-family: var(--f-display); font-stretch: var(--display-ancho); font-size: var(--s-l); font-weight: 600; font-variant-numeric: tabular-nums; }
.result__msg { font-size: 15px; background: #23493f; border-radius: 4px 10px 10px 10px; padding: 8px 10px; }
.result__slot { font-size: 15px; background: var(--teal); color: var(--ink); border-radius: 4px; padding: 8px 10px; }
.result__s { font-size: 13px; color: #c9ced6; display: flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot--ok { background: var(--teal); }

/* ---------- Funciones ---------- */
.features { padding-block: var(--section); }
.features__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; margin-bottom: 40px; }
.features__head .h-sec { grid-column: 1 / 6; }
.features__sub { grid-column: 7 / -1; font-size: var(--s-b); color: var(--soft); max-width: 46ch; }
/* Todas las tarjetas iguales: título y texto arriba, el ejemplo entero abajo, mismo alto por fila */
.cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cell {
  background: var(--raised); border-radius: var(--r); padding: 28px;
  display: flex; flex-direction: column; gap: 24px;
  transition: background-color var(--t-hover) ease;
}
@media (hover: hover) and (pointer: fine) { .cell:hover { background: var(--raised-2); } }
.cell__text { display: grid; gap: 8px; }
.cell__text h3 { font-size: var(--s-m); letter-spacing: -0.01em; line-height: 1.2; }
.cell__text p { font-size: var(--s-b); max-width: 36ch; color: var(--soft); }
.frag {
  background: var(--ground); border: 1px solid var(--ui-line); border-radius: var(--r); /* taste-skill-ignore: borde o sombra de una pieza de interfaz (data-ui) */
  font-size: 14px; line-height: 1.4; padding: 16px; margin-top: auto;
}
.frag__k { font-size: 13px; color: var(--soft); margin-bottom: 8px; }
.pay li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--ui-line); font-variant-numeric: tabular-nums; } /* taste-skill-ignore: borde o sombra de una pieza de interfaz (data-ui) */
.pay__total { font-weight: 600; }
.pay__total b { color: var(--teal-deep); }
.frag--wa { background: #efeae2; border-color: transparent; }
.bub { background: var(--ground); border-radius: 2px 10px 10px 10px; padding: 10px 12px; }
.bub-actions { display: flex; gap: 6px; margin-top: 6px; }
.bub-actions span { flex: 1; text-align: center; background: var(--ground); border-radius: 8px; padding: 8px; color: var(--teal-deep); font-weight: 600; }
.fixed__name { font-weight: 600; font-size: 16px; }
.fixed__rule { color: var(--soft); font-size: 13px; margin-top: 2px; }
.fixed__dates { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding-bottom: 8px; }
.fixed__dates span { background: var(--cream); border-radius: 4px; padding: 6px 10px; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.price-t { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-t th { text-align: left; font-weight: 400; padding: 10px 0 10px 8px; border-top: 1px solid var(--ui-line); } /* taste-skill-ignore: borde o sombra de una pieza de interfaz (data-ui) */
.price-t td { text-align: right; padding: 10px 8px 10px 12px; border-top: 1px solid var(--ui-line); font-weight: 600; } /* taste-skill-ignore: borde o sombra de una pieza de interfaz (data-ui) */
.price-t tr.is-on th, .price-t tr.is-on td { background: var(--teal-tint); }
.frag--rules { display: grid; gap: 4px; padding-block: 6px 0; }
.rule { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ui-line); } /* taste-skill-ignore: borde o sombra de una pieza de interfaz (data-ui) */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--ui-line); border-radius: 4px; } /* taste-skill-ignore: borde o sombra de una pieza de interfaz (data-ui) */
.stepper button { border: 0; background: transparent; width: 32px; height: 32px; font-size: 16px; }
.stepper b { min-width: 44px; text-align: center; font-variant-numeric: tabular-nums; }
.switch { position: relative; width: 44px; height: 26px; border-radius: 13px; border: 0; background: var(--faint); padding: 3px; display: flex; transition: background-color var(--t-ui) ease; }
.switch::after { content: ""; position: absolute; inset: -9px -2px; } /* área de toque de 44px */
.switch span { width: 20px; height: 20px; border-radius: 50%; background: var(--ground); transition: transform var(--t-ui) var(--ease-out); }
.switch[aria-checked="true"] { background: var(--teal); }
.switch[aria-checked="true"] span { transform: translateX(18px); }
.rule__note { font-size: 13px; color: var(--soft); padding: 8px 0 12px; }
.ph__venue { font-weight: 600; font-size: 15px; }
.ph__k { font-size: 13px; color: var(--soft); }
.ph__slots { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
.ph__slots span { border: 1px solid var(--ui-line); border-radius: 6px; padding: 8px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; } /* taste-skill-ignore: borde o sombra de una pieza de interfaz (data-ui) */
.ph__slots .is-off { color: var(--soft); text-decoration: line-through; background: var(--raised); }
.ph__slots .is-pick { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.ph__note { margin-top: 12px; font-size: 13px; color: var(--soft); }

/* ---------- Sumate ---------- */
.join { background: var(--orange); color: var(--ink); }
.join__inner { padding-block: clamp(88px, 10vw, 152px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; align-items: start; }
.join__copy { display: contents; } /* el título va a todo el ancho; la lista y el formulario, debajo */
.join__title { grid-column: 1 / -1; }
.join__next { grid-column: 1 / 6; grid-row: 2; }
.join__title { font-size: var(--s-xl); line-height: 1; letter-spacing: -0.03em; }
.join__next { display: grid; gap: 20px; }
.join__next li { font-size: var(--s-b); max-width: 42ch; }
.join__next b { font-weight: 600; }
.form {
  grid-column: 7 / -1; grid-row: 2; background: var(--ground); border-radius: var(--r); padding: clamp(24px, 3vw, 40px);
  display: grid; gap: 18px;
}

/* ---------- Preguntas ---------- */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-block: var(--section); align-items: start; }
.faq__title { grid-column: 1 / 5; font-size: var(--s-l); line-height: 1.1; letter-spacing: -0.02em; position: sticky; top: 96px; max-width: 10ch; }
.faq__list { grid-column: 5 / -1; display: grid; gap: 8px; }
.faq details { background: var(--raised); border-radius: var(--r); transition: background-color var(--t-ui) ease; }
.faq details[open] { background: var(--orange); }
.faq summary {
  list-style: none; cursor: pointer; min-height: 72px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-size: var(--s-m); font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.pm { position: relative; width: 16px; height: 16px; flex: none; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; background: currentColor; border-radius: 1px; transition: transform var(--t-ui) var(--ease-out); }
.pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0deg); }
/* mientras se pliega (script.js), ya vuelve al gris y al + */
.faq details.is-cerrando { background: var(--raised); }
.faq details.is-cerrando .pm::after { transform: rotate(90deg); }
.faq details p { padding: 0 24px 24px; font-size: var(--s-b); max-width: 52ch; }

/* ---------- Pie ---------- */
/* Franja noche, mismos márgenes que el resto: marca, tres columnas de links y una línea final */
.foot { background: var(--ink); color: #c9ced6; padding-bottom: env(safe-area-inset-bottom, 0px); }
.foot__in { padding-block: clamp(64px, 7vw, 96px) 28px; display: grid; gap: clamp(48px, 6vw, 80px); }
.foot__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; }
.foot__brand { grid-column: 1 / 6; }
.foot .brand { color: var(--ground); }
.foot__tag { margin-top: 16px; font-size: var(--s-b); max-width: 30ch; }
.foot__col { display: grid; gap: 4px; align-content: start; justify-items: start; }
.foot__col:nth-child(2) { grid-column: 7 / 9; }
.foot__col:nth-child(3) { grid-column: 9 / 11; }
.foot__col:nth-child(4) { grid-column: 11 / -1; }
.foot__k { font-size: 14px; color: var(--faint); margin-bottom: 8px; }
.foot__col a {
  color: var(--ground); font-size: var(--s-s); padding-block: 4px; text-decoration: none;
  transition: color var(--t-hover) ease;
}
.foot__copy {
  margin-top: 8px; border: 0; border-radius: var(--r); padding: 8px 12px; font-size: 14px;
  background: rgba(255, 255, 255, 0.1); color: var(--ground);
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.foot__copy:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) {
  .foot__col a:hover { color: var(--teal); }
  .foot__copy:hover { background: var(--teal); color: var(--ink); }
}
.foot__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px;
  padding-top: 24px; font-size: 14px; color: var(--faint);
  border-top: 1px solid rgba(255, 255, 255, 0.12); /* taste-skill-ignore: separa la línea final del pie */
}
.foot__credits summary { cursor: pointer; list-style: none; text-decoration: underline; text-underline-offset: 0.25em; }
.foot__credits summary::-webkit-details-marker { display: none; }
.foot__credits[open] { flex-basis: 100%; }
.foot__credits p { margin-top: 12px; max-width: 90ch; font-size: 13px; line-height: 1.6; }
.foot__credits a { color: inherit; }

/* ---------- Movimiento ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Persiana del escenario: se abre de arriba hacia abajo, con la diagonal ya cortada */
  .js .shutter { clip-path: polygon(var(--cx) 0, 100% 0, 100% 0, 0 0, 0 0); transition: clip-path 1100ms var(--ease-in-out); }
  .js .shutter .stage__inner { transform: scale(1.06); transform-origin: 30% 0; transition: transform 1500ms var(--ease-soft); }
  .js .shutter.is-in { clip-path: polygon(var(--cx) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cy)); }
  .js .shutter.is-in .stage__inner { transform: none; }

  /* ===== Entrada del primer pantallazo, mientras sube la persiana de la pantalla de carga ===== */
  /* 1) el mosaico se destapa bloque por bloque, de izquierda a derecha */
  .js .mosaico > * { clip-path: inset(0 0 100% 0); transition: clip-path 900ms var(--ease-expo); }
  .js.is-ready .mosaico > * { clip-path: inset(0); }
  .js .m-canchas { transition-delay: 80ms; }  .js .m-vc { transition-delay: 125ms; }
  .js .m-futbol { transition-delay: 170ms; }   .js .m-va { transition-delay: 215ms; }
  .js .m-peine { transition-delay: 260ms; }    .js .m-vd { transition-delay: 305ms; }
  .js .m-vb { transition-delay: 350ms; }    .js .m-barbero { transition-delay: 395ms; }
  .js .m-tenis { transition-delay: 440ms; }    .js .m-paletas { transition-delay: 485ms; }
  /* 2) baja el menú */
  .js .nav > * { opacity: 0.001; transform: translateY(-10px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out), scale var(--t-press) var(--ease-out); }
  .js.is-ready .nav > * { opacity: 1; transform: none; }
  .js .nav > :nth-child(1) { transition-delay: 300ms; }
  .js .nav > :nth-child(2) { transition-delay: 360ms; }
  .js .nav > :nth-child(3) { transition-delay: 420ms; }
  .js.nav-lista .nav > * { transition-delay: 0s; }
  /* 3) el título sube palabra por palabra desde una ranura */
  .js .hero__title .w > span { transform: translateY(108%); transition: transform 900ms var(--ease-expo); transition-delay: calc(380ms + var(--i, 0) * 60ms); }
  .js .is-loaded .hero__title .w > span { transform: none; }
  /* 4) texto, botón y pista */
  .js .hero__copy > * { opacity: 0.001; transform: translateY(18px); transition: opacity 800ms var(--ease-expo), transform 800ms var(--ease-expo); transition-delay: 620ms; }
  .js .hero__copy > :nth-child(2) { transition-delay: 690ms; }
  .js .hero__copy > :nth-child(3) { transition-delay: 760ms; }
  .js .hero__copy > :nth-child(4) { transition-delay: 830ms; }
  .js .is-loaded .hero__copy > * { opacity: 1; transform: none; }
  /* las preguntas entran una tras otra */
  .js .preguntas li { opacity: 0.001; transform: translateY(14px); transition: opacity 700ms var(--ease-expo), transform 700ms var(--ease-expo); }
  .js .is-loaded .preguntas li { opacity: 1; transform: none; }
  .js .preguntas li:nth-child(1) { transition-delay: 760ms; } .js .preguntas li:nth-child(2) { transition-delay: 830ms; }
  .js .preguntas li:nth-child(3) { transition-delay: 900ms; } .js .preguntas li:nth-child(4) { transition-delay: 970ms; }

  /* Buscador y reservas: al cambiar de paso, lo nuevo entra desde el costado, de a uno */
  .is-entra > * { animation: paso-in 460ms var(--ease-expo) both; }
  .is-entra > :nth-child(2) { animation-delay: 50ms; }
  .is-entra > :nth-child(3) { animation-delay: 100ms; }
  .is-entra > :nth-child(4) { animation-delay: 150ms; }
  @keyframes paso-in { from { opacity: 0; transform: translateX(var(--desde, 18px)); } to { opacity: 1; transform: none; } }

  .js .rise { opacity: 0.15; transform: translateY(24px); transition: opacity 800ms var(--ease-expo), transform 800ms var(--ease-expo); transition-delay: var(--d, 0ms); }
  .js .rise.is-in { opacity: 1; transform: none; }

  .m-foto img { animation: asentar 2200ms var(--ease-soft) both; }
  .m-foto:nth-child(3) img { animation-delay: 80ms; } .m-foto:nth-child(5) img { animation-delay: 160ms; }
  .m-foto:nth-child(7) img { animation-delay: 120ms; } .m-foto:nth-child(9) img { animation-delay: 200ms; } .m-foto:nth-child(10) img { animation-delay: 240ms; }
  @keyframes asentar { from { transform: scale(1.1); } to { transform: none; } }
}

/* ---------- Pantalla de carga ---------- */
.splash { display: none; }
.js .splash {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: var(--ink); color: var(--cream); clip-path: inset(0 0 0 0); /* desde acá sube la persiana */
}
.js:not(.is-ready) body { overflow: hidden; }
.splash__logo { display: grid; justify-items: center; gap: 18px; }
.splash__b { width: clamp(96px, 12vw, 132px); height: auto; overflow: hidden; }
.splash__word { font-family: var(--f-display); font-stretch: var(--display-ancho); font-weight: 600; font-size: var(--s-l); letter-spacing: -0.03em; line-height: 1; }
.sp-asta, .sp-verde, .sp-naranja { transform-box: fill-box; }
.splash.is-out { opacity: 0; visibility: hidden; transition: opacity 300ms ease, visibility 0s linear 300ms; }
@media (prefers-reduced-motion: no-preference) {
  /* 1) crece el asta  2) bajan el verde y sube el naranja hasta la diagonal  3) aparece el nombre */
  .sp-asta { transform-origin: 50% 100%; animation: sp-asta 520ms var(--ease-expo) both; }
  .sp-verde { animation: sp-verde 640ms var(--ease-expo) 260ms both; }
  .sp-naranja { animation: sp-naranja 640ms var(--ease-expo) 360ms both; }
  .splash__word { animation: sp-word 600ms var(--ease-expo) 720ms both; }
  @keyframes sp-asta { from { transform: scaleY(0); } to { transform: none; } }
  @keyframes sp-verde { from { transform: translateY(-100%); } to { transform: none; } }
  @keyframes sp-naranja { from { transform: translateY(100%); } to { transform: none; } }
  @keyframes sp-word { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  /* salida: la pantalla sube como una persiana */
  .splash.is-out {
    opacity: 1; visibility: hidden; clip-path: inset(0 0 100% 0);
    transition: clip-path 760ms var(--ease-in-out), visibility 0s linear 760ms;
  }
  /* el mosaico espera a que suba la persiana */
  .js:not(.is-ready) .m-foto img { animation-play-state: paused; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features__head .h-sec, .features__sub { grid-column: 1 / -1; }
  .features__sub { margin-top: 12px; }
  .how__list { grid-template-columns: 1fr; }
  .ex__exp { max-width: 56ch; }
  .ex--final .result { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .how__head .h-sec, .how__sub { grid-column: 1 / -1; }
  .how__sub { margin-top: 12px; }
  .join__next, .form { grid-column: 1 / -1; }
  .join__next { grid-row: 2; max-width: 640px; }
  .form { grid-row: 3; }
  .form { max-width: 640px; }
}

@media (max-width: 900px) {
  /* una columna: título, la frase justo debajo, el buscador y después las preguntas */
  .hero { display: flex; flex-direction: column; }
  .hero__title { order: 1; }
  .hero__copy { display: contents; }
  .hero__lead { order: 2; margin-top: 16px; }
  .stage { order: 3; margin-top: 24px; align-self: stretch; }
  .preguntas { order: 4; padding-top: 28px; padding-bottom: 48px; }
}
@media (max-width: 960px) {
  /* En tablet y celular queda solo "Ingresar" (para los negocios) al lado de "Sumá tu negocio" */
  .nav__links { display: flex; }
  .nav__links a:not(.nav__ingresar) { display: none; }
  .nav__cta { margin-left: 0; }
}

/* ---------- Teléfono ---------- */
@media (max-width: 760px) {
  :root { --s-xl: 10vw; --s-l: 24px; --s-m: 19px; --s-b: 16px; --display-ancho: 100%; }
  .banda { height: clamp(200px, 28svh, 260px); }
  .mosaico { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .m-canchas { grid-column: 1; grid-row: 1; }
  .m-va { grid-column: 2; grid-row: 1 / 3; }
  .m-peine { grid-column: 3; grid-row: 1; }
  .m-futbol { grid-column: 1; grid-row: 2; }
  .m-barbero { grid-column: 3; grid-row: 2; }
  .m-vb, .m-tenis, .m-vc, .m-vd, .m-paletas { display: none; }
  .nav { gap: 16px; min-height: 64px; }
  .nav__links { gap: 0; }
  .nav__ingresar { min-height: 44px; display: inline-flex; align-items: center; }
  .nav__cta { padding: 10px 14px; }
  .hero { padding-top: 24px; }
  .hero__lead { margin-top: 12px; }
  .stage {
    margin-top: 20px; margin-left: calc(-1 * max(var(--margin), env(safe-area-inset-left, 0px)));
    min-height: 0; --cx: 72px; --cy: 28px;
  }
  .stage__inner { padding: 52px 16px 24px; }
  .preguntas { padding-top: 24px; padding-bottom: 32px; }
  /* rubros: dos por fila, con la foto apaisada */
  .rubros { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .rubro__foto { aspect-ratio: 16 / 10; }
  .rubro__n { font-size: 15px; padding: 0 12px; min-height: 44px; }
  .rubro__n::after { content: "→"; }

  .nav__cta { min-height: 44px; }
  .brand { min-height: 44px; }
  .mini, .call__copy, .foot__copy { min-height: 44px; padding-inline: 16px; }
  .stepper button { width: 44px; height: 44px; }
  .foot__col a { padding-block: 10px; }

  .intro { min-height: 320px; }
  .intro__in { padding-block: 72px; }
  .intro__title { font-size: 9vw; line-height: 1.08; max-width: 14ch; }

  .resp, .ex .resp { margin-left: 0; }
  .how { padding-top: 72px; }
  .ex { padding: 20px 16px; }
  .ex__n { width: 40px; height: 40px; font-size: 16px; }
  .ex__say { font-size: var(--s-m); }
  .ex--final .result { width: 100%; grid-template-columns: 1fr; }

  .cells { grid-template-columns: 1fr; gap: 6px; }
  .cell { padding: 20px 16px; gap: 20px; }

  .field-row { grid-template-columns: 1fr; }

  .faq { display: block; }
  .faq__title { position: static; margin-bottom: 28px; max-width: none; }
  .faq summary { min-height: 64px; padding: 16px 20px; }
  .faq details p { padding: 0 20px 20px; }

  .foot__top { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__col:nth-child(2) { grid-column: 1; }
  .foot__col:nth-child(3) { grid-column: 2; }
  .foot__col:nth-child(4) { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  /* barra de arriba: logo, "Ingresar" y "Sumá tu negocio" entran en una sola línea */
  .nav { gap: 6px; }
  .brand { padding-right: 8px; }
  .nav__links a.nav__ingresar, .nav .nav__cta { font-size: 15px; padding-inline: 11px; white-space: nowrap; }
}
@media (max-width: 374px) {
  /* en los celulares más angostos queda solo la B (el nombre ya está en el título) */
  .brand__word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .brand { padding-right: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* En pantallas táctiles, "Créditos de las fotos" con área de toque de 44px */
@media (hover: none), (pointer: coarse) {
  .foot__credits summary { display: inline-flex; align-items: center; min-height: 44px; }
}
