/* =========================================================
   DIRZO'S TIRE SHOP — styles.css
   Colores tomados del logo: aqua neón + azul marino + cromo.
   Para cambiar la paleta, edita solo las variables de :root.
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2-variations"), url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-italic.woff2") format("woff2-variations"), url("../fonts/archivo-italic.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap;
}

:root {
  --ink: #070815;          /* fondo principal: noche azul */
  --navy: #0d0c2b;         /* azul marino del flyer */
  --panel: #13163a;        /* superficies elevadas */
  --line: rgba(160, 230, 235, .14);
  --aqua: #19f0e1;         /* aqua del logo */
  --aqua-deep: #0aa89f;
  --aqua-glow: rgba(25, 240, 225, .45);
  --chrome: #dfe5ea;       /* sección clara, como el cromo del logo */
  --chrome-2: #c7cfd7;
  --text: #eef4f7;
  --muted: #a3afc2;
  --ink-text: #0b0d1f;
  --signal: #ff5a4e;

  --f: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --step--1: clamp(.85rem, .82rem + .15vw, .95rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + .5vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  --step-3: clamp(2.2rem, 1.6rem + 3vw, 4rem);
  --step-4: clamp(2.9rem, 1.6rem + 6.2vw, 7.4rem);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f);
  font-size: var(--step-0);
  line-height: 1.6;
  font-stretch: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--aqua); color: var(--ink-text); padding: .6em 1em; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }

/* Títulos: Archivo extendido, negro e itálico, como "DIRZO'S" del logo */
.h2, .hero__title, .pay__title, .panel h3, .why__title {
  font-family: var(--f);
  font-style: italic;
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -.01em;
  line-height: .98;
  margin: 0;
  text-wrap: balance;
}
.h2 { font-size: var(--step-3); }

/* ---------------- Botones ---------------- */
.btn {
  --bg: transparent; --fg: var(--text); --bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .8em 1.5em;
  border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-weight: 750; font-stretch: 112%; text-decoration: none; letter-spacing: .01em;
  cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), background .3s, border-color .3s;
}
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lane { --bg: var(--aqua); --fg: var(--ink-text); --bd: var(--aqua); box-shadow: 0 0 0 0 var(--aqua-glow); }
.btn--lane:hover { box-shadow: 0 10px 40px -6px var(--aqua-glow); }
.btn--ghost { --bd: rgba(238, 244, 247, .35); backdrop-filter: blur(6px); background: rgba(7, 8, 21, .35); }
.btn--ghost:hover { --bd: var(--aqua); color: var(--aqua); }
.btn--dark { --bg: var(--ink-text); --fg: var(--chrome); --bd: var(--ink-text); }
.btn--dark:hover { --bg: var(--navy); }
.btn--sm { min-height: 42px; padding: .5em 1.1em; font-size: var(--step--1); }
.btn--block { width: 100%; }

/* ---------------- Navegación ---------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: 24px;
  padding-inline: var(--gutter);
  transition: background .4s var(--ease), backdrop-filter .4s, transform .45s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(7, 8, 21, .78); backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: block; flex: 0 0 auto; }
.brand img { height: 58px; width: auto; }
.nav__links { display: flex; gap: clamp(14px, 2vw, 30px); margin-inline: auto; }
.nav__links a {
  text-decoration: none; font-weight: 600; font-size: var(--step--1); color: var(--muted);
  position: relative; padding-block: 6px; transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--aqua);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
  box-shadow: 0 0 10px var(--aqua);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 10px; }

.lang {
  display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04); cursor: pointer; font-size: .78rem; font-weight: 800; position: relative;
}
.lang span { padding: .35em .7em; border-radius: 999px; transition: background .3s, color .3s; color: var(--muted); }
html[lang="en"] .lang [data-lang="en"], html[lang="es"] .lang [data-lang="es"] { background: var(--aqua); color: var(--ink-text); }

/* ---------------- Huella de llanta (progreso de scroll) ---------------- */
.track {
  position: fixed; left: 10px; top: 0; bottom: 0; width: 14px; z-index: 40; pointer-events: none;
  opacity: .9;
}
.track__print {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(180deg, transparent 0 6px, var(--aqua) 6px 9px, transparent 9px 14px),
    linear-gradient(90deg, transparent 0 2px, rgba(25, 240, 225, .25) 2px 12px, transparent 12px);
  -webkit-mask: linear-gradient(90deg, #000 0 4px, transparent 4px 5px, #000 5px 9px, transparent 9px 10px, #000 10px 14px);
          mask: linear-gradient(90deg, #000 0 4px, transparent 4px 5px, #000 5px 9px, transparent 9px 10px, #000 10px 14px);
  transform-origin: top; transform: scaleY(var(--progress, 0));
  filter: drop-shadow(0 0 4px var(--aqua-glow));
}

/* ---------------- HERO ---------------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  padding: calc(var(--nav-h) + 40px) var(--gutter) 80px;
  overflow: hidden; isolation: isolate;
}
.hero__photo { position: absolute; inset: -8% 0 0; z-index: -3; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) contrast(1.1); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 90% at 85% 50%, rgba(13, 12, 43, .35), rgba(7, 8, 21, .92) 60%),
    linear-gradient(180deg, rgba(7, 8, 21, .55), rgba(7, 8, 21, .2) 40%, var(--ink) 98%);
}
.hero__glow { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }

.hero__copy { position: relative; z-index: 2; max-width: 760px; }
.hero__tagline {
  margin: 0 0 14px; font-weight: 700; font-stretch: 112%; color: var(--aqua);
  font-size: var(--step-0); text-shadow: 0 0 18px var(--aqua-glow);
}
.status {
  display: inline-flex; align-items: center; gap: .6em; margin: 0 0 26px;
  padding: .45em 1em .45em .8em; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); backdrop-filter: blur(8px);
  font-size: var(--step--1); font-weight: 600;
}
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.status.is-open .status__dot { background: var(--aqua); box-shadow: 0 0 0 0 var(--aqua-glow); animation: ping 2s infinite; }
.status.is-closed .status__dot { background: var(--signal); }
@keyframes ping { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.hero__title { font-size: clamp(2.5rem, .9rem + 4.6vw, 5.6rem); }
.hero__title .line { display: block; overflow: hidden; padding: 0 .08em .06em 0; }
.hero__title .line > span { display: inline-block; }
.hero__title .line--outline > span {
  color: transparent; -webkit-text-stroke: 2px var(--aqua);
  text-shadow: 0 0 30px rgba(25, 240, 225, .25);
}
.hero__lede { max-width: 54ch; margin: 28px 0 34px; color: #cdd6e2; font-size: var(--step-1); line-height: 1.5; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__wheel { position: relative; z-index: 1; justify-self: center; width: min(40vw, 580px); aspect-ratio: 1; }
.hero__wheel::after { /* sombra en el piso */
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -6%; height: 9%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .75), transparent); filter: blur(6px); z-index: -1;
}
.hero__wheel::before { /* resplandor aqua */
  content: ""; position: absolute; inset: 6%; border-radius: 50%;
  box-shadow: 0 0 90px 10px rgba(25, 240, 225, .18), inset 0 0 0 2px rgba(25, 240, 225, .25);
}
.wheel { width: 100%; height: 100%; overflow: visible; will-change: transform; }
.sidewall__name { font: italic 900 30px/1 var(--f); font-stretch: 118%; fill: #3d4048; }
.sidewall__spec { font: 700 14px/1 var(--f); font-stretch: 105%; fill: #555963; }
.wheel .sidewall { filter: drop-shadow(0 -1px 0 rgba(255, 255, 255, .12)) drop-shadow(0 1px 0 rgba(0, 0, 0, .8)); }
.hub-d { font: italic 900 22px var(--f); fill: var(--ink-text); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0;
  width: 28px; height: 46px; border: 2px solid rgba(238, 244, 247, .45); border-radius: 20px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px;
  background: var(--aqua); animation: wheelDot 1.8s var(--ease) infinite;
}
@keyframes wheelDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(16px); } 100% { opacity: 0; } }

/* ---------------- Encabezados de sección ---------------- */
.section-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px 56px; align-items: end; margin-bottom: clamp(36px, 6vw, 72px); }
.section-head__lede { margin: 0; max-width: 46ch; color: inherit; opacity: .8; }

/* ---------------- SERVICIOS (sección clara, cromo) ---------------- */
.services {
  position: relative; background: var(--chrome); color: var(--ink-text);
  padding-block: clamp(80px, 12vw, 150px);
  border-radius: 36px 36px 0 0; margin-top: -36px; z-index: 3;
}
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid rgba(11, 13, 31, .18); }
.service {
  position: relative; display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.1fr) auto;
  gap: 8px 32px; align-items: center;
  padding: 30px 8px; border-bottom: 1.5px solid rgba(11, 13, 31, .18);
  transition: padding .4s var(--ease), background .4s var(--ease), color .4s;
}
.service::before { /* barrido aqua al pasar el mouse */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink-text);
  transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease);
}
.service:hover::before { transform: scaleY(1); }
.service:hover { color: var(--text); padding-inline: 24px; }
.service:hover .service__icon { stroke: var(--aqua); }
.service:hover p { color: #c3cbd8; }
.service h3 { margin: 0; font-size: var(--step-2); font-weight: 850; font-style: italic; font-stretch: 118%; line-height: 1.05; }
.service p { margin: 0; color: #3a4155; max-width: 46ch; transition: color .4s; }
.service__icon { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.service__thumb { display: none; }
.service__tag {
  font-size: .78rem; font-weight: 800; padding: .35em .9em; border-radius: 999px;
  background: var(--aqua); color: var(--ink-text); white-space: nowrap;
}
.service { isolation: isolate; }

.service-preview {
  position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none;
  width: 320px; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden;
  opacity: 0; scale: .7; transition: opacity .3s, scale .4s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 0 0 2px var(--aqua);
}
.service-preview.is-on { opacity: 1; scale: 1; }
.service-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------- Cinta de banda de rodamiento ---------------- */
.tread-band {
  position: relative; z-index: 4; overflow: hidden; background: var(--aqua); color: var(--ink-text);
  padding-block: 18px; transform: rotate(-2deg); margin: -22px -20px 0;
  box-shadow: 0 0 60px var(--aqua-glow);
}
.tread-band::before, .tread-band::after { /* dientes de la llanta */
  content: ""; position: absolute; left: 0; right: 0; height: 7px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 14px, transparent 14px 24px);
}
.tread-band::before { top: 0; } .tread-band::after { bottom: 0; }
.tread-band__row { display: flex; width: max-content; will-change: transform; }
.tread-band__row span {
  font: italic 900 clamp(1.6rem, 1rem + 2.6vw, 3.2rem)/1.15 var(--f); font-stretch: 125%; white-space: nowrap; padding-right: .3em;
}

/* ---------------- Cómo funciona (scroll horizontal) ---------------- */
.why { position: relative; background: var(--ink); padding-top: clamp(90px, 12vw, 150px); }
.why__pin { position: relative; overflow: hidden; padding-bottom: clamp(60px, 8vw, 110px); }
.why__title { font-size: var(--step-3); padding-inline: var(--gutter); max-width: var(--max); margin: 0 auto 48px; }
.why__rail { display: flex; gap: 24px; padding-inline: var(--gutter); width: max-content; }
.panel {
  position: relative; width: min(78vw, 470px); min-height: min(64vh, 540px);
  border-radius: 24px; padding: 34px; display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; isolation: isolate; border: 1px solid var(--line);
  background: var(--panel);
}
.panel::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg) center / cover; transform: scale(1.12); transition: transform .9s var(--ease); filter: saturate(.6); }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 8, 21, .15), rgba(7, 8, 21, .55) 40%, rgba(7, 8, 21, .96)); }
.panel:hover::before { transform: scale(1.02); }
.panel__step {
  position: absolute; top: 22px; left: 30px;
  font: italic 900 clamp(4rem, 3rem + 4vw, 7rem)/1 var(--f); font-stretch: 125%;
  color: transparent; -webkit-text-stroke: 2px var(--aqua); opacity: .9;
}
.panel h3 { font-size: var(--step-2); margin-bottom: 12px; }
.panel p { margin: 0; color: #cdd6e2; max-width: 36ch; }

/* ---------------- Pago ---------------- */
.pay {
  position: relative; overflow: hidden;
  background: radial-gradient(90% 120% at 0% 0%, #1b1f58 0%, var(--navy) 55%, var(--ink) 100%);
  padding-block: clamp(90px, 12vw, 150px);
  border-block: 1px solid var(--line);
}
.pay::before { /* líneas de velocidad */
  content: ""; position: absolute; inset: -50% -10%;
  background: repeating-linear-gradient(-14deg, transparent 0 46px, rgba(25, 240, 225, .07) 46px 48px);
  transform: translateX(var(--shift, 0px));
}
.pay__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.pay__title { font-size: clamp(3.2rem, 1.5rem + 7.5vw, 8.4rem); line-height: .9; }
.pay__word { display: block; }
.pay__word:last-child { color: var(--aqua); text-shadow: 0 0 40px var(--aqua-glow); }
.pay__lede { margin: 28px 0 0; max-width: 46ch; font-size: var(--step-1); line-height: 1.5; color: #cdd6e2; }
.pay__methods {
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 24px; padding: 30px;
  backdrop-filter: blur(10px);
}
.pay__label { margin: 0 0 14px; font-weight: 700; color: var(--muted); }
.pay__methods ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pay__methods li { display: flex; align-items: center; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: var(--step-1); }
.pay__methods li:last-child { border-bottom: 0; }
.pay__methods svg { width: 34px; height: 34px; flex: none; fill: none; stroke: var(--aqua); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------- Equipo ---------------- */
.crew { padding-block: clamp(90px, 12vw, 150px); background: var(--ink); }
.crew__list { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
.person {
  position: relative; display: grid; gap: 4px; padding: 28px; border-radius: 22px; text-decoration: none;
  background: var(--panel); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), border-color .3s;
}
.person::before { /* luz que sigue al cursor */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(25, 240, 225, .22), transparent 60%);
}
.person:hover { transform: translateY(-4px); border-color: rgba(25, 240, 225, .5); }
.person:hover::before { opacity: 1; }
.person__initial {
  font: italic 900 4.2rem/1 var(--f); font-stretch: 125%; color: transparent; -webkit-text-stroke: 1.5px var(--aqua);
  margin-bottom: 18px;
}
.person__name { font-size: var(--step-2); font-weight: 850; font-style: italic; font-stretch: 118%; line-height: 1.1; }
.person__role { color: var(--muted); font-weight: 600; }
.person__phone { margin-top: 18px; font-size: var(--step-1); font-weight: 800; font-stretch: 110%; color: var(--aqua); font-variant-numeric: tabular-nums; }
.person:first-child { background: linear-gradient(150deg, #142a4a, var(--panel) 60%); }

/* ---------------- Visítanos ---------------- */
.visit { background: var(--chrome); color: var(--ink-text); padding-block: clamp(90px, 12vw, 150px); }
.visit__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: stretch; }
.visit__address { font-style: normal; font-size: var(--step-2); font-weight: 800; font-stretch: 112%; line-height: 1.2; margin: 26px 0; }
.hours { width: 100%; border-collapse: collapse; margin-top: 40px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 12px 6px; border-bottom: 1px solid rgba(11, 13, 31, .15); font-weight: 600; }
.hours td { text-align: right; color: #3a4155; }
.hours tr.is-today { background: var(--ink-text); color: var(--text); }
.hours tr.is-today th { padding-left: 16px; border-radius: 10px 0 0 10px; }
.hours tr.is-today td { color: var(--aqua); padding-right: 16px; border-radius: 0 10px 10px 0; }
.hours tr.is-today th::after { content: attr(data-today); margin-left: .6em; font-size: .75em; color: var(--aqua); }
.visit__map { position: relative; min-height: 440px; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(7, 8, 21, .6); }
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }

/* ---------------- Contacto / formulario ---------------- */
.contact { padding-block: clamp(90px, 12vw, 150px); background: radial-gradient(80% 70% at 100% 0%, #15184a, var(--ink) 70%); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.contact__intro p { color: #cdd6e2; max-width: 44ch; }
.contact__intro .h2 { margin-bottom: 22px; }

.sizeguide {
  margin-top: 36px; padding: 26px; border-radius: 22px; background: #0e1030; border: 1px solid var(--line);
  font: italic 900 clamp(2.2rem, 1.2rem + 2.4vw, 3.6rem)/1 var(--f); font-stretch: 125%; color: #4a5068;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .06em;
}
.sizeguide__part { color: var(--text); cursor: help; transition: color .25s, text-shadow .25s; }
.sizeguide__part:hover, .sizeguide__part.is-on { color: var(--aqua); text-shadow: 0 0 22px var(--aqua-glow); }
.sizeguide__hint { flex-basis: 100%; margin: 18px 0 0; font: 500 var(--step--1)/1.5 var(--f); color: var(--muted); min-height: 3em; }

.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  padding: clamp(22px, 4vw, 40px); border-radius: 26px;
  background: rgba(19, 22, 58, .7); border: 1px solid var(--line); backdrop-filter: blur(12px);
}
.field { grid-column: 1 / -1; display: grid; gap: 7px; }
.field--half { grid-column: span 1; }
.field label { font-weight: 650; font-size: var(--step--1); }
.field em { font-style: normal; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  background: rgba(7, 8, 21, .7); border: 1.5px solid rgba(160, 230, 235, .2); color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--aqua) 50%), linear-gradient(135deg, var(--aqua) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--navy); }
.field input::placeholder, .field textarea::placeholder { color: #5f6a80; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(25, 240, 225, .15); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--signal); }
.field__error { color: var(--signal); font-size: .85rem; font-weight: 600; }
.form .btn--block { grid-column: 1 / -1; margin-top: 6px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__status { grid-column: 1 / -1; margin: 0; min-height: 1.5em; font-weight: 650; }
.form__status.is-ok { color: var(--aqua); }
.form__status.is-error { color: var(--signal); }
.btn__spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgba(11, 13, 31, .3); border-top-color: var(--ink-text); animation: spin .8s linear infinite; }
.is-sending .btn__spinner { display: inline-block; }
.is-sending .btn__label { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- Footer ---------------- */
.footer { background: #04050d; padding: 70px 0 110px; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--step--1); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer p { margin: 0 0 6px; }
.footer a { color: var(--text); text-decoration: none; }
.footer a:hover { color: var(--aqua); }
.footer__brand { font: italic 900 var(--step-2)/1 var(--f) !important; font-stretch: 125% !important; color: var(--text); margin-bottom: 14px !important; }
.footer__label { color: var(--text); font-weight: 700; margin-bottom: 12px !important; }
.social { list-style: none; display: flex; gap: 10px; padding: 0; margin: 0; }
.social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); transition: background .25s, border-color .25s, transform .25s var(--ease); }
.social a:hover { background: var(--aqua); border-color: var(--aqua); color: var(--ink-text); transform: translateY(-3px); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.footer__legal { margin-top: 50px !important; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------------- Barra móvil ---------------- */
.actionbar { display: none; }

/* ---------------- Estado inicial de animaciones (solo con JS) ---------------- */
.js .hero__title .line > span { transform: translateY(110%); }
.js .hero__tagline, .js .status, .js .hero__lede, .js .hero__cta { opacity: 0; }
.js .hero__wheel { opacity: 0; }
.js.is-loaded .hero__title .line > span { transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-bottom: 120px; }
  .hero__wheel { position: absolute; right: -22vw; top: 50%; width: 76vw; translate: 0 -50%; opacity: .5; z-index: 0; }
  .js.is-loaded .hero__wheel { opacity: .45; }
  .section-head, .pay__grid, .visit__grid, .contact__grid { grid-template-columns: 1fr; }
  .crew__list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --nav-h: 66px; }
  .brand img { height: 38px; }
  .nav .btn--sm span { display: none; }
  .nav .btn--sm { width: 42px; padding: 0; }
  .track { display: none; }
  .hero__wheel { width: 110vw; right: -55vw; top: 30%; }
  .service { grid-template-columns: 1fr; padding: 26px 0; gap: 10px; }
  .service:hover { padding-inline: 0; color: inherit; }
  .service:hover::before { transform: scaleY(0); }
  .service:hover p { color: #3a4155; }
  .service__icon { display: none; }
  .service__thumb { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; margin-bottom: 8px; }
  .service__tag { justify-self: start; }
  .service-preview { display: none; }
  .form { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr; }
  .visit__map { min-height: 340px; }
  .actionbar {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 6px; padding: 6px;
    background: rgba(13, 12, 43, .88); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 20px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .7);
  }
  .actionbar a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 50px; border-radius: 14px; text-decoration: none; font-weight: 750; font-size: .92rem; }
  .actionbar svg { width: 19px; height: 19px; fill: currentColor; }
  .actionbar__main { background: var(--aqua); color: var(--ink-text); }
}

/* Movimiento reducido: todo visible, sin animaciones */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .hero__title .line > span { transform: none; }
  .js .hero__tagline, .js .status, .js .hero__lede, .js .hero__cta, .js .hero__wheel { opacity: 1; }
}

/* Móvil: el carrusel de pasos se desliza con el dedo */
@media (max-width: 760px) {
  .why__pin { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .why__pin::-webkit-scrollbar { display: none; }
  .why__title { position: sticky; left: 0; }
  .panel { scroll-snap-align: center; min-height: 420px; }
}
@media (min-width: 761px) { .why { padding-top: clamp(40px, 6vw, 80px); } .why__pin { padding-top: 56px; } }
