/* Tipografía autoalojada: Poppins (texto) y Barlow Condensed (títulos), subset latin. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-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; }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-italic-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; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500-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; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600-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; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700-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; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-condensed-500-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; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-600-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; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-700-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; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-800-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; }

/* ============================================================
   Auxilio Montevideo — hoja única
   Paleta (config/sitio.json → :root inline en head.php): --primario (oscuro) · --acento (naranja grúa) · --wsp
   Objetivo: liviana, un solo archivo, sin librerías, botón de llamar visible siempre en celular.
   ============================================================ */
:root {
  --primario: #0b3557; --acento: #e2231a; --wsp: #25D366;
  --fondo: #F7F7F5; --papel: #FFFFFF; --texto: #1F2933; --texto-suave: #52606D; --linea: #E4E7EB;
  --radio: 12px; --sombra: 0 2px 10px rgba(11, 53, 87, .10);
  --fuente: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --titulo: "Barlow Condensed", "Arial Narrow", sans-serif;
  --ancho: 1100px; --sticky-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--fuente); font-size: 17px; line-height: 1.55; color: var(--texto); background: var(--fondo); }
img, svg { max-width: 100%; height: auto; display: inline-block; vertical-align: middle; }
a { color: var(--primario); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: #000; }
h1, h2, h3, h4 { font-family: var(--titulo); font-weight: 700; line-height: 1.1; margin: 0 0 .4em; color: var(--primario); letter-spacing: .01em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin-top: 1.6em; }
h3 { font-size: clamp(1.25rem, 2.6vw, 1.5rem); margin-top: 1.2em; font-weight: 600; }
p, ul, ol { margin: 0 0 1em; }
.in { max-width: var(--ancho); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--acento); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
code { background: #eee; padding: .1em .35em; border-radius: 4px; font-size: .9em; }

/* ── Botones ── */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .7em 1.3em; border-radius: 999px; font-family: var(--titulo); font-weight: 600; font-size: 1.1rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; line-height: 1.15; border: 2px solid transparent; transition: transform .08s, box-shadow .15s, background .15s; cursor: pointer; }
.btn:active { transform: translateY(1px); }
.btn svg { flex: 0 0 auto; }
.btn-grande { padding: .85em 1.6em; font-size: 1.35rem; }
.btn-tel { background: var(--acento); color: #fff; box-shadow: 0 4px 14px rgba(226, 35, 26, .35); }
.btn-tel:hover { background: #b71a13; color: #fff; }
.btn-wsp { background: var(--wsp); color: #fff; }
.btn-wsp:hover { background: #1fb457; color: #fff; }
.btn-header { padding: .5em 1.1em; font-size: 1.1rem; }
.btn-footer { background: #fff; color: var(--primario); border-color: #fff; }
.botones { display: flex; flex-wrap: wrap; gap: 12px; margin: 1em 0; }
.tel-inline { font-weight: 700; white-space: nowrap; }

/* ── Header ── */
.header { position: sticky; top: 0; z-index: 50; background: var(--papel); border-bottom: 1px solid var(--linea); }
.header-in { max-width: var(--ancho); margin: 0 auto; padding: 8px 20px; display: flex; align-items: center; gap: 18px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-txt { font-family: var(--titulo); font-weight: 700; font-size: 1.35rem; line-height: 1; display: flex; flex-direction: column; color: var(--primario); text-transform: uppercase; letter-spacing: .04em; }
.logo-txt span:nth-child(2) { color: var(--acento); font-size: .8em; letter-spacing: .06em; text-transform: uppercase; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 500; font-size: .97rem; }
.nav a:hover, .nav a[aria-current] { background: #f1f2f4; }
.header-cta .btn span { white-space: nowrap; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; height: 3px; background: var(--primario); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 1000px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--papel); flex-direction: column; padding: 8px 12px 14px; border-bottom: 1px solid var(--linea); display: none; }
  .nav.abierto { display: flex; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-cta { margin-left: auto; }
  .header-in { gap: 10px; }
}
@media (max-width: 560px) {
  .header-cta { display: none; } /* en celular manda la barra fija inferior */
  .logo-txt { font-size: 1.15rem; }
}

/* ── Barra fija inferior (celular) ── */
.sticky { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: var(--sticky-h); }
  .sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; background: #fff; border-top: 1px solid var(--linea); box-shadow: 0 -4px 16px rgba(0,0,0,.08); padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .sticky .btn { justify-content: center; border-radius: 999px; padding: .75em .6em; font-size: 1.3rem; }
}

/* ── Hero ── */
.hero { background: var(--primario); color: #fff; padding: 36px 0 30px; }
.hero-in { max-width: var(--ancho); margin: 0 auto; padding: 0 20px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero-sub { font-size: 1.12rem; max-width: 62ch; color: #fff; margin-bottom: .8em; }
.hero-tiempo { display: inline-flex; align-self: flex-start; align-items: center; gap: .5em; font-family: var(--titulo); font-weight: 700; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--primario); background: #fff; border-radius: 999px; padding: .35em .9em .35em .7em; margin: 0 0 .8em; }
.hero-tiempo .punto { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: latido 1.6s infinite; }
@keyframes latido { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.hero-linea { color: #9CA3AF; font-size: .92rem; margin: .4em 0 0; }
.hero-compacto { padding: 24px 0 20px; }
.hero-compacto h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
.hero-compacto .hero-cta .btn { font-size: 1.2rem; padding: .7em 1.3em; }
.migas { font-size: .88rem; margin-bottom: 10px; }
.migas ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 0; margin: 0; }
.migas li + li::before { content: "›"; margin-right: 8px; color: #9CA3AF; }
.migas a { color: #D1D5DB; }
.migas [aria-current] { color: #fff; }

/* ── Cuerpo ── */
.cuerpo { padding: 28px 0 10px; }
.prosa > h2:first-child { margin-top: .3em; }
.prosa p, .prosa li { max-width: 70ch; }
.prosa ul, .prosa ol { padding-left: 1.3em; }
.prosa li { margin-bottom: .35em; }
.prosa strong { color: var(--primario); }
.prosa hr { border: 0; border-top: 1px solid var(--linea); margin: 2em 0; }
.tabla-wrap { overflow-x: auto; margin: 1em 0 1.4em; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; background: var(--papel); font-size: .96rem; border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--linea); vertical-align: top; }
th { background: var(--primario); color: #fff; font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.nota-enlaces { color: var(--texto-suave); font-size: .95rem; }
.cta-inline { margin: 1.4em 0; }
.guia-rel { background: var(--papel); border-left: 4px solid var(--acento); border-radius: 0 var(--radio) var(--radio) 0; padding: 14px 18px; margin: 1.6em 0; box-shadow: var(--sombra); }
.guia-rel-label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--texto-suave); }
.guia-rel a { font-weight: 600; font-size: 1.05rem; }
.guia-rel p { margin: .3em 0 0; font-size: .95rem; color: var(--texto-suave); }
.bloque-enlaces { margin: 1.8em 0; }

/* ── Listas de enlaces ── */
.lista-cards { list-style: none; padding: 0; margin: .6em 0 1.4em; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.lista-cards li a { display: block; height: 100%; background: var(--papel); border: 1px solid var(--linea); border-radius: var(--radio); padding: 14px 16px; text-decoration: none; box-shadow: var(--sombra); transition: border-color .15s, transform .08s; }
.lista-cards li a:hover { border-color: var(--acento); transform: translateY(-1px); }
.lista-cards strong { display: block; font-family: var(--titulo); font-size: 1.25rem; font-weight: 700; color: var(--primario); }
.lista-cards span { display: block; color: var(--texto-suave); font-size: .93rem; margin-top: 4px; }
.cards-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.clusters { padding: 22px 0 0; }
.clusters .lista-cards strong { font-size: 1.5rem; }
.lista-inline { list-style: none; padding: 0; margin: .4em 0 1.2em; display: flex; flex-wrap: wrap; gap: 8px; }
.lista-inline a { display: inline-block; background: var(--papel); border: 1px solid var(--linea); border-radius: 999px; padding: 6px 12px; text-decoration: none; font-size: .95rem; }
.lista-inline a:hover, .lista-inline a.propia { border-color: var(--acento); }
.lista-inline a.propia { font-weight: 600; }
.lista-inline-grande a { font-size: 1rem; padding: 8px 14px; }
.barrios-todos h3 { margin-top: 1.4em; }
.barrios-todos h3 a { text-decoration: none; }
.hub-barrios { padding: 10px 0 20px; }

/* ── Mapa ── */
.mapa { margin: 1em 0 1.6em; background: var(--papel); border-radius: var(--radio); padding: 12px; box-shadow: var(--sombra); }
.mapa svg { width: 100%; height: auto; display: block; }
.mapa-zona { text-decoration: none; }
.mapa-zona polygon { fill: #E5E7EB; stroke: #fff; stroke-width: 3; transition: fill .15s; }
.mapa-zona:hover polygon, .mapa-zona:focus polygon { fill: #F8CFCB; }
.mapa-zona text { font-family: var(--titulo); font-weight: 700; font-size: 17px; fill: var(--primario); pointer-events: none; }
.mapa-zona .mapa-tiempo { font-size: 14px; fill: var(--acento); font-weight: 600; }
.mapa-via path { stroke: var(--acento); stroke-width: 6; stroke-linecap: round; opacity: .85; }
.mapa-via text { font-size: 13px; fill: var(--texto-suave); font-family: var(--fuente); font-weight: 500; }
.mapa figcaption { font-size: .88rem; color: var(--texto-suave); margin-top: 8px; }

/* ── Pasos: "Cómo funciona" como recorrido 1 → 2 → 3 (ver bloque al final del archivo) ── */
/* ── FAQ ── */
.faq { padding: 24px 0 10px; }
.faq-list { display: grid; gap: 8px; }
.faq-item { background: var(--papel); border: 1px solid var(--linea); border-radius: var(--radio); padding: 4px 16px; }
.faq-item summary { cursor: pointer; font-weight: 600; padding: 10px 0; list-style: none; position: relative; padding-right: 28px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 8px; font-size: 1.4rem; color: var(--acento); }
.faq-item[open] summary::after { content: "–"; }
.faq-a { padding: 0 0 12px; color: var(--texto); }
.faq-a p { max-width: 70ch; margin: 0; }

/* ── Ubicación (cierre): ver bloque al final del archivo ── */

/* ── Footer: ver bloque al final del archivo ── */
/* ── Móvil ── */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding: 24px 0 22px; }
  .hero-sub { font-size: 1.02rem; }
  .botones .btn { width: 100%; justify-content: center; font-size: 1.15rem; padding-left: .8em; padding-right: .8em; white-space: nowrap; }
  .btn span { white-space: nowrap; }
  th, td { padding: 8px 10px; font-size: .92rem; }
}
@media (min-width: 761px) { .ubicacion .botones .btn-tel { min-width: 260px; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .hero-tiempo .punto { animation: none; } html { scroll-behavior: auto; } }

/* ── Header transparente sobre el hero: fijo, sin fondo y con contenido blanco; al scrollear (o abrir el menú) se vuelve blanco ── */
body.con-hero .header { position: fixed; top: 0; left: 0; right: 0; background: transparent; border-bottom-color: transparent; transition: background .2s, border-color .2s, box-shadow .2s; }
body.con-hero .hero { padding-top: calc(36px + 64px); }
body.con-hero .hero-compacto { padding-top: calc(24px + 64px); }
body.con-hero .header:not(.scrolled):not(.menu-abierto) .logo-txt,
body.con-hero .header:not(.scrolled):not(.menu-abierto) .nav a { color: #fff; }
body.con-hero .header:not(.scrolled):not(.menu-abierto) .logo-txt span:nth-child(2) { color: #fff; }
body.con-hero .header:not(.scrolled):not(.menu-abierto) .nav a:hover,
body.con-hero .header:not(.scrolled):not(.menu-abierto) .nav a[aria-current] { background: rgba(255,255,255,.14); }
body.con-hero .header:not(.scrolled):not(.menu-abierto) .nav-toggle span { background: #fff; }
body.con-hero .header.scrolled, body.con-hero .header.menu-abierto { background: var(--papel); border-bottom-color: var(--linea); box-shadow: 0 2px 12px rgba(11,53,87,.10); }
@media (max-width: 1000px) {
  body.con-hero .header:not(.scrolled):not(.menu-abierto) .nav { display: none; } /* el desplegable siempre va sobre fondo blanco */
  .nav a { color: var(--texto); }
}

/* ── Hero en celular: botones primero, "Llegamos en X min" debajo, línea de cobertura oculta ── */
@media (max-width: 760px) {
  .hero-in { display: flex; flex-direction: column; }
  .hero-in .migas { order: 0; }
  .hero-in h1 { order: 1; }
  .hero-in .hero-sub { order: 2; }
  .hero-in .hero-cta { order: 3; }
  .hero-in .hero-linea { display: none; }
}

/* ── Fondo de foto en el hero (solo celular): la plataforma con un auto arriba, con degradado azul para que el texto se lea ── */
@media (max-width: 760px) {
  .hero { position: relative; isolation: isolate; background: var(--primario) url("../img/hero/hero-mobile.webp") center 35% / cover no-repeat; }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.5) 45%, rgba(0,0,0,.8) 100%); }
}

/* ── Logo: origen.png tal cual. Sobre el header transparente pasa a blanco con filtro CSS y el fondo negro se funde con el hero (screen) ── */
.logo-img { width: 76px; height: auto; display: block; border-radius: 8px; }
body.con-hero .header:not(.scrolled):not(.menu-abierto) .logo-img { filter: grayscale(1) brightness(6); mix-blend-mode: screen; border-radius: 0; }
@media (max-width: 560px) { .logo-img { width: 66px; } }

/* ── Estado "En línea" sobre el WhatsApp flotante (celular) ── */
.sticky-estado { display: none; }
@media (max-width: 760px) {
  .sticky-wsp-wrap { position: relative; }
  .sticky-wsp-wrap .btn { width: 100%; }
  .sticky-estado { display: block; position: absolute; top: -4px; right: -2px; z-index: 1; width: 14px; height: 14px; border-radius: 50%; background: #22c55e; border: 2px solid #fff; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: latido 1.6s infinite; }
}


/* ── Cards con foto de fondo (3 servicios de la home y grilla de zonas): filtro negro, texto abajo a la izquierda ── */
.cards-foto { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.prosa .cards-foto { padding: 0; }
.prosa .cards-foto li { max-width: none; margin: 0; }
.cards-foto li a { position: relative; display: flex; align-items: flex-end; justify-content: flex-start; min-height: 230px; border-radius: 16px; overflow: hidden; text-decoration: none; background: var(--primario) center / cover no-repeat; box-shadow: 0 6px 18px rgba(11,53,87,.16); isolation: isolate; transition: transform .15s, box-shadow .15s; }
.cards-foto li a:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(11,53,87,.24); }
.cards-foto li a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,.42) 45%, rgba(0,0,0,.86) 100%); transition: background .15s; }
.cards-foto li a:hover::before { background: linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.36) 45%, rgba(0,0,0,.84) 100%); }
.card-foto-txt { padding: 18px 20px 20px; text-align: left; color: #fff; width: 100%; }
.card-foto-txt strong, .prosa .card-foto-txt strong { color: #fff; display: block; font-family: var(--titulo); font-weight: 800; font-size: 1.7rem; line-height: 1.02; text-transform: uppercase; letter-spacing: .02em; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.card-foto-txt span { display: block; font-size: .92rem; color: #E5E7EB; margin-top: 6px; line-height: 1.4; }
@media (max-width: 900px) { .cards-foto { grid-template-columns: 1fr; gap: 12px; } .cards-foto li a { min-height: 170px; } }

/* ── Grilla de zonas: hereda .cards-foto; tiempo como etiqueta arriba a la derecha ── */
.hubs-grid { grid-template-columns: repeat(4, 1fr); margin: .6em 0 1.4em; }
.hubs-grid li a { min-height: 200px; }
.hubs-grid .card-foto-txt strong { font-size: 1.45rem; }
.hubs-grid .card-foto-txt span { font-size: .86rem; }
.hub-tiempo { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: .35em; background: var(--acento); color: #fff; font-family: var(--titulo); font-weight: 700; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1; padding: .4em .7em; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
@media (max-width: 1000px) { .hubs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hubs-grid { grid-template-columns: 1fr; } .hubs-grid li a { min-height: 160px; } }

/* ── Qué vehículos subimos: dos bloques SÍ / NO, filas de una línea ── */
.vehiculos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin: .6em 0 1.4em; }
.veh { background: var(--papel); border: 1px solid var(--linea); border-radius: 14px; overflow: hidden; }
.veh-titulo { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 16px; font-family: var(--titulo); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .04em; color: #fff; }
.veh-si .veh-titulo { background: #16a34a; }
.veh-no .veh-titulo { background: var(--acento); }
.veh-icono { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; flex: 0 0 auto; }
.veh ul { list-style: none; margin: 0; padding: 4px 0 !important; }
.prosa .veh li { max-width: none; margin: 0; }
.veh li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 11px 16px; border-top: 1px solid var(--linea); }
.veh li:first-child { border-top: 0; }
.veh li a, .veh li strong { font-family: var(--titulo); font-weight: 700; font-size: 1.25rem; line-height: 1.1; color: var(--primario); text-decoration: none; }
.veh li a { text-decoration: underline; text-decoration-color: rgba(11,53,87,.35); text-underline-offset: 3px; }
.veh li span { font-size: .92rem; color: var(--texto-suave); }
@media (max-width: 760px) {
  .vehiculos { grid-template-columns: 1fr; gap: 12px; }
  .veh-titulo { font-size: 1.2rem; padding: 10px 14px; }
  .veh li { padding: 10px 14px; }
  .veh li span { flex-basis: 100%; }
}

/* ── Reseñas de Google: cinta continua debajo del hero (CSS puro; se pausa al pasar el mouse; sin movimiento si el usuario lo pide) ── */
.resenas { padding: 18px 0 6px; overflow: hidden; }
.resenas-cinta { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.resenas-track { list-style: none; margin: 0; padding: 6px 0 10px; display: flex; width: max-content; animation: cinta 60s linear infinite; }
.resenas-track > li { margin-right: 14px; } /* margen en vez de gap: así la mitad del track mide exacto y el loop no salta */
@keyframes cinta { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.grev { flex: 0 0 340px; background: #fff; border: 1px solid #dadce0; border-radius: 8px; padding: 16px; font-family: Roboto, "Google Sans", Arial, "Helvetica Neue", sans-serif; color: #202124; box-shadow: 0 1px 2px rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15); }
.grev-cab { display: flex; align-items: center; gap: 12px; }
.grev-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; color: #fff; display: grid; place-items: center; font-weight: 500; font-size: 1.1rem; flex: 0 0 auto; }
.grev-quien { flex: 1; min-width: 0; line-height: 1.25; }
.grev-quien strong { display: block; font-weight: 500; font-size: .95rem; color: #202124; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grev-quien span { font-size: .78rem; color: #70757a; }
.grev-estrellas { display: inline-flex; align-items: center; gap: 1px; margin: 10px 0 6px; }
.grev-fecha { font-size: .78rem; color: #70757a; margin-left: 8px; }
.grev-texto { margin: 0; font-size: .9rem; line-height: 1.45; color: #3c4043; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.grev-resumen { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-family: Roboto, Arial, sans-serif; font-size: .95rem; color: #3c4043; }
.grev-resumen b { font-size: 1.15rem; color: #202124; }
.grev-resumen .grev-estrellas { margin: 0; }
.resenas-link { text-align: center; font-size: .9rem; margin: 4px 0 0; }
@media (max-width: 760px) { .grev { flex-basis: 290px; } .resenas-track { animation-duration: 45s; } }
@media (prefers-reduced-motion: reduce) { .resenas-track { animation: none; width: auto; overflow-x: auto; padding-bottom: 12px; } .resenas-cinta { mask-image: none; -webkit-mask-image: none; overflow-x: auto; } }

/* Con JS la cinta usa scroll nativo (arrastrable, con el dedo o el mouse) y avanza sola; sin JS, la animación CSS. */
.resenas-cinta.js { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; cursor: grab; -webkit-overflow-scrolling: touch; }
.resenas-cinta.js::-webkit-scrollbar { display: none; }
.resenas-cinta.js:active { cursor: grabbing; }
.resenas-cinta.js .resenas-track { animation: none; }
.resenas-cinta.js .grev { user-select: none; touch-action: pan-x pan-y; }

/* ── "Cómo funciona" insertado dentro del cuerpo ({{pasos}}): se sale del ancho del texto y ocupa todo el ancho, como en las páginas de zona ── */
.pasos-inline { width: var(--vw, 100vw); margin: 1.8em 0 1.8em calc(50% - var(--vw, 100vw) / 2); }
.pasos-inline .in { max-width: var(--ancho); }
.prosa .pasos-grid { padding: 0; }
.prosa .pasos-grid li { max-width: none; margin-bottom: 0; }
.prosa .pasos-grid p { max-width: none; }
body { overflow-x: clip; } /* el bloque a 100vw no debe generar scroll horizontal por la barra de scroll de escritorio */
/* ── Cómo funciona: recorrido lineal ──
   Escritorio: 3 columnas, círculos grandes arriba unidos por una línea; texto debajo.
   Celular: apilado, riel vertical que atraviesa los círculos. */
.pasos { background: var(--papel); padding: 36px 0 28px; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); margin-top: 20px; }
.pasos h2 { margin-top: 0; }
.pasos-grid { list-style: none; padding: 0; margin: .4em 0 .6em; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pasos-grid li { position: relative; padding: 0 14px 0 0; }
.paso-icono { position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 50%; background: var(--primario); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(11,53,87,.28), 0 0 0 6px var(--papel); }
.paso-icono svg { width: 36px; height: 36px; }
.paso-n { position: absolute; right: -4px; top: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--acento); color: #fff; font-family: var(--titulo); font-weight: 800; font-size: .95rem; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.paso-txt { margin-top: 16px; }
.paso-txt h3 { margin: 0 0 4px; font-family: var(--titulo); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1; }
.paso-tiempo { display: inline-block; font-family: var(--titulo); font-weight: 700; font-size: .95rem; letter-spacing: .05em; text-transform: uppercase; color: var(--acento); border: 2px solid var(--acento); border-radius: 999px; padding: .15em .6em; margin: 4px 0 8px; line-height: 1.2; }
.paso-txt p { margin: 0; font-size: .98rem; color: var(--texto-suave); max-width: 34ch; }
/* Línea entre círculos: sale del borde derecho del círculo y llega al siguiente */
.pasos-grid li:not(:last-child)::before { content: ""; position: absolute; top: 34px; left: 72px; right: -28px; height: 4px; background: var(--primario); border-radius: 2px; opacity: .22; }
.prosa .pasos-grid, .prosa .pasos-grid li, .prosa .pasos-grid p { padding-left: 0; max-width: none; margin-bottom: 0; }
.prosa .pasos-grid li { margin: 0; }
@media (max-width: 760px) {
  .pasos { padding: 28px 0 22px; }
  .pasos-grid { grid-template-columns: 1fr; gap: 0; }
  .pasos-grid li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 0 0 30px; }
  .pasos-grid li:last-child { padding-bottom: 0; }
  .paso-icono { width: 64px; height: 64px; }
  .paso-icono svg { width: 32px; height: 32px; }
  .paso-txt { margin-top: 2px; }
  .paso-txt h3 { font-size: 1.35rem; }
  .paso-txt p { max-width: none; }
  /* Riel vertical: desde la base del círculo hasta el círculo siguiente */
  .pasos-grid li:not(:last-child)::before { top: 64px; bottom: 0; left: 30px; right: auto; width: 4px; height: auto; background: var(--primario); }
}

/* ── Cierre: foto de fondo con filtro negro, título, una línea y botones ── */
.ubicacion { position: relative; isolation: isolate; color: #fff; padding: 64px 0 68px; margin-top: 28px; background: var(--primario); overflow: hidden; }
.ubicacion-foto, .ubicacion-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.ubicacion::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,.7); }
.ubicacion h2 { color: #fff; margin: 0 0 10px; font-size: clamp(2rem, 4.8vw, 3.2rem); font-weight: 800; line-height: 1.05; }
.ubicacion-txt { margin: 0 0 22px; font-size: 1.15rem; color: #E5E7EB; max-width: 48ch; }
.ubicacion .botones { margin: 0; }
@media (max-width: 760px) { .ubicacion { padding: 44px 0 48px; } .ubicacion-txt { font-size: 1.02rem; } }

/* ── Footer ── */
.footer { background: var(--primario); color: #C7D2E0; padding: 44px 0 22px; }
.footer a { color: #E6ECF3; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-in { max-width: var(--ancho); margin: 0 auto; padding: 0 20px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-logo { display: flex; align-items: center; gap: 14px; text-decoration: none !important; }
.footer-logo img { width: 84px; height: auto; filter: grayscale(1) brightness(6); mix-blend-mode: screen; }
.footer-logo span { font-family: var(--titulo); font-weight: 800; font-size: 1.5rem; line-height: .95; text-transform: uppercase; letter-spacing: .04em; color: #fff; }
.footer-contacto { display: flex; align-items: center; gap: 18px 26px; flex-wrap: wrap; }
.footer-24 { display: inline-flex; align-items: center; gap: .5em; margin: 0; font-family: var(--titulo); font-weight: 700; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.footer-24 .punto { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: latido 1.6s infinite; }
.footer-tel { display: inline-flex; align-items: center; gap: .4em; font-family: var(--titulo); font-weight: 800; font-size: 1.9rem; color: #fff !important; text-decoration: none !important; letter-spacing: .02em; }
.footer-tel svg { color: var(--acento); }
.footer .btn-footer { background: var(--wsp); color: #fff; border-color: transparent; }
.footer-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding: 30px 0 26px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; font-size: .93rem; }
.footer-col li { margin-bottom: 7px; }
.footer-titulo { font-family: var(--titulo); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .06em; color: #fff; margin: 0 0 10px; }
.footer-titulo a { color: #fff; }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); font-size: .84rem; color: #9FB0C4; }
.footer-legal p { margin: 0; }
@media (max-width: 900px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
  .footer { padding-top: 32px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-contacto { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
  .footer-legal { flex-direction: column; }
}

/* ── Fondo de foto en el hero (escritorio): la plataforma en ruta; filtro negro más denso a la izquierda, donde va el texto ── */
@media (min-width: 761px) {
  .hero { position: relative; isolation: isolate; background: var(--primario) url("../img/hero/hero-desktop.webp") center 40% / cover no-repeat; }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.6) 45%, rgba(0,0,0,.35) 100%); }
  .hero-in { max-width: var(--ancho); }
  .hero h1, .hero-sub { max-width: 30ch; }
  .hero-sub { max-width: 60ch; }
}
