/* Logizac — hoja de estilos principal */

/* Fuentes servidas desde el propio sitio (subconjunto latino) */
@font-face {
  font-family: "Archivo";
  font-style: italic;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-italic-400-900.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-normal-400-900.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-normal-500.woff2") format("woff2");
}

:root {
  --azul: #0686bc;
  --azul-claro: #3fb3e3;
  --azul-hondo: #10648f;
  --asfalto: #0e1a22;
  --asfalto-2: #16252f;
  --grafito: #505154;
  --gris: #65696e;
  --linea: #d9d6cf;
  --papel: #f4f2ed;
  --blanco: #ffffff;
  --raya: #f2b705;

  --display: "Archivo", "Arial Narrow", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --pad: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --sec: clamp(72px, 10vw, 136px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papel);
  color: var(--asfalto);
  font: 400 17px/1.6 var(--display);
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.sprite { position: absolute; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--azul); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Tipografía base ---------- */
.h2 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  font-variation-settings: "wdth" 72;
  letter-spacing: -.01em;
  text-transform: uppercase;
  line-height: .98;
  margin-bottom: 28px;
  text-wrap: balance;
}

.sec-head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px 64px;
  align-items: end;
  margin-bottom: 56px;
}
.sec-head .h2 { margin-bottom: 0; }
.sec-head > p { color: var(--grafito); max-width: 44ch; }

/* ---------- Botones ---------- */
.btn {
  --bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  font: 700 15px/1 var(--display);
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  background: var(--bg);
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background .2s, color .2s, border-color .2s;
}
.btn--blue { --bg: var(--azul-hondo); color: #fff; }
.btn--blue:hover { --bg: #0b4d6e; }
.btn--full { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--raya); outline-offset: 3px; }

/* ---------- Header ---------- */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background .25s, box-shadow .25s;
}
.top__in {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.top__logo { display: block; width: 150px; flex: none; }
.top__logo img { width: 100%; height: auto; }
.logo-dark { display: none !important; }
.top.is-solid { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--linea); }
.top.is-solid .logo-light { display: none !important; }
.top.is-solid .logo-dark { display: block !important; }

.top__nav { display: flex; align-items: center; gap: 28px; }
.top__nav a {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  position: relative;
}
.top__nav a:not(.top__cta)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--azul-claro);
  transform: scaleX(0); transform-origin: left;
  transition: transform .2s;
}
.top__nav a:not(.top__cta):hover::after { transform: scaleX(1); }
.top.is-solid .top__nav a { color: var(--asfalto); }
.top__cta {
  background: var(--azul-hondo);
  color: #fff !important;
  padding: 11px 18px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.top__cta:hover { background: #0b4d6e; }

.top__burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: var(--asfalto);
  isolation: isolate;
  overflow: hidden;
}
.hero__bg, .hero__bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 30% 60%;
  z-index: -2;
}
/* la foto va en espejo para que el tractocamión quede del lado contrario al texto */
.hero__bg img { transform: scaleX(-1); }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14,26,34,.88) 0%, rgba(14,26,34,.55) 45%, rgba(14,26,34,.05) 75%),
    linear-gradient(0deg, rgba(14,26,34,.95) 0%, rgba(14,26,34,0) 40%);
}
.hero__in { padding-top: 140px; padding-bottom: 48px; }
.tag {
  font: 600 14px/1.3 var(--display);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(46px, 8.4vw, 118px);
  font-weight: 800;
  font-style: italic;
  font-variation-settings: "wdth" 66;
  line-height: .92;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero__title > span { display: block; }
.hero__slant { margin-top: .08em; }
.hero__slant > span {
  display: inline-block;
  background: var(--azul);
  padding: .04em .22em .02em .16em;
  margin-left: -.16em;
  clip-path: polygon(.18em 0, 100% 0, calc(100% - .18em) 100%, 0 100%);
}
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 46ch; color: rgba(255,255,255,.88); margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__data {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.22)) var(--pad) 0 / calc(100% - 2 * var(--pad)) 1px no-repeat;
  padding-top: 22px;
  padding-bottom: 30px;
}
.hero__data > div { padding-right: 16px; }
.hero__data > div + div { border-left: 1px solid rgba(255,255,255,.14); padding-left: 22px; }
.hero__data dt { font-size: 14px; line-height: 1.3; color: rgba(255,255,255,.65); margin-bottom: 6px; }
.hero__data dd { margin: 0; font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; font-variation-settings: "wdth" 75; line-height: 1; }

/* ---------- Nosotros ---------- */
.about { padding-top: var(--sec); background: var(--papel); }
.about__grid { display: grid; grid-template-columns: 4fr 7fr; gap: 24px 72px; align-items: start; }
.about__lead { font-size: clamp(20px, 2vw, 25px); line-height: 1.45; color: var(--asfalto); font-weight: 500; }
.about__text > p { color: var(--grafito); max-width: 62ch; }
.about__text > .about__lead { color: var(--asfalto); }
.about__mv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 40px 0 28px;
  padding-top: 28px;
  border-top: 1px solid var(--linea);
}
.about__mv h3 { font-size: 20px; font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; color: var(--azul); margin-bottom: 8px; }
.about__mv p { font-size: 16px; color: var(--grafito); }
.about__values { font-size: 15px; }
.about__values b { color: var(--asfalto); }
.about__band { width: 100%; height: clamp(200px, 30vw, 420px); object-fit: cover; margin-top: var(--sec); }

/* ---------- Cobertura ---------- */
.cov { background: var(--asfalto); color: #fff; padding: var(--sec) 0; position: relative; overflow: hidden; }
.cov__grid { display: grid; grid-template-columns: 4fr 8fr; gap: 40px; align-items: center; }
.cov__text > p { color: rgba(255,255,255,.75); max-width: 44ch; }
.cov__list {
  list-style: none; margin: 32px 0 28px; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.cov__list li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
  font-size: 15px;
  cursor: default;
  transition: color .15s;
}
.cov__list b { font: 700 12px/1 var(--display); color: var(--azul-claro); min-width: 44px; letter-spacing: .06em; }
.cov__list li.is-on { color: var(--azul-claro); }
.cov__note { font-size: 15px; }

.cov__map { margin: 0 calc(var(--pad) * -1) 0 0; }
.cov__map svg { width: 100%; height: auto; overflow: visible; }
.map-land { fill: var(--asfalto-2); stroke: rgba(255,255,255,.28); stroke-width: 1.2; stroke-linejoin: round; }
.map-route { fill: none; stroke: var(--azul-claro); stroke-width: 1.6; stroke-dasharray: 4 5; opacity: .75; }
.map-route.is-on { stroke: #fff; opacity: 1; stroke-width: 2.2; }
.map-pt circle { fill: var(--azul-claro); }
.map-pt .halo { fill: none; stroke: var(--azul-claro); stroke-width: 1; opacity: .5; }
.map-pt text { font: 500 19px var(--mono); fill: rgba(255,255,255,.85); letter-spacing: .02em; }
.map-pt.is-hub circle { fill: var(--raya); }
.map-pt.is-hub .halo { stroke: var(--raya); opacity: .8; animation: latido 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.map-pt.is-hub text { fill: #fff; font-weight: 500; }
.map-pt.is-on text { fill: #fff; }
.map-pt.is-on circle:not(.halo) { r: 7; }
@keyframes latido { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }

.cov__map figcaption { display: flex; gap: 24px; justify-content: flex-end; font-size: 14px; color: rgba(255,255,255,.65); margin-top: 8px; }
.cov__map figcaption span { display: flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--azul-claro); display: inline-block; }
.dot--hub { background: var(--raya); }

/* ---------- Unidades ---------- */
.units { padding: var(--sec) 0; }
.units__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.units__tabs button {
  font: 600 14px/1 var(--display);
  padding: 0 16px;
  min-height: 44px;
  border: 1px solid var(--linea);
  background: transparent;
  color: var(--grafito);
  cursor: pointer;
  transition: all .15s;
}
.units__tabs button:hover { border-color: var(--asfalto); color: var(--asfalto); }
.units__tabs button[aria-pressed="true"] { background: var(--asfalto); border-color: var(--asfalto); color: #fff; }

.units__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--linea);
  border-left: 1px solid var(--linea);
}
.unit {
  border-right: 1px solid var(--linea);
  border-bottom: 1px solid var(--linea);
  padding: 28px 28px 30px;
  background: var(--blanco);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  transition: background .2s;
}
.unit[hidden] { display: none; }
.unit:hover { background: #fbfaf7; }
.unit__draw {
  width: 100%; height: auto;
  fill: none;
  stroke: var(--asfalto);
  stroke-width: 1.4;
  stroke-linejoin: round;
  stroke-linecap: round;
  background:
    linear-gradient(var(--linea), var(--linea)) 0 85.5% / 100% 1px no-repeat;
}
.unit__draw .cristal { fill: rgba(6,134,188,.14); stroke: var(--azul); }
.unit__draw rect { fill: rgba(6,134,188,.06); }
.unit__draw .cortina { stroke: var(--azul); stroke-dasharray: 3 3; }
.unit__draw .escape { stroke-width: 2.4; }
.unit__draw .dim { stroke: var(--azul); stroke-width: 1; }
.unit__draw use[href="#rueda"], .unit__draw circle { fill: var(--blanco); }
.unit__n { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gris); margin-bottom: 8px; }
.unit h3 { font-size: 28px; font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; margin-bottom: 10px; }
.unit__body > p { color: var(--grafito); font-size: 16px; }
.unit__spec {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 16px !important;
  padding-top: 12px;
  border-top: 1px dashed var(--linea);
  font: 500 13px/1.3 var(--mono);
  color: var(--asfalto) !important;
}
.unit__spec span { color: var(--gris); text-transform: uppercase; letter-spacing: .05em; }
.units__foot { font-size: 14px; color: var(--gris); margin-top: 18px; }

/* ---------- Industrias ---------- */
.ind { padding: calc(var(--sec) * .6) 0 0; background: var(--papel); }
.ind__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.ind__item { margin: 0; position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--asfalto); color: #fff; }
.ind__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; opacity: .85; }
.ind__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,26,34,.92) 0%, rgba(14,26,34,0) 60%); }
.ind__item figcaption { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 1; }
.ind__item b { display: block; font-size: 30px; font-weight: 800; font-style: italic; font-variation-settings: "wdth" 70; text-transform: uppercase; line-height: 1; margin-bottom: 8px; }
.ind__item figcaption span { display: block; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.8); max-width: 30ch; }
.ind__item:hover img { transform: scale(1.04); opacity: 1; }

/* ---------- Seguridad ---------- */
.sec { background: var(--asfalto); color: #fff; padding: var(--sec) 0; }
.sec__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px 80px; align-items: start; }
.sec__intro { position: sticky; top: 110px; }
.sec__intro > p { color: rgba(255,255,255,.75); max-width: 46ch; }
.sec__orgs { margin-top: 28px !important; font-weight: 800; font-variation-settings: "wdth" 75; letter-spacing: .06em; color: #fff !important; }
.sec__list { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.sec__list li {
  position: relative;
  padding: 22px 0 22px 44px;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255,255,255,.88);
}
.sec__list li:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.sec__list li::before {
  content: "";
  position: absolute; left: 2px; top: 29px;
  width: 16px; height: 9px;
  border: solid var(--azul-claro); border-width: 0 0 3px 3px;
  transform: rotate(-45deg);
}

/* ---------- Servicios ---------- */
.svc { padding: var(--sec) 0; background: var(--blanco); }
.svc__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px 80px; align-items: center; }
.svc__img { width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 620px; object-fit: cover; }
.svc__item { padding: 24px 0; border-top: 1px solid var(--linea); }
.svc__item:last-child { border-bottom: 1px solid var(--linea); }
.svc__item h3 { font-size: 24px; font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; margin-bottom: 8px; }
.svc__item p { color: var(--grafito); font-size: 17px; max-width: 52ch; }

/* ---------- Contacto ---------- */
.contact { background: var(--asfalto); color: #fff; padding: var(--sec) 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 80px; align-items: start; }
.contact__info > p { color: rgba(255,255,255,.75); }
.contact__direct { list-style: none; padding: 0; margin: 36px 0; border-top: 1px solid rgba(255,255,255,.16); }
.contact__direct li { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.contact__direct span { font-size: 14px; color: rgba(255,255,255,.6); width: 110px; flex: none; }
.contact__direct a { font-size: 20px; font-weight: 700; text-decoration: none; padding: 6px 0; white-space: nowrap; }
.contact__direct a:hover { color: var(--azul-claro); }
.contact__places { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact__places li { font-size: 20px; font-weight: 800; font-style: italic; font-variation-settings: "wdth" 72; text-transform: uppercase; line-height: 1.15; color: var(--azul-claro); }

.form { background: var(--papel); color: var(--asfalto); padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--asfalto); }
.form input, .form select, .form textarea {
  font: 400 16px/1.4 var(--display);
  color: var(--asfalto);
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-bottom: 2px solid var(--grafito);
  border-radius: 0;
  padding: 12px 12px;
  width: 100%;
  min-width: 0;
  text-transform: none;
  letter-spacing: 0;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--azul); background: #fff; }
.form .is-bad { border-bottom-color: #c0392b; }
.form__err { color: #b02a1c; font-size: 14px; margin: 0; }
.form__hint { font-size: 13px; color: var(--gris); text-align: center; margin: 0; }

/* ---------- Footer ---------- */
.foot { background: #09131a; color: rgba(255,255,255,.6); padding: 40px 0 28px; }
.foot__in { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.foot__slogan { font-weight: 700; font-style: italic; font-variation-settings: "wdth" 75; text-transform: uppercase; color: #fff; margin: 0; letter-spacing: .02em; }
.foot__small { font-size: 13px; margin: 0; }

/* ---------- Crédito: Desarrollado por Lykhos ---------- */
.credit { position: relative; display: flex; justify-content: center; margin-top: 28px; padding-top: 20px; }
.credit::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); height: 1px; background: rgba(255,255,255,.1); }
.credit__link { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px; text-decoration: none; color: rgba(255,255,255,.6); font-size: 13.5px; }
.credit__wolf { width: 42px; height: 42px; overflow: visible; transform-origin: 50% 85%; transition: transform .5s cubic-bezier(.2, .8, .2, 1), filter .5s; }
.credit__fill { fill: #fff; opacity: 0; }
.credit__lines path { fill: none; stroke: #fff; stroke-width: 6; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.credit__eyes { fill: var(--azul-claro); opacity: 0; transition: fill .3s; }
.credit__name {
  font-size: 18px; font-weight: 800; font-variation-settings: "wdth" 70; letter-spacing: .2em;
  background: linear-gradient(100deg, #fff 42%, var(--azul-claro) 50%, #fff 58%) 100% 0 / 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Al aparecer: el lobo se dibuja, se rellena, se le encienden los ojos y un destello recorre el nombre */
.credit.is-visible .credit__lines path { animation: wolfDraw 1.6s cubic-bezier(.65, 0, .35, 1) forwards; }
.credit.is-visible .credit__lines { animation: wolfLinesOut .5s 1.9s forwards; }
.credit.is-visible .credit__fill { animation: wolfFill .6s 1.5s forwards; }
.credit.is-visible .credit__eyes { animation: eyesOn .3s 2.1s forwards, eyesGlow 2.6s 2.6s ease-in-out infinite; }
.credit.is-visible .credit__name { animation: nameShine 1.2s 2.2s cubic-bezier(.2, .8, .2, 1) both; }
/* Al pasar el mouse o tocar: el lobo aúlla */
.credit__link:hover .credit__wolf, .credit__link:focus-visible .credit__wolf { transform: rotate(-12deg) translateY(-3px) scale(1.1); filter: drop-shadow(0 0 10px rgba(63, 179, 227, .65)); }
.credit__link:hover .credit__eyes { fill: #8fd6f5; }
.credit__link:hover .credit__name { animation: nameShine 1s cubic-bezier(.2, .8, .2, 1); }
.credit__link:hover .credit__by { color: #fff; }
@keyframes wolfDraw { to { stroke-dashoffset: 0; } }
@keyframes wolfFill { to { opacity: 1; } }
@keyframes wolfLinesOut { to { opacity: 0; } }
@keyframes eyesOn { to { opacity: 1; } }
@keyframes eyesGlow { 50% { fill: #8fd6f5; } }
@keyframes nameShine { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* ---------- WhatsApp flotante ---------- */
.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transition: transform .2s;
}
.wa:hover { transform: scale(1.06); }
.wa { transition: transform .2s, opacity .2s, visibility .2s; }
.wa svg { width: 30px; height: 30px; fill: currentColor; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .top__nav { gap: 20px; }
  .top__nav a { font-size: 14px; }
}

@media (max-width: 900px) {
  .top__burger {
    display: grid; gap: 6px; place-content: center;
    width: 44px; height: 44px; padding: 0;
    background: none; border: 0; cursor: pointer;
  }
  .top__burger span:not(.sr) { width: 24px; height: 2px; background: #fff; transition: transform .2s; }
  .top.is-solid .top__burger span:not(.sr), .top.is-open .top__burger span:not(.sr) { background: var(--asfalto); }
  .top.is-open .top__burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .top.is-open .top__burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .top__nav {
    position: fixed; inset: 72px 0 auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff;
    padding: 8px var(--pad) 24px;
    box-shadow: 0 12px 24px rgba(0,0,0,.12);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: all .2s;
  }
  .top.is-open { background: #fff; }
  .top.is-open .logo-light { display: none !important; }
  .top.is-open .logo-dark { display: block !important; }
  .top.is-open .top__nav { transform: none; opacity: 1; visibility: visible; }
  .top__nav a { color: var(--asfalto) !important; font-size: 18px; padding: 14px 0; border-bottom: 1px solid var(--linea); }
  .top__nav a::after { display: none; }
  .top__cta { margin-top: 16px; text-align: center; clip-path: none; border: 0 !important; }

  .sec-head, .about__grid, .cov__grid, .sec__grid, .contact__grid, .svc__grid { grid-template-columns: 1fr; }
  .sec-head { margin-bottom: 40px; }
  .sec__intro { position: static; }
  .svc__img { aspect-ratio: 16 / 9; }
  .ind__row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__in { padding-top: 120px; }
  .hero__data { grid-template-columns: 1fr 1fr; row-gap: 18px; padding-bottom: 88px; }
  .hero__data > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__actions .btn { flex: 1 1 100%; }
  .about__mv, .contact__places, .form__row { grid-template-columns: 1fr; }
  .sec__list li { font-size: 16px; }
  .units__grid { grid-template-columns: 1fr; }
  .unit { padding: 22px 18px 24px; }
  .cov__list { grid-template-columns: 1fr 1fr; }
  .cov__map { margin: 0 -8px; }
  .map-pt text { font-size: 19px; }
  .cov__map figcaption { justify-content: flex-start; flex-wrap: wrap; gap: 12px 20px; }
  .ind__item { aspect-ratio: 4 / 5; }
  .ind__item figcaption { left: 16px; right: 16px; bottom: 16px; }
  .ind__item b { font-size: 24px; }
  .ind__item figcaption span { font-size: 13px; }
  .contact__direct span { width: 100%; }
  .foot__in { flex-direction: column; align-items: flex-start; }
  .foot { padding-bottom: 92px; } /* espacio para el botón flotante */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .map-pt.is-hub .halo { animation: none; }
  .credit__fill, .credit__eyes { opacity: 1; }
  .credit__lines { opacity: 0; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .ind__item img { transition: none; }
}
