/* Tipografía alojada en la propia web (no se carga de Google Fonts, por el RGPD). Licencia SIL OFL 1.1: fonts/LICENCIA.txt */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/atkinson-next-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/atkinson-next-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Avant Devices — Sistema de diseño compartido (base.css)
   Este archivo es IDÉNTICO en los tres sitios:
     - avantdevices.com
     - pulsegeolink.avantdevices.com
     - geofencecare.avantdevices.com
   Cada sitio sobreescribe los tokens de color en su theme-*.css.
   Si cambias algo aquí, cópialo a los otros dos sitios.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Neutros */
  /* Paleta alineada con la landing actual de PulseGeoLink */
  --c-ink: #0A1650;          /* titulares, texto fuerte */
  --c-ink-2: #1B2A6B;
  --c-deep: #070E34;         /* secciones oscuras y footer */
  --c-text: #2A3352;         /* texto de párrafo */
  --c-muted: #4A5468;        /* texto secundario (7.6:1 sobre blanco) */
  --c-bg: #FFFFFF;
  --c-surface: #F4F6FB;
  --c-surface-2: #E8EDF7;
  --c-line: #E3E8F2;
  --c-on-dark: #FFFFFF;
  --c-on-dark-muted: #A9B8DD;

  /* Acento de marca (cada tema lo redefine) */
  --c-accent: #FF5A1F;        /* naranja de marca: botones (con texto navy, 5.4:1), titulares grandes, iconos */
  --c-accent-hover: #FF8A3D;
  --c-on-accent: #0A1650;     /* texto sobre naranja: navy, NUNCA blanco (blanco solo da 3.1:1) */
  --c-accent-text: #C2410C;   /* texto/enlaces pequeños en naranja sobre fondo claro (4.8:1) */
  --c-accent-on-dark: #FF5A1F;/* acento sobre fondo oscuro (6:1) */
  --c-info: #2563EB;

  /* Productos (comunes a las tres marcas) */
  --c-explorer: #FF5A1F;       /* Explorer One es naranja (antes azul #1F4FA0) */
  --c-explorer-text: #C2410C;  /* naranja oscuro para texto pequeño (contraste AA) */
  --c-explorer-bg: #FFF1EA;
  --c-pulse: #0A1650;
  --c-geofence: #5A2D91;
  --c-geofence-bg: #F1EEFA;

  --c-ok: #15803D;

  /* Forma */
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow-s: 0 1px 2px rgba(10, 22, 80, .05), 0 2px 8px rgba(10, 22, 80, .04);
  --shadow: 0 12px 32px rgba(10, 22, 80, .08);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(56px, 8vw, 96px);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem; /* 17px: algo más grande de lo habitual, pensado para legibilidad */
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--c-ink); line-height: 1.1; margin: 0 0 .5em; font-weight: 500; letter-spacing: -0.025em; }
h3, h4 { font-weight: 600; }
h1 { font-size: clamp(2.375rem, 1.3rem + 4vw, 4rem); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
h3 { font-size: 1.375rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: inherit; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }

/* ---------- Accesibilidad ---------- */
:focus-visible { outline: 3px solid var(--c-info); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--c-ink); color: #fff; padding: 12px 18px; border-radius: var(--radius-s);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(32px, 5vw, 48px); }
.section-head p { color: var(--c-muted); font-size: 1.125rem; margin: 0; }
.eyebrow {
  display: inline-block; font-size: .8125rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--c-accent-text); margin-bottom: 12px;
}
.accent { color: var(--c-accent); }

/* ---------- Iconos ---------- */
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--s { width: 18px; height: 18px; }
.icon--l { width: 32px; height: 32px; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--c-accent); color: var(--c-on-accent); box-shadow: 0 6px 18px rgba(255, 90, 31, .25); }
.btn--primary:hover { background: var(--c-accent-hover); }
.btn--outline { background: #fff; color: var(--c-ink); border-color: var(--c-ink); }
.btn--outline:hover { background: var(--c-ink); color: #fff; }
.btn--outline-accent { background: transparent; color: var(--c-accent-text); border-color: var(--c-accent); }
.btn--outline-accent:hover { background: var(--c-accent); color: var(--c-on-accent); }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--light:hover { background: #fff; color: var(--c-ink); }
.btn--s { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none;
  color: var(--c-accent-text);
}
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--c-line);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 44px; width: auto; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 8px;
  font-size: .9375rem; font-weight: 500; color: var(--c-ink); text-decoration: none;
  background: none; border: 0; position: relative;
}
.nav__link:hover { background: var(--c-surface); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px;
  border-radius: 3px; background: var(--c-accent);
}
.nav__link .icon { transition: transform .2s; }
.nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__cta { margin-left: 8px; }

.dropdown { position: relative; }
.dropdown__menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  min-width: 300px; padding: 8px; margin: 0; list-style: none;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.dropdown__menu[hidden] { display: none; }
.dropdown__item {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: var(--radius-s);
  text-decoration: none; color: var(--c-ink);
}
.dropdown__item:hover { background: var(--c-surface); }
.dropdown__item strong { display: block; font-size: .9375rem; }
.dropdown__item > span:last-child > span { display: block; font-size: .8125rem; color: var(--c-muted); line-height: 1.4; }
.dropdown__item .badge-icon { width: 36px; height: 36px; }

.nav-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border-radius: var(--radius-s);
  border: 1px solid var(--c-line); background: #fff; align-items: center; justify-content: center; color: var(--c-ink);
}

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0; padding: 16px var(--gutter) 32px;
    flex-direction: column; align-items: stretch; gap: 16px; overflow-y: auto;
    background: #fff; border-top: 1px solid var(--c-line);
  }
  .nav:not(.is-open) { display: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 8px; font-size: 1.0625rem; border-bottom: 1px solid var(--c-line); border-radius: 0; }
  .nav__link[aria-current="page"]::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
  .dropdown__menu { position: static; transform: none; box-shadow: none; border: 0; min-width: 0; padding: 4px 0 8px 8px; }
  .nav__cta { margin: 8px 0 0; }
  body.nav-open { overflow: hidden; }
  /* el desenfoque de la cabecera encierra el menú fijo dentro de ella: fuera mientras está abierto */
  body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
}

/* ---------- Badge de icono ---------- */
.badge-icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 48px; height: 48px; border-radius: 50%; color: #fff; background: var(--c-ink);
}
.badge-icon--explorer { background: var(--c-explorer); color: var(--c-ink); }
.badge-icon--pulse { background: var(--c-ink-2); }
.badge-icon--geofence { background: var(--c-geofence); }
.badge-icon--soft { background: #fff; color: var(--c-ink); box-shadow: var(--shadow-s); }

/* ---------- Tarjetas ---------- */
.card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-l); box-shadow: var(--shadow-s); }

/* ---------- Banda CTA ---------- */
.cta-band {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-l);
  background: var(--c-deep); color: var(--c-on-dark);
}
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.375rem, 1rem + 1.2vw, 1.875rem); }
.cta-band p { color: var(--c-on-dark-muted); margin: 0; }
@media (max-width: 720px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-deep); color: var(--c-on-dark-muted); font-size: .9375rem; }
.site-footer a { color: var(--c-on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__main {
  display: grid; grid-template-columns: 1.6fr repeat(4, 1fr) 1.4fr; gap: 32px;
  padding-block: 56px 40px;
}
.footer__brand img { height: 44px; width: auto; margin-bottom: 16px; }
.footer__brand p { max-width: 280px; }
.footer__title { color: #fff; font-size: .9375rem; font-weight: 600; margin: 0 0 14px; letter-spacing: 0; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__contact li { display: flex; align-items: center; gap: 10px; }
.social { display: flex; gap: 10px; margin-top: 8px; list-style: none; padding: 0; }
.social a {
  display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: #fff;
}
.social a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding-block: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .875rem;
}
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }

.newsletter { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter label { width: 100%; color: #fff; font-weight: 600; }
.newsletter input {
  flex: 1 1 180px; min-height: 48px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: #fff; font: inherit;
}
.newsletter input::placeholder { color: var(--c-on-dark-muted); }
.newsletter__msg { width: 100%; margin: 4px 0 0; font-size: .875rem; color: #fff; }

@media (max-width: 1080px) {
  .footer__main { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__news { grid-column: span 2; }
}
@media (max-width: 600px) {
  .footer__main { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__news { grid-column: 1 / -1; }
}

/* ---------- Logo (símbolo SVG + texto) ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; text-decoration: none; color: var(--c-ink); }
.logo__mark { width: 40px; height: 40px; fill: none; stroke: var(--c-accent); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.logo__text { display: grid; line-height: 1; }
.logo__name { font-size: 1.75rem; font-weight: 700; letter-spacing: .04em; }
.logo__sub { font-size: .6875rem; font-weight: 600; letter-spacing: .52em; margin-top: 4px; }
.logo--light { color: #fff; }
.footer__brand .logo { margin-bottom: 16px; }
.logo img { height: 52px; width: auto; display: block; }

/* ---------- Franja de financiación pública (footer) ---------- */
.footer__funding { background: #fff; border-radius: var(--radius); padding: 12px 20px; margin-bottom: 24px; }
.footer__funding ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 28px; margin: 0; padding: 0; list-style: none; }
.footer__funding img { height: 76px; width: auto; }

/* ---------- Selector de idioma ---------- */
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 40px; padding: 0 10px;
  border: 1px solid var(--c-line); border-radius: 999px; font-size: .8125rem; font-weight: 700; letter-spacing: .06em;
  color: var(--c-ink); text-decoration: none; background: #fff; flex: none;
}
.lang-switch:hover { border-color: var(--c-ink); }
.site-header__inner .lang-switch { order: 3; }
.site-header__inner .nav { order: 2; }
.site-header__inner .nav-toggle { order: 4; margin-left: 0; }
@media (max-width: 1120px) { .site-header__inner .lang-switch { margin-left: auto; } }

/* Cabecera compacta en pantallas medianas (evita que el botón se parta en dos líneas) */
.btn, .nav__link { white-space: nowrap; }
@media (min-width: 1121px) and (max-width: 1440px) {
  .site-header__inner { gap: 16px; }
  .nav__link { padding: 10px 8px; font-size: .9063rem; }
  .nav__cta { margin-left: 4px; }
  .logo img { height: 46px; }
}

/* ==========================================================================
   SEÑALÉTICA SUAVE (noviembre 2026) — sistema visual de toda la web
   Tipografía Atkinson Hyperlegible (diseñada para baja visión), titulares a
   la izquierda, etiquetas sin mayúsculas, una línea-ruta naranja que guía
   la lectura en las páginas largas. Sustituye a los ajustes anteriores.
   ========================================================================== */
:root {
  --font: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --asfalto: #E9EDF5;
  --ruta: #FF5A1F;
  --ruta-w: 3px;
  --ruta-x: 0px;
  --ruta-pad: 56px;
  --plate-r: 14px;
}
body { font-size: 1.125rem; line-height: 1.55; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.25rem); line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.625rem); line-height: 1.08; }
h3 { font-size: 1.375rem; line-height: 1.2; }
.eyebrow { font-size: 1rem; font-weight: 700; letter-spacing: 0; text-transform: none; margin-bottom: 10px; }
.accent { color: inherit; }
.section-head { text-align: left; margin-inline: 0; }
.link-arrow { font-weight: 700; }
.link-arrow .icon { display: none; }
.btn { font-weight: 700; }
.btn--primary { box-shadow: none; }
.btn--primary:hover { background: #FF7A45; transform: none; }

/* Pictograma: cuadrado con icono, como en la señalética */
.pict { display: inline-grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 10px; background: var(--c-surface); color: var(--c-ink); }
.pict .icon { width: 60%; height: 60%; stroke-width: 2; }
.pict--ruta { background: #FFF1EA; color: var(--c-accent-text); }

/* ---------- La ruta: línea guía con paradas ---------- */
.ruta { position: relative; }
.ruta::before, .ruta::after {
  content: ""; position: absolute; z-index: 2; pointer-events: none; top: 0; bottom: 0; width: var(--ruta-w);
  left: calc(max(var(--gutter), (100% - var(--container)) / 2) + var(--ruta-x));
}
.ruta::before { background: var(--c-line); }
.ruta::after { background: var(--ruta); transform-origin: top; transform: scaleY(var(--p, 1)); }
.parada { position: relative; padding-block: var(--section-y); }
.parada > .container { padding-left: calc(var(--gutter) + var(--ruta-pad)); }
.parada__title { position: relative; z-index: 3; }
.parada__title::before {
  content: ""; position: absolute; z-index: 3; top: .32em; width: 18px; height: 18px; border-radius: 50%; box-sizing: border-box;
  left: calc(-1 * var(--tx, var(--ruta-pad)) + var(--ruta-w) / 2 - 9px);
  background: #fff; border: 3px solid var(--c-line); transition: border-color .3s, background-color .3s, transform .3s;
}
.parada__title.is-reached::before, .ruta:not(.ruta--anim) .parada__title::before { border-color: var(--ruta); background: var(--ruta); }
.parada__title.is-reached::before { transform: scale(1.25); }
@media (max-width: 720px) {
  :root { --ruta-pad: 32px; }
  body { font-size: 1.0625rem; }
  .parada__title::before { width: 16px; height: 16px; left: calc(-1 * var(--tx, var(--ruta-pad)) + var(--ruta-w) / 2 - 8px); }
}

/* ---------- Animaciones sencillas (solo si el sistema no pide reducir movimiento) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes av-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes av-pop { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
  @keyframes av-ping { from { transform: scale(1); opacity: .7; } to { transform: scale(2.6); opacity: 0; } }
  /* Entrada del titular de cada página, en cascada */
  :is(.s-hero__copy, .page-hero__inner > div:first-child, .pg-hero__content, .notfound, .blog-hero .container, .post__head) > * {
    animation: av-rise .6s cubic-bezier(.2, .7, .2, 1) both;
  }
  :is(.s-hero__copy, .page-hero__inner > div:first-child, .pg-hero__content, .notfound, .blog-hero .container, .post__head) > :nth-child(2) { animation-delay: .08s; }
  :is(.s-hero__copy, .page-hero__inner > div:first-child, .pg-hero__content, .notfound, .blog-hero .container, .post__head) > :nth-child(3) { animation-delay: .16s; }
  :is(.s-hero__copy, .page-hero__inner > div:first-child, .pg-hero__content, .notfound, .blog-hero .container, .post__head) > :nth-child(4) { animation-delay: .24s; }
  :is(.s-hero__copy, .page-hero__inner > div:first-child, .pg-hero__content, .notfound, .blog-hero .container, .post__head) > :nth-child(n+5) { animation-delay: .32s; }
  /* El aviso de ejemplo y el directorio de la portada aparecen después del titular */
  .pg-hero__alert, .s-pillars { animation: av-pop .5s .65s cubic-bezier(.2, .7, .2, 1) both; }
  /* Pulso sobre un aviso rojo en el mapa */
  .av-ping { transform-box: fill-box; transform-origin: center; animation: av-ping 1.8s ease-out infinite; }
  /* ---- Detalles con movimiento: cada uno cuenta algo del producto, no adorna ---- */
  @keyframes av-swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  @keyframes av-ico { 0% { transform: scale(.82) rotate(-8deg); } 60% { transform: scale(1.08) rotate(2deg); } 100% { transform: none; } }
  @keyframes av-read { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  @keyframes av-flash { from { background-color: var(--c-surface-2); } to { background-color: transparent; } }
  @keyframes av-con { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
  @keyframes av-arrive { from { opacity: 0; transform: translateY(-12px) scale(.98); } to { opacity: 1; transform: none; } }
  @keyframes av-halo { from { box-shadow: 0 0 0 0 var(--halo); } to { box-shadow: 0 0 0 9px transparent; } }
  /* Selectores (terreno, estado, aviso): la opción elegida entra suave, como respuesta al clic */
  .is-tabs .selector__panel:not([hidden]) { animation: av-swap .35s cubic-bezier(.2, .7, .2, 1); }
  [role="tab"][aria-selected="true"] .terreno__ico svg { animation: av-ico .5s cubic-bezier(.2, .7, .2, 1); }
  /* Portada: las lecturas de la silla llegan una a una, como en la plataforma */
  .lecturas__grid.is-waiting b { opacity: 0; }
  .lecturas__grid.is-live li { animation: av-flash 1.4s ease-out both; animation-delay: calc(var(--i) * .11s); }
  .lecturas__grid.is-live b { animation: av-read .4s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * .11s); }
  /* Explorer One: primero el problema, después «Con Explorer One» */
  .antes.is-waiting .antes__con { opacity: 0; }
  .antes.is-live .antes__con { animation: av-con .55s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.2s + var(--i) * .18s); }
  /* GeoFence Care: entra un aviso nuevo en el panel */
  .dash__alerts.is-waiting li:first-child { opacity: 0; }
  .dash__alerts.is-live li:first-child { --halo: rgba(220, 38, 38, .45); animation: av-arrive .5s .5s cubic-bezier(.2, .7, .2, 1) both; }
  .dash__alerts.is-live li:first-child .dash__dot { --halo: rgba(220, 38, 38, .45); animation: av-halo 1.5s 1s ease-out 3; }
  /* Pulse GeoLink y GeoFence Care: el punto del aviso de cabecera late unas veces, como algo que acaba de llegar */
  .pg-hero__alert .dot { --halo: rgba(245, 158, 11, .5); animation: av-halo 1.6s 1.3s ease-out 3; }
  .pg-hero__alert .dot--red { --halo: rgba(220, 38, 38, .45); }
  /* Preguntas que se despliegan con suavidad (navegadores que lo admiten) */
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .3s ease, content-visibility .3s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* Todo lo que va dentro de la ruta deja sitio a la línea */
.ruta > section > .container { padding-left: calc(var(--gutter) + var(--ruta-pad)); }

/* ---------- Postales de ruta: un artículo del blog en el margen, junto a cada parada (solo pantallas anchas) ---------- */
.postal { display: none; }
@media (min-width: 1600px) {
  .postal {
    --pw: min(220px, calc((100vw - var(--container)) / 2 - 96px));
    display: grid; gap: 6px; position: absolute; z-index: 3;
    top: calc(var(--section-y) - 6px); left: calc((100vw - var(--container)) / 2 - var(--pw) - 40px); width: var(--pw);
    text-decoration: none; color: var(--c-ink);
  }
  .postal img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--plate-r); margin-bottom: 6px; }
  .postal::after { content: ""; position: absolute; top: 18px; right: -40px; width: 32px; border-top: 2px dashed var(--ruta); }
  .postal__from { font-size: .875rem; color: var(--c-muted); }
  .postal__title { font-size: .9375rem; line-height: 1.3; font-weight: 700; }
  .postal:hover .postal__title { text-decoration: underline; text-underline-offset: 3px; }
  .postal:focus-visible { outline: 4px solid var(--ruta); outline-offset: 4px; border-radius: var(--plate-r); }
}
@media (min-width: 1600px) and (prefers-reduced-motion: no-preference) {
  .ruta--anim .postal { opacity: 0; transform: translateX(-12px); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
  .ruta--anim .parada:has(.parada__title.is-reached) .postal { opacity: 1; transform: none; }
  .postal img { transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
  .postal:hover img { transform: translateY(-3px); }
}
@media (min-width: 1600px) {
  .parada:has(.eyebrow + .parada__title) .postal { top: calc(var(--section-y) + 26px); }
}

/* ---------- Transiciones entre páginas (Chrome, Edge y Safari recientes; el resto, como siempre) ----------
   La cabecera se queda quieta, el contenido cambia con un fundido corto y la foto pulsada viaja a su sitio. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: cabecera; }
  ::view-transition-old(root) { animation: vt-sale .18s ease-in both; }
  ::view-transition-new(root) { animation: vt-entra .42s cubic-bezier(.2, .7, .2, 1) both; }
  ::view-transition-group(foto) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
  ::view-transition-old(foto), ::view-transition-new(foto) { height: 100%; object-fit: cover; overflow: clip; }
  ::view-transition-group(cabecera) { animation: none; }
  @keyframes vt-sale { to { opacity: 0; } }
  @keyframes vt-entra { from { opacity: 0; transform: translateY(14px); } }
}

/* Reparto de líneas: títulos en líneas parejas y párrafos sin palabras sueltas al final (16/11/2026) */
h1, h2, h3, h4 { text-wrap: balance; }
p, li, figcaption, blockquote { text-wrap: pretty; }
.br-frase { display: none; }
@media (min-width: 1100px) { .br-frase { display: inline; } }
/* títulos en media columna (junto a una foto): algo menores, para que queden en dos líneas */
@media (min-width: 900px) { .split .parada__title, .unidad .parada__title, .chair .parada__title { font-size: clamp(1.875rem, 1.3rem + 1vw, 2.25rem); } }

/* Acceso a la plataforma Pulse GeoLink (cabecera): junto al idioma, con el mismo estilo de píldora */
.acceso {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; min-width: 44px; padding: 0 14px 0 12px;
  border: 1px solid var(--c-line); border-radius: 999px; font-size: .875rem; font-weight: 700;
  color: var(--c-ink); text-decoration: none; background: #fff; flex: none;
}
.acceso:hover { border-color: var(--c-ink); }
.site-header__inner .acceso { order: 3; }
.acceso { padding: 0 10px; }
@media all { .acceso__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.acceso--menu { display: none; }
@media (max-width: 1120px) {
  .site-header__inner > .acceso { display: none; }
  .nav .acceso--menu { display: flex; gap: 8px; min-height: 48px; padding: 0 16px; font-size: 1rem; }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.platform-cta { margin: 40px 0 0; }
@media (min-width: 1121px) { .site-header__inner { gap: 16px; } .nav__link { padding: 10px 8px; } }
@media (min-width: 1121px) and (max-width: 1199px) { .site-header__inner { gap: 12px; } .nav__link { padding: 10px 6px; } }

/* Aviso de formularios sin conectar: enlace al correo del área (20-11-2026) */
.newsletter__msg a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
form [role="status"] a { overflow-wrap: anywhere; font-weight: 600; }
