/* ═══════════════════════════════════════════════════════════════
   Atlantek · Landing pública — style.css · v4 "Control Room"
   Mismo sistema visual que dashboard.css (negro/rojo) · Fraunces + Courier Prime · Mobile-first
   ═══════════════════════════════════════════════════════════════ */

:root {
  --navy:       #0a2540;
  --navy-light: #1a6aff;
  --navy-dark:  #061828;
  --navy-glow:  rgba(0, 180, 255, .25);
  --rec:        #1a6aff;

  --bg:     #0a1628;
  --bg2:    #0d1d30;
  --card:   #122338;
  --line:   rgba(255, 255, 255, .06);
  --line-2: rgba(255, 255, 255, .11);

  --ink:    #E9EDF0;
  --muted:  #8E9AA4;
  --faint:  #5C6870;
  --green:  #33D17A;

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", "Courier New", monospace;

  --container: 1200px;
  --radius: 12px;
  --space-section: 130px;
  --space-section-sm: 100px;
  --space-head: 80px;
  --space-card: 32px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* ═══════════ SCROLL PROFESIONAL ═══════════ */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Scrollbar global - Firefox */
* { scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }

/* Scrollbar global - WebKit */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--line-2);
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: content-box;
  transition: background 0.2s, width 0.2s;
}
::-webkit-scrollbar-thumb:hover { background: var(--navy-light); background-clip: content-box; }
::-webkit-scrollbar-thumb:active { background: var(--navy); background-clip: content-box; }
::-webkit-scrollbar-corner { background: transparent; }

body {
  font-family: var(--font);
  color: var(--ink);
  background:
    linear-gradient(rgba(10, 22, 40, .78), rgba(6, 24, 40, .86)),
    url('../img/back.jpg') center / cover fixed no-repeat;
  background-color: var(--bg);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

::selection { background: var(--navy); color: var(--ink); }

.container {
  width: min(var(--container), calc(100% - 44px));
  margin-inline: auto;
}

/* ═══════════ TIPOGRAFÍA BASE ═══════════ */

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.025em; }

h1 { font-size: clamp(36px, 5.6vw, 60px); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 750; letter-spacing: -0.025em; }
h3 { font-size: 17px;  font-weight: 700; letter-spacing: -0.01em; }

h1 em { font-style: normal; color: var(--navy-light); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.kicker__num {
  color: var(--navy-light);
  font-weight: 600;
}
.kicker__num::after {
  content: "/";
  margin-left: 10px;
  color: var(--faint);
}

/* ═══════════ DOTS DE ESTADO ═══════════ */

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.dot--navy  { background: var(--navy); animation: pulse 1.6s infinite; }
.dot--green { background: var(--green); box-shadow: 0 0 8px rgba(51, 209, 122, .7); }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .25; }
}

/* ═══════════ BOTONES ═══════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 13px 24px;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .12s, box-shadow .18s;
}
.btn:active { transform: translateY(1px); }

.btn--navy {
  background: var(--navy);
  color: var(--ink);
  box-shadow: 0 0 0 0 var(--navy-glow);
}
.btn--navy:hover {
  background: var(--navy-light);
  box-shadow: 0 6px 28px -6px var(--navy-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--lg   { padding: 16px 30px; font-size: 14px; }
.btn--full { width: 100%; }

/* ═══════════ TOPBAR ═══════════ */

/* ═══════════ NAV ═══════════ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 25, 35, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .25s, box-shadow .25s;
}

.nav--scrolled {
  background: rgba(10, 17, 24, .97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}

/* Scroll progress bar en nav */
.nav__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--navy-light), var(--green));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 1;
  transition: transform 0.1s linear;
}

.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 96px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  justify-self: start;
}

.nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  justify-self: center;
  grid-column: 2;
}

.nav__links a:not(.btn) {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}
.nav__links a:not(.btn):hover { color: var(--ink); }

.nav__cta {
  grid-column: 3;
  justify-self: end;
}

.nav__mobile-cta { display: none; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  cursor: pointer;
}
.nav__burger span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s, opacity .2s;
}

/* ═══════════ HERO ═══════════ */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 60% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 60% 20%, #000 30%, transparent 75%);
  opacity: .3;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 180, 255, .15), transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0 88px;
}

.hero__copy p {
  max-width: 500px;
  color: var(--muted);
  font-size: 16px;
  margin-top: 22px;
}
.hero__copy p b { color: var(--ink); font-weight: 600; }

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
  max-width: 520px;
}

.hero__stats div {
  border-left: 1px solid var(--line-2);
  padding-left: 16px;
}

.hero__stats dt {
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.hero__stats dd {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ── Monitor CCTV ── */

.hero__visual {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cam-card {
  position: relative;
  background: #0c1520;
  border: 10px solid #1d2d3d;
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5), inset 0 0 0 1px var(--navy-glow);
}

/* Esquinas HUD sobre la pantalla de la camara */
.cam-card__corner {
  position: absolute;
  z-index: 3;
  width: 18px;
  height: 18px;
  border: 2px solid var(--navy-light);
  border-style: solid;
  border-width: 0;
  pointer-events: none;
  opacity: 0.6;
}
.cam-card__corner--tl { top: 25px; left: 25px;  border-top-width: 2px; border-left-width: 2px; }
.cam-card__corner--tr { top: 25px; right: 25px; border-top-width: 2px; border-right-width: 2px; }
.cam-card__corner--bl { bottom: 25px; left: 25px;  border-bottom-width: 2px; border-left-width: 2px; }
.cam-card__corner--br { bottom: 25px; right: 25px; border-bottom-width: 2px; border-right-width: 2px; }

.cam-card__top,
.cam-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.4px;
  color: var(--muted);
}
.cam-card__top    { padding-bottom: 12px; }
.cam-card__bottom { padding-top: 12px; }

.cam-card__rec {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy-light);
  font-weight: 600;
}

.rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--navy-light);
  animation: pulse 1.2s infinite;
}

.cam-card__cam {
  color: rgba(255, 255, 255, .5);
  font-weight: 500;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cam-card__time { color: var(--ink); }

.cam-card__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-weight: 600;
}

.cam-card__screen {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.cam-card__screen img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: contrast(1.08) brightness(1.02);
}

/* CRT + línea de escaneo */
.cam-card__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, .14) 0px,
    rgba(0, 0, 0, .14) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
}

/* ── HUD overlay (coordenadas, crosshair, detección de movimiento) ── */

.cam-card__hud {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, .55);
  text-shadow: 0 1px 2px #000;
  pointer-events: none;
  z-index: 2;
}
.cam-card__hud span:nth-child(2) { text-align: center; }
.cam-card__hud span:nth-child(3) { text-align: right; }

.cam-card__cross {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  opacity: .5;
  pointer-events: none;
  z-index: 2;
}
.cam-card__cross::before,
.cam-card__cross::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, .7);
}
.cam-card__cross::before { left: 16px; top: 4px; bottom: 4px; width: 1px; }
.cam-card__cross::after  { top: 16px; left: 4px; right: 4px; height: 1px; }

.cam-card__motion {
  position: absolute;
  border: 1px solid var(--navy-light);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  animation: motionblink 3s infinite;
}
.cam-card__motion--a {
  left: 12%;
  top: 58%;
  width: 34%;
  height: 26%;
}
.cam-card__motion--b {
  left: 60%;
  top: 12%;
  width: 28%;
  height: 22%;
  animation-delay: 1.6s;
}

@keyframes motionblink {
  0%, 100% { opacity: 0; }
  45% { opacity: .9; }
  60% { opacity: .15; }
}

.cam-card__scan {
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  height: 34%;
  background: linear-gradient(to bottom, transparent, rgba(26, 74, 107, .15), transparent);
  animation: scan 4.5s linear infinite;
  pointer-events: none;
}

@keyframes scan {
  from { transform: translateY(-120%); }
  to   { transform: translateY(420%); }
}

.cam-specs {
  list-style: none;
  border: 1px solid var(--line);
  border-top: 0;
  background: rgba(13, 22, 34, .92);
}

.cam-specs li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 11px 16px;
  font-size: 13px;
  color: var(--muted);
}
.cam-specs li + li { border-top: 1px solid var(--line); }

.cam-specs b {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink);
}

/* ═══════════ MARCAS ═══════════ */

.brands {
  border-bottom: 1px solid var(--line);
  background: rgba(9, 18, 30, .72);
  padding: 20px 0;
  overflow: hidden;
}

.brands .container {
  margin-bottom: 12px;
}

.brands__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--faint);
}

.brands__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.brands__item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .55;
  transition: opacity .3s;
}

.brands__item:hover { opacity: 1; }

.brands__item img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 680px) {
  .brands { padding: 20px 0; }
  .brands__inner { gap: 20px; }
  .brands__item img { height: 36px; }
}

/* ═══════════ SECCIONES ═══════════ */

.section { padding: 100px 0; scroll-margin-top: 96px; }

.section--panel {
  background: rgba(13, 22, 34, .88);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__head { margin-bottom: 56px; }

/* ═══════════ SERVICIOS ═══════════ */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service {
  position: relative;
  background: rgba(9, 18, 30, .72);
  padding: 34px 28px 30px;
  transition: background .2s;
}
.service:hover { background: var(--card); }

.service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--navy);
  transition: width .3s ease;
}
.service:hover::before { width: 100%; }

.service__num {
  position: absolute;
  top: 26px;
  right: 26px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--faint);
}

.service__icon {
  width: 30px;
  height: 30px;
  color: var(--navy-light);
  margin-bottom: 20px;
  object-fit: contain;
}

.service h3 { margin-bottom: 10px; }

.service p {
  font-size: 13.5px;
  color: var(--muted);
}

/* ═══════════ TRABAJOS ═══════════ */

.works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.work {
  border: 1px solid var(--line);
  background: rgba(9, 18, 30, .72);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.work:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .4);
}

.work__media {
  position: relative;
  overflow: hidden;
}

.work__media img {
  aspect-ratio: 15 / 11;
  width: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.97);
  transition: filter .3s, transform .4s;
}
.work:hover .work__media img {
  filter: contrast(1.08) brightness(1.03);
  transform: scale(1.04);
}

.work__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 39, 61, .85);
  border: 1px solid var(--navy-light);
  padding: 5px 10px;
  backdrop-filter: blur(4px);
}

.work figcaption {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.work figcaption b {
  font-size: 14.5px;
  font-weight: 600;
}

.work figcaption span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .4px;
  color: var(--muted);
}

.works__note {
  margin-top: 30px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .6px;
  color: var(--faint);
}

.works__empty {
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
}
.works__empty p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 20px;
}

/* ═══════════ PROCESO ═══════════ */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  counter-reset: paso;
}

.step {
  border-top: 1px solid var(--line-2);
  padding-top: 22px;
  position: relative;
}

.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 42px;
  height: 2px;
  background: var(--navy);
}

.step__num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--navy-light);
}

.step h3 { margin: 14px 0 10px; }

.step p {
  font-size: 13.5px;
  color: var(--muted);
}

/* ═══════════ CTA / CONTACTO ═══════════ */

.cta { padding: 100px 0; }

.cta__panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(ellipse 70% 120% at 100% 0%, var(--navy-glow), transparent 60%),
    var(--card);
  padding: 64px 60px;
}

.cta__copy p {
  color: var(--muted);
  font-size: 15.5px;
  margin-top: 18px;
  max-width: 420px;
}
.cta__copy p b { color: var(--ink); font-weight: 600; }

.cta__data {
  list-style: none;
  border: 1px solid var(--line);
  margin-bottom: 22px;
  background: rgba(10, 15, 19, .4);
}

.cta__data li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 13px 18px;
  font-size: 14px;
}
.cta__data li + li { border-top: 1px solid var(--line); }

.cta__data b {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.cta__data span {
  text-align: right;
  word-break: break-word;
}

/* ═══════════ FOOTER ═══════════ */

.footer {
  border-top: 1px solid var(--line);
  background: #0c1520;
  padding: 44px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.logo--footer {
  display: flex;
  justify-content: center;
}

.footer p {
  font-size: 13px;
  color: var(--muted);
}

.footer__admin {
  font-family: var(--mono);
  font-size: 10px !important;
  letter-spacing: .4px;
  color: var(--faint) !important;
  margin-top: 16px;
  opacity: 0.6;
  transition: opacity .2s;
}

.footer__admin a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}

.footer__admin a:hover { color: var(--navy-light); }

.footer__credit {
  font-family: var(--mono);
  font-size: 10px !important;
  letter-spacing: .4px;
  color: var(--faint) !important;
  margin-top: 24px;
  opacity: 0.5;
  transition: opacity .2s;
}

.footer__credit:hover {
  opacity: 0.95;
}

.footer__credit a {
  color: var(--muted);
  text-decoration: none;
}

.footer__credit a:hover { color: var(--navy-light); }

/* ═══════════ BOTONES FLOTANTES (WhatsApp · Formulario · Chat) ═══════════ */

.wa-float,
.fab-form {
  position: fixed;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
  transition: transform .18s;
}
.wa-float:hover, .fab-form:hover { transform: scale(1.08); }
.wa-float svg, .fab-form svg { width: 24px; height: 24px; }

.wa-float {
  right: 22px;
  bottom: 22px;
  z-index: 60;
  background: #25D366;
  color: #fff;
}

.fab-form {
  right: 22px;
  bottom: 78px;
  z-index: 60;
  background: radial-gradient(120% 120% at 20% 15%, #1e4e8f, var(--navy));
  color: #fff;
  border: 1px solid var(--line-2);
}

@media (max-width: 680px) {
  .wa-float {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
  }
  .fab-form {
    right: 14px;
    bottom: calc(70px + env(safe-area-inset-bottom));
  }
}

/* ═══════════ CHAT FAQ ═══════════ */

.chat-fab {
  position: fixed;
  right: 22px;
  bottom: 134px;
  z-index: 62;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  background: var(--navy-light);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45), 0 0 0 0 rgba(26, 106, 255, .4);
  transition: transform .18s, box-shadow .35s;
}
.chat-fab svg { width: 24px; height: 24px; }
.chat-fab:hover { transform: scale(1.08); }
.chat-fab.is-open {
  animation: chat-pulse 2.4s infinite;
}
@keyframes chat-pulse {
  0% { box-shadow: 0 8px 24px rgba(0, 0, 0, .45), 0 0 0 0 rgba(26, 106, 255, .45); }
  70% { box-shadow: 0 8px 24px rgba(0, 0, 0, .45), 0 0 0 16px rgba(26, 106, 255, 0); }
  100% { box-shadow: 0 8px 24px rgba(0, 0, 0, .45), 0 0 0 0 rgba(26, 106, 255, 0); }
}

.chat-panel {
  position: fixed;
  right: 22px;
  bottom: 190px;
  z-index: 65;
  width: 358px;
  max-width: calc(100vw - 28px);
  max-height: calc(100dvh - 224px);
  display: none;
  flex-direction: column;
  background: rgba(13, 22, 34, .97);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  animation: chat-in .22s ease;
  transform-origin: 100% 100%;
}
@keyframes chat-in {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
.chat-panel.is-open { display: flex; }

.chat-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(120deg, var(--navy-dark), var(--navy) 70%);
  border-bottom: 1px solid var(--line);
}
.chat-panel__info b {
  display: block;
  font-size: 14px;
  letter-spacing: .2px;
}
.chat-panel__info small {
  display: block;
  color: var(--green);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .6px;
  text-transform: uppercase;
  opacity: .9;
}
.chat-panel__close {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background .18s;
}
.chat-panel__close:hover { background: rgba(255, 255, 255, .14); }

.chat-panel__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  min-height: 0;
  overflow-y: auto;
  flex: 1 1 auto;
  -webkit-overflow-scrolling: touch;
}

.chat-msg {
  max-width: 86%;
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.5;
  border-radius: 14px;
  animation: msg-in .18s ease;
  word-wrap: break-word;
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.chat-msg--bot {
  align-self: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  color: var(--ink);
}
.chat-msg--user {
  align-self: flex-end;
  background: var(--navy-light);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-msg--typing {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 13px 16px;
}
.chat-msg--typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  animation: blink 1.2s infinite both;
}
.chat-msg--typing span:nth-child(2) { animation-delay: .2s; }
.chat-msg--typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink {
  0%, 80%, 100% { opacity: .25; transform: scale(.85); }
  40% { opacity: 1; transform: scale(1); }
}

.chat-panel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 16px 14px;
}
.chip {
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .18s, background .18s;
}
.chip:hover { border-color: var(--navy-light); background: rgba(26, 106, 255, .08); }
.chip.is-done {
  opacity: .4;
  text-decoration: line-through;
  cursor: default;
  pointer-events: none;
}

.chat-panel__wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
  margin: 0 16px 16px;
  border-radius: 12px;
  background: #25D366;
  color: #06281B;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: transform .18s;
}
.chat-panel__wa:hover { transform: translateY(-1px); }

@media (max-width: 680px) {
  .chat-fab {
    right: 14px;
    bottom: calc(126px + env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
  }
  .chat-panel {
    right: 14px;
    bottom: calc(182px + env(safe-area-inset-bottom));
    left: 14px;
    width: auto;
    max-height: calc(100dvh - 200px);
  }
  .chat-panel__chips {
    max-height: 180px;
    overflow-y: auto;
    padding-bottom: 8px;
  }
}

/* ═══════════ REVEAL ═══════════ */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .cam-card__scan, .rec-dot, .dot--navy, .radar__sweep,
  .radar__blip i { animation: none; }
}

/* ═══════════ RESPONSIVE ═══════════ */

@media (max-width: 1000px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 64px 0 72px;
  }

  .hero__visual { max-width: 560px; margin: 0 auto; }

  .services { grid-template-columns: repeat(2, 1fr); }
  .works    { grid-template-columns: repeat(2, 1fr); }
  .steps    { grid-template-columns: repeat(2, 1fr); }

  .cta__panel {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 36px;
  }
}

@media (max-width: 680px) {
  .nav__inner {
    display: flex;
    justify-content: space-between;
    height: 80px;
  }
  
  .nav__burger { display: flex; }

  .nav__links {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 12px 22px 24px;
    display: none;
    grid-column: auto;
  }

  .nav--open .nav__links { display: flex; }

  .nav__links a:not(.btn) {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    text-align: center;
    width: 100%;
  }

  .nav__cta {
    display: none;
  }

  .nav__links .nav__mobile-cta {
    display: inline-flex;
    margin-top: 16px;
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .nav--open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav--open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav--open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section { padding: 68px 0; }
  .section__head { margin-bottom: 40px; }

  .hero__stats { grid-template-columns: 1fr; gap: 18px; }

  .services { grid-template-columns: 1fr; }
  .works    { grid-template-columns: 1fr; }
  .steps    { grid-template-columns: 1fr; }

  .btn--lg { width: 100%; }

  .cta { padding: 68px 0; }
  .cta__panel { padding: 40px 24px; }

  .cta__data li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .cta__data span { text-align: left; }

  .footer__inner { text-align: center; align-items: center; }
  .footer__inner .logo { justify-content: center; }
}

/* ═══════════ COBERTURA (Radar Profesional) ═══════════ */

.coverage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.coverage__radar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}

.radar {
  position: relative;
  width: min(560px, 100%);
  max-width: 100%;
  aspect-ratio: 1;
  margin: 0 auto;
  background: radial-gradient(ellipse at center, rgba(26, 106, 255, 0.06) 0%, transparent 65%), var(--bg);
  border: 1px solid var(--line);
  border-radius: 50%;
  overflow: hidden;
}

/* Anillos de rango (5, 10, 15, 20 km) */
.radar__range-ring {
  position: absolute;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.radar__range-ring[data-km="5"]  { width: 25%;  height: 25%; }
.radar__range-ring[data-km="10"] { width: 50%;  height: 50%; }
.radar__range-ring[data-km="15"] { width: 75%;  height: 75%; }
.radar__range-ring[data-km="20"] { width: 100%;  height: 100%; }

/* Cruces cardinales */
.radar__crosshair {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.radar__crosshair::before,
.radar__crosshair::after {
  content: "";
  position: absolute;
  background: var(--line-2);
}
.radar__crosshair::before { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.radar__crosshair::after  { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }

/* Ejes cardinales */
.radar__cardinal {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted);
  text-transform: uppercase;
  pointer-events: none;
}
.radar__cardinal--n { top: 8px; left: 50%; transform: translateX(-50%); }
.radar__cardinal--e { right: 8px; top: 50%; transform: translateY(-50%); }
.radar__cardinal--s { bottom: 8px; left: 50%; transform: translateX(-50%); }
.radar__cardinal--w { left: 8px; top: 50%; transform: translateY(-50%); }

/* Etiquetas de rango */
.radar__range-label {
  position: absolute;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.5px;
  color: var(--faint);
  pointer-events: none;
  white-space: nowrap;
}
.radar__range-label[data-km="5"]  { top: calc(50% - 12.5%); left: calc(50% + 6px); transform: translateY(-50%); }
.radar__range-label[data-km="10"] { top: calc(50% - 25%); left: calc(50% + 6px); transform: translateY(-50%); }
.radar__range-label[data-km="15"] { top: calc(50% - 37.5%); left: calc(50% + 6px); transform: translateY(-50%); }
.radar__range-label[data-km="20"] { top: calc(50% - 50%); left: calc(50% + 6px); transform: translateY(-50%); }

/* Marco HUD esquinas */
.radar__bracket {
  position: absolute;
  z-index: 3;
  width: 24px;
  height: 24px;
  border: 2px solid var(--navy-light);
  border-style: solid;
  border-width: 0;
  pointer-events: none;
  opacity: 0.6;
}
.radar__bracket--tl { top: 12px; left: 12px;  border-top-width: 2px; border-left-width: 2px; }
.radar__bracket--tr { top: 12px; right: 12px; border-top-width: 2px; border-right-width: 2px; }
.radar__bracket--bl { bottom: 12px; left: 12px;  border-bottom-width: 2px; border-left-width: 2px; }
.radar__bracket--br { bottom: 12px; right: 12px; border-bottom-width: 2px; border-right-width: 2px; }

/* Barrido del radar */
.radar__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from -90deg,
    transparent 0deg,
    rgba(26, 106, 255, 0.08) 1deg,
    rgba(26, 106, 255, 0.25) 15deg,
    rgba(26, 106, 255, 0.4) 30deg,
    rgba(26, 106, 255, 0.25) 45deg,
    rgba(26, 106, 255, 0.08) 60deg,
    transparent 90deg);
  animation: radar-spin 6s linear infinite;
  transform-origin: center;
  pointer-events: none;
}

@keyframes radar-spin {
  from { transform: rotate(-90deg); }
  to   { transform: rotate(270deg); }
}

/* Objetivos (targets) */
.radar__target {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(var(--bearing)) translateY(calc(var(--distance) * -1)) rotate(calc(var(--bearing) * -1));
  transform-origin: center bottom;
  pointer-events: none;
  z-index: 5;
}

.radar__target-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--navy-light);
  box-shadow: 0 0 8px var(--navy-glow), 0 0 16px var(--navy-glow);
  animation: target-pulse 2s ease-in-out infinite;
  border: 2px solid var(--bg);
}

.radar__target--base .radar__target-dot {
  width: 14px;
  height: 14px;
  background: var(--green);
  box-shadow: 0 0 12px rgba(51, 209, 122, 0.8), 0 0 24px rgba(51, 209, 122, 0.5);
  animation: base-pulse 1.5s ease-in-out infinite;
}

.radar__target-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--navy-light);
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: ring-expand 2.5s ease-out infinite;
}

.radar__target--base .radar__target-pulse {
  border-color: var(--green);
  animation: ring-expand 1.8s ease-out infinite;
}

@keyframes target-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

@keyframes base-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes ring-expand {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

.radar__target-label {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
  background: rgba(10, 15, 19, 0.95);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.radar__target-label strong { display: block; font-weight: 700; }
.radar__target-label span { font-size: 9px; color: var(--muted); font-weight: 400; }

.radar__target:hover .radar__target-label,
.radar__target:focus-within .radar__target-label {
  opacity: 1;
}

.radar__target--extended .radar__target-dot {
  width: 8px;
  height: 8px;
  background: var(--muted);
  box-shadow: 0 0 6px rgba(122, 122, 122, 0.5);
  animation: none;
}
.radar__target--extended .radar__target-pulse { display: none; }
.radar__target--extended .radar__target-label { background: rgba(10, 15, 19, 0.9); border-color: var(--line-2); }

/* Panel lateral de información */
.radar__panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: 120px;
  height: fit-content;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}

.radar__panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.radar__panel-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.radar__panel-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--navy-glow);
  border-radius: 10px;
  color: var(--navy-light);
}
.radar__panel-icon svg { width: 22px; height: 22px; }

.radar__panel-title h3 { font-size: 16px; font-weight: 700; margin: 0; }
.radar__panel-sub { font-size: 11px; color: var(--muted); font-family: var(--mono); letter-spacing: 1px; text-transform: uppercase; }

.radar__panel-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
}
.radar__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: status-blink 1.5s ease-in-out infinite;
}
@keyframes status-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.radar__status-text { color: var(--green); text-transform: uppercase; }

.radar__panel-readout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.radar__readout-item { text-align: center; }
.radar__readout-label {
  display: block;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 4px;
}
.radar__readout-value {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.radar__panel-targets { max-height: 300px; overflow-y: auto; scrollbar-width: thin; }
.radar__panel-targets::-webkit-scrollbar { width: 6px; }
.radar__panel-targets::-webkit-scrollbar-thumb { border-width: 1px; }
.radar__panel-target {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.15s;
  cursor: pointer;
  border: 1px solid transparent;
}
.radar__panel-target:hover {
  background: var(--bg);
  border-color: var(--line);
}
.radar__panel-target:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.radar__panel-target--base { background: rgba(51, 209, 122, 0.1); border-color: rgba(51, 209, 122, 0.3); }
.radar__panel-target--extended { opacity: 0.7; }

.radar__panel-target-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--navy-light);
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--navy-glow);
}
.radar__panel-target--base .radar__panel-target-indicator { background: var(--green); box-shadow: 0 0 8px rgba(51, 209, 122, 0.7); }
.radar__panel-target--extended .radar__panel-target-indicator { background: var(--muted); box-shadow: none; }

.radar__panel-target-info { flex: 1; min-width: 0; }
.radar__panel-target-name { font-weight: 600; font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radar__panel-target-meta { display: flex; align-items: center; gap: 8px; margin-top: 2px; font-size: 11px; color: var(--muted); font-family: var(--mono); }

.radar__panel-target-sla {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}
.radar__panel-target-sla--fast { background: rgba(51, 209, 122, 0.15); color: var(--green); }
.radar__panel-target-sla--normal { background: rgba(26, 106, 255, 0.15); color: var(--navy-light); }
.radar__panel-target-sla--scheduled { background: rgba(255, 180, 0, 0.15); color: #cc9900; }
.radar__panel-target-sla--consult { background: rgba(122, 122, 122, 0.15); color: var(--muted); }

/* Lista de cobertura */
.coverage__lead {
  color: var(--muted);
  font-size: 15.5px;
  max-width: 800px;
  margin-bottom: 24px;
  line-height: 1.7;
}
.coverage__lead b { color: var(--ink); font-weight: 600; }

.coverage__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.coverage__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.coverage__list li:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.coverage__list li b { font-size: 14px; font-weight: 600; }

.tag {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.tag--fast { background: rgba(51, 209, 122, 0.15); color: var(--green); border: 1px solid rgba(51, 209, 122, 0.3); }
.tag--normal { background: rgba(26, 106, 255, 0.15); color: var(--navy-light); border: 1px solid rgba(26, 106, 255, 0.3); }
.tag--scheduled { background: rgba(255, 180, 0, 0.15); color: #cc9900; border: 1px solid rgba(255, 180, 0, 0.3); }
.tag--consult { background: rgba(122, 122, 122, 0.15); color: var(--muted); border: 1px solid rgba(122, 122, 122, 0.3); }

@media (max-width: 1024px) {
  .coverage__radar {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
  }
  .radar { width: min(500px, 100%); }
}

@media (max-width: 900px) {
  .coverage__radar {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .radar { width: min(440px, 100%); }
  .radar__panel { position: static; max-height: none; }
  .radar__panel-readout { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
  .radar { width: 100%; }
  .radar__cardinal { font-size: 9px; }
  .radar__range-label { font-size: 7px; }
  .radar__target-label { font-size: 10px; padding: 3px 6px; }
  .radar__panel-readout { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .radar__readout-item { display: flex; justify-content: space-between; align-items: center; }
  .coverage__list { grid-template-columns: 1fr; }
}

.coverage__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.coverage__info {
  padding: 24px 0 0;
}

.coverage__list b {
  font-size: 14px;
  font-weight: 600;
}

.tag {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-2);
  padding: 4px 9px;
  white-space: nowrap;
}
.tag--fast { color: var(--green);      border-color: rgba(51, 209, 122, .35); }
.tag--ask  { color: var(--navy-light); border-color: var(--navy-glow); }

/* ═══════════ FORMULARIO CLIENTE NUEVO ═══════════ */

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: rgba(10, 15, 19, .45);
  border: 1px solid var(--line);
  padding: 30px 28px;
}

.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  padding: 11px 12px;
  outline: none;
  width: 100%;
  transition: border-color .15s;
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus { border-color: var(--navy-light); }

.lead-form input:focus-visible,
.lead-form select:focus-visible,
.lead-form textarea:focus-visible,
.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder { color: var(--faint); }

.lead-form select { cursor: pointer; }
.lead-form textarea { resize: vertical; min-height: 74px; }

.lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.lead-form__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.lead-form__status {
  display: none;
  font-size: 13px;
  line-height: 1.5;
}
.lead-form__status.is-ok    { display: block; color: var(--green); }
.lead-form__status.is-error { display: block; color: var(--navy-light); }
.lead-form__status a        { color: var(--ink); font-weight: 600; }

.field-hint {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 4px;
}

.cta__copy .cta__data { margin: 30px 0 18px; }

@media (max-width: 1000px) {
  .coverage { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 680px) {
  .coverage__list { grid-template-columns: 1fr; }
  .lead-form__row { grid-template-columns: 1fr; }
  .lead-form { padding: 22px 18px; }
}

/* ═══════════ CONTENIDO LOCAL / SEO ═══════════ */

.seo-local {
  max-width: 860px;
}

.seo-local__lead {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 18px;
}
.seo-local__lead b { color: var(--navy-light); font-weight: 600; }

.seo-local p:not(.seo-local__lead):not(.seo-local__cta) {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 14px;
}
.seo-local p:not(.seo-local__lead):not(.seo-local__cta) b { color: var(--ink); font-weight: 600; }

.seo-local__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 26px 0 24px;
}

.seo-local__col {
  background: rgba(9, 18, 30, .72);
  padding: 24px 22px;
  transition: background .2s;
}
.seo-local__col:hover { background: var(--card); }

.seo-local__col h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.seo-local__col p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

.seo-local__cta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .4px;
  color: var(--faint);
}
.seo-local__cta b { color: var(--muted); font-weight: 600; }
.seo-local__cta a {
  color: var(--navy-light);
  text-decoration: none;
  font-weight: 600;
}
.seo-local__cta a:hover { text-decoration: underline; }

@media (max-width: 680px) {
  .seo-local__grid { grid-template-columns: 1fr; }
}

/* ═══════════ UTILIDADES ═══════════ */

[hidden] { display: none !important; }

.lead-form { position: relative; }

.lead-form__user {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(51, 209, 122, .25);
  padding: 8px 12px;
}
.lead-form__user a {
  color: var(--muted);
  text-decoration: none;
}
.lead-form__user a:hover { color: var(--navy-light); }

/* ── Logo ── */
.logo__img {
  height: 84px;
  max-height: 84px;
  width: auto;
  object-fit: contain;
  border-radius: 0;
  transition: opacity .2s, transform .2s;
  flex-shrink: 0;
  display: block;
}

.logo:hover .logo__img {
  opacity: 0.88;
  transform: scale(1.02);
}

.logo--footer .logo__img {
  height: 150px;
  max-height: 150px;
  width: auto;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

@media (max-width: 680px) {
  .logo__img { height: 64px; width: auto; padding: 0; }
  .nav__inner { height: 88px; }
  .logo--footer .logo__img { height: 85px; }
}

/* ── Hero trust ── */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}

.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
}

.hero__trust-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}

@media (max-width: 1000px) {
  .hero__trust { gap: 14px; }
  .hero__trust-item { font-size: .78rem; }
}

/* ── Tel links ── */
.cta__data a[href^="tel:"],
.footer a[href^="tel:"] {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cta__data a[href^="tel:"]:hover,
.footer a[href^="tel:"]:hover {
  opacity: .8;
}

/* ── Brands marquee ── */
.brands__track {
  display: flex;
  gap: 48px;
  animation: marquee 20s linear infinite;
  width: max-content;
}
.brands__track:hover {
  animation-play-state: paused;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.brands__inner {
  overflow: hidden;
}