/* ============================================================
   GENCO — sistema web del ecosistema (genco.business y unidades)
   Tokens: Genco Logistics/src/config/master/tokens.css (paleta muestreada
   del logotipo oficial, E-08). Una sola paleta para todas las unidades:
   la diferencia entre Logistics y Sign Service es de contenido, nunca de color
   (GENCO_MASTER_BRAND.md §5).
   Fuente: sites/shared/genco.css — se copia a cada sitio con prepare_assets.py.
   ============================================================ */
:root {
  --genco-blue: #0049A7;
  --genco-blue-700: #003A85;
  --genco-blue-300: #4A87D0;
  --genco-amber: #FDAB03;
  --genco-amber-600: #D18E02;
  --genco-midnight: #081C2C;
  --genco-midnight-800: #0D2A40;
  --genco-midnight-700: #16374E;
  --genco-ice: #DDF4F7;
  --genco-steel: #8796A5;
  --genco-steel-200: #D7DEE4;
  --genco-white: #FFFFFF;

  --bg: #06131F;
  --bg-2: var(--genco-midnight);
  --surface: var(--genco-midnight-800);
  --line: rgba(221, 244, 247, .09);
  --line-2: rgba(221, 244, 247, .18);
  --text: #EEF4F8;
  --text-2: #A9B9C6;
  --text-3: #7F93A3;
  --link: #8DB8EC;

  --font-d: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-b: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4.5vw, 48px);
  --radius: 14px;
  --ease: cubic-bezier(.2, 0, 0, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-b); font-size: 16.5px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-d); letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--genco-blue-300); outline-offset: 4px; border-radius: 6px; }
.num { font-variant-numeric: tabular-nums; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; }

/* Overline del sistema documental: cuadro ámbar + texto técnico */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-d); font-size: 11.5px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--text-2);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--genco-amber); flex: none; }

/* ---------- Encabezado ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), top .25s var(--ease);
}
.header.is-solid {
  background: rgba(6, 19, 31, .86);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.header__nav { display: flex; align-items: center; gap: 32px; font-family: var(--font-d); font-size: 14px; font-weight: 600; }
.header__nav a { color: var(--text-2); transition: color .2s; }
.header__nav a:hover { color: #fff; }
.header__nav .pill {
  color: #fff; padding: 10px 18px; border-radius: 999px;
  background: var(--genco-blue); transition: background-color .2s;
}
.header__nav .pill:hover { background: var(--genco-blue-700); }

/* Lockup: isotipo + GENCO + descriptor (descriptor ≈ 30 % del alto de GENCO, ámbar sobre oscuro) */
.lockup { display: inline-flex; align-items: center; gap: 12px; }
.lockup img { height: 40px; width: auto; }
.lockup__txt { display: flex; flex-direction: column; line-height: 1; }
.lockup__name { font-family: var(--font-d); font-weight: 800; font-size: 25px; letter-spacing: .04em; color: #fff; }
.lockup__desc { margin-top: 5px; font-family: var(--font-d); font-weight: 600; font-size: 8px; letter-spacing: .34em; text-transform: uppercase; color: var(--genco-amber); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font-family: var(--font-d); font-size: 15px; font-weight: 700; letter-spacing: .01em;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn--primary { background: var(--genco-blue); color: #fff; }
.btn--primary:hover { background: var(--genco-blue-700); }
.btn--light { background: #fff; color: var(--genco-midnight); }
.btn--light:hover { background: var(--genco-ice); }
.btn--ghost { border-color: var(--line-2); color: #fff; }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .04); }
.btn:hover svg { transform: translateX(3px); }
.btn--down:hover svg { transform: translateY(2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 940px);
  display: flex; flex-direction: column; justify-content: flex-end; padding-top: 140px;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: drift 26s ease-out forwards; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6,19,31,.95) 0%, rgba(6,19,31,.8) 40%, rgba(6,19,31,.36) 78%, rgba(6,19,31,.22) 100%),
    linear-gradient(180deg, rgba(6,19,31,.6) 0%, rgba(6,19,31,0) 24%, rgba(6,19,31,0) 58%, var(--bg) 100%);
}
/* Retícula de coordenadas del sistema GENCO */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(221,244,247,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(221,244,247,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 60%); mask-image: linear-gradient(90deg, #000 0%, transparent 60%);
}
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.12); } }
.hero__content { max-width: 820px; padding-bottom: clamp(44px, 7vh, 88px); }
.hero h1 { margin-top: 26px; font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--genco-blue-300); }
.hero__lead { margin-top: 26px; max-width: 610px; font-size: clamp(1.05rem, 1.45vw, 1.2rem); color: #C8D6E2; }
.hero__actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts li { padding: 24px 24px 28px 0; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts b { display: block; font-family: var(--font-d); font-size: clamp(1.4rem, 2.3vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.facts span { display: block; margin-top: 6px; font-size: 13px; color: var(--text-3); line-height: 1.45; }

/* ---------- Secciones ---------- */
.section { padding: clamp(80px, 10vw, 136px) 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 64px; align-items: end; margin-bottom: clamp(40px, 5.5vw, 68px); }
.section__head h2 { margin-top: 18px; font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 800; }
.section__head p { font-size: 1.0625rem; color: var(--text-2); }
.section__head--solo { grid-template-columns: minmax(0, 1fr); max-width: 780px; }

/* Secciones claras: superficie Ice/blanco para lectura técnica (servicios, formularios) */
.section--light { background: #F4F8FB; color: var(--genco-midnight); --text-2: #4E6273; --text-3: #6A7D8C; --line: #D7DEE4; --line-2: #BFCBD6; --link: var(--genco-blue); }
.section--light .eyebrow { color: #4E6273; }
.section--light .eyebrow::before { background: var(--genco-blue); }

/* ---------- Tarjetas de unidad (sitio matriz) ---------- */
.units { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ucard {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; min-height: 620px; padding: 34px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.ucard__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease); }
.ucard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,19,31,.55) 0%, rgba(6,19,31,.1) 24%, rgba(6,19,31,.78) 46%, rgba(6,19,31,.96) 62%, rgba(6,19,31,.98) 100%); }
.ucard::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--genco-amber); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.ucard:hover { border-color: rgba(74,135,208,.6); transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.85); }
.ucard:hover .ucard__bg { transform: scale(1.07); }
.ucard:hover::after { transform: scaleX(1); }
.ucard:has(a:focus-visible) { outline: 2px solid var(--genco-blue-300); outline-offset: 4px; }
.ucard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ucard__mk { font-family: var(--font-d); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #fff; padding: 7px 12px; border-radius: 999px; background: rgba(6,19,31,.6); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ucard__n { font-family: var(--font-d); font-size: 12px; font-weight: 700; color: rgba(255,255,255,.6); letter-spacing: .14em; padding-top: 6px; }
.ucard__body { margin-top: auto; padding-top: 48px; }
.ucard .lockup img { height: 46px; }
.ucard .lockup__name { font-size: 29px; }
.ucard .lockup__desc { font-size: 9.5px; }
.ucard h3 { margin-top: 26px; font-size: clamp(1.45rem, 2.2vw, 1.85rem); font-weight: 800; }
.ucard h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.ucard h3 a:focus-visible { outline: none; }
.ucard__desc { margin-top: 14px; font-size: 15.5px; color: #C3CFD9; max-width: 520px; }
.ucard__list { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.ucard__list li { font-family: var(--font-d); font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); }
.ucard__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.ucard__url { font-family: var(--font-d); font-size: 13px; font-weight: 600; color: var(--link); }
.ucard__lang { font-family: var(--font-d); font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--text-3); }
.ucard__go { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(74,135,208,.6); color: var(--link); transition: background-color .3s, color .3s, transform .3s var(--ease); }
.ucard__go svg { width: 16px; height: 16px; }
.ucard:hover .ucard__go { background: var(--genco-blue); border-color: var(--genco-blue); color: #fff; transform: rotate(-45deg); }

/* ---------- Bloque dividido (foto + texto) ---------- */
.split { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 700px; }
.split__photo { position: relative; overflow: hidden; }
.split__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,28,44,.05) 0%, rgba(8,28,44,.2) 70%, var(--bg-2) 100%), linear-gradient(0deg, rgba(8,28,44,.55), rgba(8,28,44,0) 45%); }
.split__caption { position: absolute; left: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); z-index: 1; max-width: 360px; padding: 20px 22px; border-radius: 12px; background: rgba(6,19,31,.7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line-2); }
.split__caption p { font-size: 15px; line-height: 1.5; color: #DCE6EE; }
.split__caption span { display: block; margin-top: 10px; font-family: var(--font-d); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.split__text { padding: clamp(64px, 9vw, 120px) var(--gutter) clamp(64px, 9vw, 120px) clamp(40px, 6vw, 96px); max-width: 680px; }
.split__text h2 { margin-top: 18px; font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; }
.split__text > p { margin-top: 22px; font-size: 1.0625rem; color: var(--text-2); }
.split--rev .split__photo { order: 2; }
.split--rev .split__photo::after { background: linear-gradient(270deg, rgba(8,28,44,.05) 0%, rgba(8,28,44,.2) 70%, var(--bg-2) 100%), linear-gradient(0deg, rgba(8,28,44,.55), rgba(8,28,44,0) 45%); }
.split--rev .split__text { padding: clamp(64px, 9vw, 120px) clamp(40px, 6vw, 96px) clamp(64px, 9vw, 120px) var(--gutter); margin-left: auto; }

.principles { margin-top: 40px; border-top: 1px solid var(--line); }
.principles li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.principles__n { font-family: var(--font-d); font-size: 13px; font-weight: 800; color: var(--genco-blue-300); padding-top: 3px; font-variant-numeric: tabular-nums; }
.principles h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.principles p { margin-top: 6px; font-size: 15px; color: var(--text-2); }

/* ---------- Capas de la estructura (matriz) ---------- */
.layers { display: grid; gap: 12px; }
.layer { display: grid; grid-template-columns: 170px 1fr auto; gap: 20px; align-items: center; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.layer__k { font-family: var(--font-d); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); }
.layer h3 { font-size: 1.15rem; font-weight: 800; }
.layer p { margin-top: 4px; font-size: 14.5px; color: var(--text-2); }
.layer__tag { font-family: var(--font-d); font-size: 12px; font-weight: 700; color: var(--link); white-space: nowrap; }
.layer--root { border-color: rgba(74,135,208,.45); background: linear-gradient(90deg, rgba(0,73,167,.22), var(--surface) 60%); }
.layer--unit { margin-left: clamp(0px, 4vw, 48px); transition: border-color .25s var(--ease), transform .25s var(--ease); }
.layer--unit:hover { border-color: rgba(74,135,208,.6); transform: translateX(4px); }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { padding: 30px 26px 32px; border-right: 1px solid var(--line); transition: background-color .25s var(--ease); }
.step:last-child { border-right: 0; }
.step:hover { background: rgba(255,255,255,.03); }
.section--light .step { background: #fff; }
.section--light .step:hover { background: #F4F8FB; }
.step__k { font-family: var(--font-d); font-size: 11px; font-weight: 800; letter-spacing: .18em; color: var(--genco-blue-300); }
.section--light .step__k { color: var(--genco-blue); }
.step h3 { margin-top: 14px; font-size: 1.1rem; font-weight: 800; }
.step p { margin-top: 8px; font-size: 14.5px; color: var(--text-2); }

/* ---------- Rejilla de tarjetas ---------- */
.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { border-color: rgba(74,135,208,.55); transform: translateY(-3px); }
.section--light .card { background: #fff; }
.section--light .card:hover { box-shadow: 0 14px 34px rgba(8,28,44,.09); border-color: var(--genco-blue-300); }
.card__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: rgba(0,73,167,.18); color: var(--genco-blue-300); }
.section--light .card__icon { background: #E6EEF8; color: var(--genco-blue); }
.card__icon svg { width: 22px; height: 22px; }
.card h3 { margin-top: 18px; font-size: 1.15rem; font-weight: 800; }
.card p { margin-top: 8px; font-size: 14.8px; color: var(--text-2); }
.card__tag { display: inline-block; margin-top: 16px; font-family: var(--font-d); font-size: 10.5px; font-weight: 800; letter-spacing: .16em; padding: 5px 9px; border-radius: 4px; background: var(--genco-blue); color: #fff; }

/* ---------- Galería ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.gallery figure:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gallery figure:nth-child(n+2) { grid-column: span 2; }
.gallery figure:nth-child(n+4) { grid-column: span 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform 1s var(--ease); }
.gallery figure:nth-child(1) img { aspect-ratio: auto; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 6px; background: rgba(6,19,31,.78); font-family: var(--font-d); font-size: 12px; font-weight: 700; color: #fff; }

/* ---------- Cobertura (Logistics) ---------- */
.routes { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.origin { padding: 28px; border-radius: var(--radius); background: var(--genco-midnight); color: #fff; }
.origin__k { font-family: var(--font-d); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--genco-amber); }
.origin h3 { margin-top: 10px; font-size: 1.8rem; font-weight: 800; }
.origin p { margin-top: 10px; font-size: 14.5px; color: #B9C9D6; }
.dests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--line); }
.dests li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--font-d); font-weight: 700; font-size: 16px; }
.dests li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--genco-blue); flex: none; }
.dests small { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.note { margin-top: 24px; padding: 16px 20px; border-left: 3px solid var(--genco-blue); border-radius: 0 8px 8px 0; background: rgba(0,73,167,.08); font-size: 14.5px; color: var(--text-2); }
.note b { color: inherit; font-family: var(--font-d); }
.section--light .note b { color: var(--genco-midnight); }

/* ---------- Formulario ---------- */
.quote { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.quote__aside h2 { margin-top: 18px; font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; }
.quote__aside > p { margin-top: 18px; color: var(--text-2); }
.quote__aside ul { margin-top: 26px; display: grid; gap: 12px; }
.quote__aside li { display: flex; gap: 12px; font-size: 15px; }
.quote__aside li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--genco-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--genco-midnight); }
.f { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.f--full { grid-column: 1 / -1; }
.f label, .f legend { font-family: var(--font-d); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #4E6273; }
.f input, .f select, .f textarea { width: 100%; padding: 13px 14px; border: 1px solid #C8D3DD; border-radius: 8px; background: #F7FAFC; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--genco-blue); box-shadow: 0 0 0 3px rgba(0,73,167,.15); }
.f textarea { min-height: 96px; resize: vertical; }
.f .hint { font-size: 12.5px; color: #6A7D8C; }
.f [aria-invalid="true"] { border-color: #B42318; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border: 0; padding: 0; margin: 0; }
.seg legend { margin-bottom: 7px; }
.seg label { position: relative; display: grid; place-items: center; text-align: center; padding: 12px 8px; border: 1px solid #C8D3DD; border-radius: 8px; background: #F7FAFC; cursor: pointer; font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--genco-midnight); transition: border-color .2s, background-color .2s; }
.seg label small { display: block; font-size: 11px; font-weight: 600; color: #6A7D8C; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { border-color: var(--genco-blue); background: #E6EEF8; box-shadow: inset 0 0 0 1px var(--genco-blue); }
.seg:has(input[aria-invalid="true"]) label { border-color: #B42318; }
.seg label:has(input:focus-visible) { outline: 2px solid var(--genco-blue); outline-offset: 2px; }
.form .btn { grid-column: 1 / -1; width: 100%; }
.form__note { grid-column: 1 / -1; font-size: 12.5px; color: #6A7D8C; }
.form__msg, .form__err { grid-column: 1 / -1; padding: 14px 16px; border-radius: 8px; font-size: 14px; }
.form__msg { background: var(--genco-ice); border: 1px solid #9FD3DC; color: var(--genco-midnight); }
.form__err { background: #FDECEC; border: 1px solid #F1B5B0; color: #7A1F17; }
.form__msg[hidden], .form__err[hidden] { display: none; }
.form .btn:disabled { opacity: .6; cursor: progress; }
.hp { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }

/* ---------- Preguntas ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; font-family: var(--font-d); font-size: 16px; font-weight: 700; transition: background-color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: rgba(255,255,255,.03); }
.faq summary::after { content: "+"; flex: none; font-size: 22px; line-height: 1; color: var(--genco-blue-300); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 24px 22px; max-width: 74ch; font-size: 15px; color: var(--text-2); }

/* ---------- Cierre ---------- */
.closing { position: relative; isolation: isolate; overflow: hidden; text-align: center; }
.closing__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 50%, rgba(6,19,31,.7), var(--bg) 85%); }
.closing .eyebrow { justify-content: center; }
.closing h2 { max-width: 820px; margin: 20px auto 0; font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 800; }
.closing p { max-width: 620px; margin: 20px auto 0; font-size: 1.0625rem; color: var(--text-2); }
.closing .hero__actions { justify-content: center; }

/* ---------- Pie ---------- */
.footer { padding: 72px 0 40px; border-top: 1px solid var(--line); background: var(--bg); }
.footer__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer__about { margin-top: 20px; max-width: 340px; font-size: 14px; color: var(--text-3); }
.footer h2 { font-family: var(--font-d); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); }
.footer__units { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 32px; }
.footer__units a { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); transition: color .2s; }
.footer__units a:hover { color: #fff; }
.footer__units a:hover small { color: var(--link); }
.footer__units img { height: 24px; width: 24px; object-fit: contain; flex: none; }
.footer__units span { display: flex; flex-direction: column; min-width: 0; font-family: var(--font-d); font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.footer__units small { font-family: var(--font-b); font-size: 12px; font-weight: 400; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: 13px; color: var(--text-3); }
.footer__legal a:hover { color: #fff; }

/* ---------- Aparición al desplazarse ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1023px) {
  .units { grid-template-columns: 1fr; }
  .ucard { min-height: 540px; }
  .split__grid { grid-template-columns: 1fr; }
  .split__photo, .split--rev .split__photo { order: 0; min-height: 400px; }
  .split__photo::after, .split--rev .split__photo::after { background: linear-gradient(0deg, var(--bg-2) 0%, rgba(8,28,44,.2) 45%, rgba(8,28,44,.05) 100%); }
  .split__caption { display: none; }
  .split__text, .split--rev .split__text { padding: 8px var(--gutter) 88px; max-width: none; margin: 0; }
  .section__head, .routes, .quote { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1fr; }
  .layer { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 767px) {
  .hero::before { background: linear-gradient(180deg, rgba(6,19,31,.74) 0%, rgba(6,19,31,.8) 55%, var(--bg) 100%); }
  .header__nav .hide-sm { display: none; }
  .header__nav { gap: 18px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ucard { padding: 26px; min-height: 500px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery figure:nth-child(1) { grid-column: span 2; grid-row: auto; }
  .gallery figure:nth-child(1) img { aspect-ratio: 16 / 10; }
  .gallery figure:nth-child(n+2) { grid-column: span 1; }
  .gallery figure:nth-child(5) { grid-column: span 2; }
  .dests { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer__units { grid-template-columns: 1fr; }
  .layer--unit { margin-left: 0; }
}
@media (max-width: 479px) {
  .lockup img { height: 34px; }
  .lockup__name { font-size: 21px; }
  .header__nav .pill { padding: 8px 14px; }
  .hero h1 { font-size: 2.35rem; }
  .hero__actions .btn { width: 100%; }
  .seg { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media img { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  *, *::before, *::after { transition: none !important; }
}
