/* ESTILOS — Soluciones Milenium
   Sistema: azul tinta + naranja señal (un solo acento). Sin gradientes ni sombras
   en reposo; las superficies se separan por salto de tono. Escala de espaciado 8px. */

:root {
  /* Colores semánticos */
  --tinta: #0e1822;
  --tinta-2: #142330;
  --tinta-3: #1b2f40;
  --linea-osc: #2a3f52;
  --papel: #f2f4f6;
  --papel-2: #e5e9ed;
  --texto: #101c26;
  --texto-suave: #4a5967;
  --texto-osc: #f2f4f6;
  --texto-osc-suave: #a6b6c4;
  --acento: #f06a1f;
  --acento-fuerte: #c9500c;   /* acento legible sobre fondos claros */
  --acento-hover: #ff7d36;
  --aviso: #ffd9b8;
  --pos: #5cc8e6;            /* segundo color: tramo de posicionamiento desde la base */

  /* Tipografía */
  --f-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-cuerpo: 'Barlow', system-ui, sans-serif;

  /* Espaciado */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 80px;
  --gutter: 16px;
  --radio: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 720px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--papel); color: var(--texto);
  font: 400 1rem/1.6 var(--f-cuerpo); -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.02; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 7.5vw, 5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2.1rem, 5vw, 3.25rem); letter-spacing: -0.015em; }
h3 { font-size: 1.5rem; letter-spacing: -0.005em; line-height: 1.1; }
p { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--acento); outline-offset: 2px; }

.contenedor { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.saltar { position: absolute; left: var(--s2); top: -64px; background: var(--acento); color: var(--tinta); padding: var(--s1) var(--s2); border-radius: 6px; z-index: 100; font-weight: 600; }
.saltar:focus { top: var(--s1); }

/* Botones ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  min-height: 48px; padding: 0 var(--s3); border-radius: 8px; border: 2px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: translateY(1px); }
.btn-primario { background: var(--acento); color: var(--tinta); }
.btn-primario:hover { background: var(--acento-hover); }
.btn-secundario { border-color: var(--linea-osc); color: var(--texto-osc); }
.btn-secundario:hover { border-color: var(--texto-osc-suave); }
.btn-ancho { width: 100%; }
.btn[aria-disabled="true"] { background: var(--tinta-3); color: var(--texto-osc-suave); cursor: not-allowed; }
.btn[aria-disabled="true"]:active { transform: none; }
.enlace { background: none; border: 0; padding: 4px 0; color: var(--acento); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.enlace:hover { color: var(--acento-hover); }

/* Cabecera ------------------------------------------------------------------- */
.cabecera { position: sticky; top: 0; z-index: 50; background: var(--tinta); border-bottom: 1px solid var(--linea-osc); color: var(--texto-osc); }
.cabecera-fila { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.marca-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--f-display); font-size: 1.45rem; font-weight: 500; letter-spacing: .005em; }
.marca-logo b { font-weight: 700; color: var(--acento); }
.btn-menu { display: grid; place-items: center; width: 48px; height: 48px; background: none; border: 1px solid var(--linea-osc); border-radius: 8px; color: var(--texto-osc); cursor: pointer; }
.nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--tinta); border-bottom: 1px solid var(--linea-osc); padding: var(--s2) var(--gutter) var(--s3); flex-direction: column; gap: 4px; }
.nav.abierto { display: flex; }
.nav a { padding: 12px 0; text-decoration: none; font-weight: 500; color: var(--texto-osc-suave); }
.nav a:hover { color: var(--texto-osc); }
.nav .btn-nav { color: var(--tinta); margin-top: var(--s1); }
@media (min-width: 900px) {
  .btn-menu { display: none; }
  .nav { display: flex; position: static; flex-direction: row; align-items: center; gap: var(--s4); padding: 0; border: 0; background: none; }
  .nav a { padding: 0; }
  .nav .btn-nav { margin: 0; min-height: 44px; }
}

/* Hero ------------------------------------------------------------------------ */
.hero { background: var(--tinta); color: var(--texto-osc); padding: var(--s5) 0 var(--s6); overflow: hidden; }
.hero-grilla { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 960px) { .hero-grilla { grid-template-columns: 1.05fr .95fr; gap: var(--s4); } .hero { padding: var(--s6) 0; } }
.hero-sub { margin-top: var(--s3); max-width: 52ch; font-size: 1.15rem; color: var(--texto-osc-suave); }
.hero-acciones { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.hero-datos { list-style: none; margin: var(--s5) 0 0; padding: var(--s3) 0 0; border-top: 1px solid var(--linea-osc); display: grid; gap: var(--s2); color: var(--texto-osc-suave); }
.hero-datos strong { display: block; font-family: var(--f-display); font-size: 2rem; line-height: 1; color: var(--texto-osc); font-weight: 700; }
@media (min-width: 640px) { .hero-datos { grid-template-columns: repeat(3, 1fr); gap: var(--s3); } }

.hero-visual { position: relative; }
.hero-mapa { width: 100%; height: auto; display: block; }
.hero-mapa .estado { fill: var(--tinta-2); stroke: var(--linea-osc); stroke-width: 1; stroke-linejoin: round; }
.hero-punto { fill: var(--acento); stroke: var(--tinta); stroke-width: 3; }
.hero-ficha { position: absolute; left: 0; bottom: 4%; display: grid; gap: 2px; padding: var(--s2) var(--s3); background: var(--tinta-3); border: 1px solid var(--linea-osc); border-radius: var(--radio); min-width: 220px; }
.ficha-etiqueta { font-size: .875rem; color: var(--texto-osc-suave); }
.hero-ficha strong { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.1; }
.hero-ficha span:not(.ficha-etiqueta):not(.ficha-total) { color: var(--texto-osc-suave); font-size: .95rem; }
.ficha-total { margin-top: 4px; font-family: var(--f-display); font-size: 2.25rem; font-weight: 700; line-height: 1; color: var(--acento); font-variant-numeric: tabular-nums; }

/* Rutas animadas (compartidas por hero y cotizador) */
.ruta-base { fill: none; stroke: var(--acento); stroke-opacity: .3; stroke-width: 3; stroke-linecap: round; }
.ruta { fill: none; stroke: var(--acento); stroke-width: 3.5; stroke-linecap: round; }
.ruta.trazar { stroke-dasharray: 1; stroke-dashoffset: 1; animation: trazar 1.1s var(--ease) forwards; }
.ruta-viaje { fill: var(--papel); stroke: var(--acento); stroke-width: 3; }
@keyframes trazar { to { stroke-dashoffset: 0; } }

/* Secciones ----------------------------------------------------------------- */
.seccion { padding: var(--s5) 0; }
@media (min-width: 900px) { .seccion { padding: var(--s6) 0; } }
.seccion.claro { background: var(--papel); }
.seccion.medio { background: var(--papel-2); }
.seccion.oscuro { background: var(--tinta); color: var(--texto-osc); }

/* Servicios */
.servicios-grilla { display: grid; gap: var(--s5); }
@media (min-width: 960px) { .servicios-grilla { grid-template-columns: 5fr 7fr; gap: var(--s6); } .servicios-intro { position: sticky; top: 104px; align-self: start; } }
.servicios-intro p { margin-top: var(--s3); color: var(--texto-suave); max-width: 44ch; }
.servicios-lista { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--texto); }
.servicio { display: grid; grid-template-columns: 40px 1fr; gap: var(--s1) var(--s2); padding: var(--s3) 0; border-bottom: 1px solid #c3ccd4; }
.servicio-num { font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; color: var(--acento-fuerte); padding-top: 3px; }
.servicio p { margin-top: 6px; color: var(--texto-suave); max-width: 52ch; }
.servicio-tag { grid-column: 2; justify-self: start; margin-top: var(--s1); font-size: .875rem; font-weight: 500; color: var(--texto); border: 1px solid #aab6c1; padding: 2px 12px; border-radius: 999px; }
@media (min-width: 720px) {
  .servicio { grid-template-columns: 48px 1fr auto; align-items: start; }
  .servicio-tag { grid-column: 3; margin-top: 4px; }
}

/* Cotizador */
.cot-titulo { max-width: 60ch; margin-bottom: var(--s4); }
.cot-titulo p { margin-top: var(--s2); color: var(--texto-osc-suave); font-size: 1.1rem; }
.cot { display: grid; border: 1px solid var(--linea-osc); border-radius: 14px; overflow: hidden; background: var(--tinta-2); }
@media (min-width: 1000px) { .cot { grid-template-columns: 1.15fr .85fr; } }
.cot-mapa { padding: var(--s3); background: var(--tinta-2); }
@media (min-width: 1000px) { .cot-mapa { padding: var(--s4); border-right: 1px solid var(--linea-osc); } }
@media (min-width: 1000px) and (min-height: 860px) { .cot-mapa { align-self: start; position: sticky; top: 68px; } }
.paso { min-height: 28px; color: var(--texto-osc-suave); }
.paso b { display: inline-block; margin-right: 10px; padding: 1px 10px; border-radius: 999px; background: var(--acento); color: var(--tinta); font-size: .85rem; font-weight: 600; }
.mapa { position: relative; margin-top: var(--s2); }
.mapa svg { width: 100%; height: auto; display: block; touch-action: manipulation; }
.mapa .estado { fill: var(--tinta-3); stroke: #3b546a; stroke-width: 1; stroke-linejoin: round; cursor: pointer; transition: fill .15s var(--ease); }
.mapa .estado.hover { fill: #284259; }
.mapa .estado.es-origen { fill: #6a3414; stroke: var(--acento); stroke-width: 1.6; }
.mapa .estado.es-destino { fill: #4b6277; stroke: var(--papel); stroke-width: 1.6; }
/* Puntos de servicio: cada uno vive en un <g> trasladado a su lugar y su contenido
   (.esc) se escala con --k para que no crezca de más al acercar el mapa. */
.mapa svg { --k: 1; }
.esc { transform: scale(var(--k)); }
.ciudad { cursor: pointer; outline: none; }
.ciudad-area { fill: transparent; }
.forma { fill: #8ea3b5; stroke: var(--tinta); stroke-width: 1.4; transition: fill .15s var(--ease), transform .15s var(--ease); transform-box: fill-box; transform-origin: center; }
.t-capital .forma { fill: #dbe4ec; }
.ciudad:hover .forma, .ciudad:focus-visible .forma { fill: var(--acento); transform: scale(1.6); }
.ciudad:focus-visible .ciudad-area { stroke: var(--acento); stroke-width: 2.5; }
.ciudad.activa .forma { opacity: 0; }
.ciudad.activa .etq { display: none !important; }
.ciudad:hover { }
.etq { display: none; font: 500 14px var(--f-cuerpo); fill: var(--texto-osc); stroke: var(--tinta); stroke-width: 4.5px; paint-order: stroke; stroke-linejoin: round; pointer-events: none; }
/* Las etiquetas aparecen por niveles de zoom: capitales primero, luego todas. */
.z1 .t-capital .etq, .z2 .etq { display: block; }
.ciudad:hover .etq, .ciudad:focus-visible .etq { display: block; }
/* Filtros de la leyenda: ocultan un tipo de punto (salvo los elegidos como A/B). */
.oc-capital .t-capital:not(.activa), .oc-ciudad .t-ciudad:not(.activa),
.oc-puerto .t-puerto:not(.activa), .oc-frontera .t-frontera:not(.activa) { display: none; }

.marca circle { stroke-width: 3; stroke: var(--tinta); }
.marca.es-origen circle { fill: var(--acento); }
.marca.es-destino circle { fill: var(--papel); }
.marca text { font: 700 15px var(--f-cuerpo); fill: var(--tinta); pointer-events: none; }
.marca .marca-nombre { font: 600 19px var(--f-cuerpo); fill: var(--texto-osc); stroke: var(--tinta); stroke-width: 5px; paint-order: stroke; stroke-linejoin: round; }

/* Base de Caracas y tramo de posicionamiento (segundo color, solo para este concepto) */
.base-anillo { fill: none; stroke: var(--pos); stroke-width: 2.6; }
.base-etq { font: 600 15px var(--f-cuerpo); fill: var(--pos); stroke: var(--tinta); stroke-width: 4.5px; paint-order: stroke; stroke-linejoin: round; }
.ruta-pos { fill: none; stroke: var(--pos); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 9 8; animation: marcha 1.4s linear infinite; }
@keyframes marcha { to { stroke-dashoffset: -34; } }
.pos-etq { font: 700 17px var(--f-cuerpo); fill: var(--pos); stroke: var(--tinta); stroke-width: 5px; paint-order: stroke; stroke-linejoin: round; font-variant-numeric: tabular-nums; }
.mapa svg.con-zoom { cursor: grab; touch-action: none; }
.mapa svg:not(.con-zoom) { touch-action: pan-y; }
.mapa svg.con-zoom:active { cursor: grabbing; }
.mapa-tip { position: absolute; pointer-events: none; display: grid; padding: 6px 12px; background: var(--tinta); border: 1px solid var(--linea-osc); border-radius: 8px; font-size: .9rem; z-index: 5; white-space: nowrap; }
.mapa-tip[hidden] { display: none; }
.mapa-tip span { color: var(--texto-osc-suave); font-size: .85rem; }
.leyenda { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); margin: var(--s2) 0 0; padding: 0; font-size: .9rem; color: var(--texto-osc-suave); }
.leyenda li { display: inline-flex; align-items: center; gap: 8px; }
.lg { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font: 700 .75rem var(--f-cuerpo); font-style: normal; color: var(--tinta); }
.lg-a { background: var(--acento); }
.lg-b { background: var(--papel); }
.lg-base { width: 20px; height: 20px; background: none; border: 2.6px solid var(--pos); }
.lg-pos { display: inline-block; width: 28px; border-top: 3px dashed var(--pos); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Cabecera del mapa: guía de pasos + buscador */
.mapa-cabecera { display: grid; gap: var(--s1); }
@media (min-width: 560px) { .mapa-cabecera { grid-template-columns: 1fr minmax(180px, 240px); align-items: center; gap: var(--s2); } }
.busca { position: relative; }
.busca svg { position: absolute; left: 12px; top: 50%; translate: 0 -50%; color: var(--texto-osc-suave); pointer-events: none; }
.busca input[type="search"] { padding-left: 40px; }

/* Controles de zoom (flotan sobre el mapa) */
.zoom { position: absolute; right: 0; top: 0; display: grid; gap: 6px; z-index: 4; }
.zoom button { width: 44px; height: 44px; display: grid; place-items: center; background: var(--tinta); color: var(--texto-osc); border: 1px solid #3b546a; border-radius: 8px; cursor: pointer; transition: border-color .15s var(--ease), color .15s var(--ease); touch-action: manipulation; }
.zoom button:hover:not(:disabled) { border-color: var(--acento); color: var(--acento); }
.zoom button:disabled { opacity: .4; cursor: default; }

/* Filtros por tipo de punto */
.filtros { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s2); }
.filtros button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; background: none; border: 1px solid #3b546a; border-radius: 999px; color: var(--texto-osc-suave); cursor: pointer; font-size: .9rem; transition: border-color .15s var(--ease), color .15s var(--ease), background-color .15s var(--ease); touch-action: manipulation; }
.filtros button svg { fill: currentColor; }
.filtros button:hover { border-color: #5a7791; }
.filtros button[aria-pressed="true"] { color: var(--texto-osc); border-color: var(--texto-osc-suave); background: var(--tinta-3); }
.mapa-ayuda { margin-top: var(--s2); font-size: .85rem; color: var(--texto-osc-suave); }

/* Aviso del tramo de posicionamiento en el panel de resultado */
.res-pos { display: flex; gap: var(--s2); align-items: center; padding: 12px 14px; border: 1px solid #2f6577; background: #11303b; border-radius: var(--radio); }
.res-pos div { display: grid; gap: 2px; }
.res-pos strong { font-weight: 600; }
.res-pos span { font-size: .9rem; color: var(--texto-osc-suave); }
.pos-linea { flex: none; width: 28px; border-top: 3px dashed var(--pos); }

/* Formulario (oscuro por defecto) */
.cot-panel { padding: var(--s3); background: var(--tinta-2); display: grid; gap: var(--s3); align-content: start; }
@media (min-width: 1000px) { .cot-panel { padding: var(--s4); } }
.form { display: grid; gap: var(--s3); }
.campo { display: grid; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.campo label, .campo legend { font-weight: 600; font-size: .95rem; padding: 0; }
.campo legend { margin-bottom: 6px; }
input[type="number"], input[type="search"], input:not([type]), input[type="tel"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; background: var(--tinta); color: var(--texto-osc);
  border: 1px solid #3b546a; border-radius: 8px; transition: border-color .15s var(--ease);
}
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a6b6c4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
input:hover, select:hover, textarea:hover { border-color: #5a7791; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--acento); outline-offset: 1px; border-color: var(--acento); }
.par { display: grid; grid-template-columns: 1fr 48px 1fr; gap: var(--s1); align-items: end; }
@media (max-width: 540px) { .par { grid-template-columns: 1fr; } .par .btn-icono { justify-self: center; transform: rotate(90deg); } }
.btn-icono { width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 1px solid #3b546a; border-radius: 8px; color: var(--texto-osc-suave); cursor: pointer; transition: border-color .15s var(--ease), color .15s var(--ease); }
.btn-icono:hover { border-color: var(--acento); color: var(--acento); }

.vehiculos { display: grid; gap: var(--s1); grid-template-columns: 1fr 1fr; }
.vehiculo { position: relative; display: grid; gap: 2px; padding: 12px 14px; border: 1px solid #3b546a; border-radius: 8px; cursor: pointer; transition: border-color .15s var(--ease), background-color .15s var(--ease); min-height: 64px; }
.vehiculo:hover { border-color: #5a7791; }
.vehiculo input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.vehiculo-nombre { font-weight: 600; }
.vehiculo-detalle { font-size: .82rem; color: var(--texto-osc-suave); line-height: 1.3; }
.vehiculo:has(input:checked) { border-color: var(--acento); background: #2a2420; box-shadow: inset 0 0 0 1px var(--acento); }
.vehiculo:has(input:focus-visible) { outline: 3px solid var(--acento); outline-offset: 2px; }
@media (max-width: 420px) { .vehiculos { grid-template-columns: 1fr; } }

.extras { gap: 0; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--acento); flex: none; cursor: pointer; }

/* Resultado */
.resultado { display: grid; gap: var(--s2); padding-top: var(--s3); border-top: 1px solid var(--linea-osc); }
.res-vacio { display: flex; align-items: center; gap: var(--s2); padding: var(--s3); border: 1px dashed #3b546a; border-radius: var(--radio); color: var(--texto-osc-suave); }
.res-vacio svg { flex: none; color: var(--acento); }
.res-cabecera { display: flex; justify-content: space-between; gap: var(--s2); align-items: start; }
.res-ruta { font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.res-meta { color: var(--texto-osc-suave); margin-top: 2px; }
.desglose { margin: var(--s2) 0 0; display: grid; }
.fila { display: flex; justify-content: space-between; gap: var(--s2); padding: 10px 0; border-bottom: 1px solid var(--linea-osc); font-size: .95rem; }
.fila dt { color: var(--texto-osc-suave); }
.fila dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.res-aviso { margin-top: var(--s1); padding: 12px 14px; border-left: 4px solid var(--acento); background: #2a2420; color: var(--aviso); border-radius: 0 8px 8px 0; font-size: .95rem; }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); padding-top: var(--s2); }
.total span { font-weight: 600; }
.total strong { font-family: var(--f-display); font-size: clamp(2.6rem, 6vw, 3.5rem); line-height: 1; color: var(--acento); font-variant-numeric: tabular-nums; }
#res-lleno:not([hidden]) { animation: entra .35s var(--ease); }
@keyframes entra { from { opacity: 0; transform: translateY(6px); } }
.nota { font-size: .85rem; color: var(--texto-osc-suave); }

/* Proceso */
.proceso { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: var(--s4); }
.proceso li { position: relative; padding-top: var(--s3); border-top: 2px solid var(--texto); }
.proceso li::before { content: ''; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--acento); border-radius: 50%; }
.proceso-num { display: block; font-family: var(--f-display); font-size: 4.5rem; font-weight: 700; line-height: .9; color: #b7c2cc; margin-bottom: var(--s1); }
.proceso p { margin-top: var(--s1); color: var(--texto-suave); max-width: 38ch; }
@media (min-width: 800px) { .proceso { grid-template-columns: repeat(3, 1fr); gap: var(--s4); } }

/* Contacto */
.contacto-grilla { display: grid; gap: var(--s5); align-items: start; }
@media (min-width: 900px) { .contacto-grilla { grid-template-columns: 1fr 1fr; gap: var(--s6); } }
.contacto-sub { margin-top: var(--s2); color: var(--texto-suave); font-size: 1.1rem; max-width: 44ch; }
.contacto-datos { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; }
.contacto-datos li { display: grid; gap: 2px; padding: var(--s2) 0; border-top: 1px solid #bcc7d0; }
.contacto-datos span { font-size: .9rem; color: var(--texto-suave); }
.contacto-datos a, .contacto-datos b { font-size: 1.15rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contacto-datos a:hover { color: var(--acento-fuerte); text-decoration: underline; }
.form-claro { background: var(--papel); padding: var(--s3); border-radius: 14px; }
@media (min-width: 720px) { .form-claro { padding: var(--s4); } }
.form-claro input, .form-claro textarea { background: #fff; color: var(--texto); border-color: #aab6c1; }
.form-claro input:hover, .form-claro textarea:hover { border-color: #6f7f8d; }
.form-claro textarea { resize: vertical; }
.form-ok { padding: 12px 14px; background: #dfe8df; color: #17361f; border-radius: 8px; }

/* Pie */
.pie { background: var(--tinta); color: var(--texto-osc-suave); padding: var(--s4) 0; font-size: .9rem; }
.pie-fila { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s1) var(--s3); }

/* Aparición al hacer scroll (solo si hay JS y no hay preferencia de movimiento reducido) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .reveal.visto { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
@media (prefers-contrast: more) { .mapa .estado { stroke: #8aa3b8; } }
