/* Andrew Express — estilos. Colores del letrero: amarillo sobre café oscuro. */
:root {
  --bg: #14100d;
  --bg-2: #1d1713;
  --bg-3: #2a211c;
  --line: rgba(255, 236, 214, .11);
  --on-dark: #f7f1e8;
  --on-dark-2: #c7b8ab;
  --cream: #f3ece0;
  --paper: #fbf8f2;
  --ink: #1c1512;
  --ink-2: #5d4f46;
  --line-light: rgba(28, 21, 18, .13);
  --y: #ffd21f;
  --y-ink: #3a2d00;
  --green: #22c55e;
  --radius: 12px;
  --radius-lg: 20px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --f-display: "Saira", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--f-body);
  color: var(--on-dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--y); outline-offset: 3px; border-radius: 6px; }
.sec--cream :focus-visible, .sec--paper :focus-visible, .sec--yellow :focus-visible { outline-color: var(--ink); }
::selection { background: var(--y); color: var(--ink); }
section[id] { scroll-margin-top: var(--nav-h); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--y); color: var(--ink); border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Tipografía ---------- */
h1, h2, h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2.45rem, 1.15rem + 3.5vw, 4.25rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.15rem); line-height: 1.05; }
h3 { font-size: 1.125rem; font-stretch: 104%; font-weight: 700; line-height: 1.25; letter-spacing: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem; font: 700 .9375rem/1 var(--f-display); font-stretch: 112%; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 22px; height: 4px; background: var(--y); clip-path: polygon(0 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }
.eyebrow--on-dark { color: var(--on-dark-2); }
.sec--yellow .eyebrow::before { background: var(--ink); }
.sub { margin-top: 1.1rem; max-width: 34rem; font-size: 1.125rem; color: var(--ink-2); }
.sec--dark .sub { color: var(--on-dark-2); }

/* ---------- Marca ---------- */
/* logo oficial: ANDREW en degradé y EXPRESS en blanco; versión negra sobre fondos claros */
.brand { display: inline-flex; text-decoration: none; --logo-a: url(#logo-grad); --logo-e: #fff; }
.brand__logo { width: 160px; height: auto; }
.brand--ink { --logo-a: var(--ink); --logo-e: var(--ink); }

/* ---------- Botones y enlaces ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.35rem;
  border: 1.5px solid transparent; border-radius: var(--radius);
  background: var(--btn-bg);
  font: 650 1rem/1.1 var(--f-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 140ms var(--ease), background-color 140ms var(--ease), border-color 140ms var(--ease), box-shadow 200ms var(--ease);
}
.btn img { width: 1.3em; height: 1.3em; }
.btn--sm { min-height: 40px; padding: .55rem 1rem; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: 1rem 1.6rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--primary { --btn-bg: var(--y); color: var(--ink); box-shadow: 0 10px 28px -14px rgba(255, 210, 31, .7); }
.btn--dark { --btn-bg: var(--ink); color: var(--paper); }
.btn--ghost { color: var(--on-dark); border-color: rgba(255, 236, 214, .3); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
  .btn--lg:hover { transform: translateY(-2px); }
  .btn--primary:hover { background: color-mix(in srgb, var(--y) 86%, var(--ink)); box-shadow: 0 14px 30px -14px rgba(255, 210, 31, .8); }
  .btn--dark:hover { background: color-mix(in srgb, var(--ink) 86%, var(--paper)); }
  .btn--ghost:hover { background: rgba(255, 236, 214, .07); border-color: rgba(255, 236, 214, .55); }
}
.btn:active { transform: translateY(1px) scale(.985); transition-duration: 90ms; }

.link { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat, linear-gradient(rgba(255, 236, 214, .25), rgba(255, 236, 214, .25)) 0 100% / 100% 1px no-repeat; transition: background-size 200ms var(--ease); }
.link:hover { background-size: 100% 1px, 100% 1px; }
.link--arrow { display: inline-flex; align-items: center; gap: .35rem; width: fit-content; margin-top: .35rem; color: var(--y); font-weight: 600; }
.link--arrow .ic { width: 1em; height: 1em; transition: transform 140ms var(--ease); }
.link--arrow:hover .ic { transform: translateX(3px); }

/* ---------- Navegación ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); border-bottom: 1px solid var(--line); }
/* el desenfoque va en una capa aparte: en .nav convertiría al menú fijo del celular en hijo del encabezado */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(20, 16, 13, .86); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
.nav__bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links > a:not(.btn) { position: relative; padding: .4rem 0; font-weight: 550; font-size: .975rem; color: var(--on-dark-2); text-decoration: none; transition: color 140ms var(--ease); }
.nav__links > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--y); transform: scaleX(0); transform-origin: right; transition: transform 200ms var(--ease); }
.nav__links > a:not(.btn):hover { color: var(--on-dark); }
.nav__links > a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { margin-left: .25rem; }
.nav__toggle { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; }
.nav__toggle .ic { width: 22px; height: 22px; }
.nav__toggle .ic--close { display: none; }

/* ---------- Portada ---------- */
.hero { position: relative; overflow: hidden; min-height: calc(100svh - var(--nav-h)); display: grid; align-items: center; padding-block: clamp(40px, 6vh, 72px); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(52% 62% at 76% 52%, rgba(255, 210, 31, .11), transparent 70%), radial-gradient(40% 50% at 8% 100%, rgba(122, 97, 92, .22), transparent 70%); pointer-events: none; }
/* las secciones de dos columnas comparten las mismas líneas */
.hero__grid, .split, .cover, .contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); }
.hero__grid { position: relative; align-items: center; }
.hero__copy { max-width: 600px; }
.status { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.6rem; padding: .45rem .9rem .45rem .75rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03); font-size: .9rem; font-weight: 550; color: var(--on-dark-2); }
.status__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.status__dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--green); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .7; } 70%, to { transform: scale(3); opacity: 0; } }
/* subrayado que se dibuja de izquierda a derecha, también si la frase corta en dos líneas */
.hl { color: var(--y); background: linear-gradient(rgba(255, 210, 31, .45), rgba(255, 210, 31, .45)) 0 96% / 0 .08em no-repeat; animation: underline 900ms 450ms var(--ease) forwards; }
@keyframes underline { to { background-size: 100% .08em; } }
.lead { margin-top: 1.4rem; max-width: 32rem; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--on-dark-2); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: .9rem 2rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: .9rem; line-height: 1.35; color: var(--on-dark-2); }
.facts li { display: flex; align-items: flex-start; gap: .6rem; }
.facts .ic { margin-top: .1rem; color: var(--y); }
.facts strong { display: block; color: var(--on-dark); font-weight: 650; font-size: .975rem; }

/* Mapa de la portada */
.hero__map { position: relative; justify-self: end; width: min(100%, calc((100svh - var(--nav-h) - 80px) * .9275)); max-width: 640px; }
.hero__map > svg { width: 100%; height: auto; overflow: visible; }
.m-outline use { fill: none; stroke: var(--y); stroke-opacity: .16; stroke-width: 14; stroke-linejoin: round; }
.m-fill use { fill: #221a15; stroke: #3d3029; stroke-width: 1.6; stroke-linejoin: round; }
.m-neighbors text { font: 600 19px var(--f-display); font-stretch: 125%; letter-spacing: .32em; fill: rgba(199, 184, 171, .38); }
.m-routes path { fill: none; stroke: var(--y); stroke-width: 2.6; stroke-linecap: round; stroke-opacity: .7; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.3s var(--ease-io) forwards; animation-delay: calc(250ms + var(--i) * 65ms); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.m-dots circle { fill: var(--bg); stroke: var(--y); stroke-width: 3; opacity: 0; animation: pop 400ms var(--ease) forwards; animation-delay: calc(900ms + var(--i) * 65ms); transform-box: fill-box; transform-origin: center; }
@keyframes pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
.m-label { font: 600 21px var(--f-body); fill: #e9dfd3; paint-order: stroke; stroke: var(--bg); stroke-width: 7px; stroke-linejoin: round; opacity: 0; animation: fade 600ms 1.5s var(--ease) forwards; }
@keyframes fade { to { opacity: 1; } }
.m-pkgs circle { fill: var(--y); opacity: .22; }
.m-pkgs rect { fill: var(--y); stroke: #8a6a00; stroke-width: 1.5; }
.m-hub__ring { fill: none; stroke: var(--y); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; animation: ring 2.8s var(--ease) infinite; }
.m-hub__ring--late { animation-delay: 1.4s; }
@keyframes ring { from { transform: scale(.5); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.m-hub__halo { fill: var(--y); opacity: .22; }
.m-hub__core { fill: var(--y); stroke: var(--bg); stroke-width: 4; }
.m-hub__label { font: 800 30px var(--f-display); font-stretch: 112%; fill: var(--y); paint-order: stroke; stroke: var(--bg); stroke-width: 8px; stroke-linejoin: round; }
.is-paused .m-routes path, .is-paused .m-dots circle, .is-paused .m-label, .is-paused .m-hub__ring, .is-paused .ticket__truck, .is-paused .ticket__fill { animation-play-state: paused !important; }

.motion-toggle { position: absolute; right: 8px; bottom: 8px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(20, 16, 13, .8); color: var(--on-dark); cursor: pointer; opacity: .75; transition: opacity 140ms var(--ease), background-color 140ms var(--ease); }
.motion-toggle:hover, .motion-toggle:focus-visible { opacity: 1; }
.motion-toggle .ic { width: 14px; height: 14px; }
.motion-toggle .ic--play, .motion-toggle[aria-pressed="true"] .ic--pause { display: none; }
.motion-toggle[aria-pressed="true"] .ic--play { display: block; }
.motion-toggle--light { right: 14px; bottom: 14px; background: var(--paper); color: var(--ink); border-color: var(--line-light); }

/* ---------- Secciones ---------- */
.sec { position: relative; padding-block: clamp(80px, 11vw, 136px); }
.sec--cream { background: var(--cream); color: var(--ink); }
.sec--paper { background: var(--paper); color: var(--ink); }
.sec--yellow { background: var(--y); color: var(--ink); }
.sec--yellow .sub { color: var(--y-ink); }
.sec--dark { background: var(--bg); }
.sec-head { max-width: 44rem; }

/* Envíos */
.split { align-items: center; }
.features { display: grid; gap: 1.4rem; margin: 2.2rem 0 2.4rem; }
.features li { display: flex; gap: 1rem; align-items: flex-start; }
.feat-ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line-light); color: var(--ink); }
.feat-ic img, .feat-ic .ic { width: 24px; height: 24px; }
.features p { margin-top: .25rem; color: var(--ink-2); font-size: 1rem; }

.split__visual { position: relative; display: grid; place-items: center; min-height: 460px; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); background: var(--bg); overflow: hidden; isolation: isolate; }
.split__visual::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 50% 40%, rgba(255, 210, 31, .16), transparent 70%), repeating-linear-gradient(135deg, rgba(255, 236, 214, .035) 0 2px, transparent 2px 22px); }
.ticket { position: relative; z-index: 1; width: min(100%, 440px); padding: 26px 26px 22px; border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .65), 0 2px 0 rgba(255, 255, 255, .6) inset; clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%); }
.ticket::after { content: ""; position: absolute; top: 0; right: 0; width: 30px; height: 30px; background: linear-gradient(225deg, transparent 50%, #e7dccb 50%); }
.ticket-stack { position: absolute; z-index: 0; width: min(100% - 80px, 400px); height: 250px; border-radius: 16px; background: #c9a77c; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); transform: translate(18px, 26px) rotate(4deg); }
.ticket-stack::before { content: ""; position: absolute; inset: 0 auto 0 50%; width: 46px; translate: -50% 0; background: rgba(255, 236, 214, .32); }
.ticket__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 2px dashed var(--line-light); }
.ticket__head .brand__logo { width: 124px; }
.ticket__tag { padding: .3rem .65rem; border-radius: 6px; background: var(--y); font: 700 .75rem/1 var(--f-display); font-stretch: 112%; letter-spacing: .02em; }
.ticket__places { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px 0 6px; }
.ticket__places > div { display: grid; gap: 2px; }
.ticket__places strong { font: 800 1.35rem/1.15 var(--f-display); font-stretch: 108%; }
.ticket__places span:not(.ticket__k) { color: var(--ink-2); font-size: .9375rem; }
.ticket__k { font-size: .75rem; font-weight: 650; color: var(--ink-2); }
.ticket__to { text-align: right; }
.ticket__city, .ticket__dept { display: block; transition: opacity 220ms var(--ease), transform 220ms var(--ease); }
.ticket.is-swapping .ticket__city, .ticket.is-swapping .ticket__dept { opacity: 0; transform: translateY(6px); }
.ticket__track { position: relative; display: flex; align-items: center; height: 44px; margin: 10px 0 16px; }
.ticket__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); flex: none; }
.ticket__line { position: relative; flex: 1; height: 3px; margin-inline: 6px; background: repeating-linear-gradient(90deg, var(--line-light) 0 8px, transparent 8px 14px); overflow: hidden; }
.ticket__fill { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.ticket__pin { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--y); flex: none; }
.ticket__pin .ic { width: 16px; height: 16px; }
.ticket__truck { position: absolute; left: 12px; top: 50%; display: grid; place-items: center; width: 38px; height: 30px; margin-top: -15px; border-radius: 8px; background: var(--ink); color: var(--y); }
.ticket__truck .ic { width: 20px; height: 20px; }
.ticket.is-running .ticket__truck { animation: truck 3.2s linear infinite; }
.ticket.is-running .ticket__fill { animation: fill 3.2s linear infinite; }
/* viaja, espera en destino y reaparece en el origen (el cambio de ciudad ocurre en el reinicio) */
@keyframes truck {
  0% { left: 12px; opacity: 0; animation-timing-function: var(--ease-io); }
  4% { opacity: 1; }
  66% { left: calc(100% - 82px); opacity: 1; }
  92% { left: calc(100% - 82px); opacity: 1; }
  100% { left: calc(100% - 82px); opacity: 0; }
}
@keyframes fill {
  0% { transform: scaleX(0); opacity: 1; animation-timing-function: var(--ease-io); }
  66% { transform: scaleX(1); }
  92% { opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}
.split__visual.is-paused .ticket__truck, .split__visual.is-paused .ticket__fill { animation-play-state: paused; }
.ticket__foot { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.barcode { width: 150px; height: 38px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 9px, var(--ink) 9px 10px, transparent 10px 13px); }
.ticket__note { font-size: .75rem; color: var(--ink-2); text-align: right; }

/* Compromiso: fotos del cliente con su frase abajo y el marco blanco de sus piezas */
.promise { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.promise__card { position: relative; display: flex; flex-direction: column; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: #000; }
.promise__card::after { content: ""; position: absolute; inset: 14px; border: 2px solid rgba(255, 255, 255, .85); pointer-events: none; }
.promise__card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.promise__card figcaption { flex: 1; padding: 20px 34px 36px; }
.promise__card h2, .promise__card h3 { font-size: clamp(1.4rem, 1rem + 1.1vw, 2rem); font-stretch: 100%; line-height: 1.1; text-transform: uppercase; letter-spacing: 0; }
.promise__card p { margin-top: .55rem; font-size: clamp(1.05rem, .95rem + .35vw, 1.3rem); font-weight: 700; line-height: 1.35; }
.promise__card em { color: var(--y); font-style: italic; }

/* Aerobox */
.flight { position: relative; margin: clamp(28px, 4vw, 48px) 0 8px; }
.flight svg { width: 100%; height: auto; overflow: visible; }
.flight__dash { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-dasharray: 2 12; stroke-linecap: round; opacity: .35; }
.flight__trail { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.flight.is-on .flight__trail { transition: stroke-dashoffset 2.6s cubic-bezier(.45, 0, .2, 1); stroke-dashoffset: .07; }
.flight.is-landed .flight__trail { transition-duration: .5s; stroke-dashoffset: 0; }
.flight__start circle { fill: var(--ink); }
.flight__end circle { fill: var(--ink); }
.flight__end .flight__ring { fill: none; stroke: var(--ink); stroke-width: 2.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.flight.is-landed .flight__ring { animation: ring 1.4s var(--ease) 2; }
.flight__plane { color: var(--ink); }
.flight__plane use { stroke-width: 2; }
.flight:not(.is-on) .flight__plane { opacity: 0; }
.flight__label { position: absolute; top: 100%; font: 700 .9375rem/1.2 var(--f-display); font-stretch: 108%; white-space: nowrap; }
.flight__label--start { left: 0; }
.flight__label--end { right: 0; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; counter-reset: step; }
.step { position: relative; display: grid; align-content: start; gap: .6rem; padding: 24px 22px 26px; border-radius: var(--radius-lg); background: rgba(255, 252, 240, .62); border: 1px solid rgba(28, 21, 18, .1); }
.step__n { position: absolute; top: 20px; right: 22px; font: 800 2.4rem/1 var(--f-display); font-stretch: 112%; color: rgba(28, 21, 18, .13); }
.step__ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: .4rem; border-radius: 12px; background: var(--ink); color: var(--y); }
.step__ic img, .step__ic .ic { width: 24px; height: 24px; }
.step p { color: var(--y-ink); font-size: 1rem; }
.aero-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.stores__k { margin-right: 6px; font-weight: 650; }
.chip { padding: .45rem .9rem; border-radius: 999px; background: var(--ink); color: var(--paper); font: 700 .9375rem/1 var(--f-display); font-stretch: 106%; }
.chip--ghost { background: transparent; color: var(--ink); border: 1.5px solid rgba(28, 21, 18, .35); }

/* Cobertura */
.cover { align-items: center; }
.depts { margin-top: 1.8rem; }
.dept-group__title { margin: 1rem 0 .55rem; font-size: .8125rem; font-weight: 650; color: var(--ink-2); }
.dept-group { display: flex; flex-wrap: wrap; gap: 6px; }
.dept { padding: .5rem .8rem; border: 1px solid var(--line-light); border-radius: 8px; background: #fff; font-size: .9rem; font-weight: 550; cursor: pointer; transition: background-color 140ms var(--ease), border-color 140ms var(--ease), transform 140ms var(--ease); }
.dept:hover, .dept.is-hover { border-color: var(--ink); }
.dept[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--y); }
.dept:active { transform: scale(.97); }
.route-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .3rem 1.2rem; margin-top: 1.6rem; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line-light); }
.route-card > p { grid-column: 1; }
.route-card .btn { grid-column: 2; grid-row: 1 / span 2; }
.route-card__path { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .5rem; font: 800 1.3rem/1.2 var(--f-display); font-stretch: 106%; }
.route-card__path span { color: var(--ink-2); }
.route-card__path .ic { color: var(--ink-2); }
.route-card__meta { color: var(--ink-2); font-size: .9375rem; }
.route-card .btn { max-width: 15rem; white-space: normal; text-align: center; }
.cover__map { position: relative; }
.cmap { width: 100%; height: auto; max-height: 760px; overflow: visible; touch-action: manipulation; }
.c-dept { fill: #e2d4bd; stroke: var(--cream); stroke-width: 3; stroke-linejoin: round; cursor: pointer; transition: fill 200ms var(--ease); }
.c-dept:hover, .c-dept.is-hover { fill: #f5dd8a; }
.c-dept.is-active { fill: var(--y); }
.c-route { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; pointer-events: none; }
.c-dest, .c-pkg, .c-hub { pointer-events: none; }
.c-dest__halo { fill: var(--ink); opacity: .14; }
.c-dest__core { fill: var(--ink); stroke: var(--paper); stroke-width: 3; }
.c-pkg rect { fill: var(--y); stroke: var(--ink); stroke-width: 2.5; }
.c-pkg path { fill: var(--ink); opacity: .55; }
.c-hub__halo { fill: var(--y); opacity: .5; }
.c-hub__core { fill: var(--ink); stroke: var(--y); stroke-width: 4; }
.c-hub text { font: 800 30px var(--f-display); font-stretch: 112%; fill: var(--ink); paint-order: stroke; stroke: var(--cream); stroke-width: 8px; stroke-linejoin: round; }
.cmap-tip { position: absolute; z-index: 3; padding: .4rem .65rem; border-radius: 8px; background: var(--ink); color: var(--paper); font-size: .875rem; font-weight: 600; white-space: nowrap; pointer-events: none; transform: translate(-50%, calc(-100% - 12px)); }

/* Contacto */
.contact { align-items: start; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 2.2rem; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list li > div { display: grid; gap: 2px; }
.c-ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-3); color: var(--y); }
.c-ic img, .c-ic .ic { width: 22px; height: 22px; }
.c-k { font-size: .8125rem; font-weight: 650; color: var(--on-dark-2); }
.contact-list a.link, .contact-list span:not(.c-k):not(.c-ic) { font-size: 1.0625rem; font-weight: 600; }
.contact__photo { margin-top: 2.4rem; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 7; background: #7a615c; }
.contact__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 44% 42%; }
.wa-form { display: grid; gap: 18px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--paper); color: var(--ink); }
.wa-form h3 { font-size: 1.5rem; font-stretch: 108%; font-weight: 800; }
.wa-form__intro { margin-top: -8px; color: var(--ink-2); font-size: .975rem; }
.field { display: grid; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { padding: 0; font-size: .9375rem; font-weight: 650; }
.opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1.5px solid var(--line-light); border-radius: 10px; background: #fff; font-size: 1rem; transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease); }
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 210, 31, .55); }
.field [aria-invalid="true"] { border-color: #b42318; }
.field__error { color: #b42318; font-size: .875rem; font-weight: 600; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; font-weight: 550; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: .6rem .9rem; border: 1.5px solid var(--line-light); border-radius: 10px; background: #fff; font-size: .9375rem; transition: background-color 140ms var(--ease), border-color 140ms var(--ease); }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--y); }
.seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.seg label:hover span { border-color: var(--ink); }

/* ---------- Pie ---------- */
.footer { padding: 64px 0 28px; border-top: 1px solid var(--line); background: #0f0c0a; color: var(--on-dark-2); font-size: .9375rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer__brand p { max-width: 24rem; margin-top: 1.2rem; }
.footer__brand .brand__logo { width: 190px; }
.footer__nav, .footer__contact { display: grid; align-content: start; gap: .6rem; }
.footer a { text-decoration: none; transition: color 140ms var(--ease); }
.footer a:hover { color: var(--on-dark); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .8125rem; }

/* ---------- Accesos rápidos ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .55); transition: transform 180ms var(--ease), box-shadow 180ms var(--ease); }
.fab img { width: 32px; height: 32px; }
@media (hover: hover) { .fab:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -10px rgba(0, 0, 0, .6); } }
.mbar { display: none; }

/* ---------- Animaciones al entrar en pantalla ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .split, .cover, .contact { grid-template-columns: 1fr; }
  /* en pantallas angostas el mapa va antes de los botones, así se ve el cambio al tocar */
  .cover { gap: 0; }
  .cover__panel { display: contents; }
  .cover__map { order: 1; max-width: 600px; justify-self: center; width: 100%; margin-top: 1.6rem; }
  .depts, .route-card { order: 2; }
  .route-card { order: 3; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { max-width: 680px; }
  .hero__map { justify-self: center; width: min(100%, 560px); }
}
@media (max-width: 860px) {
  .nav__toggle { display: grid; }
  .nav__links { position: fixed; inset: var(--nav-h) 0 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px; background: var(--bg); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s 200ms; }
  .nav__links > a:not(.btn) { padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-stretch: 112%; font-size: 1.5rem; font-weight: 700; color: var(--on-dark); }
  .nav__links > a:not(.btn)::after { display: none; }
  .nav__cta { margin: 24px 0 0; min-height: 52px; }
  .nav.is-open .nav__links { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav.is-open .ic--open { display: none; }
  .nav.is-open .ic--close { display: block; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  body { padding-bottom: 76px; }
  .brand__logo { width: 136px; }
  .hero { min-height: 0; padding-block: 32px 48px; }
  .status { margin-bottom: 1.2rem; }
  .actions .btn { width: 100%; }
  .facts { grid-template-columns: 1fr; gap: .7rem; margin-top: 2rem; }
  .m-label { font-size: 30px; stroke-width: 9px; }
  .m-label--minor, .m-neighbors { display: none; }
  .m-hub__label { font-size: 38px; }
  .split__visual { min-height: 380px; padding: 28px 18px; }
  .ticket { padding: 22px 18px 18px; }
  .ticket__places strong { font-size: 1.15rem; }
  .barcode { width: 110px; }
  .flight__label { font-size: .8125rem; }
  .steps { grid-template-columns: 1fr; margin-top: 52px; }
  .promise { grid-template-columns: 1fr; }
  .promise__card figcaption { padding: 18px 28px 32px; }
  .aero-foot .btn { width: 100%; }
  .route-card { grid-template-columns: 1fr; }
  .route-card .btn { grid-column: 1; grid-row: auto; max-width: none; margin-top: .6rem; text-align: center; }
  .contact-list { grid-template-columns: 1fr; }
  .contact__photo { aspect-ratio: 4 / 3; }
  .footer__grid { grid-template-columns: 1fr; }
  .fab { display: none; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(20, 16, 13, .94); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .mbar .btn--primary { flex: 1; }
  .mbar__call { padding-inline: 1rem; }
}

/* al imprimir no hay scroll: todo visible y sin barras fijas */
@media print {
  .js .reveal { opacity: 1; transform: none; }
  .nav, .fab, .mbar, .motion-toggle { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .status__dot::after, .m-hub__ring, .m-pkgs, .flight__plane, .motion-toggle { display: none; }
  .ticket__truck { left: calc(100% - 82px); }
  .ticket__fill { transform: scaleX(1); }
  .js .reveal { opacity: 1; transform: none; }
}
