/* =========================================================
   Mobiltran · mobiltran.com.uy
   Blanco y negro con un color de acento (hoy verde agua).
   El acento se cambia en UN solo lugar: --accent (y --on-accent, el color del texto encima).
   Firma NS (Nico Stratta): cabezal píldora flotante, ☰ en círculo aparte,
   volver arriba con anillo de progreso, foco propio y scroll fino.
   Rangos: < 750px celular · 750–1099px tablet · ≥ 1100px escritorio.
   ========================================================= */

@property --bar-h {
  syntax: '<length>';
  inherits: true;
  initial-value: 64px;
}

:root {
  --ink: #111111;
  --ink-2: #1c1c1b;
  --ink-3: #2a2a28;
  --paper: #fafaf7;
  --paper-2: #efeee8;
  --white: #ffffff;
  --muted: #5c5c57;
  --muted-light: rgb(255 255 255 / 0.66);
  --line: rgb(17 17 17 / 0.12);
  --line-light: rgb(255 255 255 / 0.12);
  /* ---- Color de acento ----
     Cambiar solo estas dos líneas. --on-accent es el texto que va encima del acento:
     oscuro (var(--ink)) para colores claros, blanco (#fff) para colores oscuros. */
  --accent: #2ec4b6;
  --on-accent: var(--ink);
  --accent-2: color-mix(in srgb, var(--accent) 82%, white);

  --f-display: 'Archivo', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Firma NS */
  --ns-accent: var(--accent);
  --ns-gap: 14px;
  --ns-gap-x: clamp(14px, 2.2vw, 32px);
  --ns-radius: 40px;
  --ns-split: 10px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 999px;
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}
.eyebrow--light { color: var(--muted-light); }

.title {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 850;
  font-stretch: 78%;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 5.2vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.005em;
  margin-top: 14px;
  text-wrap: balance;
}

.hl {
  background: linear-gradient(transparent 62%, var(--accent) 62% 94%, transparent 94%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding-inline: 0.06em;
}
.section--dark .hl {
  background: none;
  color: var(--accent);
  padding: 0;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.35s;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }

.btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 14px 30px -16px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn--accent:hover { background: var(--accent-2); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-3); }
.btn--ghost-light { border-color: rgb(255 255 255 / 0.3); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--white); background: rgb(255 255 255 / 0.06); }
.btn--ghost-ink { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost-ink:hover { background: var(--ink); color: var(--white); }

/* =========================================================
   Firma NS · Cabezal flotante tipo píldora
   ========================================================= */
.ns-header {
  --glass: color-mix(in srgb, var(--ink) 52%, transparent);
  --bar-h: 64px;

  position: fixed;
  top: var(--ns-gap);
  left: var(--ns-gap-x);
  right: var(--ns-gap-x);
  z-index: 50;
  display: grid;
  grid-template-columns: var(--bar-h) minmax(0, 1fr);
  column-gap: var(--ns-split);
  align-items: start;
  color: var(--white);
  transition: --bar-h 0.35s var(--ease);
  /* La grilla del header ocupa también el alto del desplegable (cerrado):
     sin esto, esa zona invisible tapaba los clics de la página. */
  pointer-events: none;
}
.ns-header > .ns-menu-btn,
.ns-header > .ns-bar,
.ns-header.is-open > .ns-panel { pointer-events: auto; }

.ns-header.is-scrolled,
.ns-header.is-open {
  --glass: color-mix(in srgb, var(--ink) 88%, transparent);
  --bar-h: 56px;
}

.ns-menu-btn,
.ns-bar,
.ns-panel {
  background: var(--glass);
  border: 1px solid rgb(255 255 255 / 0.12);
  box-shadow: 0 16px 36px -20px rgb(0 0 0 / 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  transition: background-color 0.4s ease;
}

/* ☰ en su propio círculo */
.ns-menu-btn {
  grid-column: 1;
  grid-row: 1;
  width: var(--bar-h);
  height: var(--bar-h);
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  color: var(--white);
}
.ns-menu-btn__lines {
  position: relative;
  width: 20px;
  height: 12px;
  transition: transform 0.35s var(--ease);
}
.ns-menu-btn__lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease), width 0.35s var(--ease);
}
.ns-menu-btn__lines span:first-child { top: 0; }
.ns-menu-btn__lines span:last-child { top: 10px; width: 70%; }
.ns-menu-btn:hover { color: var(--accent); }
.ns-menu-btn:hover .ns-menu-btn__lines { transform: scale(1.08); }
.ns-menu-btn:hover .ns-menu-btn__lines span:last-child { width: 100%; }

.ns-header.is-open .ns-menu-btn__lines span:first-child { top: 5px; transform: rotate(45deg); }
.ns-header.is-open .ns-menu-btn__lines span:last-child { top: 5px; width: 100%; transform: rotate(-45deg); }

/* Barra principal */
.ns-bar {
  grid-column: 2;
  grid-row: 1;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  gap: 24px;
  padding-inline: clamp(16px, 1.8vw, 26px) 8px;
  border-radius: var(--ns-radius);
}

.ns-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.ns-brand img {
  width: 48px;
  transition: transform 0.45s var(--ease);
}
.ns-brand:hover img { transform: translateX(-4px); }
.ns-brand span {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 72%;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1;
}

.ns-nav {
  display: flex;
  gap: clamp(18px, 2.4vw, 36px);
  margin-inline: auto;
}
.ns-nav a {
  position: relative;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.78);
  padding-block: 6px;
  transition: color 0.25s;
}
.ns-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.ns-nav a:hover,
.ns-nav a.is-active { color: var(--white); }
.ns-nav a:hover::after,
.ns-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.ns-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: calc(var(--bar-h) - 16px);
  padding-inline: 18px;
  margin-left: auto;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  font-size: 0.9rem;
  flex: none;
  transition: background-color 0.25s, transform 0.35s var(--ease);
}
.ns-nav + .ns-cta { margin-left: 0; }
.ns-cta svg { width: 18px; height: 18px; }
.ns-cta:hover { background: var(--accent-2); transform: scale(1.03); }

/* Desplegable: dentro de la columna de la barra principal */
.ns-panel {
  grid-column: 2;
  grid-row: 2;
  margin-top: 8px;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--ink) 95%, transparent);
  padding: clamp(24px, 3.4vw, 44px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  max-height: calc(100svh - var(--bar-h) - var(--ns-gap) * 2 - 8px);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.985);
  transform-origin: top center;
  transition: opacity 0.3s ease, transform 0.45s var(--ease), visibility 0s linear 0.45s;
}
.ns-header.is-open .ns-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.3s ease, transform 0.45s var(--ease), visibility 0s;
}

.ns-panel__nav { display: flex; flex-direction: column; }
.ns-panel__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-block: 8px;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 850;
  font-stretch: 75%;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1;
  border-bottom: 1px solid var(--line-light);
  transition: color 0.25s, padding-left 0.4s var(--ease);
}
.ns-panel__nav a small {
  font-family: var(--f-body);
  font-style: normal;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.ns-panel__nav a:hover { color: var(--accent); padding-left: 8px; }

.ns-panel__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: end;
  font-size: 0.95rem;
  color: rgb(255 255 255 / 0.85);
}
.ns-panel__info a,
.ns-panel__info p {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ns-panel__info a:hover { color: var(--accent); }
.ns-panel__info svg { width: 18px; height: 18px; flex: none; color: var(--accent); }
.ns-panel__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* Vidrio sobre la página con el menú abierto */
.ns-scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgb(10 10 10 / 0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
body.menu-open .ns-scrim {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0s;
}

@media (max-width: 1099px) {
  .ns-nav { display: none; }
  .ns-nav + .ns-cta { margin-left: auto; }
}

@media (max-width: 749px) {
  :root { --ns-gap: 10px; --ns-gap-x: 10px; }

  .ns-header { grid-template-columns: minmax(0, 1fr); --bar-h: 58px; }
  .ns-header.is-scrolled,
  .ns-header.is-open { --bar-h: 54px; }

  /* En celular el ☰ vive dentro de la píldora */
  .ns-menu-btn {
    position: relative;
    z-index: 1;
    width: 44px;
    height: 44px;
    margin: calc((var(--bar-h) - 44px) / 2) 0 0 7px;
    background: transparent;
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .ns-bar {
    grid-column: 1;
    padding-left: 58px;
    gap: 12px;
    border-radius: min(var(--ns-radius), 28px);
  }
  .ns-brand img { width: 40px; }
  .ns-brand span { font-size: 1.25rem; }
  .ns-cta { padding-inline: 14px; }

  .ns-panel {
    grid-column: 1;
    grid-template-columns: 1fr;
    gap: 28px;
    border-radius: 24px;
  }
  .ns-panel__info { align-self: start; }
}

@media (max-width: 379px) {
  .ns-cta span { display: none; }
  .ns-cta { width: calc(var(--bar-h) - 16px); padding: 0; justify-content: center; }
}

/* =========================================================
   Portada
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: calc(var(--ns-gap) + 64px + clamp(40px, 7vw, 88px)) 36px;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 78% 45%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    linear-gradient(rgb(255 255 255 / 0.045) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgb(255 255 255 / 0.045) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(120% 90% at 60% 40%, #000 40%, transparent 85%);
  mask-image: radial-gradient(120% 90% at 60% 40%, #000 40%, transparent 85%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}

.hero__title {
  margin-top: 22px;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 74%;
  text-transform: uppercase;
  font-size: clamp(2.7rem, 6.4vw, 5.3rem);
  line-height: 0.9;
  letter-spacing: -0.005em;
}
.hero__title > * { display: block; }
@media (min-width: 750px) {
  .hero__title > * { white-space: nowrap; }
}
.hero__title em {
  font-style: inherit;
  color: var(--accent);
}

.hero__lead {
  max-width: 34rem;
  margin-top: 26px;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--muted-light);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

/* Escena: 65 gigante + auto andando */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 0.92;
  width: 100%;
  max-width: 580px;
  justify-self: end;
}

.hero__big {
  position: absolute;
  top: -4%;
  right: -2%;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 70%;
  font-size: clamp(12rem, 29vw, 27rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px rgb(255 255 255 / 0.16);
  user-select: none;
}
.hero__big-cap {
  position: absolute;
  top: 6%;
  right: 2%;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-4deg);
}

.hero__scene {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8%;
}
.hero__car {
  width: 86%;
  margin-inline: auto;
  filter: drop-shadow(0 24px 30px rgb(0 0 0 / 0.5));
  animation: car-bob 0.9s ease-in-out infinite alternate;
}
.hero__road {
  position: relative;
  height: 4px;
  margin: -2% -30% 0;
  background: repeating-linear-gradient(90deg, var(--accent) 0 34px, transparent 34px 72px);
  border-radius: 2px;
  animation: road 0.7s linear infinite;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}
.hero__road::before {
  content: '';
  position: absolute;
  inset: auto 0 -14px;
  height: 1px;
  background: rgb(255 255 255 / 0.18);
}

@keyframes car-bob {
  from { transform: translateY(0); }
  to { transform: translateY(-3px); }
}
@keyframes road {
  from { background-position-x: 0; }
  to { background-position-x: 72px; }
}

.chip {
  position: absolute;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.16);
  background: rgb(255 255 255 / 0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 5s ease-in-out infinite;
}
.chip--accent { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.chip--a { top: 30%; left: 2%; }
.chip--b { top: 44%; right: 0; animation-delay: -1.5s; }
.chip--c { top: 12%; left: 22%; animation-delay: -3s; }
.chip--d { bottom: 0; left: 30%; animation-delay: -2.2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(40px, 6vw, 72px);
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}
.hero__stats li {
  padding: 22px 20px 4px 0;
}
.hero__stats li + li {
  padding-left: 20px;
  border-left: 1px solid var(--line-light);
}
.hero__stats strong {
  display: block;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 850;
  font-stretch: 78%;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--accent);
}
.hero__stats span {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--muted-light);
}

@media (max-width: 999px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; max-width: 480px; aspect-ratio: 1 / 0.8; }
}

@media (max-width: 749px) {
  .hero { padding-top: calc(var(--ns-gap) + 58px + 40px); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__visual { aspect-ratio: 1 / 0.85; }
  .hero__big { font-size: 58vw; }
  .chip { font-size: 0.66rem; padding: 6px 11px; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stats li,
  .hero__stats li + li { padding: 18px 14px 16px 0; border-left: 0; }
  .hero__stats li:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line-light); }
  .hero__stats li:nth-child(n + 3) { border-top: 1px solid var(--line-light); }
}

/* =========================================================
   Cinta
   ========================================================= */
.ticker {
  overflow: hidden;
  background: var(--accent);
  color: var(--on-accent);
  border-block: 1px solid var(--ink);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 38s linear infinite;
}
.ticker__group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 14px;
}
.ticker__group span {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 850;
  font-stretch: 78%;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__group img { width: 44px; flex: none; }
.ticker:hover .ticker__track { animation-play-state: paused; }

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* =========================================================
   Secciones
   ========================================================= */
.section {
  padding-block: clamp(72px, 10vw, 128px);
}
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--white); }

.section__head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section__lead {
  margin-top: 18px;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- Servicios ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
  padding: 28px 26px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
  transition: background-color 0.35s ease, color 0.35s ease, transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.card:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -24px rgb(0 0 0 / 0.5);
}
.card__num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 800;
  font-stretch: 75%;
  font-size: 1.1rem;
  color: rgb(17 17 17 / 0.28);
  transition: color 0.35s;
}
.card:hover .card__num { color: var(--accent); }
.card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--paper-2);
  transition: background-color 0.35s, color 0.35s, transform 0.45s var(--ease);
}
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon { background: var(--accent); color: var(--on-accent); transform: rotate(-8deg); }
.card h3 {
  margin-top: 28px;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 850;
  font-stretch: 78%;
  font-size: 1.45rem;
  line-height: 1.02;
  text-transform: uppercase;
}
.card p {
  font-size: 0.93rem;
  color: var(--muted);
  transition: color 0.35s;
}
.card:hover p { color: var(--muted-light); }

.card--cta {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.card--cta .card__num { color: var(--on-accent); font-size: 1.8rem; top: 16px; }
.card--cta h3 { margin-top: auto; }
.card--cta p { color: var(--on-accent); opacity: 0.8; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-weight: 600;
  font-size: 0.93rem;
}
.card__link svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.card--cta:hover .card__link svg { transform: translateX(4px); }

@media (max-width: 1099px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 749px) {
  .cards { grid-template-columns: 1fr; gap: 12px; }
  .card { min-height: 0; padding: 24px 22px; }
  .card h3 { margin-top: 18px; }
}

/* ---------- Nosotros ---------- */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.about__side { position: sticky; top: 120px; }
.about__num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 70%;
  font-size: clamp(8rem, 18vw, 15rem);
  line-height: 0.8;
  letter-spacing: -0.02em;
}
.about__num span { color: var(--accent); -webkit-text-stroke: 3px var(--ink); }
.about__num-cap {
  max-width: 22rem;
  margin-top: 18px;
  font-weight: 500;
  color: var(--muted);
}
.about__badge {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 36px 0 0;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
}
.about__badge img { width: 96px; flex: none; }
.about__badge figcaption { font-size: 0.88rem; color: var(--muted); }

.about__text > p {
  margin-top: 22px;
  font-size: 1.08rem;
  max-width: 38rem;
}
.about__text > p:first-of-type { margin-top: 30px; }

.values {
  display: grid;
  gap: 14px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.values li {
  display: flex;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
}
.values__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
}
.values__icon svg { width: 18px; height: 18px; }
.values h3 {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 850;
  font-stretch: 80%;
  font-size: 1.2rem;
  text-transform: uppercase;
  line-height: 1.1;
}
.values p { margin-top: 4px; color: var(--muted); font-size: 0.95rem; }

@media (max-width: 899px) {
  .about { grid-template-columns: 1fr; }
  .about__side { position: static; order: 2; }
}

/* ---------- Cómo trabajamos: la ruta ---------- */
.route {
  --dot: 60px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.route::before,
.route::after {
  content: '';
  position: absolute;
  top: calc(var(--dot) / 2 - 1px);
  left: calc(var(--dot) / 2);
  right: calc((100% - 84px) / 4 - var(--dot) / 2);
  height: 2px;
}
.route::before { background: var(--line-light); }
.route::after {
  background: repeating-linear-gradient(90deg, var(--accent) 0 18px, transparent 18px 32px);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--ease) 0.2s;
}
.route.is-in::after { transform: scaleX(1); }

.route__stop { position: relative; }
.route__dot {
  display: grid;
  place-items: center;
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--accent);
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 75%;
  font-size: 1.6rem;
  color: var(--accent);
  position: relative;
  z-index: 1;
}
.route__stop:last-child .route__dot { background: var(--accent); color: var(--on-accent); }
.route h3 {
  margin-top: 24px;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 850;
  font-stretch: 78%;
  font-size: 1.6rem;
  text-transform: uppercase;
  line-height: 1;
}
.route p { margin-top: 10px; color: var(--muted-light); font-size: 0.95rem; }

@media (max-width: 899px) {
  .route { grid-template-columns: 1fr; gap: 34px; --dot: 52px; }
  .route::before,
  .route::after {
    top: calc(var(--dot) / 2);
    bottom: 60px;
    left: calc(var(--dot) / 2 - 1px);
    right: auto;
    width: 2px;
    height: auto;
  }
  .route::after {
    background: repeating-linear-gradient(180deg, var(--accent) 0 18px, transparent 18px 32px);
    transform: scaleY(0);
    transform-origin: top;
  }
  .route.is-in::after { transform: scaleY(1); }
  .route__stop { padding-left: calc(var(--dot) + 20px); }
  .route__dot { position: absolute; left: 0; top: 0; }
  .route h3 { margin-top: 10px; }
}

/* ---------- Llamado ---------- */
.banner {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  color: var(--on-accent);
  padding-block: clamp(56px, 8vw, 96px);
}
.banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  grid-template-areas:
    'text scene'
    'actions scene';
  column-gap: clamp(32px, 6vw, 96px);
  row-gap: 28px;
  align-items: center;
}
.banner__text { grid-area: text; align-self: end; }
.banner__actions { grid-area: actions; align-self: start; display: flex; flex-wrap: wrap; gap: 12px; }
.doc-scene { grid-area: scene; }

.banner__title {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 74%;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  line-height: 0.92;
  max-width: 14ch;
}
.banner p { margin-top: 12px; font-weight: 500; }
.banner .btn--ghost-ink { border-color: currentColor; color: inherit; }
.banner .btn--ghost-ink:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* "frena": un frenazo al arrancar cada vuelta */
.banner__brake {
  display: inline-block;
  animation: brake 7s var(--ease) infinite;
}
@keyframes brake {
  0%, 2% { transform: none; }
  4% { transform: translateX(14px) skewX(-14deg); }
  7% { transform: translateX(-3px) skewX(4deg); }
  10%, 100% { transform: none; }
}

/* Escena: papel → firma → sello → barrera → camión */
.doc-scene { position: relative; max-width: 400px; width: 100%; justify-self: end; }

.doc {
  position: relative;
  padding: 22px 24px 26px;
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 50px -28px rgb(0 0 0 / 0.5);
  transform: rotate(-3deg);
  animation: doc-shake 7s linear infinite;
}
.doc__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 6px !important;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.doc__line {
  display: block;
  width: var(--w);
  height: 8px;
  margin-top: 14px;
  border-radius: 4px;
  background: rgb(17 17 17 / 0.14);
  transform-origin: left;
}
.doc__line:nth-of-type(1) { animation: doc-l0 7s var(--ease) infinite; }
.doc__line:nth-of-type(2) { animation: doc-l1 7s var(--ease) infinite; }
.doc__line:nth-of-type(3) { animation: doc-l2 7s var(--ease) infinite; }
.doc__line:nth-of-type(4) { animation: doc-l3 7s var(--ease) infinite; }
.doc__sign {
  width: 120px;
  height: 36px;
  margin-top: 16px;
  overflow: visible;
}
.doc__sign path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: doc-sign 7s ease-in-out infinite;
}
.doc__stamp {
  position: absolute;
  right: 18px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 10px;
  border: 3px solid var(--accent);
  border-radius: 10px;
  color: var(--accent);
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 75%;
  font-size: 1.35rem;
  text-transform: uppercase;
  line-height: 1;
  opacity: 0;
  transform: rotate(-12deg) scale(2.4);
  animation: doc-stamp 7s var(--ease) infinite;
}
.doc__stamp svg { width: 20px; height: 20px; }

.doc-road {
  position: relative;
  height: 96px;
  margin-top: 8px;
  border-bottom: 3px solid currentColor;
}
/* Poste de la barrera */
.doc-road::after {
  content: '';
  position: absolute;
  left: 58%;
  bottom: 0;
  width: 7px;
  height: 34px;
  border-radius: 3px 3px 0 0;
  background: currentColor;
}
.doc-barrier {
  position: absolute;
  left: calc(58% - 66px);
  bottom: 22px;
  width: 72px;
  height: 9px;
  border-radius: 5px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 10px, var(--white) 10px 20px);
  box-shadow: 0 0 0 1.5px var(--ink);
  transform-origin: calc(100% - 4px) 50%;
  animation: doc-barrier 7s var(--ease) infinite;
}
.doc-truck {
  position: absolute;
  bottom: 0;
  left: 6%;
  width: 48px;
  height: 48px;
  animation: doc-truck 7s ease-in-out infinite;
}
.doc-truck svg { width: 100%; height: 100%; }

@keyframes doc-l0 { 0%, 4% { transform: scaleX(0); opacity: 1; } 10%, 90% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes doc-l1 { 0%, 9% { transform: scaleX(0); opacity: 1; } 15%, 90% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes doc-l2 { 0%, 14% { transform: scaleX(0); opacity: 1; } 20%, 90% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes doc-l3 { 0%, 19% { transform: scaleX(0); opacity: 1; } 25%, 90% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes doc-sign {
  0%, 26% { stroke-dashoffset: 1; opacity: 1; }
  40%, 90% { stroke-dashoffset: 0; opacity: 1; }
  96%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes doc-stamp {
  0%, 43% { opacity: 0; transform: rotate(-12deg) scale(2.4); }
  47% { opacity: 1; transform: rotate(-12deg) scale(0.94); }
  50%, 90% { opacity: 1; transform: rotate(-12deg) scale(1); }
  96%, 100% { opacity: 0; transform: rotate(-12deg) scale(1); }
}
@keyframes doc-shake {
  0%, 46% { transform: rotate(-3deg); }
  47.5% { transform: rotate(-4.5deg) translateY(4px); }
  50%, 100% { transform: rotate(-3deg); }
}
@keyframes doc-barrier {
  0%, 51% { transform: rotate(0); }
  57%, 88% { transform: rotate(70deg); }
  95%, 100% { transform: rotate(0); }
}
@keyframes doc-truck {
  0%, 55% { left: 6%; opacity: 1; transform: translateY(0); }
  56% { transform: translateY(-2px); }
  78% { left: calc(100% - 48px); opacity: 1; transform: none; }
  81% { left: calc(100% - 20px); opacity: 0; }
  82% { left: -20%; opacity: 0; }
  96%, 100% { left: 6%; opacity: 1; }
}

/* Solo se anima cuando está a la vista */
.banner:not(.is-playing) :is(.banner__brake, .doc, .doc__line, .doc__sign path, .doc__stamp, .doc-barrier, .doc-truck) {
  animation-play-state: paused;
}

@media (max-width: 899px) {
  .banner__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'text' 'scene' 'actions';
    row-gap: 36px;
  }
  .doc-scene { justify-self: center; max-width: 340px; }
}
@media (max-width: 749px) {
  .banner__actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .banner__brake, .doc, .doc__line, .doc__sign path, .doc__stamp, .doc-barrier, .doc-truck { animation: none !important; }
  .doc__sign path { stroke-dashoffset: 0; }
  .doc__stamp { opacity: 1; transform: rotate(-12deg); }
  .doc-barrier { transform: rotate(70deg); }
  .doc-truck { left: calc(100% - 48px); }
}

/* ---------- Trabajamos con ---------- */
.section--white { background: var(--white); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.title--sm { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }

.partners {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.6fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.partners__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.partner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 138px;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s;
}
.partner__mark {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 70%;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1;
  text-transform: uppercase;
  transition: color 0.3s, transform 0.45s var(--ease);
}
.partner__mark img { max-height: 44px; width: auto; filter: grayscale(1); transition: filter 0.3s; }
.partner__name { font-size: 0.8rem; line-height: 1.35; color: var(--muted); }
.partner:hover { background: var(--paper); }
.partner:hover .partner__mark { color: var(--accent); transform: translateX(4px); }
.partner:hover .partner__mark img { filter: none; }
.partner--more .partner__mark { color: var(--accent); }

@media (max-width: 1099px) {
  .partners { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 749px) {
  .partners__grid { grid-template-columns: repeat(2, 1fr); }
  .partner { min-height: 118px; padding: 18px 16px; }
}

/* ---------- Equipo ---------- */
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.member__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--ink);
}
/* Si todavía no hay foto, se ve el auto de Mobiltran */
.member__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/auto-blanco.png') center / 58% no-repeat;
  opacity: 0.16;
}
.member__photo::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.member__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.6s ease, transform 0.8s var(--ease);
}
.member:hover .member__img { filter: none; transform: scale(1.04); }
.member:hover .member__photo::after { transform: scaleX(1); }
.member__name {
  margin-top: 16px;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 850;
  font-stretch: 78%;
  font-size: 1.35rem;
  line-height: 1.05;
  text-transform: uppercase;
}
.member__role { margin-top: 4px; font-size: 0.9rem; color: var(--muted); }

@media (hover: none) {
  .member__img { filter: grayscale(0.3); }
}
@media (max-width: 1099px) {
  .team { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 379px) {
  .team { grid-template-columns: 1fr; }
}

/* ---------- Contacto ---------- */
.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.contact__list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact__list li {
  display: flex;
  gap: 18px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
.contact__list li:first-child { padding-top: 0; }
.contact__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
}
.contact__icon svg { width: 21px; height: 21px; }
.contact__icon--accent { background: var(--accent); color: var(--on-accent); }
.contact__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__value {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 800;
  font-stretch: 82%;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.15;
  word-break: break-word;
}
a.contact__value { background: linear-gradient(var(--accent), var(--accent)) 0 92% / 0 40% no-repeat; transition: background-size 0.4s var(--ease); }
a.contact__value:hover { background-size: 100% 40%; }
.contact__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.contact__chips a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background-color 0.25s, color 0.25s;
}
.contact__chips a:hover { background: var(--ink); color: var(--white); }
.contact__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}
.contact__more svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.contact__more:hover svg { transform: translateX(4px); }

.form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgb(0 0 0 / 0.35);
}
.form__title {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 850;
  font-stretch: 78%;
  font-size: 1.7rem;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 4px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 0.82rem; font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-size: 1rem;
  transition: border-color 0.25s, background-color 0.25s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgb(17 17 17 / 0.3); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--ink); background: var(--white); outline: none; }
.field .is-invalid { border-color: #c2410c; }

.form__error { color: #c2410c; font-size: 0.9rem; font-weight: 500; }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

.map {
  margin-top: clamp(40px, 6vw, 72px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  height: clamp(280px, 38vw, 420px);
  background: var(--paper-2);
}
.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.6s ease;
}
.map:hover iframe { filter: none; }

@media (max-width: 899px) {
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 749px) {
  .form__row { grid-template-columns: 1fr; }
  .form__actions .btn { flex: 1 1 100%; }
}
@media (hover: none) {
  .map iframe { filter: grayscale(0.6); }
}

/* =========================================================
   Pie
   ========================================================= */
.footer {
  background: var(--ink);
  color: rgb(255 255 255 / 0.75);
  padding-top: clamp(64px, 8vw, 96px);
  font-size: 0.95rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer__brand img { width: 170px; }
.footer__brand p { margin-top: 20px; max-width: 22rem; }
.footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer__col a { transition: color 0.25s; word-break: break-word; }
.footer__col a:hover { color: var(--accent); }
.footer__title {
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}
.social { display: flex; gap: 10px; }
.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  color: var(--white);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.35s var(--ease);
}
.social a svg { width: 20px; height: 20px; }
.social a:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); transform: translateY(-3px); }
.social--ink a { border-color: var(--line); color: var(--ink); }
.ns-panel__info .social { margin-top: 6px; }
.ns-panel__info .social svg { color: currentColor; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 24px calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-light);
  font-size: 0.85rem;
  color: rgb(255 255 255 / 0.5);
}
.footer__bottom a:hover { color: var(--accent); }

@media (max-width: 999px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 499px) {
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { padding-right: 70px; }
}

/* =========================================================
   Firma NS · Volver arriba con anillo de progreso
   ========================================================= */
.ns-top {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 45;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.85);
  transition:
    opacity 0.35s ease,
    transform 0.45s var(--ease),
    visibility 0s linear 0.35s;
}
.ns-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.35s ease,
    transform 0.45s var(--ease),
    visibility 0s;
}
.ns-top__button {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  color: #fff;
  cursor: pointer;
  background: var(--ink);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 14px 30px -14px rgb(0 0 0 / 0.55);
  transition: transform 0.35s var(--ease);
}
.ns-top__button:hover { transform: translateY(-3px); }
.ns-top__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.ns-top__track,
.ns-top__progress { fill: none; stroke-width: 2.5; }
.ns-top__track { stroke: rgb(255 255 255 / 0.15); }
.ns-top__progress {
  stroke: var(--ns-accent);
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--ns-progress, 0));
}
.ns-top__arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.35s var(--ease);
}
.ns-top__button:hover .ns-top__arrow { transform: translateY(-3px); }
body.menu-open .ns-top { opacity: 0; visibility: hidden; }

@media (max-width: 749px) {
  .ns-top__button { width: 46px; height: 46px; }
}

/* =========================================================
   Firma NS · Foco propio y scroll fino
   ========================================================= */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--ns-accent);
  outline-offset: 3px;
}
.field :is(input, select, textarea):focus-visible { outline: none; }

html {
  scrollbar-width: thin;
  scrollbar-color: #9a9a94 transparent;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: #9a9a94;
  background-clip: padding-box;
  border: 3px solid transparent;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--ns-accent);
  background-clip: padding-box;
}

/* =========================================================
   Aparición al hacer scroll
   ========================================================= */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .route::after { transform: none !important; }
  .js [data-reveal] { transition: none; }
}

/* =========================================================
   Aviso flotante (se activa desde el panel)
   ========================================================= */
.about__num b,
.hero__stats b { font-weight: inherit; }
.contact__value--sm { font-size: 1.05rem; line-height: 1.35; }

.aviso {
  position: fixed;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 44;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  max-width: min(440px, calc(100vw - 100px));
  padding: 16px 52px 16px 20px;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink);
  border-left: 6px solid var(--accent);
  box-shadow: 0 24px 50px -20px rgb(0 0 0 / 0.55), 0 0 0 1px rgb(0 0 0 / 0.06);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.5s var(--ease);
}
.aviso.is-visible { opacity: 1; transform: none; }
.aviso__texto { font-size: 0.95rem; line-height: 1.45; }
.aviso__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.aviso__btn svg { width: 16px; height: 16px; }
.aviso__cerrar {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(17 17 17 / 0.06);
  color: var(--ink);
  cursor: pointer;
}
.aviso__cerrar svg { width: 16px; height: 16px; }
.aviso__cerrar:hover { background: var(--accent); color: var(--on-accent); }
body.menu-open .aviso { opacity: 0; pointer-events: none; }

@media (max-width: 749px) {
  .aviso { left: 10px; right: 70px; max-width: none; bottom: max(12px, env(safe-area-inset-bottom)); }
}

/* =========================================================
   Página "próximamente" (modo desarrollo del panel)
   ========================================================= */
body.pronto {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  background: var(--ink);
  color: var(--white);
}
.pronto .hero__bg { position: fixed; }

.pronto__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--maxw), 100% - 2 * var(--ns-gap-x));
  height: 64px;
  margin: var(--ns-gap) auto 0;
  padding: 0 8px 0 clamp(16px, 1.8vw, 26px);
  border-radius: var(--ns-radius);
  background: color-mix(in srgb, var(--ink) 52%, transparent);
  border: 1px solid rgb(255 255 255 / 0.12);
  box-shadow: 0 16px 36px -20px rgb(0 0 0 / 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
}

.pronto__main {
  flex: 1;
  width: min(960px, 100% - 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(48px, 9vw, 110px) 0 40px;
}
.pronto__titulo {
  margin-top: 20px;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 74%;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 0.9;
}
.pronto__titulo > * { display: block; }
.pronto__titulo em { font-style: inherit; color: var(--accent); }
.pronto__texto {
  max-width: 38rem;
  margin-top: 24px;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--muted-light);
}

/* La ruta es la barra de carga: el auto avanza hasta "Llegando" */
.pronto__ruta { position: relative; height: 96px; margin: clamp(40px, 6vw, 64px) 0 clamp(32px, 5vw, 48px); }
.pronto__camino {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 4px;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.12);
  overflow: hidden;
}
.pronto__avance {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4%;
  background: repeating-linear-gradient(90deg, var(--accent) 0 26px, transparent 26px 44px);
  animation: pronto-avance 7s ease-in-out infinite;
}
.pronto__auto {
  position: absolute;
  bottom: 16px;
  left: calc(4% - 60px);
  width: 120px;
  transform: scaleX(-1);   /* el auto del logo mira a la izquierda: acá va hacia la derecha */
  filter: drop-shadow(0 14px 16px rgb(0 0 0 / 0.5));
  animation: pronto-auto 7s ease-in-out infinite;
}
.pronto__meta {
  position: absolute;
  right: 0;
  bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pronto__meta::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: pronto-titila 1.2s ease-in-out infinite;
}
@keyframes pronto-avance {
  0%, 6% { width: 4%; opacity: 1; }
  74%, 90% { width: 78%; opacity: 1; }
  97% { width: 78%; opacity: 0; }
  100% { width: 4%; opacity: 0; }
}
@keyframes pronto-auto {
  0%, 6% { left: calc(4% - 60px); opacity: 1; }
  74%, 90% { left: calc(78% - 60px); opacity: 1; }
  97% { left: calc(78% - 60px); opacity: 0; }
  100% { left: calc(4% - 60px); opacity: 0; }
}
@keyframes pronto-titila { 50% { opacity: 0.3; } }

.pronto__contacto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pronto__card {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-light);
  background: rgb(255 255 255 / 0.04);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color 0.3s, transform 0.4s var(--ease), background-color 0.3s;
}
.pronto__card:hover { border-color: var(--accent); transform: translateY(-3px); }
.pronto__card > svg { width: 26px; height: 26px; flex: none; color: var(--accent); }
.pronto__card span { display: grid; gap: 2px; min-width: 0; }
.pronto__card small {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.pronto__card strong { font-weight: 600; overflow-wrap: anywhere; }
.pronto__card--accent { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.pronto__card--accent > svg,
.pronto__card--accent small { color: inherit; }
.pronto__card--accent small { opacity: 0.75; }
.pronto__card--accent:hover { background: var(--accent-2); }
.pronto__redes { margin-top: 28px; }

.pronto__pie {
  padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 0.85rem;
  color: rgb(255 255 255 / 0.45);
}

@media (max-width: 749px) {
  .pronto__bar { height: 58px; }
  .pronto__auto { width: 90px; }
  @keyframes pronto-auto {
    0%, 6% { left: 0; opacity: 1; }
    74%, 90% { left: calc(78% - 70px); opacity: 1; }
    97% { left: calc(78% - 70px); opacity: 0; }
    100% { left: 0; opacity: 0; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .pronto__avance { animation: none !important; width: 60%; }
  .pronto__auto { animation: none !important; left: calc(60% - 60px); }
}
