:root {
  --bg: #0b0b0d;
  --bg-rgb: 11 11 13;
  --bg-2: #131316;
  --surface: #1a1a1e;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f2efe9;
  --muted: #a3a09a;
  --muted-strong: #cfcbc3;
  --orange: #ff7a1a;
  --orange-deep: #e25d00;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);        /* ease-out fuerte: entradas y respuesta */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); /* movimiento en pantalla */
  /* Título de bloque: un solo tamaño para los subtítulos de pasos, planes, diésel y contacto */
  --fs-title-3: clamp(24px, 1.9vw, 30px);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg); -webkit-text-size-adjust: 100%;
  color-scheme: dark;
  /* el header fijo no tapa el título al saltar a una sección ni el elemento con foco */
  scroll-padding-top: 88px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Superficies del navegador con la paleta de la marca */
::selection { background: var(--orange); color: #111; }
/* La barra de scroll del navegador se oculta: la reemplaza .progress, que flota sin ocupar espacio */
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
.btn:focus-visible { outline-offset: 4px; }

/* ---------- Type ---------- */
.display {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
  font-size: clamp(44px, 6.6vw, 104px);
}
.display--sm { font-size: clamp(30px, 3.6vw, 52px); line-height: 1; }
.display em { font-style: normal; color: var(--orange); }
.lead {
  margin-top: 22px;
  max-width: 440px;
  color: #d4d0c8;
  font-size: clamp(15px, 1.2vw, 17px);
}

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; gap: 10px;
  height: var(--h); padding: 0 26px;
  font: 600 13px/1 var(--body);
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 160ms var(--ease);
  white-space: nowrap;
}
.btn--sm { --h: 44px; padding: 0 18px; font-size: 12px; }
.btn--primary { background: var(--orange); color: #111; }
.btn--primary:hover { background: #ff9140; }
.btn:active { transform: scale(0.98); }
.link-cta:active, .social a:active, .nav__links a:active, .menu__links a:active { transform: translateY(1px); opacity: .8; }
.tabs__tab:active, .nav__toggle:active, .map__load:active { transform: scale(0.97); }
.link-cta, .social a, .nav__links a, .tabs__tab, .nav__toggle { transition-property: color, opacity, transform; }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }
.btn .icon { font-size: 18px; }
.btn--ghost { border: 1px solid rgba(255,255,255,.28); color: var(--text); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--bg);
}
.loader__inner { width: min(280px, 70vw); text-align: center; }
.loader__brand {
  display: block;
  font: 700 28px/1 var(--display);
  letter-spacing: 0.4em; padding-left: .4em;
}
.loader__bar { height: 1px; background: var(--line); margin: 22px 0 12px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.loader__pct { font-variant-numeric: tabular-nums; font: 500 11px/1 var(--body); letter-spacing: .2em; color: var(--muted); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: calc(16px + env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) 16px max(var(--gutter), env(safe-area-inset-left));
  transition: background-color .4s var(--ease);
}
.nav.is-scrolled { background: rgb(var(--bg-rgb) / .8); backdrop-filter: blur(14px); }
/* Sobre la portada el canvas cambia en cada cuadro: un desenfoque encima se recalcularía todo el tiempo */
.nav.is-scrolled.is-over-hero { background: rgb(var(--bg-rgb) / .72); backdrop-filter: none; }
.nav__logo { display: block; text-decoration: none; color: var(--text); }
/* Logo refinado: la silueta del logo original sobre el nombre en la tipografía de la marca */
.brand { display: inline-grid; justify-items: stretch; gap: 3px; }
/* la silueta toma exactamente el ancho de la palabra, no el de la imagen */
.brand__mark { width: 0; min-width: 100%; height: auto; }
.brand__word {
  font: 700 26px/0.9 var(--display);
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--text); white-space: nowrap;
}
.brand__word span { color: var(--orange); }
.nav__links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav__links a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px;
  font: 500 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: var(--muted);
  transition: color 180ms ease;
}
.nav__links a:hover { color: var(--text); }
.nav__icon .icon { font-size: 20px; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px; margin-left: 4px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid rgb(255 255 255 / 0.2); border-radius: 2px;
  color: var(--text); font-size: 22px; cursor: pointer;
}
.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 104px var(--gutter) 40px;
  background: rgb(var(--bg-rgb) / 0.97);
  backdrop-filter: blur(16px);
  overscroll-behavior: contain;
  opacity: 0; transform: translateY(-8px);
  transition: opacity 250ms var(--ease), transform 250ms var(--ease);
}
.menu.is-open { opacity: 1; transform: none; }
.menu[hidden] { display: none; }
.menu__links { list-style: none; margin: 0; padding: 0; }
.menu__links a {
  display: block; padding: 10px 0;
  font: 700 clamp(38px, 11vw, 56px)/1.05 var(--display); text-transform: uppercase;
  color: var(--text); text-decoration: none;
}
.menu__foot { display: grid; gap: 18px; justify-items: start; }
.social a { color: var(--text); text-decoration: none; }
/* Con el menú abierto no se muestran el botón flotante ni la barra de avance */
body.menu-open .wa-float, body.menu-open .progress { opacity: 0; visibility: hidden; }
.skip {
  position: fixed; left: 16px; top: 16px; z-index: 200;
  padding: 12px 18px; border-radius: 2px;
  background: var(--orange); color: #111; font-weight: 600; text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }
main:focus { outline: none; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero__stage {
  position: relative;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: var(--bg);
}
#frames { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#intro { position: absolute; width: 2px; height: 2px; opacity: 0; pointer-events: none; }
.hero__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg,
      rgb(var(--bg-rgb) / .94) 0,
      rgb(var(--bg-rgb) / .86) min(calc(var(--gutter) + 520px), 46%),
      rgb(var(--bg-rgb) / .45) min(calc(var(--gutter) + 700px), 60%),
      rgb(var(--bg-rgb) / 0) min(calc(var(--gutter) + 900px), 74%)),
    linear-gradient(0deg, rgb(var(--bg-rgb) / .9) 0%, rgb(var(--bg-rgb) / 0) 22%);
}
/* Oscurecido del lado derecho: el timeline del scroll lo cruza con el izquierdo */
.hero__vignette--r {
  opacity: 0; visibility: hidden;
  background:
    linear-gradient(270deg,
      rgb(var(--bg-rgb) / .94) 0,
      rgb(var(--bg-rgb) / .86) min(calc(var(--gutter) + 400px), 40%),
      rgb(var(--bg-rgb) / .45) min(calc(var(--gutter) + 520px), 52%),
      rgb(var(--bg-rgb) / 0) min(calc(var(--gutter) + 700px), 66%)),
    linear-gradient(0deg, rgb(var(--bg-rgb) / .9) 0%, rgb(var(--bg-rgb) / 0) 22%);
}

.panel {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  width: min(660px, calc(100% - 2 * var(--gutter)));
  z-index: 2;
}
.panel--left { left: var(--gutter); }
.panel--right { right: var(--gutter); width: min(470px, calc(100% - 2 * var(--gutter))); }
.panel--right .display { font-size: clamp(44px, 5.4vw, 84px); }
.panel--center {
  top: auto; bottom: 9vh; left: 50%;
  transform: translateX(-50%);
  width: min(760px, calc(100% - 2 * var(--gutter)));
  text-align: center;
}
.panel--center .ctas { justify-content: center; }
.panel:not([data-panel="0"]) { opacity: 0; visibility: hidden; }
.panel[data-panel="0"] { width: min(760px, calc(100% - 2 * var(--gutter))); }

.line { display: block; overflow: hidden; padding-bottom: .04em; }
.line .reveal, .place .reveal, .lead .reveal { display: inline-block; }
.place {
  margin-top: 18px;
  font-size: 15px; font-weight: 500;
  color: var(--text);
}
.place .reveal::before {
  content: ""; display: inline-block; width: 22px; height: 1px;
  background: var(--orange); vertical-align: middle; margin-right: 12px;
}

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 28px 0 0; }
.chips li {
  font: 500 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}

.hud { list-style: none; padding: 0; margin: 28px 0 0; max-width: 400px; border-top: 1px solid var(--line); }
.hud li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font: 500 13px/1.2 var(--body); color: var(--muted);
}
.hud b {
  font: 600 11px/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange);
}
.hud b::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); margin-right: 8px; vertical-align: 1px; }

.counter {
  font: 700 clamp(84px, 14vw, 200px)/0.85 var(--display);
  color: var(--text);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 14px;
}
.counter span:first-child { color: var(--orange); }



/* ---------- Secciones (fase 2) ---------- */
.section {
  position: relative;
  padding: clamp(96px, 11vw, 168px) var(--gutter);
  max-width: 1480px;
  margin: 0 auto;
}
.section .display,
.section__title { font-size: clamp(40px, 5.4vw, 84px); line-height: 0.95; }
.section__title { max-width: 16ch; margin-bottom: clamp(40px, 5vw, 72px); }
.section__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 88px); }
.section__lead {
  margin-top: 22px;
  max-width: 58ch;
  color: var(--muted-strong);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.6;
}

/* Enlace de acción secundario (mismo verbo que el botón principal) */
.link-cta {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  font: 600 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange); text-decoration: none;
}
.link-cta .icon { font-size: 16px; transition: transform 200ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .link-cta:hover .icon { transform: translate(3px, -3px); }
}

/* Servicios: foto fija a la izquierda, grupos a la derecha */
.services__body {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}
.services__media { position: sticky; top: 104px; }
.services__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  background: var(--surface);
}
.services__frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 500ms var(--ease-in-out), transform 900ms var(--ease);
}
.services__frame img.is-active { opacity: 1; transform: scale(1); }
.sgroup { padding: 8px 0 clamp(56px, 7vw, 96px); }
.sgroup + .sgroup { border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 64px); }
.sgroup__img { display: none; }
.sgroup h3 {
  font: 700 clamp(30px, 3vw, 44px)/1 var(--display);
  text-transform: uppercase;
  color: var(--muted);
  transition: color 300ms ease;
}
.sgroup.is-active h3 { color: var(--text); }
.sgroup__list {
  list-style: none; margin: 26px 0 18px; padding: 0;
  columns: 2; column-gap: 40px;
  color: var(--muted-strong);
  font-size: 16px; line-height: 1.45;
}
.sgroup__list li { break-inside: avoid; padding: 0 0 14px; }

/* Sincronización: texto fijo a la izquierda, pasos con una línea que avanza */
.sync__head { max-width: 760px; margin-bottom: clamp(56px, 7vw, 96px); }
.sync__steps {
  position: relative;
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px;
}
.sync__line {
  position: absolute; left: 0; right: 0; top: 7px;
  height: 2px; background: var(--line);
}
.sync__line span {
  position: absolute; inset: 0;
  background: var(--orange);
  transform: scaleX(0); transform-origin: left;
}
.step { position: relative; padding-top: 44px; }
.step::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 2px solid rgb(255 255 255 / 0.22);
  transition: border-color 300ms ease, background-color 300ms ease;
}
.step.is-lit::before { border-color: var(--orange); background: var(--orange); }
.step h3 {
  font: 700 var(--fs-title-3)/1 var(--display);
  text-transform: uppercase;
  color: var(--muted);
  transition: color 300ms ease;
}
.step.is-lit h3 { color: var(--text); }
.step p { margin-top: 12px; color: var(--muted-strong); font-size: 16px; line-height: 1.5; }
.sync__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: 40px; border-top: 1px solid var(--line);
}
.benefits {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 16px 36px;
  color: var(--text); font-size: 16px; line-height: 1.35;
}
.benefits li { display: flex; gap: 12px; align-items: center; }
.benefits .icon { font-size: 24px; color: var(--orange); }

/* Tecnología: una pieza grande y dos apiladas */
.tech__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-rows: repeat(2, minmax(260px, 1fr));
  gap: 16px;
  min-height: min(78vh, 760px);
}
.tile {
  position: relative; overflow: hidden;
  border-radius: 2px;
  background: var(--surface);
  display: flex; align-items: flex-end;
}
.tile--big { grid-row: 1 / span 2; }
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms var(--ease);
}
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgb(var(--bg-rgb) / .94) 0%, rgb(var(--bg-rgb) / .55) 38%, rgb(var(--bg-rgb) / 0) 70%);
}
.tile__text { position: relative; z-index: 1; padding: clamp(22px, 2.6vw, 36px); max-width: 52ch; }
.tile h3 { font: 700 clamp(26px, 2.4vw, 38px)/1 var(--display); text-transform: uppercase; }
.tile--big h3 { font-size: clamp(34px, 3.4vw, 54px); }
.tile p { margin-top: 10px; color: var(--muted-strong); font-size: 16px; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover img { transform: scale(1.035); }
}

/* Diésel: foto a lo ancho con texto encima */
.diesel {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: clamp(96px, 11vw, 168px) var(--gutter);
  isolation: isolate;
}
.diesel__bg { position: absolute; inset: -8% 0; z-index: -1; }
.diesel__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.diesel__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgb(var(--bg-rgb) / .96) 0%, rgb(var(--bg-rgb) / .86) 42%, rgb(var(--bg-rgb) / .3) 75%, rgb(var(--bg-rgb) / .5) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgb(var(--bg-rgb) / 0) 18%, rgb(var(--bg-rgb) / 0) 82%, var(--bg) 100%);
}
.diesel__content { width: 100%; max-width: 1480px; margin: 0 auto; }
.diesel__content > div:first-child { max-width: 640px; }
.diesel__cols {
  display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 48px;
  margin: 48px 0 44px;
}
.diesel__cols h3 {
  font: 700 var(--fs-title-3)/1.1 var(--display); text-transform: uppercase; letter-spacing: .04em;
  color: var(--text); margin-bottom: 16px;
}
.diesel__cols ul { list-style: none; margin: 0; padding: 0; color: var(--muted-strong); font-size: 16px; line-height: 1.5; }
.diesel__cols li { padding-bottom: 10px; }

/* Planes: pestañas */
.tabs__list {
  position: relative;
  display: inline-flex; gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 2px;
  margin-bottom: 40px;
}
.tabs__tab {
  position: relative; z-index: 1;
  min-height: 44px; padding: 0 26px;
  background: none; border: 0; border-radius: 2px;
  font: 600 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); cursor: pointer;
  transition: color 200ms ease;
}
.tabs__tab[aria-selected="true"] { color: #111; }
.tabs__indicator {
  position: absolute; top: 4px; bottom: 4px; left: 0;
  width: var(--w, 0); transform: translateX(var(--x, 0));
  background: var(--orange); border-radius: 2px;
  transition: transform 260ms var(--ease-in-out);
}
.plan {
  margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0 40px;
}
/* sin cajas: cada punto va separado por una línea arriba, así no quedan celdas vacías */
.plan > div { border-top: 1px solid var(--line); padding: 24px 0 30px; }
.plan dt { font: 700 var(--fs-title-3)/1.05 var(--display); text-transform: uppercase; }
.plan dd { margin: 10px 0 0; color: var(--muted-strong); font-size: 16px; line-height: 1.5; }
.tabs__panel:focus-visible { outline-offset: 6px; }

/* Nosotros */
.about {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}
.about__photo { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 2px; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__mission {
  /* frase larga: en minúsculas se lee mejor que en mayúsculas */
  font: 500 clamp(28px, 3vw, 46px)/1.15 var(--display);
  letter-spacing: 0.005em;
  max-width: 24ch;
}
.about__mission em { font-style: normal; color: var(--orange); }
.about__vision { margin-top: 28px; max-width: 56ch; color: var(--muted-strong); font-size: 17px; line-height: 1.6; }


/* ---------- Contacto ---------- */
.contact { border-top: 0; }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: stretch;
}
.contact__info { display: flex; flex-direction: column; gap: 34px; align-items: flex-start; }
.info { display: flex; gap: 18px; }
.info > .icon { font-size: 26px; color: var(--orange); margin-top: 2px; }
.info h3 { font: 700 var(--fs-title-3)/1 var(--display); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.info p, .hours { color: var(--muted-strong); font-size: 16px; line-height: 1.55; }
.info a:not(.link-cta) { color: var(--text); text-decoration: none; }
.info a:not(.link-cta):hover { color: var(--orange); }
.info .link-cta { margin-top: 6px; }
.social { display: flex; gap: 22px; margin-top: 10px; }
.social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.social .icon { font-size: 20px; }
.hours { display: grid; gap: 2px 0; margin: 0; }
.hours dt { color: var(--text); font-weight: 600; margin-top: 10px; }
.hours dt:first-child { margin-top: 0; }
.hours dd { margin: 0; }
.map { position: relative; min-height: 440px; border-radius: 2px; overflow: hidden; background: var(--surface); display: grid; }
.map__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map__pin { position: absolute; left: 50%; top: 50%; font-size: 44px; color: var(--orange); transform: translate(-50%, -92%); }
.map__load { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); background: rgb(var(--bg-rgb) / 0.85); }
.map__load:active { transform: translateX(-50%) scale(0.97); }
.map__credit { position: absolute; right: 10px; bottom: 6px; font-size: 12px; color: var(--muted); }
.map__note { position: absolute; left: 50%; bottom: 84px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); text-align: center; font-size: 12px; color: var(--muted-strong); background: rgb(var(--bg-rgb) / 0.8); padding: 4px 10px; border-radius: 2px; }
.footer__legal { display: grid; gap: 6px; justify-items: end; text-align: right; }
.footer__legal a { color: var(--muted-strong); }
.footer__legal a:hover { color: var(--orange); }
@media (max-width: 760px) { .footer__legal { justify-items: start; text-align: left; } }
.map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.6); display: block; }

.footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 32px var(--gutter) calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.footer__brand { display: inline-grid; gap: 8px; text-decoration: none; }
.footer__brand .brand__word { font-size: 32px; }
.brand__tag { font: 600 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }


.wa-float {
  position: fixed; right: calc(26px + env(safe-area-inset-right)); bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff; font-size: 30px; text-decoration: none;
  opacity: 1; visibility: visible;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  transition: transform 200ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover { transform: scale(1.06); }
}
.wa-float:active { transform: scale(0.96); }
/* Se oculta donde ya hay un botón de WhatsApp a la vista (contacto) */
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: scale(0.9); }
.wa-float { transition: transform 200ms var(--ease), opacity 200ms ease, visibility 200ms; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Barra de avance ---------- */
.progress {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 55;
  width: 18px;
  display: flex; justify-content: flex-end;
  padding: 14px 6px;
  touch-action: none;
  cursor: pointer;
}
.progress__track {
  position: relative;
  width: 2px; height: 100%;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 2px;
  transform-origin: right center;
  transition: transform 180ms var(--ease), background-color 180ms ease;
}
.progress__fill {
  position: absolute; inset: 0;
  background: var(--orange);
  border-radius: inherit;
  transform: scaleY(0);
  transform-origin: top;
  will-change: transform;
}
/* Paradas de lectura: marcas pequeñas; la de la etapa actual queda encendida */
.progress__tick {
  position: absolute; right: 0;
  width: 8px; height: 2px;
  margin-top: -1px;
  background: rgba(255, 255, 255, 0.28);
  transform-origin: right center;
  transition: background-color 200ms ease, transform 200ms var(--ease);
}
.progress__tick.is-passed { background: var(--orange); }
.progress__tick.is-current { background: var(--orange); transform: scaleX(1.75); }

@media (hover: hover) and (pointer: fine) {
  .progress:hover .progress__track,
  .progress.is-dragging .progress__track { transform: scaleX(2.5); background-color: rgba(255, 255, 255, 0.14); }
}
@media (hover: none) {
  .progress { pointer-events: none; width: 8px; padding: 10px 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .progress__track, .progress__tick { transition: none; }
}


/* Portada apilada: la camioneta arriba y el texto abajo (celular y tablet vertical) */
.is-stacked .panel, .is-stacked .panel--left, .is-stacked .panel--right, .is-stacked .panel--center {
  top: auto; bottom: 96px; left: var(--gutter); right: var(--gutter);
  width: auto; transform: none; text-align: left;
}
.is-stacked .panel--center .ctas { justify-content: flex-start; }
.is-stacked .display { font-size: clamp(42px, 12vw, 60px); }
.is-stacked .display--sm { font-size: 28px; }
.is-stacked .lead { margin-top: 14px; font-size: 14px; }
.is-stacked .ctas { margin-top: 22px; }
.is-stacked .ctas .btn { --h: 48px; padding: 0 18px; }
.is-stacked .hud { margin-top: 18px; }
.is-stacked .hud li { padding: 8px 0; font-size: 12px; }
.is-stacked .hud li:nth-child(n+4) { display: none; }
.is-stacked .chips { margin-top: 18px; }
.is-stacked .counter { font-size: 96px; }
.is-stacked .hero__vignette--r { display: none; }
.is-stacked .hero__vignette--l { opacity: 1 !important; visibility: visible !important; }
.is-stacked .hero__vignette {
  background: linear-gradient(0deg, rgb(var(--bg-rgb) / .96) 0%, rgb(var(--bg-rgb) / .75) 40%, rgb(var(--bg-rgb) / 0) 62%);
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__icon { display: none !important; }
  .nav__links { gap: 20px; }
}
@media (max-width: 900px) {
  .sync__steps { grid-template-columns: 1fr; gap: 0; padding-left: 44px; }
  .sync__line { left: 51px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; left: 7px; }
  .sync__line span { transform: scaleY(0); transform-origin: top; }
  .step { padding: 4px 0 56px; }
  .step:last-child { padding-bottom: 0; }
  .step::before { left: -44px; top: 10px; }
  .services__body, .sync, .about, .contact__grid { grid-template-columns: 1fr; }
  .services__media { display: none; }
  .sgroup__img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 2px; margin-bottom: 26px; }
  .sgroup h3 { color: var(--text); }
  .sync__aside { position: static; }
  .tech__grid { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; }
  .tile { min-height: 340px; }
  .tile--big { grid-row: auto; min-height: 440px; }
  .about__photo { aspect-ratio: 16 / 11; }
  .map, .map iframe { min-height: 320px; }
}
@media (max-width: 760px) {
  .nav { gap: 12px; }
  .nav__links a:not([aria-label]) { display: none; }
  .nav__links { gap: 16px; }
  .nav .btn--sm { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__links { margin-left: auto; }
  .brand__word { font-size: 22px; }

  .sgroup__list { columns: 1; }
  .diesel { align-items: flex-end; }
  .diesel__bg::after { background: linear-gradient(0deg, var(--bg) 0%, rgb(var(--bg-rgb) / .9) 55%, rgb(var(--bg-rgb) / .35) 100%); }
  .diesel__cols { grid-template-columns: 1fr; gap: 28px; }
  .tabs__list { display: flex; width: 100%; }
  .tabs__tab { flex: 1; padding: 0 8px; letter-spacing: .06em; }
  .step p { font-size: 16px; }
  .wa-float { width: 48px; height: 48px; right: calc(14px + env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom)); font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .wa-float { transition: none; }
  .services__frame img, .tile img { transition: opacity 200ms ease; transform: none; }
}

/* Sin WebGL: foto del taller como respaldo */
.no-canvas { background: var(--bg) url("../assets/img/hero-fallback.jpg") center / cover no-repeat; }
.no-canvas #frames { display: none; }

/* ---------- Páginas sencillas (404 y privacidad) ---------- */
.page-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.page {
  max-width: 820px; margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) var(--gutter) clamp(80px, 10vw, 140px);
}
.page .display { font-size: clamp(44px, 6vw, 88px); }
.page__lead { margin-top: 20px; color: var(--muted-strong); font-size: 18px; max-width: 56ch; }
.page .ctas { margin-top: 36px; }
.legal h2 { font: 700 26px/1.1 var(--display); text-transform: uppercase; margin: 48px 0 14px; }
.legal p, .legal li { color: var(--muted-strong); font-size: 16px; line-height: 1.7; max-width: 68ch; }
.legal ul { padding-left: 20px; margin: 10px 0; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--orange); }
.legal .updated { margin-top: 18px; color: var(--muted); font-size: 14px; }
/* Datos que el taller debe completar antes de publicar: resaltados para que no se pasen por alto */
.todo { background: rgb(255 122 26 / 0.18); color: var(--orange); padding: 0 6px; border-radius: 2px; font-weight: 600; }
.error-code { font: 700 clamp(120px, 22vw, 240px)/0.8 var(--display); color: var(--orange); }

/* ---------- Prueba estilo BMW M (para volver atrás, borrar este bloque) ---------- */
/* 1 · Párrafos en peso liviano: más contraste con los títulos gruesos */
body, .lead, .section__lead, .sgroup__list, .step p, .tile p, .diesel__cols ul,
.plan dd, .about__vision, .info p, .hours dd, .page__lead, .legal p, .legal li { font-weight: 300; }
.lead { color: var(--text); }
/* 2 · Pestañas de Planes: subrayado en vez de bloque relleno */
.tabs__list { padding: 0; gap: 36px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.tabs__tab { padding: 0; min-height: 52px; }
.tabs__tab[aria-selected="true"] { color: var(--text); }
@media (hover: hover) and (pointer: fine) { .tabs__tab:hover { color: var(--text); } }
.tabs__indicator { top: auto; bottom: -1px; height: 2px; border-radius: 0; }
@media (max-width: 760px) { .tabs__list { gap: 0; } .tabs__tab { padding: 0 8px; } }

/* ================================================================== */
/* Dirección premium: trazo fino, un solo acento, mucho aire           */
/* (referencias: Singer, Rimac, Porsche)                               */
/* ================================================================== */

/* Títulos: condensada en trazo fino y a gran tamaño. El lujo está en la delgadez, no en el peso */
.display { font-weight: 300; letter-spacing: 0.01em; line-height: 0.95; }
.display em { color: var(--muted); }
.section .display, .section__title { font-size: clamp(48px, 6.4vw, 104px); line-height: 0.95; }
.panel .display { font-size: clamp(48px, 6.4vw, 104px); }
.panel .display--sm { font-size: clamp(30px, 3.2vw, 52px); line-height: 1; }
.panel--right .display { font-size: clamp(48px, 6vw, 96px); }
.display--sm { font-weight: 300; }
.counter { font-weight: 300; }
.counter span:first-child { color: var(--muted); }

/* Subtítulos de bloque: condensada media, sin color */
.sgroup h3, .step h3, .tile h3, .plan dt, .info h3, .legal h2 { font-weight: 400; letter-spacing: 0.02em; }
.diesel__cols h3 { color: var(--text); font-weight: 400; }

/* Ceja editorial numerada sobre cada título */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
  font: 500 12px/1 var(--body); letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted-strong);
}
.eyebrow span { color: var(--orange); font-variant-numeric: tabular-nums; }
.eyebrow span::after {
  content: ""; display: inline-block; width: 36px; height: 1px;
  margin-left: 14px; vertical-align: middle; background: rgb(255 255 255 / 0.3);
}

/* Navegación en mayúscula fina y espaciada */
.nav__links a { font-weight: 400; letter-spacing: 0.22em; font-size: 12px; color: var(--muted-strong); }

/* Logo en un solo tono: la marca no compite con el contenido */
.brand__mark { filter: brightness(0) invert(0.95); }
.brand__word { font-weight: 400; letter-spacing: 0.18em; }
.brand__word span { color: inherit; }

/* Botones: uno solo relleno por pantalla; el resto, contorno fino */
.btn { font-weight: 500; letter-spacing: 0.22em; font-size: 12px; border-radius: 0; }
.btn--line { border: 1px solid rgb(255 255 255 / 0.35); color: var(--text); }
@media (hover: hover) and (pointer: fine) {
  .btn--line:hover { background: var(--text); border-color: var(--text); color: #111; }
}
.btn--line .icon { opacity: 0.8; }
.btn--ghost { border-radius: 0; }

/* Enlaces de acción: texto blanco con subrayado que crece; la flecha es el acento */
.link-cta {
  color: var(--text); font-weight: 500; letter-spacing: 0.22em; font-size: 12px; gap: 10px;
  background: linear-gradient(currentColor, currentColor) left calc(100% - 10px) / 0 1px no-repeat;
  transition: background-size 300ms var(--ease);
}
.link-cta .icon { color: var(--orange); }
@media (hover: hover) and (pointer: fine) { .link-cta:hover { background-size: calc(100% - 26px) 1px; } }

/* Íconos informativos en tono neutro: el naranja queda para lo que se toca */
.benefits .icon, .info > .icon { color: var(--muted-strong); }
.hud b { color: var(--text); }

/* Más aire entre secciones */
.section { padding-block: clamp(120px, 14vw, 220px); }

/* Firma de marca: la línea de luz de la portada como separador */
.glow-line {
  height: 1px; max-width: 1480px; margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgb(255 122 26 / 0.15) 20%, var(--orange) 50%, rgb(255 122 26 / 0.15) 80%, transparent);
  box-shadow: 0 0 18px 1px rgb(255 122 26 / 0.35);
  opacity: 0.55;
}

/* Grano muy sutil: el negro deja de ser plano y se siente material */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Fotos sin marco: bordes rectos, mismo tono cálido y oscuro que la portada */
.tile, .services__frame, .about__photo, .sgroup__img, .map { border-radius: 0; }
.tile img, .services__frame img, .about__photo img, .sgroup__img, .diesel__bg img, .cta-band__bg img {
  filter: saturate(0.82) contrast(1.06) brightness(0.92) sepia(0.08);
}
.tech__grid { gap: 2px; }

/* Nosotros: tres cifras grandes en trazo fino, en lugar de la lista de valores */
.stats {
  margin: 56px 0 0; padding-top: 32px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
}
.stats div { display: flex; flex-direction: column-reverse; gap: 10px; }
.stats dd { margin: 0; font: 300 clamp(56px, 6vw, 96px)/0.9 var(--display); font-variant-numeric: tabular-nums; }
.stats dt { font: 500 11px/1.4 var(--body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.about__mission { font-weight: 300; }
.about__mission em { color: var(--text); }

/* Marcas: grilla fija, todas en el mismo tono y tamaño */
.brands { padding: clamp(48px, 5vw, 80px) var(--gutter); border-block: 1px solid var(--line); }
.brands__head { display: flex; justify-content: center; margin: 0 auto 48px; }
.brands__title { font: 500 12px/1 var(--body); letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); }
.brands__grid {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1180px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 44px clamp(40px, 5vw, 72px);
}
.brands__grid img {
  height: 36px; width: auto; max-width: 96px; object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1); opacity: 0.55;
  transition: opacity 200ms ease;
}
@media (hover: hover) and (pointer: fine) { .brands__grid li:hover img { opacity: 0.95; } }

/* Cierre: foto a lo ancho con la última invitación (antes era una franja naranja) */
.cta-band { position: relative; overflow: hidden; isolation: isolate; color: var(--text); }
.cta-band__bg { position: absolute; inset: 0; z-index: -1; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.cta-band__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgb(var(--bg-rgb) / .92) 0%, rgb(var(--bg-rgb) / .7) 55%, rgb(var(--bg-rgb) / .45) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 25%, transparent 75%, var(--bg) 100%);
}
.cta-band__inner {
  max-width: 1480px; margin: 0 auto;
  padding: clamp(140px, 16vw, 240px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 64px; align-items: end;
}
.cta-band__title { font: 300 clamp(48px, 7vw, 120px)/0.92 var(--display); text-transform: uppercase; max-width: 12ch; }
.cta-band__text { grid-column: 1; max-width: 46ch; font-size: clamp(16px, 1.3vw, 19px); font-weight: 300; color: var(--muted-strong); }
.cta-band .btn { grid-column: 2; grid-row: 1 / span 2; align-self: end; }

/* Cortina: las fotos se descubren de abajo hacia arriba al entrar */
.js-curtain [data-curtain] { clip-path: inset(100% 0 0 0); }

/* Página de error */
.error-code { font-weight: 300; color: var(--muted); }

@media (max-width: 900px) {
  .cta-band__inner { grid-template-columns: 1fr; }
  .cta-band .btn { grid-column: 1; grid-row: auto; justify-self: start; }
}
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; gap: 24px; }
  .stats div { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 16px; }
  .brands__grid { gap: 32px 36px; }
  .brands__grid img { height: 30px; }
  .eyebrow { margin-bottom: 20px; letter-spacing: 0.26em; }
}
@media (prefers-reduced-motion: reduce) {
  .js-curtain [data-curtain] { clip-path: none; }
}

/* ================================================================== */
/* Páginas de servicio (servicios/*.html)                              */
/* ================================================================== */
.svc-nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: calc(16px + env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) 16px max(var(--gutter), env(safe-area-inset-left));
}
.svc-nav .nav__links { margin-left: auto; }

/* Portada: foto a todo el ancho con el título en trazo fino */
.svc-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
}
.svc-hero__bg { position: absolute; inset: 0; z-index: -1; }
.svc-hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82) contrast(1.06) brightness(0.92) sepia(0.08); }
.svc-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgb(var(--bg-rgb) / .94) 0%, rgb(var(--bg-rgb) / .78) 45%, rgb(var(--bg-rgb) / .2) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 35%, transparent 80%, rgb(var(--bg-rgb) / .7) 100%);
}
.svc-hero__inner {
  width: 100%; max-width: 1480px; margin: 0 auto;
  padding: 160px var(--gutter) clamp(72px, 9vw, 128px);
}
.svc-hero .display { font-size: clamp(56px, 8vw, 132px); max-width: 11ch; }
.svc-hero__lead { margin-top: 28px; max-width: 52ch; font-size: clamp(16px, 1.3vw, 19px); font-weight: 300; color: var(--muted-strong); }

/* Ruta de navegación */
.crumbs ol { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; }
.crumbs li { font: 500 11px/1 var(--body); letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 12px; color: rgb(255 255 255 / 0.25); }
.crumbs a { color: var(--muted-strong); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--orange); }

/* Bloques: encabezado a la izquierda, contenido a la derecha */
.svc-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.svc-block > .svc-block__head { position: sticky; top: 48px; }
.svc-block .display { font-size: clamp(44px, 5vw, 80px); }

.svc-includes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.svc-includes li { border-top: 1px solid var(--line); padding: 28px 0 34px; }
.svc-includes h3 { font: 400 clamp(22px, 1.8vw, 28px)/1.05 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.svc-includes p { margin-top: 12px; color: var(--muted-strong); font-size: 15px; font-weight: 300; line-height: 1.55; }

.svc-benefits {
  grid-column: 2; list-style: none; margin: 8px 0 0; padding: 28px 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px 32px;
}
.svc-benefits li { font: 500 11px/1.4 var(--body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-strong); }
.svc-benefits li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); margin-right: 12px; vertical-align: 1px; }

/* Cuándo hacerlo: cifra grande + señales numeradas */
.svc-stat { margin-top: 48px; display: grid; gap: 12px; }
.svc-stat b { font: 300 clamp(48px, 5vw, 80px)/0.9 var(--display); font-variant-numeric: tabular-nums; }
.svc-stat span { max-width: 28ch; font: 500 11px/1.5 var(--body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.svc-signs { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.svc-signs li {
  display: flex; align-items: baseline; gap: clamp(20px, 3vw, 44px);
  padding: 26px 0; border-top: 1px solid var(--line);
  font: 300 clamp(24px, 2.4vw, 38px)/1.15 var(--display); text-wrap: balance;
}
.svc-signs li:last-child { border-bottom: 1px solid var(--line); }
.svc-signs__n { flex: none; width: 2ch; font: 500 12px/1 var(--body); letter-spacing: 0.2em; color: var(--orange); font-variant-numeric: tabular-nums; }

/* Más servicios: tarjetas con foto */
.svc-more .display { margin-bottom: clamp(40px, 5vw, 72px); font-size: clamp(44px, 5vw, 80px); }
.svc-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
.svc-card {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  aspect-ratio: 3 / 4; padding: 24px; overflow: hidden; isolation: isolate;
  color: var(--text); text-decoration: none; background: var(--surface);
}
.svc-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82) contrast(1.06) brightness(0.92) sepia(0.08); transition: transform 900ms var(--ease); }
.svc-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(var(--bg-rgb) / .92) 0%, rgb(var(--bg-rgb) / .3) 55%, rgb(var(--bg-rgb) / .1) 100%); }
.svc-card__name { font: 400 clamp(22px, 1.8vw, 28px)/1.05 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.svc-card .icon { flex: none; font-size: 18px; color: var(--orange); transition: transform 200ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .svc-card:hover img { transform: scale(1.04); }
  .svc-card:hover .icon { transform: translate(3px, -3px); }
}

/* Enlace "Ver el servicio" en la home */
.sgroup__links { display: flex; flex-wrap: wrap; gap: 4px 32px; }

/* Pie con los servicios */
.footer__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer__nav a { color: var(--muted-strong); text-decoration: none; font-size: 14px; }
.footer__nav a:hover, .footer__nav [aria-current] { color: var(--text); }

@media (max-width: 1180px) {
  .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-card { aspect-ratio: 4 / 3; }
}
@media (max-width: 900px) {
  .svc-block { grid-template-columns: 1fr; }
  .svc-block > .svc-block__head { position: static; }
  .svc-benefits { grid-column: 1; }
}
@media (max-width: 760px) {
  .svc-nav { gap: 12px; }
  .svc-nav .nav__links a { display: none; }
  .svc-nav__cta { display: none; }
  .svc-nav .btn--sm { margin-left: auto; padding: 0 14px; }
  .svc-includes { grid-template-columns: 1fr; }
  .svc-cards { grid-template-columns: 1fr; }
  .svc-card { aspect-ratio: 16 / 9; }
  .svc-hero__bg::after { background: linear-gradient(0deg, var(--bg) 0%, rgb(var(--bg-rgb) / .85) 50%, rgb(var(--bg-rgb) / .35) 100%); }
}
.diesel__more { margin: -12px 0 28px; }

/* ---------- Mantenimiento: foto con la frecuencia + puntos numerados ---------- */
.plans__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 110px); align-items: start;
}
.plans__photo {
  position: sticky; top: 104px; margin: 0;
  aspect-ratio: 4 / 5; overflow: hidden; isolation: isolate;
}
.plans__photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82) contrast(1.06) brightness(0.92) sepia(0.08); }
.plans__photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgb(var(--bg-rgb) / .95) 0%, rgb(var(--bg-rgb) / .55) 38%, rgb(var(--bg-rgb) / 0) 65%);
}
.plans__stat {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 14px;
  padding: clamp(24px, 3vw, 40px);
}
.plans__every { grid-column: 1 / -1; font: 500 11px/1 var(--body); letter-spacing: 0.32em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.plans__stat b { font: 300 clamp(96px, 11vw, 168px)/0.8 var(--display); font-variant-numeric: tabular-nums; }
.plans__unit { font: 300 clamp(28px, 2.6vw, 40px)/1 var(--display); text-transform: uppercase; color: var(--muted-strong); padding-bottom: 6px; }
.plans__stat small { grid-column: 1 / -1; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / 0.18); font: 500 11px/1.5 var(--body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-strong); }

/* Puntos del plan: una lista numerada con línea fina, se ilumina al pasar */
.plans .plan { grid-template-columns: 1fr; gap: 0; counter-reset: punto; }
.plans .plan > div {
  counter-increment: punto;
  display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 8px;
  padding: 22px 0 24px; border-top: 1px solid var(--line);
  transition: background-color 250ms ease;
}
.plans .plan > div:last-child { border-bottom: 1px solid var(--line); }
.plans .plan > div::before {
  content: counter(punto, decimal-leading-zero);
  grid-row: 1 / span 2; padding-top: 6px;
  font: 500 12px/1 var(--body); letter-spacing: 0.2em; color: var(--orange); font-variant-numeric: tabular-nums;
}
.plans .plan dt { font-size: clamp(22px, 1.9vw, 28px); transition: color 250ms ease; }
.plans .plan dd { margin-top: 8px; }
@media (hover: hover) and (pointer: fine) {
  .plans .plan > div:hover { background: linear-gradient(90deg, rgb(255 122 26 / 0.06), transparent 70%); }
}
.plans .tabs__list { margin-bottom: 8px; }
.plans__cta { margin-top: 40px; }

@media (max-width: 900px) {
  .plans__grid { grid-template-columns: 1fr; }
  .plans__photo { position: relative; top: 0; aspect-ratio: 16 / 11; }
  .plans__stat b { font-size: 96px; }
}
@media (max-width: 760px) {
  .plans .plan > div { grid-template-columns: 40px minmax(0, 1fr); }
}

/* ---------- Contacto: estado en vivo, filas con línea fina y mapa alto ---------- */
.contact__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 110px); }
.contact__info { gap: 0; align-items: stretch; }

.open-status {
  display: inline-flex; align-items: center; gap: 12px; align-self: flex-start;
  margin: 0 0 36px; padding: 10px 16px;
  border: 1px solid var(--line);
  font: 500 11px/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-strong);
}
.open-status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.open-status.is-open { border-color: rgb(52 199 89 / 0.35); color: var(--text); }
.open-status.is-open .open-status__dot { background: #34c759; box-shadow: 0 0 0 0 rgb(52 199 89 / 0.6); animation: pulso 2s ease-out infinite; }
@keyframes pulso { to { box-shadow: 0 0 0 10px rgb(52 199 89 / 0); } }
/* En la portada: debajo de la ubicación, antes de los botones */
.open-status--hero { margin: 22px 0 0; background: rgb(var(--bg-rgb) / 0.55); }
.open-status[hidden] { display: none; }

.crow {
  display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 8px 24px;
  padding: 32px 0; border-top: 1px solid var(--line);
}
.crow:last-of-type { border-bottom: 1px solid var(--line); }
.crow__label { padding-top: 8px; font: 500 11px/1.4 var(--body); letter-spacing: 0.26em; text-transform: uppercase; color: var(--orange); }
.crow__big { font: 300 clamp(30px, 2.8vw, 44px)/1.05 var(--display); text-transform: uppercase; color: var(--text); }
.crow__sub { margin: 10px 0 8px; color: var(--muted-strong); font-size: 15px; font-weight: 300; }
.crow__phones { display: flex; flex-direction: column; gap: 6px; }
.crow__phones a {
  font: 300 clamp(30px, 2.8vw, 44px)/1.05 var(--display); font-variant-numeric: tabular-nums;
  color: var(--text); text-decoration: none; transition: color 200ms ease;
}
.crow__phones a:hover { color: var(--orange); }
.crow .social { margin-top: 14px; }

.contact .hours { gap: 0; }
.contact .hours > div {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: baseline;
  padding: 10px 0; color: var(--muted);
}
.contact .hours > div + div { border-top: 1px dashed rgb(255 255 255 / 0.08); }
.contact .hours dt { margin: 0; font: 400 20px/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; color: inherit; }
.contact .hours dd { text-align: right; font-size: 15px; font-weight: 300; line-height: 1.5; font-variant-numeric: tabular-nums; }
.contact .hours .is-today { color: var(--text); }
.contact .hours .is-today dt::after {
  content: "Hoy"; margin-left: 10px; padding: 3px 6px; vertical-align: 3px;
  font: 600 9px/1 var(--body); letter-spacing: 0.2em; text-transform: uppercase;
  color: #111; background: var(--orange);
}
.contact__cta { margin-top: 40px; align-self: flex-start; }

.contact .map { min-height: 100%; }
.contact .map__preview { filter: grayscale(0.3) brightness(0.85) contrast(1.05); }
.contact .map::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, transparent 0 30%, rgb(var(--bg-rgb) / 0.55) 100%);
}
.contact .map > :not(.map__preview) { z-index: 2; }
.map__pin { filter: drop-shadow(0 0 14px rgb(255 122 26 / 0.7)); }
.map__load { border-radius: 0; }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact .map { min-height: 380px; }
}
@media (max-width: 760px) {
  .crow { grid-template-columns: 1fr; padding: 26px 0; }
  .crow__label { padding-top: 0; }
  .contact__cta { align-self: stretch; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .open-status.is-open .open-status__dot { animation: none; }
}

/* Servicios: foto de detalle junto a "Qué incluye" y banda de foto a todo el ancho */
.svc-figure { margin: 40px 0 0; aspect-ratio: 4 / 5; max-width: 440px; overflow: hidden; }
.svc-figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82) contrast(1.06) brightness(0.92) sepia(0.08); transition: transform 1200ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .svc-figure:hover img { transform: scale(1.03); } }
.svc-band { position: relative; margin: 0; height: clamp(320px, 62vh, 640px); overflow: hidden; }
.svc-band img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82) contrast(1.06) brightness(0.85) sepia(0.08); }
.svc-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, transparent 22%, transparent 78%, var(--bg) 100%); }
.svc-band figcaption {
  position: absolute; z-index: 1; left: var(--gutter); bottom: 28px;
  font: 500 11px/1.4 var(--body); letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted-strong);
}
.svc-band figcaption::before { content: ""; display: inline-block; width: 36px; height: 1px; margin-right: 14px; vertical-align: middle; background: var(--orange); }
@media (max-width: 900px) { .svc-figure { max-width: none; aspect-ratio: 16 / 11; } }

/* ================================================================== */
/* Encendido: al abrir la página las luces del taller se prenden       */
/* ================================================================== */
@property --luz { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.lights__veil {
  position: fixed; inset: 0; z-index: 300; pointer-events: none;
  background: #050506;
  /* la luz se abre desde el techo: el velo se recorta con un círculo que crece desde arriba */
  -webkit-mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, transparent var(--luz), #000 calc(var(--luz) + 18%));
  mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, transparent var(--luz), #000 calc(var(--luz) + 18%));
  animation: abrir-luz 1.5s cubic-bezier(0.65, 0, 0.35, 1) 0.75s forwards, ocultar 0s linear 2.4s forwards;
}
/* Primero se dibuja una línea de luz naranja arriba, desde el centro hacia los lados */
.lights__veil span:first-child {
  position: absolute; top: 0; left: 50%; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange) 30%, #ffd2a8 50%, var(--orange) 70%, transparent);
  box-shadow: 0 0 24px 2px rgb(255 122 26 / 0.7), 0 0 120px 30px rgb(255 122 26 / 0.18);
  transform: translateX(-50%) scaleX(0);
  animation: linea-luz 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.1s forwards, apagar-linea 0.8s ease 1.5s forwards;
}
.lights__veil span:not(:first-child) { display: none; }
@keyframes linea-luz {
  0% { transform: translateX(-50%) scaleX(0); opacity: 1; }
  70% { opacity: 1; }
  82% { opacity: 0.45; }
  100% { transform: translateX(-50%) scaleX(1); opacity: 1; }
}
@keyframes abrir-luz { to { --luz: 140%; } }
@keyframes ocultar { to { visibility: hidden; } }
@keyframes apagar-linea { to { opacity: 0; } }
/* La foto de portada sube de brillo como si la iluminaran, y el texto aparece después */
.lights .svc-hero__bg img { animation: encender 2.2s cubic-bezier(0.23, 1, 0.32, 1) 0.8s both; }
@keyframes encender {
  0% { transform: scale(1.06); filter: brightness(0.25) saturate(0.6); }
  100% { transform: scale(1); filter: saturate(0.82) contrast(1.06) brightness(0.92) sepia(0.08); }
}
.lights .svc-hero__inner > * { animation: subir 1s cubic-bezier(0.23, 1, 0.32, 1) both; }
.lights .svc-hero__inner > :nth-child(1) { animation-delay: 1.3s; }
.lights .svc-hero__inner > :nth-child(2) { animation-delay: 1.42s; }
.lights .svc-hero__inner > :nth-child(3) { animation-delay: 1.56s; }
.lights .svc-hero__inner > :nth-child(4) { animation-delay: 1.7s; }
.lights .svc-nav { animation: subir 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1.5s both; }
@keyframes subir { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .lights__veil { display: none; }
  .lights .svc-hero__bg img, .lights .svc-hero__inner > *, .lights .svc-nav { animation: none; }
}

/* ================================================================== */
/* Portadas de servicio: cada una con su composición                  */
/* ================================================================== */
.svc-hero--center { align-items: center; text-align: center; }
.svc-hero--center .svc-hero__inner { display: flex; flex-direction: column; align-items: center; padding-top: 140px; }
.svc-hero--center .display { max-width: 14ch; }
.svc-hero--center .crumbs ol { justify-content: center; }
.svc-hero--center .svc-hero__bg::after { background: radial-gradient(ellipse at center, rgb(var(--bg-rgb) / .75) 0%, rgb(var(--bg-rgb) / .55) 45%, rgb(var(--bg-rgb) / .9) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }

.svc-hero--right .svc-hero__inner { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.svc-hero--right .crumbs ol { justify-content: flex-end; }
.svc-hero--right .svc-hero__bg::after { background: linear-gradient(270deg, rgb(var(--bg-rgb) / .94) 0%, rgb(var(--bg-rgb) / .75) 45%, rgb(var(--bg-rgb) / .15) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 35%); }

/* Mitad foto, mitad texto */
.svc-hero--split .svc-hero__bg { left: 50%; }
.svc-hero--split .svc-hero__bg::after { background: linear-gradient(90deg, var(--bg) 0%, rgb(var(--bg-rgb) / 0) 40%), linear-gradient(0deg, var(--bg) 0%, transparent 25%); }
.svc-hero--split { align-items: center; }
.svc-hero--split .svc-hero__inner { padding-top: 140px; }
.svc-hero--split .svc-hero__inner > * { max-width: 46%; }

/* Título enorme abajo, a todo el ancho */
.svc-hero--low .display { max-width: none; font-size: clamp(64px, 11vw, 190px); line-height: 0.86; }
.svc-hero--low .svc-hero__lead { max-width: 60ch; }

/* ================================================================== */
/* Qué incluye: cinco composiciones                                    */
/* ================================================================== */
.svc-inc .display { font-size: clamp(44px, 5vw, 80px); }
.svc-num { display: block; margin-bottom: 18px; font: 500 12px/1 var(--body); letter-spacing: 0.2em; color: var(--orange); font-variant-numeric: tabular-nums; }

/* 1 · Pasos en fila con línea de avance */
.svc-inc--pasos .svc-block__head { max-width: 760px; margin-bottom: 56px; }
.svc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.svc-steps li { position: relative; padding: 36px 32px 44px 0; border-top: 1px solid var(--line); }
.svc-steps li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px rgb(255 122 26 / 0.8); }
.svc-steps h3, .svc-hudlist h3, .svc-editorial h3 { font: 400 clamp(22px, 1.8vw, 28px)/1.05 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.svc-steps p, .svc-hudlist p, .svc-editorial p { margin-top: 12px; color: var(--muted-strong); font-size: 15px; font-weight: 300; line-height: 1.55; }
.svc-inc--pasos .svc-benefits { margin-top: 24px; }
.svc-pair { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2px; max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }
.svc-pair figure { position: relative; margin: 0; overflow: hidden; height: clamp(360px, 60vh, 620px); }
.svc-pair img, .svc-mosaic img, .svc-lateral__photo img, .svc-editorial__photo img, .svc-hud__bg img {
  width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82) contrast(1.06) brightness(0.9) sepia(0.08);
}
.svc-pair figcaption { position: absolute; left: 24px; bottom: 20px; font: 500 11px/1.4 var(--body); letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted-strong); }

/* 2 · Panel tipo escáner sobre una foto a todo el ancho */
.svc-inc--hud { position: relative; isolation: isolate; min-height: 100vh; display: flex; align-items: center; justify-content: flex-end; padding: clamp(96px, 10vw, 160px) var(--gutter); }
.svc-hud__bg { position: absolute; inset: 0; z-index: -1; }
.svc-hud__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgb(var(--bg-rgb) / .92) 0%, rgb(var(--bg-rgb) / .6) 50%, rgb(var(--bg-rgb) / .3) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 20%, transparent 80%, var(--bg) 100%); }
.svc-hud__panel {
  width: min(560px, 100%); padding: clamp(28px, 3vw, 44px);
  background: rgb(var(--bg-rgb) / 0.55); backdrop-filter: blur(14px);
  border: 1px solid rgb(255 255 255 / 0.1); border-top: 2px solid var(--orange);
}
.svc-hud__panel .svc-block__head { margin-bottom: 20px; }
.svc-hudlist { list-style: none; margin: 0; padding: 0; }
.svc-hudlist li { display: grid; grid-template-columns: 1fr; padding: 16px 0; border-top: 1px solid rgb(255 255 255 / 0.08); }
.svc-hudlist h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.svc-hudlist h3::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #34c759; box-shadow: 0 0 8px #34c759; }
.svc-hudlist p { margin-top: 6px; font-size: 14px; }

/* 3 · Foto vertical fija a la izquierda y lista numerada */
.svc-inc--lateral { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.svc-lateral__photo { position: sticky; top: 48px; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.svc-inc--lateral .svc-block__head { margin-bottom: 40px; }
.svc-inc--lateral .svc-includes { grid-template-columns: 1fr; }
.svc-inc--lateral .svc-includes li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 8px; }
.svc-inc--lateral .svc-num { grid-row: 1 / span 2; margin: 6px 0 0; }

/* 4 · Editorial: dos columnas de texto con la foto al centro */
.svc-inc--editorial .svc-block__head { text-align: center; margin: 0 auto 64px; max-width: 900px; }
.svc-inc--editorial .eyebrow { justify-content: center; }
.svc-editorial { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.svc-editorial__col { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.svc-editorial__col:first-child { text-align: right; }
.svc-editorial__col li { padding-top: 20px; border-top: 1px solid var(--line); }
.svc-editorial__photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.svc-band--tall { height: clamp(380px, 80vh, 820px); }

/* 5 · Mosaico: lista a la izquierda, dos fotos escalonadas a la derecha */
.svc-inc--mosaico { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.svc-inc--mosaico .svc-block__head { margin-bottom: 40px; }
.svc-includes--one { grid-template-columns: 1fr !important; }
.svc-mosaic { position: relative; height: clamp(520px, 80vh, 760px); }
.svc-mosaic figure { position: absolute; margin: 0; overflow: hidden; }
.svc-mosaic__a { top: 0; left: 0; width: 62%; height: 72%; }
.svc-mosaic__b { right: 0; bottom: 0; width: 64%; height: 46%; outline: 10px solid var(--bg); }

/* ================================================================== */
/* Cuándo hacerlo: tres composiciones                                  */
/* ================================================================== */
.svc-when--centro { text-align: center; }
.svc-when--centro .eyebrow { justify-content: center; }
.svc-bigstat { display: grid; gap: 14px; justify-items: center; margin: 12px 0 56px; }
.svc-bigstat b { font: 300 clamp(80px, 13vw, 220px)/0.85 var(--display); font-variant-numeric: tabular-nums; background: linear-gradient(180deg, var(--text) 30%, rgb(242 239 233 / 0.25)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.svc-bigstat span { max-width: 36ch; font: 500 11px/1.5 var(--body); letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.svc-when--centro .display { font-size: clamp(40px, 4.4vw, 68px); margin-bottom: 48px; }
.svc-signs--2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; text-align: left; max-width: 1100px; margin: 0 auto; }
.svc-signs--2col li:last-child { border-bottom: 0; }
.svc-signs--2col li { border-bottom: 0; }

.svc-when__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 56px; }
.svc-when--tarjetas .display { font-size: clamp(44px, 5vw, 80px); }
.svc-when__top .svc-stat { margin: 0; text-align: right; justify-items: end; }
.svc-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; counter-reset: t; }
.svc-tiles li {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: 240px; padding: 26px 24px;
  background: var(--bg-2); border-top: 1px solid var(--line);
  transition: background-color 300ms ease, border-color 300ms ease;
}
.svc-tiles p { font: 300 clamp(22px, 1.8vw, 28px)/1.15 var(--display); }
@media (hover: hover) and (pointer: fine) {
  .svc-tiles li:hover { background: var(--surface); border-top-color: var(--orange); }
}

@media (max-width: 1180px) {
  .svc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .svc-hero--split .svc-hero__bg { left: 0; }
  .svc-hero--split .svc-hero__bg::after { background: linear-gradient(0deg, var(--bg) 0%, rgb(var(--bg-rgb) / .85) 50%, rgb(var(--bg-rgb) / .35) 100%); }
  .svc-hero--split { align-items: flex-end; }
  .svc-hero--split .svc-hero__inner > * { max-width: none; }
  .svc-hero--right .svc-hero__inner { align-items: flex-start; text-align: left; }
  .svc-hero--right .crumbs ol { justify-content: flex-start; }
  .svc-inc--lateral, .svc-inc--mosaico { grid-template-columns: 1fr; }
  .svc-lateral__photo { position: relative; top: 0; aspect-ratio: 16 / 11; }
  .svc-editorial { grid-template-columns: 1fr; }
  .svc-editorial__col:first-child { text-align: left; }
  .svc-editorial__photo { aspect-ratio: 16 / 11; order: -1; }
  .svc-pair { grid-template-columns: 1fr; }
  .svc-pair figure { height: 320px; }
  .svc-signs--2col { grid-template-columns: 1fr; }
  .svc-when__top .svc-stat { text-align: left; justify-items: start; }
}
@media (max-width: 760px) {
  .svc-steps, .svc-tiles { grid-template-columns: 1fr; }
  .svc-tiles li { min-height: 0; gap: 16px; }
  .svc-hero--center { text-align: left; }
  .svc-hero--center .svc-hero__inner { align-items: flex-start; }
  .svc-hero--center .crumbs ol { justify-content: flex-start; }
  .svc-inc--hud { min-height: 0; padding-inline: 16px; }
  .svc-mosaic { height: 460px; }
}

/* ------------------------------------------------------------------ */
/* Celular: tarjetas que se deslizan con el dedo y zonas táctiles      */
/* ------------------------------------------------------------------ */
.swipe-dots { display: none; }
@media (max-width: 900px) {
  /* Servicios y Tecnología: una fila de tarjetas con la siguiente asomando, en vez de pantallas de lista */
  [data-swipe] {
    display: grid !important;
    grid-auto-flow: column; grid-auto-columns: 84%;
    grid-template-columns: none !important; grid-template-rows: none !important;
    gap: 12px;
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 6px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  [data-swipe]::-webkit-scrollbar { display: none; }
  [data-swipe] > * { scroll-snap-align: start; min-width: 0; }

  .sgroup, .sgroup + .sgroup {
    padding: 0 0 24px; border: 1px solid var(--line);
    background: rgb(255 255 255 / 0.02);
  }
  .sgroup__img { margin-bottom: 20px; aspect-ratio: 4 / 3; }
  .sgroup h3, .sgroup__list, .sgroup__links { padding-inline: 20px; }
  .sgroup h3 { font-size: 30px; }
  .sgroup__list { columns: 1; }
  .sgroup__list li { padding-bottom: 10px; }

  .tile, .tile--big { min-height: 440px; }

  .swipe-dots {
    display: flex; justify-content: center; gap: 8px;
    margin-top: 22px;
  }
  .swipe-dots span {
    width: 6px; height: 6px; border-radius: 3px;
    background: rgb(255 255 255 / 0.22);
    transition: width 250ms var(--ease), background-color 250ms ease;
  }
  .swipe-dots span.is-on { width: 22px; background: var(--orange); }

  /* Zonas táctiles de al menos 44 px */
  .crow__phones a, .footer__nav a, .footer__legal a, .social a, .link-cta {
    display: inline-flex; align-items: center; min-height: 44px;
  }
  .crow__phones { gap: 0; }
}
/* Tablet vertical: dos tarjetas casi completas a la vista */
@media (min-width: 561px) and (max-width: 900px) {
  [data-swipe] { grid-auto-columns: 58%; gap: 16px; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  [data-swipe] { scroll-behavior: auto; }
  .swipe-dots span { transition: none; }
}
