/* ============================================================
   Taxi Torremocha — main.css
   Paleta: blanco + azul (escudo de Torremocha / río Jarama) + amarillo de acento
   + verde "libre" (la luz del taxi). Estética de plano: retícula fina, rutas, puntos.
   Usa SIEMPRE los tokens. Nada de colores sueltos.
   ============================================================ */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 500 600; font-display: swap; src: url(../fonts/sora-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 700 800; font-display: swap; src: url(../fonts/sora-latin-700-normal.woff2) format("woff2"); }

:root {
  --navy: #0B1C3A;
  --navy-2: #12284F;
  --navy-3: #1B3566;
  --blue: #1F5BD0;
  --blue-ink: #1748A8;      /* texto azul sobre blanco */
  --blue-300: #8FB0F0;      /* azul sobre oscuro */
  --blue-50: #EEF3FD;
  --sun: #FFC93C;           /* botón principal (texto navy) */
  --sun-600: #F2B705;
  --libre: #22C55E;         /* luz verde: taxi libre */
  --ink: #0F1B2D;
  --muted: #546072;
  --line: #E2E8F1;
  --soft: #F4F7FC;
  --white: #fff;
  --on-dark: rgba(255,255,255,.78);
  --on-dark-2: rgba(255,255,255,.55);

  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --container: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -20px rgba(11,28,58,.35);
  --shadow-sm: 0 6px 20px -10px rgba(11,28,58,.25);
  --header-h: 72px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg, iframe { max-width: 100%; display: block; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; color: inherit; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
h1 em, h2 em { font-style: normal; color: var(--blue); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--sun); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

/* ── Botones ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--sun); color: var(--navy); box-shadow: 0 10px 24px -12px rgba(242,183,5,.9); }
.btn-primary:hover { background: var(--sun-600); }
.btn-primary svg:last-child { transition: transform .2s var(--ease); }
.btn-primary:hover svg:last-child { transform: translateX(3px); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-ink); }
.btn-ghost-light { background: rgba(255,255,255,.06); color: var(--white); border-color: rgba(255,255,255,.25); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--blue-ink); }
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--light { color: var(--sun); }

/* ── Indicador "libre" (luz verde del taxi) ── */
.libre-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--libre); box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: libre 2.2s infinite; flex: none; }
@keyframes libre { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .78rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); margin: 0 0 14px; }
.eyebrow--light { color: var(--blue-300); }

/* ── Logo: torre "mocha" + piloto de taxi ── */
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.logo-mark .lm-bg { fill: var(--blue); }
.logo-mark .lm-sign { fill: var(--sun); }
.logo-mark .lm-led { fill: var(--libre); }
.logo-mark .lm-tower { fill: var(--white); }
.logo-mark .lm-win { fill: var(--blue); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { font: 800 1.12rem/1.05 var(--font-head); letter-spacing: -.03em; }
.logo-text span { font-size: .72rem; color: var(--muted); letter-spacing: .02em; margin-top: 3px; }
.logo--light { color: var(--white); }
.logo--light .logo-text span { color: var(--on-dark-2); }
.brand { text-decoration: none; display: inline-flex; }

/* ── Cabecera ── */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11,28,58,.5); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 4px; align-items: center; }
.main-nav a, .sub-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; font: 500 .97rem/1 var(--font-body); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; }
.main-nav a:hover, .sub-toggle:hover, .main-nav [aria-current="page"], .has-sub.is-active > .sub-toggle { background: var(--blue-50); color: var(--blue-ink); }
.has-sub { position: relative; }
.sub-menu { position: absolute; top: calc(100% + 10px); left: -12px; width: 330px; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s var(--ease); }
.has-sub.is-open .sub-menu, .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: flex; align-items: flex-start; gap: 14px; padding: 12px; border-radius: 12px; line-height: 1.35; font-size: .9rem; color: var(--muted); width: 100%; }
.sub-menu a svg { color: var(--blue); flex: none; }
.sub-menu a strong { display: block; color: var(--ink); font-size: .98rem; margin-bottom: 2px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; padding: 8px 10px; }
.header-phone svg { color: var(--blue); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), top .25s; }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
.mobile-nav { position: fixed; inset: var(--header-h) 0 0; z-index: 99; background: var(--white); padding: 20px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s var(--ease); }
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav ul a { display: block; padding: 15px 4px; border-bottom: 1px solid var(--line); font: 600 1.15rem/1.2 var(--font-head); color: var(--ink); text-decoration: none; }
.mobile-nav-cta { display: grid; gap: 10px; margin-top: 24px; }
body.nav-open { overflow: hidden; }

/* ── Fondos de plano ── */
.hero, .page-hero, .section--dark, .cta-band { position: relative; background: var(--navy); color: var(--white); overflow: hidden; isolation: isolate; }
.hero-grid-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(143,176,240,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(143,176,240,.08) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 80%); }
.hero::after, .page-hero::after { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -200px; top: -260px; background: radial-gradient(circle, rgba(31,91,208,.45), transparent 65%); }
.hero h1 em, .page-hero h1 em, .section--dark h2 em, .cta-band h2 em { color: var(--sun); }
.on-dark { color: var(--on-dark); }

/* ── Hero home ── */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 100px); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 440px); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-title { max-width: 14ch; }
.hero-title em { display: block; }
.hero-lead { font-size: clamp(1.06rem, 1.6vw, 1.22rem); color: var(--on-dark); max-width: 46ch; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Tarjeta de ruta animada Torremocha → Barajas */
.route-card { margin-top: 40px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 18px 22px; max-width: 560px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.route-end { display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: center; }
.route-end strong { font: 700 1rem/1.2 var(--font-head); }
.route-end small { grid-column: 2; color: var(--on-dark-2); font-size: .8rem; }
.route-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--libre); box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.route-end--to .route-dot { background: var(--sun); box-shadow: 0 0 0 4px rgba(255,201,60,.2); }
.route-line { position: relative; height: 40px; min-width: 80px; margin-inline: 16px; }
.route-line > svg { width: 100%; height: 40px; overflow: visible; }
.route-path { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 2; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.route-ball { position: absolute; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255,201,60,.2), 0 0 12px rgba(255,201,60,.8); opacity: 0; transition: opacity .3s; will-change: transform; }

/* ── Tarjeta de presupuesto (widget) ── */
.quote-card { background: var(--white); color: var(--ink); border-radius: 22px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); overflow: hidden; }
.quote-card-head { padding: 22px 24px 6px; }
.quote-card-head h2 { font-size: 1.4rem; margin: 0 0 4px; }
.quote-card-head p { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .9rem; color: var(--muted); }
.quote-card-body { position: relative; min-height: 380px; padding: 8px 12px; }
.quote-card-body iframe { width: 100%; min-height: 380px; border: 0; opacity: 0; transition: opacity .4s; }
.quote-card-body.is-ready iframe { opacity: 1; }
.quote-card-body.is-ready .quote-skeleton { display: none; }
.quote-skeleton { position: absolute; inset: 14px 24px; display: grid; gap: 14px; align-content: start; }
.quote-skeleton span { height: 52px; border-radius: 12px; background: linear-gradient(90deg, var(--soft) 25%, #e9eef7 50%, var(--soft) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.quote-skeleton .is-btn { background: rgba(255,201,60,.35); margin-top: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.quote-card-foot { display: flex; align-items: center; gap: 8px; padding: 14px 24px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); background: var(--soft); }
.quote-card-foot svg { color: var(--libre); }
.widget-missing { padding: 24px; color: var(--muted); }

/* ── Secciones ── */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--navy); }
.section-head { margin-bottom: clamp(32px, 5vw, 52px); max-width: 720px; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 48px; align-items: end; }
.section-head--split .eyebrow { grid-column: 1 / -1; }
.section-head--split h2 { margin: 0; }
.section-head--split .section-lead { margin: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-lead { color: var(--muted); font-size: 1.1rem; }

/* ── ¿Desde dónde sales? ── */
.from-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.from-card { position: relative; display: grid; height: 100%; padding: 20px 20px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; overflow: hidden; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.from-card.is-link:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.from-name { font-weight: 600; font-size: .98rem; }
.from-time { font: 800 2.2rem/1.1 var(--font-head); letter-spacing: -.04em; color: var(--blue-ink); margin-top: 6px; }
.from-time small { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.from-km { font-size: .85rem; color: var(--muted); }
.from-bar { position: absolute; left: 0; bottom: 0; height: 4px; width: var(--w); background: linear-gradient(90deg, var(--libre), var(--sun)); border-radius: 0 4px 4px 0; transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease) .2s; }
.is-visible .from-bar, .no-io .from-bar { transform: scaleX(1); }

/* ── Servicios ── */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, border-color .2s; }
.service-card p { color: var(--muted); font-size: .97rem; margin: 0; }
.service-card.is-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-go { position: absolute; top: 24px; right: 24px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--sun); color: var(--navy); transition: transform .25s var(--ease); }
.service-card.is-link:hover .service-go { transform: rotate(-45deg); }
.ico-tile { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue-50); color: var(--blue); margin-bottom: 18px; flex: none; }

/* ── Mapa ── */
.map-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.map-split .hero-actions { margin-top: 24px; }
.zone-map { margin: 0; }
.zone-map svg { width: 100%; height: auto; }
.zone-map figcaption { font-size: .8rem; color: var(--on-dark-2); margin-top: 10px; }
.map-grid { stroke: rgba(143,176,240,.09); stroke-width: 1; }
.map-glow-a { stop-color: rgba(31,91,208,.55); }
.map-glow-b { stop-color: rgba(31,91,208,0); }
.map-ring { fill: none; stroke: rgba(143,176,240,.28); stroke-dasharray: 4 6; }
.map-ring-label { fill: rgba(143,176,240,.6); font: 500 11px var(--font-body); }
.map-route { fill: none; stroke: var(--sun); stroke-width: 2; stroke-dasharray: 2 6; stroke-linecap: round; opacity: .75; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -16; } }
.map-exit rect { fill: var(--navy-2); stroke: rgba(255,201,60,.55); }
.map-exit-name { fill: var(--white); font: 600 12.5px var(--font-body); }
.map-exit-time { fill: var(--sun); font: 600 11.5px var(--font-body); }
.map-town circle { fill: var(--blue-300); }
.map-town text { fill: var(--on-dark); font: 500 12.5px var(--font-body); paint-order: stroke; stroke: var(--navy); stroke-width: 4px; stroke-linejoin: round; }
.map-town.has-page circle { fill: var(--white); }
.map-town.has-page text { fill: var(--white); font-weight: 600; }
.map-town.is-base circle:not(.map-pulse) { fill: var(--libre); }
.map-town.is-focus circle:not(.map-pulse) { fill: var(--sun); }
.map-town.is-base text, .map-town.is-focus text { font: 700 14px var(--font-head); fill: var(--white); }
.map-pulse { fill: rgba(34,197,94,.25) !important; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.zone-map a:hover text, .zone-map a:focus text { fill: var(--sun); }
.zone-map a:focus-visible { outline: none; }
.map-north { fill: rgba(143,176,240,.6); font: 600 12px var(--font-body); }

/* ── Listas ── */
.check-list { display: grid; gap: 12px; margin: 8px 0 24px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { flex: none; color: var(--libre); margin-top: 3px; }
.check-list--dark span { color: var(--on-dark); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--blue-50); color: var(--blue-ink); font-size: .9rem; font-weight: 500; }

/* ── Por qué ── */
.why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.why .section-head { margin-bottom: 16px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-item { padding: 24px; border-radius: var(--radius); background: var(--soft); }
.why-item p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ── Pasos ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; position: relative; }
.step { position: relative; padding: 30px 26px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }
.step-num { position: absolute; top: 22px; right: 24px; font: 800 2.8rem/1 var(--font-head); color: var(--blue-50); }

/* ── FAQ ── */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-wrap--groups { grid-template-columns: 1fr; max-width: 860px; gap: 48px; }
.faq-group-title { font-size: 1.35rem; margin-bottom: 16px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-50); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--blue); border-radius: 2px; transition: transform .25s var(--ease); }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-a { padding: 0 22px 18px; color: var(--muted); }
.faq-a p { margin: 0; }

/* ── CTA final ── */
.cta-band { padding: clamp(56px, 8vw, 88px) 0; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%); }
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: var(--on-dark); margin: 0; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Cabecera de páginas interiores ── */
.page-hero { padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); }
.page-hero-inner.has-aside { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 420px); gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero h1 { max-width: 18ch; }
.page-hero-lead { font-size: 1.15rem; color: var(--on-dark); max-width: 56ch; margin-bottom: 28px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--on-dark-2); margin-bottom: 22px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: var(--on-dark); text-decoration: none; }
.breadcrumb a:hover { color: var(--sun); }
.breadcrumb--dark ol { color: var(--muted); }
.breadcrumb--dark a { color: var(--blue-ink); }
.status-hero { min-height: 60vh; display: flex; align-items: center; }
.status-icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--libre); color: var(--white); margin-bottom: 24px; }

/* ── Datos rápidos ── */
.facts-band { background: var(--white); border-bottom: 1px solid var(--line); }
.facts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 0; }
.facts-row div { padding: 24px 20px; border-left: 1px solid var(--line); }
.facts-row div:first-child { border-left: 0; padding-left: 0; }
.facts-row dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.facts-row dd { margin: 4px 0 0; font: 700 1.3rem/1.2 var(--font-head); color: var(--blue-ink); letter-spacing: -.02em; }

/* ── Contenido + lateral ── */
.content-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose > div + div { margin-top: 40px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose p { color: #2b3648; }
.content-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.times-card, .chips-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); }
.times-title { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 14px; }
.times-title svg { color: var(--blue); }
.times-list li { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.times-list span { font-weight: 500; }
.times-list strong { font: 700 1.05rem var(--font-head); color: var(--blue-ink); text-align: right; }
.times-list small { grid-column: 2; text-align: right; color: var(--muted); font-size: .8rem; }
.times-note { font-size: .82rem; color: var(--muted); margin: 14px 0 18px; }

/* ── Enlaces relacionados ── */
.link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 920px) { .link-grid { grid-template-columns: 1fr; } }
.link-grid a { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.link-grid a > svg:first-child { color: var(--blue); flex: none; }
.link-grid a > svg:last-child { margin-left: auto; color: var(--muted); transition: transform .2s var(--ease); }
.link-grid a:hover { border-color: var(--blue); transform: translateY(-2px); }
.link-grid a:hover > svg:last-child { transform: translateX(4px); color: var(--blue); }

/* ── Tabla de pueblos ── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.zone-table { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 560px; }
.zone-table th, .zone-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.zone-table thead th { background: var(--soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.zone-table tbody tr:last-child > * { border-bottom: 0; }
.zone-table tbody tr:hover { background: var(--blue-50); }
.zone-table td { font-variant-numeric: tabular-nums; }
.table-note { font-size: .88rem; color: var(--muted); margin-top: 14px; }

/* ── Reservar ── */
.book-section { padding: 32px 0 80px; background: var(--soft); min-height: 70vh; }
.book-title { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 24px; }
.book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.book-frame { min-height: 600px; }
.book-frame iframe { width: 100%; min-height: 600px; border: 0; }
.book-aside { display: grid; gap: 12px; position: sticky; top: calc(var(--header-h) + 16px); }
.book-aside-item { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); }
.book-aside-item svg { color: var(--blue); flex: none; }
.book-aside-item strong { display: block; }
.book-aside-item span { font-size: .9rem; color: var(--muted); }
.book-help { padding: 22px; border-radius: var(--radius-sm); background: var(--navy); color: var(--white); display: grid; gap: 10px; }
.book-help h2 { font-size: 1.2rem; margin: 0; }
.book-help p { color: var(--on-dark); font-size: .93rem; margin: 0 0 4px; }

/* ── Contacto ── */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
a.contact-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.contact-card > svg { color: var(--blue); flex: none; }
.contact-card strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact-form { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--soft); }
.contact-form h2 { font-size: 1.6rem; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field textarea { width: 100%; font: inherit; padding: 14px 16px; border-radius: 12px; border: 1px solid #cfd7e4; background: var(--white); color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,91,208,.15); }
.hp { position: absolute; left: -9999px; }
.form-legal { font-size: .85rem; color: var(--muted); }
.form-msg { padding: 14px 16px; border-radius: 12px; font-weight: 500; }
.form-msg--ok { background: #e7f8ee; color: #136c34; }
.form-msg--err { background: #fdecec; color: #9f1c1c; }

/* ── Legal ── */
.legal { max-width: 800px; }
.legal h2 { font-size: 1.4rem; margin-top: 40px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal li { margin-bottom: 6px; }

/* ── Footer ── */
.site-footer { background: var(--navy); color: var(--on-dark); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin-top: 18px; font-size: .95rem; max-width: 36ch; }
.footer-title { font: 600 .8rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .14em; color: var(--blue-300); margin-bottom: 18px; }
.footer-links li, .footer-contact li { margin-bottom: 10px; }
.footer-links a, .footer-contact a { color: var(--on-dark); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--sun); }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact svg { color: var(--blue-300); flex: none; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--white); }
/* Reseñas de Google (carrusel) */
.rv-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: clamp(28px, 4vw, 44px); }
.rv-head h2 { margin: 0; }
.rv-badge { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; box-shadow: 0 6px 20px -14px rgba(11,28,58,.5); transition: border-color .2s, transform .2s; }
.rv-badge:hover { border-color: var(--blue); transform: translateY(-1px); color: var(--ink); }
.rv-badge .g-logo { width: 28px; height: 28px; }
.rv-badge-txt { display: grid; line-height: 1.2; }
.rv-badge-txt small { font-size: .78rem; color: #5B6B82; }
.rv-badge-txt > span { display: inline-flex; align-items: center; gap: 8px; }
.rv-badge b { font: 700 1.3rem/1 var(--font-head); }
.rv-stars-bar { font-size: 1.1rem; letter-spacing: .06em; background: linear-gradient(90deg, #F5B400 var(--p), #D5DCE6 var(--p)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rv-carousel { position: relative; }
.rv-track { list-style: none; margin: 0; padding: 4px 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-card { scroll-snap-align: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.rv-card header { display: flex; align-items: center; gap: 12px; }
.rv-card header strong { flex: 1; font-size: 1rem; }
.rv-card header .g-logo { flex: none; }
.rv-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: hsl(var(--h) 45% 42%); color: #fff; font-weight: 600; }
.rv-stars { color: #F5B400; font-size: 1.1rem; letter-spacing: .08em; line-height: 1; }
.rv-card p { margin: 0; font-size: 1rem; line-height: 1.6; }
.rv-dots { display: flex; justify-content: center; gap: 10px; margin-top: 22px; min-height: 12px; }
.rv-dots button { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 0; background: #C9D3E2; cursor: pointer; transition: background .2s, width .2s; }
.rv-dots button[aria-selected="true"] { background: var(--blue); width: 28px; border-radius: 6px; }
.rv-more-link { text-align: center; margin: 18px 0 0; }
@media (max-width: 920px) { .rv-track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 620px) { .rv-track { grid-auto-columns: 88%; } }
/* PWA: instala la app */
.footer-app { border-top: 1px solid rgba(255,255,255,.1); padding: 28px 0; }
.footer-app-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.footer-app-kicker { margin: 0 0 4px; font: 600 .74rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-300); }
.footer-app-title { margin: 0; max-width: 46ch; color: #fff; font-weight: 600; }
.footer-app-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px; border-radius: 12px; border: 1px solid rgba(255,255,255,.28); background: #000; color: #fff; font: inherit; cursor: pointer; text-align: left; transition: border-color .2s, transform .2s; }
.store-btn:hover { border-color: var(--sun); transform: translateY(-1px); }
.store-btn span { display: grid; line-height: 1.15; }
.store-btn small { font-size: .68rem; color: rgba(255,255,255,.7); }
.store-btn strong { font-size: 1.02rem; }
.app-sheet { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-end; justify-content: center; background: rgba(11,28,58,.72); padding: 16px; }
.app-sheet[hidden] { display: none; }
.app-sheet-card { position: relative; width: 100%; max-width: 420px; background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 28px 24px 24px; text-align: center; box-shadow: 0 24px 60px -20px rgba(0,0,0,.5); margin-bottom: env(safe-area-inset-bottom); }
.app-sheet-card img { border-radius: 14px; margin: 0 auto 10px; }
.app-sheet-title { font: 700 1.15rem/1.3 var(--font-head, inherit); margin: 0 0 12px; color: var(--navy); }
.app-sheet-steps { text-align: left; margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.app-sheet-steps svg { vertical-align: -3px; color: var(--blue); }
.app-sheet-close { position: absolute; top: 8px; right: 12px; width: 40px; height: 40px; border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--ink); cursor: pointer; }
.is-standalone .footer-app, .is-standalone .thanks-app { display: none; }
.thanks-app-card { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--blue-50); }
.thanks-app-card img { border-radius: 16px; }
.thanks-app-text { flex: 1 1 320px; }
.thanks-app-text h2 { font-size: 1.35rem; margin: 0 0 6px; color: var(--navy); }
.thanks-app-text p { margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0 28px; font-size: .86rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a, .footer-credit a { color: var(--on-dark); }

/* ── Barra fija de móvil ── */
.mobile-bar { display: none; }

/* ── Cookies ── */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; max-width: 880px; margin-inline: auto; padding: 18px 22px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); border: 1px solid var(--line); font-size: .92rem; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; flex: 1 1 320px; }
.cookie-bar-actions { display: flex; gap: 10px; }

/* ── Animación de aparición (solo transform/opacity) ── */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-phone span { display: none; }
}
@media (max-width: 920px) {
  :root { --header-h: 64px; }
  .main-nav, .header-phone { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .hero-inner, .page-hero-inner.has-aside, .map-split, .why, .faq-wrap, .content-split, .contact-grid, .book-layout { grid-template-columns: 1fr; }
  .section-head--split { grid-template-columns: 1fr; }
  .content-aside, .book-aside { position: static; }
  .steps { grid-template-columns: 1fr; }
  body { padding-bottom: 72px; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--white); border-top: 1px solid var(--line); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 12px; font-weight: 600; text-decoration: none; color: var(--ink); background: var(--soft); }
  .mobile-bar a.is-primary { background: var(--sun); color: var(--navy); }
  .cookie-bar { bottom: 84px; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .container { width: min(100% - 32px, var(--container)); }
  .logo-text span { display: none; }
  .header-actions .btn-sm { display: none; }
  .services-grid, .why-grid, .field-row { grid-template-columns: 1fr; }
  .from-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .from-card { padding: 16px 16px 20px; }
  .from-time { font-size: 1.8rem; }
  .route-card { gap: 10px; padding: 14px 16px; }
  .route-end small { display: none; }
  .route-end strong { font-size: .9rem; }
  .route-line { min-width: 40px; margin-inline: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-band-actions .btn { flex: 1 1 100%; }
  .facts-row div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .from-bar { transform: none; }
}
