/* Hallmark · macrostructure: custom (Both sides of the river) · tone: utilitarian-warm · anchor hue: amber 60°
   ═══════════════════════════════════════════════════════════════════════
   FORT MYERS GARAGE DOORS N MORE · Estilos del sitio
   369 Creative Agency · septiembre 2026

   Mundo visual (sale del logo, no de una plantilla):
   - ACERO cepillado (el marco de la "M") para cabecera, hero, cierre y pie.
   - CONCRETO claro, con una junta de puerta seccional arriba de cada banda,
     para las secciones de lectura.
   - Una sola TIRA DE LUZ ámbar (la del logo) como filete: separa, subraya
     y en la apertura se convierte en el puente de luz.
   - BRASA (naranja quemado) en campos enteros: botones y la banda comercial.
   - RÍO de noche solo en The Crossing (el mapa del Caloosahatchee).
   Letras: Saira ancha (el "FORT MYERS" del logo es cuadrado y extendido) y
   Libre Franklin, la gótica de los rótulos de oficio en EE. UU.
   Esquinas: 2 px en todo. Única excepción documentada: las burbujas de
   mensaje (16 px), porque imitan la app de mensajes del teléfono.

   Secciones:
    0 Variables          9 Índice de servicios   18 Artículo (servicios)
    1 Base               10 The Crossing         19 Permisos y tablas
    2 Tipografía         11 Banda comercial      20 Zonas
    3 Estructura         12 Banda Ian            21 About y contacto
    4 Botones            13 Reseñas              22 Apertura "El Cruce"
    5 Tira de luz        14 Zonas + FAQ          23 Entradas por scroll
    6 Cabecera y menú    15 FAQ acordeón         24 Responsive
    7 Hero               16 Cierre               25 Menos movimiento
    8 Franja de pruebas  17 Pie y barra móvil
   ═══════════════════════════════════════════════════════════════════════ */

/* ═══ 0 · VARIABLES ═══
   Contrastes medidos (WCAG 2.2):
   - blanco sobre --brasa .......... 5.27:1  (botón principal, AA texto normal)
   - blanco sobre --brasa-honda .... 7.45:1  (hover)
   - --tinta sobre --concreto ...... 14.6:1
   - --grafito sobre --concreto .... 5.6:1   (texto secundario)
   - --grafito sobre --concreto-2 .. 4.9:1
   - --brasa-honda sobre --concreto  6.3:1   (enlaces sobre claro; --brasa da 4.38 y no alcanza)
   - --ambar sobre --acero ......... 7.66:1  (acentos y enlaces sobre oscuro)
   - --hueso sobre --acero ......... 14.9:1
   - --humo sobre --acero-2 ........ 7.8:1   (texto secundario sobre oscuro)
   - blanco sobre --brasa .......... 5.27:1  (chip marcado, etiqueta del mapa, "Today")
   - --hueso sobre --rio-noche ..... 14.5:1  */
:root {
  --acero: #1C1D20;
  --acero-2: #26282C;
  --acero-3: #3A3D42;
  --concreto: #E9E9E6;
  --concreto-2: #DCDCD7;
  --blanco-cal: #F6F6F3;
  --tinta: #17181B;
  --grafito: #565B63;
  --hueso: #F1EFEA;
  --humo: #B9BCC2;
  --ambar: #F59A2A;
  --ambar-claro: #FFC56B;
  --brasa: #B34D12;
  --brasa-honda: #8F3C0B;
  --madera: #9A5A2A;
  --rio-noche: #13202A;
  --rio: #2C4A57;
  --rio-tierra: #1B2A33;
  --verde-abierto: #4CC38A;
  --foco: var(--brasa-honda);

  --letra-titulo: "Saira", "Arial Narrow", system-ui, sans-serif;
  --letra-texto: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radio: 2px;
  --radio-burbuja: 16px;
  --ancho: 1240px;
  --margen: clamp(16px, 4vw, 40px);
  --banda: clamp(60px, 8vw, 116px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.55, 0, .75, .1);
  --ease-inout: cubic-bezier(.7, 0, .25, 1);

  /* Acero cepillado: vetas horizontales muy suaves sobre un degradé vertical */
  --textura-acero: repeating-linear-gradient(0deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 3px),
                   linear-gradient(180deg, #212226 0%, #1A1B1E 100%);
  /* Juntas de puerta seccional: una línea cada 168 px en las bandas claras */
}

/* ═══ 1 · BASE ═══ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 96px; }
body {
  margin: 0; overflow-x: clip;
  font-family: var(--letra-texto); font-size: 1.1875rem; line-height: 1.6; font-weight: 400;
  color: var(--tinta); background: var(--concreto);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brasa-honda); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; }
.cabecera, .menu-movil, .hero, .franja-pruebas, .banda--acero, .banda--rio, .pie, .barra-movil, .apertura, .caja--acero { --foco: var(--ambar); }
.banda--brasa { --foco: #fff; }
::selection { background: var(--brasa); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.saltar { position: absolute; left: 12px; top: -80px; z-index: 2000; background: var(--brasa); color: #fff; padding: 12px 18px; font-weight: 700; border-radius: var(--radio); }
.saltar:focus { top: 12px; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
symbol.relleno path, .relleno { fill: currentColor; stroke: none; }
.sin-quiebre { white-space: nowrap; }
@view-transition { navigation: auto; }

/* ═══ 2 · TIPOGRAFÍA ═══ */
h1, h2, h3, h4 { font-family: var(--letra-titulo); color: inherit; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.005em; }
h1 { font-size: clamp(2rem, 1.1rem + 3.4vw, 3.6rem); font-weight: 800; font-stretch: 125%; line-height: 1.04; }
h2 { font-size: clamp(1.65rem, 1.1rem + 1.9vw, 2.6rem); font-weight: 800; font-stretch: 118%; line-height: 1.08; }
h3 { font-size: 1.22rem; font-weight: 700; font-stretch: 110%; line-height: 1.22; }
h4 { font-size: 1.05rem; font-weight: 700; font-stretch: 108%; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.15rem, 1.05rem + .35vw, 1.35rem); line-height: 1.5; max-width: 60ch; }
.prosa { max-width: 70ch; }
.prosa h2 { margin-top: 1.9em; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.prosa h2:first-child { margin-top: 0; }
.prosa ul { padding-left: 1.2em; }
.prosa li { margin-bottom: .4em; }

/* ═══ 3 · ESTRUCTURA ═══ */
.contenedor { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: var(--margen); }
.angosto { max-width: 880px; }
.banda { padding-block: var(--banda); position: relative; }
.banda--puerta { background-color: var(--concreto); }
/* Junta de puerta seccional (1 px oscura + 1 px clara) arriba de cada banda clara. Antes era un
   patrón cada 168 px y cruzaba los párrafos: se leía como un error de maquetación. */
.banda--puerta, .banda--concreto, .banda--concreto2 { box-shadow: inset 0 1px 0 rgba(23, 24, 27, .09), inset 0 2px 0 rgba(255, 255, 255, .7); }
.banda--concreto { background: var(--concreto); }
.banda--concreto2 { background: var(--concreto-2); }
.banda--concreto2 .lead, .banda--concreto2 p { color: var(--tinta); }
.banda--acero { background-color: var(--acero); background-image: var(--textura-acero); color: var(--hueso); }
.banda--acero a:not(.boton) { color: var(--ambar); }
.banda--rio { background: radial-gradient(120% 90% at 70% 10%, #1A2D39 0%, var(--rio-noche) 60%); color: var(--hueso); }
.banda--rio a:not(.boton) { color: var(--ambar); }
.banda--brasa { background: var(--brasa); color: #fff; }
.banda--brasa a:not(.boton) { color: #fff; }
.dos-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.dos-col--arriba { align-items: start; }
.foto { margin: 0; position: relative; overflow: hidden; border-radius: var(--radio); background: var(--acero-2); }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto--alta { aspect-ratio: 3 / 4; }

/* ═══ 4 · BOTONES ═══
   Llamar siempre primero y en brasa; el segundo es un mensaje de texto.
   La línea ámbar en la base del botón principal es la tira de luz del logo. */
.botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.botones--columna { flex-direction: column; }
.botones--columna .boton { width: 100%; justify-content: center; }
.boton {
  display: inline-flex; align-items: center; gap: .6em; min-height: 54px; padding: .8em 1.35em;
  font-family: var(--letra-titulo); font-weight: 700; font-stretch: 110%; font-size: 1.05rem; line-height: 1.1; letter-spacing: .01em;
  text-decoration: none; border: 2px solid transparent; border-radius: var(--radio); cursor: pointer; white-space: nowrap;
  transition: background-color .18s var(--ease-out), color .18s var(--ease-out), border-color .18s var(--ease-out), transform .1s;
}
.boton:active { transform: translateY(1px); }
.boton .ico { width: 1.2em; height: 1.2em; }
.boton--brasa { background: var(--brasa); color: #fff; box-shadow: inset 0 -3px 0 var(--ambar); }
.boton--brasa:hover { background: var(--brasa-honda); color: #fff; }
.boton--linea { background: transparent; color: inherit; border-color: currentColor; }
.boton--linea:hover { background: rgba(255, 255, 255, .08); }
.banda--puerta .boton--linea:hover, .banda--concreto .boton--linea:hover, .caja .boton--linea:hover { background: rgba(23, 24, 27, .06); }
.boton--acero { background: var(--acero-3); color: var(--hueso); }
.boton--acero:hover { background: #45494F; }
.boton--blanco { background: #fff; color: var(--brasa-honda); }
.boton--blanco:hover { background: var(--hueso); color: var(--brasa-honda); }
.boton--chico { min-height: 44px; padding: .55em 1em; font-size: .98rem; }
.boton[disabled] { opacity: .6; cursor: progress; }
.sms-aviso { font-size: .95rem; margin: .6em 0 0; flex-basis: 100%; }

/* ═══ 5 · TIRA DE LUZ ═══
   La tira ámbar del marco del logo: luz, no borde. Es el único filete del sitio. */
.tira-luz {
  display: block; height: 3px; width: 100%;
  background: linear-gradient(90deg, transparent 0%, var(--ambar) 10%, var(--ambar-claro) 50%, var(--ambar) 90%, transparent 100%);
  box-shadow: 0 1px 14px 1px rgba(245, 154, 42, .45);
}
.tira-luz--cabecera { position: absolute; left: 0; right: 0; bottom: 0; }
.tira-luz--hero { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }
.tira-luz--pie { position: absolute; left: 0; right: 0; top: 0; }

/* ═══ 6 · CABECERA Y MENÚ ═══ */
.cabecera { position: sticky; top: 0; z-index: 900; background-color: var(--acero); background-image: var(--textura-acero); color: var(--hueso); }
.cabecera__fila { display: flex; align-items: center; gap: 24px; min-height: 86px; }
.marca { display: flex; align-items: center; flex: none; }
.marca img { height: 72px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav__grupo > button {
  display: inline-flex; align-items: center; gap: .3em; padding: 10px 12px; min-height: 44px; white-space: nowrap;
  font: 600 1rem/1.1 var(--letra-texto); color: var(--hueso); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: var(--radio);
}
.nav > a:hover, .nav__grupo > button:hover { color: var(--ambar); }
.nav > a[aria-current="page"] { color: var(--ambar); box-shadow: inset 0 -2px 0 var(--ambar); }
.nav__grupo { position: static; }
.cabecera__fila { position: relative; }
.nav__grupo > button .ico { width: 1em; height: 1em; transition: transform .2s var(--ease-out); }
.nav__grupo > button[aria-expanded="true"] .ico { transform: rotate(180deg); }
.desplegable {
  position: absolute; top: 100%; left: var(--margen); right: var(--margen);
  background: var(--acero-2); color: var(--hueso); padding: 28px 28px 20px; border-radius: var(--radio);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, .55);
}
.desplegable[hidden] { display: none; }
.desplegable__rejilla { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.desplegable h3 { font-size: .98rem; color: var(--ambar); margin-bottom: .7em; }
.desplegable ul { list-style: none; margin: 0; padding: 0; }
.desplegable li a { display: block; padding: 7px 0; color: var(--hueso); text-decoration: none; font-weight: 600; font-size: .98rem; line-height: 1.25; }
.desplegable li a small { display: block; font-weight: 400; color: var(--humo); font-size: .84rem; margin-top: 2px; }
.desplegable li a:hover { color: var(--ambar); }
.desplegable__pie { display: flex; gap: 24px; margin: 20px 0 0; padding-top: 14px; border-top: 1px solid var(--acero-3); font-size: .95rem; }
.desplegable__pie a { color: var(--ambar); }
.cabecera__accion { display: flex; align-items: center; gap: 16px; flex: none; }
.estado { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .9rem; color: var(--humo); white-space: nowrap; }
.estado__punto { width: 9px; height: 9px; border-radius: 50%; background: var(--humo); flex: none; }
.banda--puerta .estado, .banda--concreto .estado, .banda--concreto2 .estado { color: var(--grafito); margin-bottom: 1em; }
.estado--abierto .estado__punto { background: var(--verde-abierto); box-shadow: 0 0 0 3px rgba(76, 195, 138, .22); }
.hamburguesa { display: none; margin-left: auto; width: 48px; height: 48px; align-items: center; justify-content: center; background: none; border: 2px solid var(--acero-3); color: var(--hueso); border-radius: var(--radio); cursor: pointer; }
.hamburguesa .ico { width: 26px; height: 26px; }
.menu-movil {
  position: fixed; inset: 86px 0 0 0; z-index: 890; background: var(--acero); color: var(--hueso); overflow-y: auto;
  padding: 24px var(--margen) 120px; transform: translateX(100%); visibility: hidden;
  transition: transform .3s var(--ease-out), visibility 0s linear .3s;
}
.menu-movil[data-abierto="true"] { transform: none; visibility: visible; transition: transform .3s var(--ease-out); }
.menu-movil ul { list-style: none; margin: 0 0 22px; padding: 0; }
.menu-movil a { color: var(--hueso); text-decoration: none; }
.menu-movil__principal a { display: block; padding: 12px 0; font: 700 1.3rem/1.2 var(--letra-titulo); font-stretch: 112%; border-bottom: 1px solid var(--acero-3); }
.menu-movil h3 { font-size: .95rem; color: var(--ambar); margin: 18px 0 6px; }
.menu-movil ul:not(.menu-movil__principal) a { display: block; padding: 8px 0; font-weight: 600; }

/* ═══ 7 · HERO ═══
   Foto a pantalla completa con velo (regla de la casa), texto abajo a la izquierda. */
.hero { position: relative; display: grid; align-items: end; overflow: hidden; background: var(--acero); color: var(--hueso); isolation: isolate; }
.hero__fondo { position: absolute; inset: 0; z-index: -2; }
.hero__fondo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--foco, 50% 50%); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(20, 21, 24, .95) 0%, rgba(20, 21, 24, .74) 36%, rgba(20, 21, 24, .2) 72%, rgba(20, 21, 24, .38) 100%),
              linear-gradient(90deg, rgba(20, 21, 24, .86) 0%, rgba(20, 21, 24, .55) 38%, rgba(20, 21, 24, 0) 68%);
}
.hero__contenido { padding-block: 140px 72px; position: relative; }
.hero h1 { max-width: 20ch; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero .lead { color: var(--hueso); }
.hero--interno::before {
  background: linear-gradient(0deg, rgba(20, 21, 24, .95) 0%, rgba(20, 21, 24, .72) 40%, rgba(20, 21, 24, .3) 75%, rgba(20, 21, 24, .45) 100%),
              linear-gradient(90deg, rgba(20, 21, 24, .9) 0%, rgba(20, 21, 24, .72) 42%, rgba(20, 21, 24, .08) 78%);
}
.hero--home { min-height: min(90vh, 860px); }
.hero--home .hero__fondo img { object-position: 42% 50%; }
.hero--home h1 { max-width: none; }
.hero--home .lead { max-width: 52ch; text-wrap: pretty; }
.hero--home::before {
  background: linear-gradient(0deg, rgba(20, 21, 24, .95) 0%, rgba(20, 21, 24, .74) 36%, rgba(20, 21, 24, .2) 72%, rgba(20, 21, 24, .38) 100%),
              linear-gradient(90deg, rgba(20, 21, 24, .88) 0%, rgba(20, 21, 24, .7) 45%, rgba(20, 21, 24, .45) 60%, rgba(20, 21, 24, 0) 78%);
}
.hero--interno { min-height: clamp(460px, 62vh, 620px); }
.hero--interno h1 { font-size: clamp(2rem, 1.1rem + 2.6vw, 3.1rem); max-width: 26ch; }
.hero--interno .hero__contenido { padding-block: 120px 60px; }
.hero--404 { min-height: 80vh; }
.hero__puente { position: absolute; left: 0; right: 0; bottom: 20px; z-index: 3; height: 3px; }
@media (max-width: 760px) { .hero__puente { bottom: auto; top: calc(max(46svh, 280px) - 88px); } }
.hero__puente .tira-luz { position: absolute; inset: 0; }
.hero__pilas { position: absolute; left: 0; right: 0; top: 3px; display: flex; justify-content: space-around; pointer-events: none; }
.hero__pilas span { width: 3px; height: 17px; background: linear-gradient(180deg, rgba(245, 154, 42, .55), rgba(245, 154, 42, 0)); }
.migas ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font-size: .92rem; color: var(--hueso); text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.migas li + li::before { content: "/"; margin-right: 6px; color: var(--humo); }
.hero .migas a { color: var(--hueso); }
.ficha { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; font-size: 1rem; }
.ficha li { display: inline-flex; align-items: center; gap: 8px; }
.ficha .ico { color: var(--ambar); }
.ficha-zips { font-size: 1rem; color: var(--humo); margin: 0; }

/* ═══ 8 · FRANJA DE PRUEBAS ═══
   Debajo del hero y no dentro (el hero es un solo mensaje). Las pilas del
   puente de luz cuelgan sobre esta franja. */
.franja-pruebas { background: var(--acero-2); color: var(--hueso); padding-block: 38px 32px; }
.franja-pruebas ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.franja-pruebas li { display: flex; gap: 14px; align-items: flex-start; }
.franja-pruebas .ico { width: 30px; height: 30px; color: var(--ambar); margin-top: 2px; }
.franja-pruebas strong { display: block; font-family: var(--letra-titulo); font-stretch: 108%; font-weight: 700; font-size: 1.02rem; line-height: 1.25; margin-bottom: 3px; }
.franja-pruebas span span, .franja-pruebas li > span { font-size: .93rem; color: var(--humo); line-height: 1.4; }
.franja-pruebas li > span strong { color: var(--hueso); }

/* ═══ 9 · ÍNDICE DE SERVICIOS ═══
   Como la etiqueta de un estante de la camioneta: nombre, síntoma, tiempo. */
.servicios__cabeza { max-width: 760px; margin-bottom: 42px; }
.servicios__cuerpo { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 2.2fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.servicios__cuerpo .foto--alta { position: sticky; top: 104px; }
.indice__rejilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; align-items: start; }
.indice__col { display: grid; gap: 36px; }
.indice__grupo h3 { font-size: 1.15rem; margin-bottom: .5em; padding-bottom: .5em; border-bottom: 1px solid rgba(23, 24, 27, .45); }
.indice { list-style: none; margin: 0; padding: 0; }
.indice li { border-bottom: 1px solid rgba(23, 24, 27, .14); }
.indice a { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 13px 6px; text-decoration: none; color: var(--tinta); transition: background-color .15s; }
.indice a:hover { background: rgba(255, 255, 255, .55); }
.indice a:hover .indice__nombre { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.indice__nombre { font-weight: 700; font-size: 1.04rem; }
.indice__que { grid-column: 1; font-size: .92rem; color: var(--grafito); line-height: 1.35; }
.indice__tiempo { display: flex; align-items: flex-start; gap: 6px; margin-top: 4px; font-size: .88rem; font-weight: 600; color: var(--brasa-honda); line-height: 1.3; }
.indice__tiempo .ico { width: 16px; height: 16px; flex: none; margin-top: 1px; }

/* ═══ 10 · THE CROSSING ═══
   El elemento firma. Formulario a la izquierda, mapa esquemático del río a la
   derecha, y abajo el resumen con los textos de ejemplo. */
.cruce__cabeza { max-width: 760px; margin-bottom: 36px; }
.cruce__cabeza .lead { color: var(--hueso); }
.cruce__rejilla { display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.cruce__forma label[for="cruce-zip"], .opciones legend { display: block; font-family: var(--letra-titulo); font-weight: 700; font-stretch: 108%; font-size: 1.02rem; margin-bottom: 10px; color: var(--hueso); }
.cruce__zip-fila { display: flex; gap: 10px; flex-wrap: wrap; }
.cruce__zip input {
  width: 8.5ch; min-height: 54px; padding: .5em .6em; font: 700 1.35rem/1 var(--letra-titulo); letter-spacing: .08em;
  color: var(--hueso); background: #0E1920; border: 2px solid #7B93A2; border-radius: var(--radio);
}
.cruce__zip input::placeholder { color: #7F95A2; }
.cruce__zip input:focus-visible { border-color: var(--ambar); outline-offset: 2px; }
html:not(.js) .cruce__forma, html:not(.js) [data-formulario] { display: none; }
.formulario__sinjs { font-weight: 600; }
.cruce__ayuda { font-size: .93rem; color: var(--humo); margin: 10px 0 0; min-height: 1.5em; }
.cruce__ayuda.error { color: var(--ambar-claro); }
.cruce__ayuda a { color: var(--ambar); font-weight: 600; }
.opciones { border: 0; padding: 0; margin: 26px 0 0; min-width: 0; }
.opciones__lista { display: flex; flex-wrap: wrap; gap: 8px; }
.opciones input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opciones label {
  display: inline-flex; align-items: center; min-height: 44px; padding: 9px 14px; cursor: pointer;
  font-size: .95rem; font-weight: 600; color: var(--hueso); border: 1.5px solid rgba(241, 239, 234, .32); border-radius: var(--radio);
  transition: background-color .15s, color .15s, border-color .15s;
}
.opciones label:hover { border-color: var(--ambar); }
.opciones input:checked + label { background: var(--brasa); border-color: var(--ambar); color: #fff; }
.opciones input:focus-visible + label { outline: 3px solid var(--ambar); outline-offset: 3px; }

.mapa { margin: 0; }
.mapa__lienzo { position: relative; aspect-ratio: 1000 / 520; border-radius: var(--radio); overflow: hidden; background: var(--rio-tierra); }
.mapa__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapa__tierra { fill: var(--rio-tierra); }
.mapa__agua { fill: var(--rio); }
.mapa__isla { fill: #24343E; stroke: #3E5663; stroke-width: 2; }
.mapa__puente { stroke: #7C8A94; stroke-width: 6; stroke-linecap: square; transition: stroke .3s; }
.mapa__puente--corto { stroke-width: 5; }
.mapa__puente.activo { stroke: var(--ambar-claro); stroke-width: 8; filter: drop-shadow(0 0 6px rgba(245, 154, 42, .8)); }
.mapa__ruta { fill: none; stroke: var(--ambar); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 11; }
.mapa__base { fill: var(--acero); stroke: var(--humo); stroke-width: 3; }
.mapa__camion circle:first-child { fill: var(--acero); stroke: var(--ambar); stroke-width: 4; }
.mapa__faro { fill: var(--ambar-claro); }
.mapa__lugar {
  position: absolute; transform: translate(-50%, -50%); white-space: nowrap; pointer-events: none;
  font: 600 .82rem/1.2 var(--letra-texto); color: var(--humo); padding: 2px 6px; border-radius: var(--radio);
  background: rgba(19, 32, 42, .7);
}
.mapa__lugar--derecha { transform: translate(-88%, -50%); }
.mapa__lugar--izquierda { transform: translate(-12%, -50%); }
.mapa__lugar.activo { color: #fff; background: var(--brasa); font-weight: 700; box-shadow: 0 0 0 1px var(--ambar); }
.mapa__lugar--hermano.activo { display: block !important; }
/* Nombre del puente encendido, junto a la raya ámbar */
.mapa__puente-nombre { position: absolute; transform: translate(-50%, 0); white-space: nowrap; pointer-events: none; display: none;
  font: 700 .8rem/1.2 var(--letra-texto); color: var(--ambar-claro); text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.mapa__puente-nombre.activo { display: block; }
.mapa__puente-nombre[data-puente-nombre="edison"] { transform: translate(-100%, 0); }
/* ZIP del equipo hermano o fuera de zona: sin camino, sin camioneta y sin resultado de otra zona */
.cruce--fuera .mapa__ruta, .cruce--fuera .mapa__camion, .cruce--fuera .cruce__resultado { display: none; }
.mapa__lugar--rio { color: #9FB6C3; background: none; font-weight: 500; letter-spacing: .02em; }
.mapa__lugar--base { color: var(--hueso); background: none; font-weight: 600; }
.mapa__lugar--hermano { color: #8FA3AF; background: none; font-weight: 500; font-size: .76rem; }
.mapa figcaption { font-size: .86rem; color: var(--humo); margin-top: 10px; }

.cruce__resultado { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); margin-top: 44px; padding-top: 36px; border-top: 1px solid rgba(241, 239, 234, .16); }
.cruce__resumen { font-family: var(--letra-titulo); font-weight: 700; font-stretch: 110%; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.55rem); line-height: 1.25; margin-bottom: .6em; }
.cruce__nota { color: var(--humo); font-size: 1rem; }
.cruce__tiempo { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 6px 10px; font-size: 1.02rem; }
.cruce__tiempo .ico { margin-top: 3px; }
.cruce__tiempo a { grid-column: 2; }
.cruce__tiempo .ico { color: var(--ambar); }
.cruce__muestra { font-size: .9rem; color: var(--humo); margin-bottom: 12px; }
.mensajes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 520px; }
.mensaje {
  background: #22343F; color: var(--hueso); padding: 12px 16px; border-radius: var(--radio-burbuja) var(--radio-burbuja) var(--radio-burbuja) 4px;
  font-size: 1rem; line-height: 1.45; max-width: 92%;
}
.mensaje p { margin: 0; }
.mensaje__foto { display: block; width: 64px; height: 64px; margin-top: 10px; border-radius: 10px; object-fit: cover; }
.js .mensajes.animando .mensaje { opacity: 0; transform: translateY(8px); }
.js .mensajes.animando.listo .mensaje { opacity: 1; transform: none; transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); transition-delay: calc(var(--i, 0) * 260ms + 500ms); }
.cruce__privado { font-size: .86rem; color: var(--humo); margin: 28px 0 0; max-width: 70ch; }

/* ═══ 11 · BANDA COMERCIAL ═══ */
.comercial__rejilla { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 0 clamp(32px, 5vw, 72px); align-items: stretch; }
.comercial__cabeza { grid-column: 1 / -1; max-width: 900px; margin-bottom: 18px; }
.comercial__texto { align-self: center; }
.comercial .lead { color: #fff; }
.comercial__lista { list-style: none; margin: 26px 0 8px; padding: 0; }
.comercial__lista li { border-top: 1px solid rgba(255, 255, 255, .28); }
.comercial__lista li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .28); }
.comercial__lista a { display: flex; gap: 14px; align-items: center; padding: 14px 4px; color: #fff; text-decoration: none; }
.comercial__lista a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.comercial__lista .ico { width: 30px; height: 30px; }
.comercial__lista strong { display: block; font-family: var(--letra-titulo); font-weight: 700; font-stretch: 110%; font-size: 1.1rem; }
.comercial__lista span span, .comercial__lista a > span { font-size: .96rem; }
.comercial__fotos { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 12px; }
.comercial__foto--a { grid-row: 1 / span 2; }
.comercial__foto--b, .comercial__foto--c { aspect-ratio: 4 / 3.6; }

/* ═══ 12 · BANDA IAN ═══ */
.ian__rejilla { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ian__foto { aspect-ratio: 4 / 5; }
.datos { margin: 28px 0 22px; display: grid; gap: 22px; }
.datos dt { font-family: var(--letra-titulo); font-weight: 700; font-stretch: 110%; font-size: 1.15rem; margin-bottom: 4px; }
.datos dt::before { content: ""; display: block; width: 34px; height: 3px; margin-bottom: 10px; background: var(--brasa); }
.datos dd { margin: 0; color: var(--grafito); }
.ian__enlaces { display: flex; flex-wrap: wrap; gap: 10px 28px; font-weight: 600; }

/* ═══ 13 · RESEÑAS ═══ */
.resenas { columns: 3 300px; column-gap: 40px; margin-top: 34px; }
.resena { break-inside: avoid; margin: 0 0 36px; padding-top: 18px; border-top: 1px solid rgba(23, 24, 27, .3); }
.banda--resenas .resena { border-top-color: var(--acero-3); }
.banda--resenas .resena footer { color: var(--humo); }
.banda--resenas .resena footer strong { color: var(--hueso); }
.banda--resenas .estrellas { color: var(--ambar); }
.banda--resenas .estrella--vacia { color: var(--humo); }
.resena p { font-size: 1.05rem; line-height: 1.55; margin: 12px 0 14px; }
.resena footer { display: flex; flex-direction: column; font-size: .93rem; color: var(--grafito); }
.resena footer strong { color: var(--tinta); font-size: 1rem; }
.estrellas { display: inline-flex; gap: 3px; color: var(--brasa); }
.estrella { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linejoin: round; }
.estrella--vacia { color: var(--grafito); }

/* ═══ 14 · ZONAS + FAQ ═══ */
.zonas-faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.zonas { list-style: none; margin: 18px 0 0; padding: 0; }
.zonas li { border-bottom: 1px solid rgba(23, 24, 27, .16); }
.zonas a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 2px; color: var(--tinta); text-decoration: none; }
.zonas a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.zonas strong { font-family: var(--letra-titulo); font-weight: 700; font-stretch: 110%; font-size: 1.1rem; }
.zonas span { font-size: .88rem; color: var(--grafito); text-align: right; }
.zonas--grande { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.zonas__nota { margin-top: 18px; font-size: 1rem; }

/* ═══ 15 · FAQ ACORDEÓN ═══ */
.faq { margin-top: 12px; }
.faq__item { border-bottom: 1px solid rgba(23, 24, 27, .16); }
.faq h3 { margin: 0; font-size: 1rem; }
.faq__boton {
  display: flex; justify-content: space-between; align-items: center; gap: 18px; width: 100%; padding: 18px 2px; text-align: left;
  font: 700 1.08rem/1.35 var(--letra-titulo); font-stretch: 105%; color: inherit; background: none; border: 0; cursor: pointer;
}
.faq__signo { position: relative; width: 16px; height: 16px; flex: none; }
.faq__signo::before, .faq__signo::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--brasa); transition: transform .25s var(--ease-out); }
.faq__signo::after { transform: rotate(90deg); }
.faq__boton[aria-expanded="true"] .faq__signo::after { transform: rotate(0); }
.faq__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .3s var(--ease-out); }
.faq__panel > div { overflow: hidden; visibility: visible; transition: visibility 0s; }
.faq__panel[data-abierto="false"] > div { visibility: hidden; transition: visibility 0s .3s; }
.faq + h2 { margin-top: 2.2em; }
.faq__panel[data-abierto="false"] { grid-template-rows: 0fr; }
.faq__panel p { margin: 0 0 18px; color: var(--grafito); max-width: 68ch; }
.banda--acero .faq__panel p, .banda--rio .faq__panel p { color: var(--humo); }

/* ═══ 16 · CIERRE ═══ */
.cierre__rejilla { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cierre .lead { color: var(--hueso); }
.cierre__tel { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; justify-self: end; }
.cierre__tel span { white-space: nowrap; font-family: var(--letra-titulo); font-weight: 800; font-stretch: 118%; font-size: clamp(1.9rem, 1.1rem + 2.4vw, 3rem); line-height: 1; color: var(--ambar); letter-spacing: .01em; }
.cierre__tel small { font-size: 1rem; color: var(--humo); margin-top: 10px; }
.cierre__tel:hover span { color: var(--ambar-claro); }

/* ═══ 17 · PIE Y BARRA MÓVIL ═══ */
.pie { position: relative; background-color: var(--acero); background-image: var(--textura-acero); color: var(--humo); padding: 72px 0 34px; font-size: .98rem; }
.pie a { color: var(--hueso); text-decoration: none; }
.pie a:hover { color: var(--ambar); text-decoration: underline; }
.pie__rejilla { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.pie__marca img { width: 250px; height: auto; margin-bottom: 18px; }
.pie__tel { font-family: var(--letra-titulo); font-weight: 800; font-stretch: 118%; font-size: 1.6rem; color: var(--ambar) !important; }
.pie h2 { font-size: 1rem; color: var(--hueso); margin: 0 0 12px; font-stretch: 110%; }
.pie ul { list-style: none; margin: 0; padding: 0; }
.pie li { margin-bottom: 7px; }
.pie__sin-titulo { margin-top: calc(1rem * 1.08 + 12px) !important; }
.pie__h2-zonas { margin-top: 24px !important; }
.horario { border-collapse: collapse; font-size: .95rem; }
.horario th, .horario td { text-align: left; padding: 3px 14px 3px 0; font-weight: 400; }
.horario tr[data-hoy] th, .horario tr[data-hoy] td { color: var(--hueso); font-weight: 700; }
.horario__hoy { margin-left: 6px; font-size: .78rem; color: #fff; background: var(--brasa); padding: 1px 6px; border-radius: var(--radio); }
.pie__legal { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--acero-3); font-size: .9rem; }
.pie__legal p { margin: 0; }
.pie__credito { margin: 14px 0 0; font-size: .86rem; }
.barra-movil { display: none; }

/* ═══ 18 · ARTÍCULO (SERVICIOS) ═══ */
.articulo { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.lista-check { list-style: none; padding: 0 !important; margin: 0 0 1.4em; }
.lista-check li { position: relative; padding-left: 1.7em; margin-bottom: .6em; }
.lista-check li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 1em; height: 1em;
  background: var(--brasa); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
}
:root { --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.prosa .foto { margin: 2em 0; aspect-ratio: 16 / 10; }
.nota-honesta { position: relative; background: var(--blanco-cal); padding: 26px 28px 22px; margin: 2em 0; border-radius: var(--radio); box-shadow: 0 10px 30px -18px rgba(23, 24, 27, .35); }
.nota-honesta h3 { font-size: 1.2rem; margin-bottom: .4em; }
.nota-honesta p { margin: 0; }
.lateral { position: sticky; top: 104px; display: grid; gap: 20px; }
.caja { padding: 24px; border-radius: var(--radio); background: var(--blanco-cal); }
.caja h2 { font-size: 1.2rem; margin-bottom: .5em; }
.caja--acero { background-color: var(--acero); background-image: var(--textura-acero); color: var(--hueso); }
.caja--acero p { color: var(--humo); font-size: 1rem; }
.caja--acero .boton--linea { color: var(--hueso); }
.caja--acero .botones { margin-top: 1em; }
.relacionados { list-style: none; margin: 0; padding: 0; }
.relacionados li { border-bottom: 1px solid rgba(23, 24, 27, .12); }
.relacionados a { display: block; padding: 10px 0; font-weight: 600; text-decoration: none; }
.relacionados a:hover { text-decoration: underline; }
.relacionados--linea { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.prosa .relacionados { padding-left: 0; }
.relacionados--linea li { border: 0; }

/* ═══ 19 · PERMISOS Y TABLAS ═══ */
/* La respuesta corta va en acero: es lo primero que tiene que encontrar quien llega desde Google o desde una IA */
.respuesta-corta { position: relative; background-color: var(--acero); background-image: var(--textura-acero); color: var(--hueso); padding: 30px 32px 26px; margin-bottom: 48px; border-radius: var(--radio); box-shadow: 0 14px 34px -20px rgba(23, 24, 27, .55); --foco: var(--ambar); }
.respuesta-corta a { color: var(--ambar); }
.respuesta-corta h2 { font-size: 1.35rem; }
.respuesta-corta p { font-size: 1.15rem; margin: 0; }
.tabla-rodante { overflow-x: auto; margin: 18px 0 40px; }
.tabla__titulo { max-width: 880px; margin-inline: auto; }
.tabla { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .98rem; background: var(--blanco-cal); }
.tabla th, .tabla td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid rgba(23, 24, 27, .12); }
.tabla thead th { font-family: var(--letra-titulo); font-stretch: 108%; font-weight: 700; background: var(--acero); color: var(--hueso); font-size: .95rem; }
.tabla tbody th { font-weight: 700; }
.fuentes { padding-left: 1.2em; font-size: 1rem; }
.fuentes li { margin-bottom: .45em; }
.revisado { font-size: .95rem; color: var(--grafito); margin-top: 26px; }

/* ═══ 20 · ZONAS ═══ */
.banda--rio-corta { padding-block: clamp(48px, 6vw, 80px); }
.cruce-zona { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.cruce-zona .lead { color: var(--hueso); }
.cruce-zona p { color: var(--humo); }
.barrios { font-size: 1.05rem; color: var(--grafito); }
.barrios strong { color: var(--tinta); }

/* ═══ 21 · ABOUT Y CONTACTO ═══ */
.fotos-par { display: grid; gap: 14px; }
.fotos-par .foto { aspect-ratio: 16 / 11; }
.formulario { display: grid; gap: 18px; max-width: 560px; }
.campo label { display: block; font-family: var(--letra-titulo); font-weight: 700; font-stretch: 105%; font-size: 1rem; margin-bottom: 6px; }
.campo input, .campo textarea, .campo select {
  width: 100%; font: inherit; font-size: 1.05rem; padding: .7em .8em; color: var(--tinta); background: #fff;
  border: 2px solid #7A7F87; border-radius: var(--radio);
}
.campo input:focus-visible, .campo textarea:focus-visible, .campo select:focus-visible { border-color: var(--brasa-honda); outline: 3px solid rgba(143, 60, 11, .35); outline-offset: 1px; }
.campo--error input, .campo--error textarea { border-color: #B3261E; }
.campo__error { color: #9C1F17; font-size: .93rem; margin: 6px 0 0; font-weight: 600; }
.trampa { position: absolute; left: -9999px; }
.formulario__falla { color: #9C1F17; font-weight: 600; }
.formulario__exito { background: var(--blanco-cal); padding: 26px; border-radius: var(--radio); box-shadow: 0 10px 30px -18px rgba(23, 24, 27, .35); }
.contacto__tel a { font-family: var(--letra-titulo); font-weight: 800; font-stretch: 125%; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); color: var(--brasa-honda); text-decoration: none; }

/* ═══ 22 · APERTURA "EL CRUCE" ═══
   1) enciende: la raya de luz del logo parpadea como un filamento.
   2) tiende: la luz se estira de lado a lado y bajan las pilas del puente.
   3) cruza: unos faros recorren el puente y detrás de ellos se corta la
      cortina (clip-path) y aparece la página, de izquierda a derecha.
   Sin JS no existe; con "reducir movimiento" tampoco (script del <head>). */
.apertura { display: none; }
.js .apertura {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 1000; cursor: pointer;
  background-color: var(--acero); background-image: var(--textura-acero);
  clip-path: inset(0 0 0 0);
}
.sin-apertura .apertura { display: none !important; }
.apertura__escena { position: relative; width: min(600px, 80vw); }
.apertura__logo { width: 100%; height: auto; opacity: 0; transform: scale(.985); transition: opacity .5s var(--ease-out), transform 1.2s var(--ease-out); }
.apertura__puente {
  position: absolute; left: 50%; top: var(--raya-top, 96.5%); width: 100vw; height: 74px; transform: translate(-50%, -30px);
  clip-path: inset(0 var(--recorte, 42%) 0 var(--recorte, 42%));
  --hueco: calc(min(600px, 80vw) * .1273 + 12px);   /* medio ancho de "N MORE" (recursos.py) + aire */
  -webkit-mask-image: linear-gradient(90deg, #000 calc(50% - var(--hueco)), transparent calc(50% - var(--hueco)), transparent calc(50% + var(--hueco)), #000 calc(50% + var(--hueco)));
  mask-image: linear-gradient(90deg, #000 calc(50% - var(--hueco)), transparent calc(50% - var(--hueco)), transparent calc(50% + var(--hueco)), #000 calc(50% + var(--hueco)));
}
.apertura__luz {
  position: absolute; left: 0; right: 0; top: 28px; height: 4px; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--ambar) 6%, var(--ambar-claro) 50%, var(--ambar) 94%, transparent);
  box-shadow: 0 0 22px 3px rgba(245, 154, 42, .6);
}
.apertura__pilas { position: absolute; left: 0; right: 0; top: 32px; display: flex; justify-content: space-around; }
.apertura__pilas span { width: 3px; height: 26px; background: linear-gradient(180deg, rgba(245, 154, 42, .7), rgba(245, 154, 42, 0)); transform: scaleY(0); transform-origin: top; }
.apertura__faros { position: absolute; left: 0; top: 30px; display: flex; gap: 10px; transform: translate(30px, -50%); opacity: 0; }
.apertura__faros span { width: 16px; height: 16px; border-radius: 50%; background: #FFF4D6; box-shadow: 0 0 22px 8px rgba(255, 214, 140, .75), 90px 0 90px 16px rgba(255, 214, 140, .22); }

.apertura__saltar { position: absolute; bottom: 26px; right: 26px; font-size: .9rem; color: var(--humo); opacity: 0; transition: opacity .4s .6s; }

.apertura.enciende .apertura__logo { opacity: 1; transform: none; }
.apertura.enciende .apertura__luz { animation: filamento .8s steps(1, end) forwards; }
.apertura.enciende .apertura__saltar { opacity: 1; }
@keyframes filamento {
  /* dos destellos y queda encendida: por debajo del límite de 3 por segundo (WCAG 2.3.1) */
  0% { opacity: 0; } 14% { opacity: .9; } 30% { opacity: .2; } 48% { opacity: 1; } 100% { opacity: 1; }
}
.apertura.tiende .apertura__puente { clip-path: inset(0 0 0 0); transition: clip-path .62s var(--ease-inout); }
.apertura.tiende .apertura__pilas span { transform: scaleY(1); transition: transform .32s var(--ease-out); transition-delay: calc(.25s + var(--i) * 18ms); }
.apertura.cruza { clip-path: inset(0 0 0 100%); transition: clip-path .95s var(--ease-inout); }
.apertura.cruza .apertura__faros { opacity: 1; transform: translate(calc(100vw + 30px), -50%); transition: transform .95s var(--ease-inout), opacity .1s; }
.apertura.rapido, .apertura.rapido * { transition-duration: .35s !important; transition-delay: 0s !important; animation-duration: .2s !important; }

/* ═══ 23 · ENTRADAS POR SCROLL ═══
   Solo las fotos entran (una vez). El texto ya está: la página no parpadea. */
.js [data-reveal].por-entrar { opacity: 0; transform: translateY(18px); }
.js [data-reveal].en-vista { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }

/* ═══ 24 · RESPONSIVE ═══ */
@media (max-width: 1500px) {
  .cabecera__accion .estado { display: none; }
}
@media (max-width: 1180px) {
  .nav, .cabecera__accion .estado { display: none; }
  .hamburguesa { display: inline-flex; margin-left: 12px; }
  .cabecera__accion { margin-left: auto; }
  .pie__rejilla { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .franja-pruebas ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .servicios__cuerpo { grid-template-columns: minmax(0, 1fr); }
  .servicios__cuerpo .foto--alta { position: static; aspect-ratio: 16 / 9; }
  .cruce__rejilla, .cruce__resultado, .comercial__rejilla, .ian__rejilla, .zonas-faq, .articulo, .dos-col, .cruce-zona, .cierre__rejilla { grid-template-columns: minmax(0, 1fr); }
  .lateral { position: static; }
  .cierre__tel { justify-self: start; }
  .ian__foto { aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  body { font-size: 1.125rem; padding-bottom: 78px; }
  h1 { font-stretch: 108%; }
  h2 { font-stretch: 108%; }
  .cabecera__fila { min-height: 64px; gap: 12px; }
  .marca img { height: 44px; }
  .menu-movil { inset: 64px 0 0 0; }
  .cabecera__accion .boton--chico span { display: none; }
  .cabecera__accion .boton--chico { padding: .55em .8em; }
  .hero__contenido { padding-block: 120px 56px; }
  .hero--home { min-height: 88svh; }
  .hero::before { background: linear-gradient(0deg, rgba(20, 21, 24, .95) 0%, rgba(20, 21, 24, .78) 45%, rgba(20, 21, 24, .25) 80%, rgba(20, 21, 24, .4) 100%); }
  .indice__rejilla, .zonas--grande { grid-template-columns: minmax(0, 1fr); }
  .franja-pruebas ul { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pie__rejilla { grid-template-columns: minmax(0, 1fr); }
  .pie__sin-titulo { margin-top: 0 !important; }
  .comercial__fotos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .comercial__foto--a { grid-column: 1 / span 2; grid-row: auto; aspect-ratio: 16 / 10; }
  .mapa__lugar { font-size: .8rem; padding: 1px 4px; }
  .mapa__lugar--hermano, .mapa__lugar--base { display: none; }
  .mapa__lugar--rio { font-size: .7rem; left: 77% !important; }
  .mapa__puente-nombre { font-size: .72rem; }
  /* Hero apilado: la foto arriba y el texto debajo sobre acero (en vertical, el H1 quedaba encima de las caras) */
  .hero { display: block; }
  .hero__fondo { position: relative; inset: auto; height: 46svh; min-height: 280px; z-index: 0; }
  .hero__fondo img { object-position: 50% 30%; }
  .hero::before { inset: 0 0 auto 0; height: 46svh; min-height: 280px; z-index: 1;
    background: linear-gradient(180deg, rgba(20, 21, 24, .2) 0%, rgba(20, 21, 24, 0) 45%, rgba(28, 29, 32, 1) 100%); }
  .hero .hero__contenido { padding-block: 8px 48px; position: relative; z-index: 2; margin-top: -64px; }
  .hero--home, .hero--interno { min-height: 0; }
  .hero--home .hero__contenido { padding-bottom: 64px; }
  html.hero-a-la-vista .barra-movil { transform: translateY(110%); visibility: hidden; transition: transform .25s var(--ease-out), visibility 0s .25s; }
  .barra-movil { transition: transform .25s var(--ease-out); }
  /* Heros internos: foto más baja para que el botón de llamar entre en la primera pantalla */
  .hero--interno .hero__fondo, .hero--interno::before { height: 30svh; min-height: 200px; }
  /* The Crossing: el mapa arriba del formulario (al escribir el ZIP se ve moverse la camioneta) */
  .cruce__rejilla { display: flex; flex-direction: column; }
  .mapa { order: -1; }
  .mapa__lugar--hermano.activo { top: 84% !important; font-size: .68rem; }
  html { scroll-padding: 80px 0 84px; }
  /* Tabla de permisos: cada fila es una ficha */
  .tabla { min-width: 0; }
  .tabla thead { display: none; }
  .tabla, .tabla tbody, .tabla tr, .tabla th, .tabla td { display: block; width: auto; }
  .tabla tr { padding: 14px 16px; border-bottom: 1px solid rgba(23, 24, 27, .16); }
  .tabla th, .tabla td { padding: 4px 0; border: 0; }
  .tabla tbody th { font-family: var(--letra-titulo); font-size: 1.1rem; }
  .tabla td::before { content: attr(data-col); display: block; font-weight: 700; font-size: .85rem; color: var(--grafito); margin-top: 6px; }
  .mensaje { max-width: 100%; }
  .botones .boton { flex: 1 1 auto; justify-content: center; }
  .barra-movil {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--acero); box-shadow: 0 -8px 24px rgba(0, 0, 0, .35);
  }
  .barra-movil .boton { justify-content: center; min-height: 52px; padding: .7em .6em; font-size: 1rem; font-stretch: 100%; white-space: nowrap; gap: .45em; }
  .zonas a { flex-direction: column; gap: 2px; }
  .zonas span { text-align: left; }
}
@media (max-width: 420px) {
  .boton { white-space: normal; text-align: center; }
  .cruce__zip-fila .boton { width: 100%; justify-content: center; }
}

/* ═══ 25 · MENOS MOVIMIENTO ═══
   Se ve el estado final, quieto. No se pierde ningún contenido. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal].por-entrar { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}
