/* ============================================================
   LLANOTEC SOLUTIONS — main.css
   Cámaras CCTV · Villavicencio · Meta · Colombia
   Paleta: azul noche + oro/atardecer. Display: Archivo · Body: Inter
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Azules noche (oscuros) */
  --night:      #0A1B30;   /* fondo secciones oscuras */
  --night-2:    #0E2238;   /* superficie/card sobre oscuro */
  --night-3:    #14304B;   /* borde/realce sobre oscuro */

  /* Claros cálidos */
  --white:      #FFFFFF;
  --paper:      #FBF7F1;   /* off-white cálido (secciones alternas) */
  --paper-2:    #F4EEE4;   /* realce cálido */

  /* Tinta / texto sobre claro */
  --ink:        #0E1F33;
  --body:       #4C5A67;
  --muted:      #8A94A0;
  --line:       #ECE6DB;   /* borde cálido */

  /* Texto sobre oscuro */
  --on-dark:        #EAF0F6;
  --on-dark-soft:   #A9B8C7;
  --on-dark-muted:  #6E8095;
  --line-dark:      rgba(255,255,255,.12);

  /* Oro / atardecer (acento) */
  --gold:       #F2A53A;
  --gold-2:     #F6B954;
  --ember:      #E2762B;
  --clay:       #C9472A;
  --gold-soft:  #FBEED6;
  --sunset:     linear-gradient(118deg, #F6B954 0%, #E2762B 55%, #C9472A 100%);
  --sunset-soft:linear-gradient(118deg, rgba(246,185,84,.16), rgba(201,71,42,.10));

  /* Sombras (suaves, cálidas) */
  --sh-sm: 0 1px 2px rgba(20,16,8,.05), 0 2px 6px rgba(20,16,8,.06);
  --sh-md: 0 8px 18px rgba(20,16,8,.07), 0 16px 36px rgba(20,16,8,.07);
  --sh-lg: 0 18px 40px rgba(8,14,25,.18), 0 40px 80px rgba(8,14,25,.18);
  --sh-gold: 0 10px 26px rgba(226,118,43,.35);

  --container: 1280px;
  --r:    14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --wa: #25D366;

  font-synthesis: none;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--body); background: var(--white); line-height: 1.65; font-size: 16px;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

h1, h2, h3, h4 { font-family: 'Archivo', 'Inter', sans-serif; color: var(--ink); font-weight: 800; line-height: 1.06; letter-spacing: -.02em; }

::selection { background: var(--gold); color: #2A1402; }
:focus-visible { outline: 3px solid rgba(242,165,58,.55); outline-offset: 3px; border-radius: 4px; }

/* ---------- 3. LAYOUT ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(24px, 5vw, 72px); }
.section { padding: 96px 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--night); color: var(--on-dark); position: relative; }
.section--dark::before { /* filo atardecer superior */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--sunset);
}

.u-gold { color: var(--gold); }

/* Encabezados de sección */
.head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.head--left { text-align: left; margin-left: 0; }
.head--light .head__title { color: #fff; }
.head--light .head__lead { color: var(--on-dark-soft); }
.head--flush { margin-bottom: 0; }
.head--sm { margin-bottom: 44px; }
.head__title { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 900; margin-bottom: 18px; }
.head__lead { font-size: 1.1rem; color: var(--body); }

/* Kicker con línea (motivo) */
.kicker { display: inline-flex; align-items: center; gap: 12px; font-family: 'Inter', sans-serif;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ember); margin-bottom: 20px; }
.kicker--light { color: var(--gold-2); }
.kicker--dark { color: var(--gold); }
.kicker__line { width: 30px; height: 2px; background: currentColor; display: inline-block; }
.head:not(.head--left) .kicker { justify-content: center; }

/* Corchetes de visor (motivo de marca) */
.bracket { position: absolute; width: 26px; height: 26px; border: 2px solid var(--gold); pointer-events: none; z-index: 3; }
.bracket--tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.bracket--tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.bracket--bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.bracket--br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

/* ---------- 4. BOTONES ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: .92rem; letter-spacing: .025em;
  padding: 13px 26px; border-radius: var(--r-pill); white-space: nowrap; position: relative;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s ease, background-color .15s ease, color .15s ease, border-color .15s ease, opacity .15s ease;
  -webkit-font-smoothing: antialiased;
}
.btn--lg { padding: 16px 34px; font-size: 1rem; letter-spacing: .03em; }
.btn--block { width: 100%; }

/* Dorado — CTA primario */
.btn--gold {
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 55%, var(--ember) 100%);
  color: #1C0D00;
  box-shadow: 0 2px 6px rgba(226,118,43,.25), 0 8px 24px rgba(226,118,43,.18), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn--gold:hover {
  background: linear-gradient(135deg, #FFCA6A 0%, var(--gold-2) 55%, var(--gold) 100%);
  box-shadow: 0 4px 12px rgba(226,118,43,.35), 0 14px 34px rgba(226,118,43,.28), inset 0 1px 0 rgba(255,255,255,.35);
  transform: translateY(-3px);
}
.btn--gold:active { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(226,118,43,.3); }

/* Oscuro — CTA secundario sobre claro */
.btn--dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 2px 6px rgba(14,31,51,.18), 0 6px 18px rgba(14,31,51,.12);
}
.btn--dark:hover {
  background: #162d48;
  box-shadow: 0 4px 12px rgba(14,31,51,.22), 0 12px 30px rgba(14,31,51,.18);
  transform: translateY(-3px);
}
.btn--dark:active { transform: translateY(-1px); }

/* Contorno claro — secundario sobre hero oscuro */
.btn--outline-light {
  background: rgba(255,255,255,.07);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.85);
  box-shadow: 0 0 0 3px rgba(255,255,255,.08), 0 8px 24px rgba(0,0,0,.2);
  transform: translateY(-3px);
}
.btn--outline-light:active { transform: translateY(-1px); }

/* ---------- 5. LOGO ---------- */
.logo { display: inline-flex; align-items: center; }
.logo__img { height: 20px; width: auto; display: block; transition: filter .3s ease; }

/* ---------- 6. NAV ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease; border-bottom: 1px solid transparent; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
/* Estado inicial sobre el hero oscuro — logo blanco visible */
.nav[data-theme="dark"] .logo__img { filter: none; }
.nav[data-theme="dark"] .nav__links > a:not(.nav__cta) { color: rgba(255,255,255,.82); }
.nav[data-theme="dark"] .nav__toggle span { background: #fff; }
/* Tras scroll → fondo claro — logo oscuro */
.nav.is-scrolled { background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom-color: var(--line); box-shadow: var(--sh-sm); }
.nav.is-scrolled .logo__img { filter: invert(1); }
.nav.is-scrolled .nav__links > a:not(.nav__cta) { color: var(--body); }
.nav.is-scrolled .nav__toggle span { background: var(--ink); }

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links > a:not(.nav__cta) { font-weight: 500; font-size: .94rem; transition: color .15s ease; }
.nav__links > a:not(.nav__cta):hover { color: var(--gold); }
.nav__cta { padding: 11px 20px; }
.nav__admin { display: inline-flex; align-items: center; opacity: .22; transition: opacity .2s ease; }
.nav__admin:hover { opacity: .7; color: inherit !important; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. HERO — split "sala de control" ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--night);
  overflow: hidden;
  padding: 100px 0 70px;
}

/* Fondo: gradiente profundo + grano sutil */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(226,118,43,.12), transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(14,34,56,.9), transparent 70%);
  z-index: 0;
}
.hero__noise {
  position: absolute; inset: 0; z-index: 0; opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px;
}

.hero__split {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

/* ---- Columna copy ---- */
.hero__content { display: flex; flex-direction: column; align-items: flex-start; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 28px;
  padding: 7px 14px; border: 1px solid rgba(242,165,58,.28); border-radius: var(--r-pill);
  background: rgba(242,165,58,.07);
}
.hero__badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.hero__title {
  font-size: clamp(2rem, 2.8vw, 3.2rem);
  font-weight: 900; color: #fff;
  letter-spacing: -.03em; line-height: 1.05;
  margin-bottom: 18px;
}
.hero__sub {
  font-size: clamp(.95rem, 1.2vw, 1.08rem);
  color: var(--on-dark-soft); max-width: 480px;
  margin-bottom: 28px; line-height: 1.65;
}
.hero__actions { display: flex; flex-wrap: nowrap; gap: 12px; margin-bottom: 32px; }

.hero__chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: 0; margin: 0;
}
.hero__chips li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .82rem; font-weight: 500; color: var(--on-dark-soft);
  padding: 7px 14px; border: 1px solid var(--line-dark);
  border-radius: var(--r-pill); background: rgba(255,255,255,.03);
}
.hero__chips li svg { color: var(--gold); flex-shrink: 0; }

.hero__chips--monitor {
  flex-wrap: nowrap; justify-content: center;
  margin-top: 18px;
}
.hero__chips--monitor li {
  font-size: .76rem; padding: 6px 11px; white-space: nowrap;
}

/* ---- Columna monitor ---- */
.hero__right-col {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  width: 100%;
}

.hero__monitor-wrap {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%;
}

.monitor {
  position: relative; z-index: 1;
  width: 100%; max-width: 100%;
  background: #050d1a;
  border: 1px solid rgba(242,165,58,.22);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    0 30px 80px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.06);
}

/* Barra superior del monitor */
.monitor__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(242,165,58,.07);
  border-bottom: 1px solid rgba(242,165,58,.15);
  font-family: 'Courier New', monospace;
}
.monitor__rec-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #ef4444;
  animation: pulse-red 1.4s infinite;
  flex-shrink: 0;
}
@keyframes pulse-red {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}
.monitor__rec-text {
  font-size: .65rem; font-weight: 700; letter-spacing: .12em;
  color: #ef4444; margin-right: 6px;
}
.monitor__title-text {
  font-size: .62rem; font-weight: 600; letter-spacing: .1em;
  color: var(--gold-2); flex: 1;
}
.monitor__clock {
  font-size: .68rem; font-weight: 600; letter-spacing: .06em;
  color: rgba(255,255,255,.45);
}

/* Grid de feeds */
.monitor__feeds {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; background: #020710; padding: 2px;
}

.monitor__feed {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  background: #040b18;
}

/* Escenas simuladas por cámara — formas geométricas que sugieren perspectiva */
.feed__scene {
  position: absolute; inset: 0;
  background: #040b18;
}
.feed__scene--1 {
  background:
    linear-gradient(160deg, #040d1e 0%, #071527 50%, #040b18 100%);
}
.feed__scene--1::before {
  content: "";
  position: absolute;
  bottom: 18%; left: 10%; right: 10%;
  height: 1px; background: rgba(242,165,58,.1);
  box-shadow: 0 -20px 0 rgba(242,165,58,.04), 0 -40px 0 rgba(242,165,58,.03);
}
.feed__scene--1::after {
  content: "";
  position: absolute;
  bottom: 12%; left: 30%; width: 40%; height: 14%;
  background: rgba(242,165,58,.05); border-radius: 3px;
}
.feed__scene--2 {
  background: linear-gradient(135deg, #030c1b 0%, #060f20 60%, #040b18 100%);
}
.feed__scene--2::before {
  content: "";
  position: absolute;
  top: 15%; left: 20%; right: 20%; bottom: 15%;
  border: 1px solid rgba(255,255,255,.04); border-radius: 2px;
}
.feed__scene--2::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 22%; height: 30%;
  background: rgba(255,255,255,.03); border-radius: 2px;
}
.feed__scene--3 {
  background: linear-gradient(170deg, #040c1c 0%, #050f1e 70%, #040b18 100%);
}
.feed__scene--3::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 35%;
  background: linear-gradient(0deg, rgba(14,34,56,.7), transparent);
}
.feed__scene--3::after {
  content: "";
  position: absolute;
  bottom: 14%; left: 5%; right: 5%; height: 1px;
  background: rgba(242,165,58,.08);
  box-shadow: 0 12px 0 rgba(242,165,58,.04);
}
.feed__scene--4 {
  background: linear-gradient(150deg, #030b1a 0%, #050e1d 60%, #040b18 100%);
}
.feed__scene--4::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 18px, rgba(255,255,255,.018) 18px, rgba(255,255,255,.018) 19px),
    repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(255,255,255,.018) 18px, rgba(255,255,255,.018) 19px);
}

/* Video real de CCTV en cada feed */
.feed__video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.72) contrast(1.14) saturate(0.5);
}

/* Scanline animado sobre cada feed */
.feed__scan {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(242,165,58,.055) 50%,
    transparent 100%
  );
  background-size: 100% 6px;
  animation: scanline 3s linear infinite;
  pointer-events: none;
}
@keyframes scanline {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
.monitor__feed:nth-child(2) .feed__scan { animation-delay: -.75s; }
.monitor__feed:nth-child(3) .feed__scan { animation-delay: -1.5s; }
.monitor__feed:nth-child(4) .feed__scan { animation-delay: -2.25s; }

/* Overlay sutil de interlace */
.monitor__feed::after {
  content: "";
  position: absolute; inset: 0; z-index: 3;
  background: repeating-linear-gradient(
    180deg,
    transparent 0px, transparent 1px,
    rgba(0,0,0,.08) 1px, rgba(0,0,0,.08) 2px
  );
  pointer-events: none;
}

/* Labels del feed */
.feed__tag {
  position: absolute; top: 7px; left: 8px; z-index: 4;
  font-family: 'Courier New', monospace;
  font-size: .6rem; font-weight: 700; letter-spacing: .08em;
  color: var(--gold-2); background: rgba(0,0,0,.55); padding: 2px 6px; border-radius: 3px;
}
.feed__loc {
  position: absolute; bottom: 7px; left: 8px; right: 8px; z-index: 4;
  font-family: 'Courier New', monospace;
  font-size: .58rem; color: rgba(255,255,255,.5); letter-spacing: .04em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Barra de estado inferior */
.monitor__status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 14px;
  background: rgba(0,0,0,.4);
  border-top: 1px solid rgba(242,165,58,.1);
}
.mstatus {
  font-family: 'Courier New', monospace;
  font-size: .58rem; font-weight: 600; letter-spacing: .08em;
  color: rgba(255,255,255,.35); text-transform: uppercase;
}
.mstatus--ok { color: #22c55e; }

/* Brillo ambiental detrás del monitor */
.monitor__glow {
  position: absolute; inset: -40px; z-index: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(242,165,58,.1), transparent 70%);
  pointer-events: none;
}

/* Corchetes de visor fuera del monitor */
.monitor__bracket {
  position: absolute; width: 22px; height: 22px; border: 2px solid rgba(242,165,58,.45); z-index: 2;
}
.monitor__bracket--tl { top: -10px; left: -10px; border-right: 0; border-bottom: 0; }
.monitor__bracket--tr { top: -10px; right: -10px; border-left: 0; border-bottom: 0; }
.monitor__bracket--bl { bottom: -10px; left: -10px; border-right: 0; border-top: 0; }
.monitor__bracket--br { bottom: -10px; right: -10px; border-left: 0; border-top: 0; }

/* Scroll indicator */
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.25); border-radius: 14px;
  display: grid; place-items: start center; padding-top: 7px;
  transition: border-color .2s ease;
}
.hero__scroll:hover { border-color: var(--gold); }
.hero__scroll span { width: 4px; height: 8px; border-radius: 2px; background: var(--gold); animation: scrolldot 1.7s infinite; }
@keyframes scrolldot {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(11px); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- 8. CLIENTES / MARQUEE ---------- */
.clients { padding: 44px 0 40px; background: var(--white); border-bottom: 1px solid var(--line); overflow: hidden; }
.clients__label { text-align: center; font-size: 1rem; color: var(--muted); margin-bottom: 26px; }
.clients__label strong { color: var(--ink); font-weight: 700; }
.marquee { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: inline-flex; align-items: center; gap: 30px; white-space: nowrap; animation: marquee 38s linear infinite; will-change: transform; }
.marquee__track span { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 1.4rem; color: #6E7782; letter-spacing: .01em; }
.marquee__track .dot { color: var(--gold); font-size: .7rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* ---------- 9. SERVICIOS (grilla editorial) ---------- */
.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc__item { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; box-shadow: var(--sh-sm); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.svc__item::after { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 3px; background: var(--sunset); transform: scaleY(0); transform-origin: top; transition: transform .25s ease; }
.svc__item:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: #E4D8C2; }
.svc__item:hover::after { transform: scaleY(1); }
.svc__item--feature { grid-column: span 2; grid-row: span 1; background: linear-gradient(135deg, #fff, var(--gold-soft)); }
.svc__num { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: .82rem; color: var(--gold); letter-spacing: .1em; position: absolute; top: 22px; right: 22px; }
.svc__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--gold-soft); color: var(--ember); margin-bottom: 18px; }
.svc__icon svg { width: 25px; height: 25px; }
.svc__item--feature .svc__icon { background: #fff; }
.svc__item h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 9px; letter-spacing: -.01em; }
.svc__item--feature h3 { font-size: 1.32rem; }
.svc__item p { font-size: .93rem; }

/* ---------- 10. STATS (banda noche) ---------- */
.stats { background: var(--night); color: #fff; padding: 76px 0; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 50% -10%, rgba(226,118,43,.22), transparent 60%); }
.stats__kicker { position: relative; text-align: center; font-family: 'Inter'; font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 34px; }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 14%; height: 72%; width: 1px; background: var(--line-dark); }
.stat__num { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: 1; color: #fff; letter-spacing: -.03em; background: var(--sunset); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { display: block; margin-top: 10px; font-size: .92rem; color: var(--on-dark-soft); }

/* ---------- 10b. SECTORES — quién somos para quién ---------- */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sec-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none; color: inherit;
  position: relative; overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.sec-card::after {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--sunset);
  transform: scaleX(0); transform-origin: left;
  transition: transform .32s ease;
}
.sec-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: rgba(242,165,58,.45); }
.sec-card:hover::after { transform: scaleX(1); }
.sec-card:focus-visible { outline: 3px solid rgba(242,165,58,.55); outline-offset: 3px; border-radius: var(--r); }

.sec-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--ember);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: background .22s ease;
}
.sec-card__icon svg { width: 22px; height: 22px; }
.sec-card:hover .sec-card__icon { background: var(--gold); color: #1a0800; }

.sec-card__name {
  font-family: 'Archivo', sans-serif;
  font-size: .97rem; font-weight: 800;
  color: var(--ink); line-height: 1.25;
}

.sec-card__desc {
  font-size: .83rem; color: var(--body);
  line-height: 1.65; flex: 1;
}

.sec-card__client {
  display: flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 600;
  color: var(--muted);
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.sec-card__client svg { color: var(--gold); flex-shrink: 0; }
.sec-card:hover .sec-card__client { color: var(--gold); }

/* CTA footer dentro de un sec-card tipo <article> (servicios) */
.sec-card__link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .78rem; font-weight: 700;
  color: var(--ember);
  padding-top: 12px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: color .18s ease, gap .2s ease;
}
.sec-card__link:hover,
.sec-card:hover .sec-card__link { color: var(--gold); gap: 11px; }
.sec-card__link svg { width: 14px; height: 14px; flex-shrink: 0; }

@media (max-width: 1024px) { .sec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .sec-grid { grid-template-columns: 1fr; gap: 12px; } .sec-card { padding: 20px 16px 18px; } }

/* ---------- 10c. SECTORES — lista editorial horizontal ---------- */
.sec-list { margin-top: 52px; }

.sec-strip {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 0 20px 20px;
  border-top: 1px solid var(--line);
  text-decoration: none; color: inherit;
  position: relative;
  transition: padding-left .25s cubic-bezier(.4,0,.2,1), background .2s ease;
}
.sec-strip:last-child { border-bottom: 1px solid var(--line); }

.sec-strip::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--sunset);
  transform: scaleY(0); transform-origin: center;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  border-radius: 0 2px 2px 0;
}
.sec-strip:hover { padding-left: 28px; background: rgba(242,165,58,.025); }
.sec-strip:hover::before { transform: scaleY(1); }
.sec-strip:focus-visible { outline: 2px solid rgba(242,165,58,.5); outline-offset: 2px; border-radius: 4px; }

.sec-strip__num {
  font-family: 'Archivo', sans-serif;
  font-size: .66rem; font-weight: 800;
  color: var(--muted); letter-spacing: .14em;
  min-width: 22px; flex-shrink: 0;
}

.sec-strip__icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--gold-soft); color: var(--ember);
  display: grid; place-items: center; flex-shrink: 0;
  transition: background .22s ease, color .22s ease;
}
.sec-strip__icon svg { width: 18px; height: 18px; }
.sec-strip:hover .sec-strip__icon { background: var(--gold); color: #1a0800; }

.sec-strip__name {
  font-family: 'Archivo', sans-serif;
  font-size: 1rem; font-weight: 800;
  color: var(--ink); line-height: 1.2;
  min-width: 215px; flex-shrink: 0;
  transition: color .18s ease;
}
.sec-strip:hover .sec-strip__name { color: var(--ember); }

.sec-strip__sep {
  width: 24px; height: 1px; background: var(--line); flex-shrink: 0;
}

.sec-strip__desc {
  font-size: .84rem; color: var(--body); flex: 1; line-height: 1.55;
}


.sec-strip__arrow {
  font-size: 1rem; color: var(--muted);
  flex-shrink: 0; line-height: 1;
  transition: color .18s ease, transform .2s ease;
}
.sec-strip:hover .sec-strip__arrow { color: var(--gold); transform: translateX(5px); }

@media (max-width: 900px) {
  .sec-strip { flex-wrap: wrap; gap: 10px 14px; padding: 18px 0 18px 16px; }
  .sec-strip__name { min-width: 0; }
  .sec-strip__sep, .sec-strip__arrow { display: none; }
  .sec-strip__client { margin-left: 0; padding-left: 0; }
  .sec-strip__desc { order: 10; flex: 100%; }
}
@media (max-width: 560px) {
  .sec-strip:hover { padding-left: 14px; }
}

/* ---------- 11. MARCAS — tecnología certificada que instalamos ---------- */
.brands-section {
  background: var(--paper);
  padding: 52px 0 56px;
  position: relative;
}
.brands-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-2) 30%, var(--gold) 50%, var(--ember) 70%, transparent 100%);
}

.brands-section__eyebrow {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.brands-section__eyebrow::before,
.brands-section__eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
  max-width: 100px;
}

.brands-section__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.brand-tile {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 20px 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  width: calc(25% - 11px); min-width: 148px; max-width: 220px;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  cursor: default;
}
.brand-tile:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(10,27,48,.1); border-color: var(--gold); }

.brand-tile::after {
  content: ''; position: absolute; top: -3px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-2) 35%, var(--gold) 65%, transparent);
  opacity: 0;
}
.brand-tile:hover::after { opacity: 1; animation: btScan .55s ease forwards; }
@keyframes btScan { from { top: -3px; opacity: 1; } to { top: 110%; opacity: 0; } }

.brand-tile__brk { position: absolute; width: 11px; height: 11px; border: 1.5px solid transparent; transition: border-color .22s ease, width .22s ease, height .22s ease; pointer-events: none; }
.brand-tile__brk--tl { top: 7px;    left: 7px;   border-right: 0; border-bottom: 0; }
.brand-tile__brk--tr { top: 7px;    right: 7px;  border-left: 0;  border-bottom: 0; }
.brand-tile__brk--bl { bottom: 7px; left: 7px;   border-right: 0; border-top: 0; }
.brand-tile__brk--br { bottom: 7px; right: 7px;  border-left: 0;  border-top: 0; }
.brand-tile:hover .brand-tile__brk { border-color: var(--gold); width: 15px; height: 15px; }

.brand-tile__logo { height: 40px; width: 100%; display: flex; align-items: center; justify-content: center; }
.brand-tile__logo svg { max-height: 40px; width: auto; max-width: 100%; overflow: visible; }
.brand-tile__logo img {
  max-height: 40px; width: auto; max-width: 100%;
  filter: grayscale(100%) opacity(0.45);
  transition: filter .28s ease;
}
.brand-tile:hover .brand-tile__logo img { filter: grayscale(0%) opacity(1); }

@media (max-width: 900px) { .brand-tile { width: calc(33.333% - 10px); } }
@media (max-width: 580px) { .brand-tile { width: calc(50% - 8px); } }
@media (max-width: 340px) { .brand-tile { width: 100%; max-width: none; } }

/* ---------- 12. POR QUÉ — acordeón horizontal ---------- */
.ra {
  display: flex;
  gap: 4px;
  height: 460px;
  margin-top: 56px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(10,27,48,.18);
}

/* Colores diferenciados por panel para romper la monotonía */
.ra__panel:nth-child(1) { background: #0A1B30; }
.ra__panel:nth-child(2) { background: #0C1E36; }
.ra__panel:nth-child(3) { background: #091928; }
.ra__panel:nth-child(4) { background: #0E2040; }

.ra__panel {
  flex: 1;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: flex .6s cubic-bezier(.4,0,.2,1);
  outline: none;
}
.ra__panel:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.ra__panel.is-active { flex: 4.5; }

/* Glow ámbaro — se activa con el panel */
.ra__panel::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230,168,35,.14) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity .55s ease;
}
.ra__panel.is-active::after { opacity: 1; }

/* Barra dorada animada arriba */
.ra__panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--ember));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
  z-index: 4;
}
.ra__panel.is-active::before { transform: scaleX(1); }

/* Vista colapsada */
.ra__shut {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 24px 6px;
  opacity: 1;
  transition: opacity .15s ease;
}
.ra__panel.is-active .ra__shut { opacity: 0; pointer-events: none; }
.ra__num {
  font-family: 'Archivo', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  opacity: .8;
}
.ra__tag {
  font-size: .68rem;
  font-weight: 700;
  color: var(--on-dark-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

/* Vista expandida */
.ra__open {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 100%;
  z-index: 1;
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .12s ease;
}
.ra__panel.is-active .ra__open { opacity: 1; pointer-events: auto; transition: opacity .32s ease .15s; }

.ra__ghost {
  display: none;
  font-family: 'Archivo', sans-serif;
  font-size: clamp(5rem, 8vw, 8rem);
  font-weight: 900;
  color: var(--gold);
  opacity: .15;
  line-height: 1;
  letter-spacing: -.05em;
  margin-bottom: 12px;
  user-select: none;
}
.ra__open h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.22;
}
.ra__open p {
  font-size: .95rem;
  color: var(--on-dark-soft);
  line-height: 1.75;
  margin: 0;
  max-width: 500px;
}

/* Mobile: acordeón vertical */
@media (max-width: 800px) {
  .ra { flex-direction: column; height: auto; gap: 4px; }
  .ra__panel { flex: none; min-height: 64px; border-radius: 0; }
  .ra__panel.is-active { flex: none; }

  .ra__panel::before { bottom: 0; top: auto; height: 3px; right: 0; transform: scaleX(0); }
  .ra__panel.is-active::before { transform: scaleX(1); }

  .ra__shut {
    flex-direction: row;
    justify-content: flex-start;
    padding: 20px 22px;
    gap: 14px;
    position: relative;
    inset: auto;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .ra__tag { writing-mode: horizontal-tb; transform: none; font-size: .75rem; color: var(--on-dark-soft); }

  .ra__open {
    position: relative;
    inset: auto;
    min-width: unset;
    padding: 14px 22px 28px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    text-align: left;
    align-items: flex-start;
    /* Cierre: opacity desaparece rápido, luego colapsa */
    transition: opacity .18s ease, max-height .38s cubic-bezier(.4,0,.2,1) .05s;
  }
  .ra__panel.is-active .ra__open {
    max-height: 600px;
    opacity: 1;
    pointer-events: auto;
    /* Apertura: panel se expande, luego texto aparece */
    transition: max-height .42s cubic-bezier(.4,0,.2,1), opacity .3s ease .1s;
  }
  .ra__open p { max-width: 100%; }
  .ra__ghost { display: none; }
  .ra__bg { display: none; }
}

/* ---------- 12. PROCESO — editorial ---------- */
.proc { list-style: none; margin: 72px 0 0; padding: 0; }

.proc__step {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0 72px;
  padding: 52px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.proc__step:last-child { border-bottom: 1px solid var(--line); }

.proc__left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 6px;
}
.proc__idx {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--body-muted);
}
.proc__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--gold);
  font-size: .68rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.proc__right { position: relative; overflow: hidden; }
.proc__ghost {
  position: absolute;
  right: -10px; top: 50%;
  transform: translateY(-54%);
  font-family: 'Archivo', sans-serif;
  font-size: clamp(7rem, 11vw, 11rem);
  font-weight: 900;
  color: var(--ink);
  opacity: .04;
  line-height: 1;
  letter-spacing: -.06em;
  user-select: none;
  pointer-events: none;
}
.proc__title {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.28;
  margin: 0 0 16px;
  max-width: 580px;
}
.proc__desc {
  font-size: .96rem;
  color: var(--body);
  line-height: 1.78;
  max-width: 560px;
  margin: 0;
}

/* CTA footer de sección */
.proc__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding: 36px 44px;
  background: var(--night);
  border-radius: 18px;
  flex-wrap: wrap;
}
.proc__footer-copy strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 5px;
}
.proc__footer-copy span {
  font-size: .9rem;
  color: var(--on-dark-soft);
}

@media (max-width: 860px) {
  .proc__step { grid-template-columns: 1fr; gap: 14px 0; padding: 36px 0; }
  .proc__ghost { display: none; }
  .proc__footer { padding: 28px 24px; }
}
@media (max-width: 560px) {
  .proc__footer { flex-direction: column; align-items: flex-start; }
}

/* ---------- 13. PORTAFOLIO — monitor wall ---------- */
/* Grid — monitor wall */
.work {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
/* Monitor card base */
.work__item {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: #04090f;
  border: 2px solid #0c1826;
  box-shadow: 0 8px 28px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.03);
  transition: border-color .28s ease, box-shadow .28s ease;
}
.work__item:hover {
  border-color: rgba(230,168,35,.55);
  box-shadow: 0 0 0 1px rgba(230,168,35,.2), 0 20px 44px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.05);
}

/* Hero — igual que los demás en la grilla 3×3 */
.work__item--hero { aspect-ratio: 16 / 9; }

/* Scanline texture overlay */
.work__item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 2px,
    rgba(0,0,0,.055) 2px,
    rgba(0,0,0,.055) 4px
  );
  pointer-events: none;
  z-index: 5;
}

/* Video — siempre visible como fondo en vivo */
.work__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity .5s ease;
}

/* HUD — siempre visible, más brillante en hover */
.work__hud {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(0,0,0,.72) 0%, transparent 100%);
  font-family: 'Courier New', monospace;
  font-size: .58rem;
  letter-spacing: .07em;
  opacity: .75;
  transition: opacity .22s ease;
}
.work__item:hover .work__hud { opacity: 1; }

/* REC siempre activo y parpadeando */
.work__rec {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: #ff4444;
  text-transform: uppercase;
}
.work__rec-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ff4444;
  flex-shrink: 0;
  animation: rec-blink 1.3s ease-in-out infinite;
}
@keyframes rec-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .15; }
}
.work__cam { color: rgba(255,255,255,.5); }
.work__ts { margin-left: auto; color: rgba(255,255,255,.38); }

/* Estado pausado: icono ▶ pequeño en esquina inferior derecha */
.work__play {
  position: absolute;
  bottom: 38px; right: 12px;
  z-index: 5;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(242,165,58,.4);
  color: var(--gold);
  opacity: 1;
  transition: opacity .22s ease, background .22s ease, transform .22s ease;
  pointer-events: none;
}
.work__play svg { width: 11px; height: 11px; margin-left: 2px; }

/* En hover: ícono crece y se vuelve gold llamando al modal */
.work__item:hover .work__play {
  width: 52px; height: 52px;
  bottom: auto; right: auto;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold);
  border-color: transparent;
  color: #1a0d00;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
.work__item:hover .work__play svg { width: 20px; height: 20px; margin-left: 3px; }

/* Info overlay — siempre visible abajo */
.work__info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 4;
  padding: 44px 14px 14px;
  background: linear-gradient(0deg, rgba(4,9,15,.88) 0%, transparent 100%);
  opacity: 1;
  transform: translateY(0);
}
.work__item:hover .work__info { background: linear-gradient(0deg, rgba(4,9,15,.97) 0%, transparent 100%); }

.work__sector {
  display: block;
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
  font-family: 'Courier New', monospace;
}
.work__info h3 { color: #fff; font-size: .98rem; font-weight: 800; margin: 0 0 2px; line-height: 1.2; }
.work__loc { font-size: .75rem; color: rgba(255,255,255,.45); }

/* Items colapsados (ocultos por defecto, JS los revela) */
.work__item.is-collapsed {
  display: none;
}

/* Botón "Ver más proyectos" */
.portfolio__expand {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.portfolio__expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid rgba(242,165,58,.4);
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 12px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .22s ease, background .22s ease, color .22s ease;
}
.portfolio__expand-btn:hover {
  border-color: var(--gold);
  background: rgba(242,165,58,.08);
}
.portfolio__expand-btn svg {
  width: 16px; height: 16px;
  transition: transform .3s ease;
}
.portfolio__expand.is-hidden {
  display: none;
}

/* Footer CTA */
.portfolio__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.portfolio__footer-text {
  font-size: .95rem;
  color: var(--on-dark-soft);
  font-style: italic;
}

/* Responsive */
@media (max-width: 900px) {
  .work { grid-template-columns: repeat(2, 1fr); gap: 4px; }
}
@media (max-width: 560px) {
  .work { grid-template-columns: 1fr; gap: 4px; }
  .work__hud { opacity: 1; }
  .work__info { opacity: 1; transform: translateY(0); }
}

/* ---------- 14. COBERTURA — dispatch board ---------- */
.ops {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.ops__text { display: flex; flex-direction: column; gap: 32px; }
.ops__text .head__title { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 0; }
.ops__text .head__lead { margin-bottom: 0; }

/* Métricas de cobertura */
.ops-metrics {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 20px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
/* Métricas numéricas */
.ops-metric { flex: 1; text-align: center; }
.ops-metric__num {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--gold);
  line-height: 1;
}
.ops-metric__unit { font-size: .65em; font-weight: 700; margin-left: 2px; color: var(--gold); }
.ops-metric__label {
  display: block;
  font-size: .6rem;
  font-family: 'Courier New', monospace;
  color: var(--on-dark-muted);
  letter-spacing: .08em;
  margin-top: 5px;
}
.ops-metric__div { width: 1px; height: 44px; background: var(--line-dark); flex-shrink: 0; }

/* ── Dispatch board ── */
.dispatch {
  border-radius: var(--r-lg);
  border: 1px solid rgba(242,165,58,.18);
  overflow: hidden;
  background: #060E1A;
  box-shadow: 0 0 0 1px rgba(242,165,58,.06) inset, 0 32px 72px rgba(0,0,0,.5);
}

/* Header del board */
.dispatch__hdr {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(242,165,58,.12);
  background: rgba(242,165,58,.04);
}
.dispatch__rec {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Courier New', monospace;
  font-size: .5rem;
  letter-spacing: .1em;
  color: var(--gold);
  white-space: nowrap;
}
.dispatch__rec-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: rec-blink 1.8s ease-in-out infinite;
}
@keyframes rec-blink { 0%,100% { opacity: 1; } 50% { opacity: .2; } }
.dispatch__title {
  flex: 1;
  font-family: 'Courier New', monospace;
  font-size: .48rem;
  letter-spacing: .1em;
  color: var(--on-dark-muted);
  text-align: center;
}
.dispatch__id {
  font-family: 'Courier New', monospace;
  font-size: .48rem;
  letter-spacing: .1em;
  color: var(--on-dark-muted);
  white-space: nowrap;
}

/* Grid de zonas */
.dispatch__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(242,165,58,.08);
}

/* Zona individual */
.dispatch__zone {
  background: #07101E;
  padding: 13px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: background .18s ease;
}
.dispatch__zone:hover { background: rgba(242,165,58,.07); }
.dispatch__zone-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dispatch__status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Courier New', monospace;
  font-size: .46rem;
  letter-spacing: .08em;
  color: rgba(100,200,130,.75);
}
.dispatch__status--ext { color: rgba(150,180,220,.45); }
.dispatch__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(100,200,130,.85);
  box-shadow: 0 0 5px 1px rgba(100,200,130,.35);
  flex-shrink: 0;
  animation: blip-pulse 3s ease-in-out infinite;
}
.dispatch__dot--ext {
  background: rgba(150,180,220,.35);
  box-shadow: none;
  animation: none;
}
.dispatch__code {
  font-family: 'Courier New', monospace;
  font-size: .44rem;
  letter-spacing: .08em;
  color: var(--on-dark-muted);
}
.dispatch__name {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: .98rem;
  color: var(--on-dark);
  line-height: 1;
  letter-spacing: -.01em;
}
.dispatch__meta {
  font-family: 'Courier New', monospace;
  font-size: .44rem;
  letter-spacing: .06em;
  color: var(--on-dark-muted);
}

/* Sede principal (full width) */
.dispatch__zone--hq {
  grid-column: span 2;
  background: rgba(242,165,58,.07);
  border-bottom: 1px solid rgba(242,165,58,.15);
}
.dispatch__zone--hq:hover { background: rgba(242,165,58,.11); }
.dispatch__zone--hq .dispatch__status { color: var(--gold); }
.dispatch__zone--hq .dispatch__dot {
  background: var(--gold);
  box-shadow: 0 0 8px 2px rgba(242,165,58,.45);
  animation: none;
}
.dispatch__zone--hq .dispatch__name { font-size: 1.2rem; color: var(--gold); }
.dispatch__zone--hq .dispatch__meta { color: rgba(242,165,58,.4); }

/* Zona extendida */
.dispatch__zone--ext .dispatch__name { color: var(--on-dark-soft); font-size: .88rem; }

/* Footer del board */
.dispatch__ftr {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-top: 1px solid rgba(242,165,58,.12);
  font-family: 'Courier New', monospace;
  font-size: .44rem;
  letter-spacing: .1em;
  color: var(--on-dark-muted);
  background: rgba(242,165,58,.02);
}
.dispatch__ftr-pip { flex: 1; height: 1px; background: rgba(255,255,255,.05); }

/* ---------- 15. SECTORES (banda) ---------- */
.sectors { background: var(--night); color: #fff; padding: 30px 0; }
.sectors .container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; justify-content: center; }
.sectors p { font-family: 'Archivo'; font-weight: 700; color: var(--gold-2); font-size: 1.05rem; }
.sectors ul { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sectors li { font-size: .9rem; color: var(--on-dark-soft); padding: 6px 14px; border: 1px solid var(--line-dark); border-radius: var(--r-pill); }

/* ---------- 16. FAQ acordeón ---------- */
.faq3 { margin-top: 52px; }

.faq3__item {
  border-top: 1px solid var(--line);
  transition: border-color .2s ease;
}
.faq3__item:last-child { border-bottom: 1px solid var(--line); }
.faq3__item[open] { border-color: var(--gold); }

.faq3__q {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  font-family: 'Archivo', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  transition: color .18s ease;
}
.faq3__q::-webkit-details-marker { display: none; }
.faq3__item[open] .faq3__q { color: var(--ember); }

/* Indicador +/− */
.faq3__q::after {
  content: '';
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%23E6A823' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform .3s ease, border-color .2s ease, background-color .2s ease;
}
.faq3__item[open] .faq3__q::after {
  transform: rotate(45deg);
  border-color: var(--gold);
  background-color: rgba(230,168,35,.08);
}

.faq3__a {
  font-size: .98rem;
  line-height: 1.78;
  color: var(--body);
  padding: 0 44px 26px 0;
  max-width: 680px;
}
.faq3__a strong { color: var(--ink); font-weight: 700; }

.faq3__footer {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.faq3__footer p { font-size: 1rem; color: var(--muted); font-weight: 500; margin: 0; }

/* ---------- 17. CONTACTO ---------- */

/* Status bar */
.ct-status {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 12px 22px; margin-bottom: 40px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  font-family: 'Courier New', monospace;
  font-size: .75rem; letter-spacing: .06em;
  color: rgba(255,255,255,.45);
}
.ct-status__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--wa); flex-shrink: 0;
  animation: ct-pulse 2.2s ease-in-out infinite;
}
@keyframes ct-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  55%      { box-shadow: 0 0 0 7px rgba(37,211,102,0); }
}
.ct-status strong { color: rgba(255,255,255,.82); }
.ct-status__sep { color: rgba(255,255,255,.18); }

/* ── Sala de Operaciones — panel unificado ── */
.ct-ops {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}

/* Panel izquierdo: canal directo */
.ct-ops__left {
  position: relative;
  padding: clamp(40px, 5vw, 64px);
  background: linear-gradient(160deg, rgba(37,211,102,.07) 0%, var(--night) 72%);
  display: flex; flex-direction: column;
  border-right: 1px solid rgba(255,255,255,.08);
}

/* Corchetes más sutiles dentro del panel */
.ct-ops__left .bracket {
  width: 20px; height: 20px;
  border-color: rgba(242,165,58,.3);
}

/* Etiqueta tipo terminal */
.ct-ops__label {
  font-family: 'Courier New', monospace;
  font-size: .62rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 32px;
}

/* Headline del panel */
.ct-ops__headline {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: 900; line-height: 1.06;
  letter-spacing: -.025em; color: #fff;
  margin-bottom: 18px;
}

/* Descripción */
.ct-ops__desc {
  font-size: .95rem; line-height: 1.72;
  color: var(--on-dark-soft);
  margin-bottom: 36px; max-width: 420px;
}

/* Botón WhatsApp — protagonista del panel */
.ct-ops__wa {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 28px;
  background: var(--wa); color: #fff;
  border-radius: var(--r);
  font-weight: 700; font-size: .97rem;
  text-decoration: none;
  animation: wa-glow 2.8s ease-in-out infinite;
  transition: opacity .15s ease, transform .18s cubic-bezier(.34,1.56,.64,1);
}
.ct-ops__wa:hover { opacity: .92; transform: translateY(-3px); }
@keyframes wa-glow {
  0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  50%      { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
}

/* Divisor */
.ct-ops__divider {
  height: 1px;
  background: rgba(255,255,255,.07);
  margin: 32px 0;
}

/* Info de contacto — anclada al fondo */
.ct-ops__info {
  list-style: none; margin-top: auto;
  display: flex; flex-direction: column; gap: 12px;
}
.ct-ops__info li {
  display: flex; align-items: center; gap: 10px;
  font-size: .87rem; color: var(--on-dark-soft);
}
.ct-ops__info li svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; opacity: .7; }
.ct-ops__info a { color: var(--on-dark-soft); transition: color .15s ease; }
.ct-ops__info a:hover { color: var(--gold); }

/* Panel derecho: formulario diagnóstico */
.ct-ops__right {
  background: var(--night-2);
  box-shadow: inset 3px 0 0 var(--gold);
  display: flex; flex-direction: column;
}

/* Cabecera HUD — DIAGNÓSTICO REF: XXXX */
.ct-diag-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  background: rgba(0,0,0,.25);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.ct-diag-label {
  font-family: 'Courier New', monospace;
  font-size: .63rem; font-weight: 700;
  letter-spacing: .14em; color: var(--gold);
}
.ct-diag-ref {
  font-family: 'Courier New', monospace;
  font-size: .63rem; letter-spacing: .1em;
  color: rgba(255,255,255,.22);
}

/* Contenedor del formulario */
.ct-form-body { padding: 28px 32px 0; flex: 1; }

/* Fila doble: nombre + teléfono */
.ct-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Campos de texto en fondo oscuro */
.ct-form { display: flex; flex-direction: column; }
.ct-field { margin-bottom: 14px; }
.ct-field label {
  display: block; margin-bottom: 6px;
  font-size: .76rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.ct-field label span { color: var(--ember); }
.ct-field label small { color: rgba(255,255,255,.3); font-weight: 400; text-transform: none; letter-spacing: 0; }
.ct-field input, .ct-field select, .ct-field textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 10px;
  background: rgba(255,255,255,.06); color: #fff;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.ct-field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.45)' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.ct-field input::placeholder, .ct-field textarea::placeholder { color: rgba(255,255,255,.28); }
.ct-field input:focus, .ct-field select:focus, .ct-field textarea:focus {
  outline: none; border-color: var(--gold);
  background: rgba(255,255,255,.09);
  box-shadow: 0 0 0 3px rgba(242,165,58,.16);
}
.ct-field select option { background: #0a1e33; color: #fff; }
.ct-field textarea { resize: vertical; min-height: 76px; }

/* Qué sucede después */
.ct-flow {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 18px 32px 24px;
  border-top: 1px solid rgba(255,255,255,.07);
  margin-top: 4px;
}
.ct-flow__step { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ct-flow__num {
  font-family: 'Courier New', monospace;
  font-size: .66rem; font-weight: 700;
  letter-spacing: .08em; color: var(--gold);
}
.ct-flow__label { font-size: .77rem; line-height: 1.42; color: rgba(255,255,255,.45); }
.ct-flow__arrow { color: rgba(255,255,255,.18); font-size: .8rem; padding-top: 3px; flex-shrink: 0; }

/* Legacy — mantener por si acaso */
.contact__form { background: var(--white); border-radius: var(--r-lg); padding: 30px 28px; box-shadow: var(--sh-lg); }
.contact__form-title { font-size: 1.25rem; font-weight: 800; color: var(--ink); margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field label span { color: var(--ember); }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: var(--paper); transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(242,165,58,.18); }
.field textarea { resize: vertical; min-height: 82px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form__status { margin-top: 14px; font-size: .9rem; font-weight: 600; min-height: 1.2em; text-align: center; }
.form__status.is-ok { color: #15803d; }
.form__status.is-err { color: #dc2626; }
.form__note { margin-top: 14px; font-size: .84rem; color: var(--muted); text-align: center; }
.form__note a { color: var(--ember); font-weight: 600; }
.is-loading { opacity: .7; pointer-events: none; }

/* ---------- 18. FOOTER ---------- */
.footer {
  background: #06101D;
  color: var(--on-dark-soft);
  padding: 0;
  position: relative;
  overflow: hidden;
}

/* --- Pre-footer CTA band --- */
.footer__cta {
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 56px 0;
  position: relative;
  background: linear-gradient(135deg, #0D1F35 0%, #07121F 100%);
}
.footer__cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 120% at 0% 50%, rgba(242,165,58,.09) 0%, transparent 65%);
  pointer-events: none;
}
.footer__cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
}
.footer__cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Courier New', monospace;
  font-size: .63rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  margin-bottom: 14px;
}
.footer__cta-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(242,165,58,.5); }
  50%       { opacity: .3; box-shadow: 0 0 0 6px rgba(242,165,58,0); }
}
.footer__cta-headline {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.13;
  color: #fff;
  letter-spacing: -.03em;
  margin: 0;
}
.footer__cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  flex-shrink: 0;
}
.footer__cta-tel {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.42);
  transition: color .15s ease;
}
.footer__cta-tel:hover { color: rgba(255,255,255,.82); }

/* --- Main footer grid --- */
.footer__body {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 60px);
  padding-top: 64px;
  padding-bottom: 56px;
}
.footer__col { display: flex; flex-direction: column; }

.footer__col--brand .footer__logo { margin-bottom: 18px; }
.footer .logo__img { height: 22px; }

.footer__desc {
  font-size: .875rem;
  color: rgba(255,255,255,.32);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 260px;
}

/* Social icons */
.footer__socials { display: flex; align-items: center; gap: 8px; }
.footer__social {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.38);
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.footer__social:hover { background: rgba(242,165,58,.12); border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.footer__social--wa { color: rgba(37,211,102,.55); }
.footer__social--wa:hover { background: rgba(37,211,102,.1); border-color: var(--wa); color: var(--wa); }

/* Column titles */
.footer__col-title {
  font-family: 'Archivo', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(242,165,58,.14);
}

/* Navigation links */
.footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1px; }
.footer__links a {
  display: inline-block;
  font-size: .855rem;
  color: rgba(255,255,255,.36);
  padding: 5px 0;
  transition: color .15s ease, padding-left .15s ease;
}
.footer__links a:hover { color: rgba(255,255,255,.82); padding-left: 6px; }

/* Contact info list */
.footer__info { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.footer__info-item { display: flex; align-items: flex-start; gap: 12px; }
.footer__info-icon {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(242,165,58,.07);
  border: 1px solid rgba(242,165,58,.12);
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}
.footer__info-item a,
.footer__info-item > span { font-size: .855rem; color: rgba(255,255,255,.5); line-height: 1.55; transition: color .15s ease; }
.footer__info-item a:hover { color: rgba(255,255,255,.9); }
.footer__info-sub { font-size: .77rem; color: rgba(255,255,255,.26); display: block; }
.footer__info-emergency { color: rgba(37,211,102,.5) !important; }

/* GPS / tactical strip */
.footer__divider { border-top: 1px solid rgba(255,255,255,.06); }
.footer__coords {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap; justify-content: center;
  font-family: 'Courier New', monospace;
  font-size: .62rem; letter-spacing: .13em;
  color: rgba(255,255,255,.16);
  padding-top: 20px;
  padding-bottom: 20px;
}
.footer__coords-sep { color: rgba(255,255,255,.08); font-size: .5rem; }

/* Copyright */
.footer__bottom { border-top: 1px solid rgba(255,255,255,.05); padding: 18px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.footer__bottom p { font-size: .73rem; color: rgba(255,255,255,.14); }
.footer__bottom a { color: rgba(255,255,255,.26); font-weight: 500; transition: color .15s ease; }
.footer__bottom a:hover { color: var(--gold); }

/* ---------- 19. WHATSAPP FLOTANTE ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: inline-flex; align-items: center; justify-content: center; background: var(--wa); color: #fff; padding: 15px; border-radius: 50%; box-shadow: 0 10px 28px rgba(37,211,102,.42); opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .3s ease, transform .3s ease, visibility .3s ease; }
.wa-float.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.wa-float:hover { background: #1FB855; transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; flex-shrink: 0; }
.wa-float__text { display: none; }

/* ---------- 20. MODAL ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6,12,22,.85); backdrop-filter: blur(5px); animation: fade .2s ease; }
.modal__dialog { position: relative; width: 100%; max-width: 940px; background: #06101D; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); border: 1px solid var(--night-3); animation: zoom .22s ease; }
.modal__head { display: flex; align-items: baseline; gap: 12px; padding: 16px 20px; }
.modal__head h3 { color: #fff; font-size: 1.05rem; font-weight: 800; }
.modal__head span { font-size: .82rem; color: var(--gold-2); }
.modal__video { width: 100%; max-height: 74vh; background: #000; }
.modal__close { position: absolute; top: 12px; right: 14px; z-index: 3; width: 40px; height: 40px; font-size: 1.6rem; line-height: 1; color: #fff; background: rgba(255,255,255,.14); border-radius: 50%; transition: background-color .15s ease; }
.modal__close:hover { background: var(--gold); color: #2A1402; }
@keyframes fade { from { opacity: 0;} to { opacity: 1;} }
@keyframes zoom { from { opacity: 0; transform: scale(.96);} to { opacity: 1; transform: scale(1);} }

/* ---------- 21. REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ---------- 22. RESEÑAS GOOGLE ---------- */

/* Sección completa */
.reviews-section { background: var(--white); }

/* -- Barra de confianza -- */
.trust-bar {
  background: var(--night);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 18px 0;
  overflow: hidden;
}
.trust-bar__inner {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.trust-bar__rating {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.trust-bar__google { width: 22px; height: 22px; flex-shrink: 0; }
.trust-bar__stars { display: flex; gap: 2px; }
.trust-bar__stars .star { color: #FBBC05; font-size: 1rem; line-height: 1; }
.trust-bar__score {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: 1.1rem; color: #fff;
}
.trust-bar__count { font-size: .82rem; color: var(--on-dark-muted); white-space: nowrap; }
.trust-bar__divider {
  width: 1px; height: 28px; background: var(--line-dark); flex-shrink: 0;
}
.trust-bar__claim {
  font-size: .88rem; color: var(--on-dark-soft); white-space: nowrap; flex-shrink: 0;
}
.trust-bar__claim strong { color: #fff; }
.trust-bar__marquee {
  flex: 1; min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.trust-bar__marquee .marquee__track span { font-size: 1rem; color: var(--on-dark-muted); }

/* -- Sección de reseñas -- */
.reviews-section .head { padding-top: 80px; }

/* Contenedor del carrusel */
.reviews-grid { margin-bottom: 40px; }

.carousel { position: relative; padding: 0 56px; }
.carousel__viewport { overflow: hidden; cursor: grab; }
.carousel__viewport.is-dragging { cursor: grabbing; user-select: none; }
.carousel__track {
  display: flex; gap: 20px;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.carousel__track .review-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
}

/* Flechas */
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 48px; height: 48px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--sh-md); color: var(--ink);
  display: grid; place-items: center;
  transition: background .15s, box-shadow .15s, opacity .15s;
}
.carousel__btn:hover { background: var(--gold); color: #2A1402; box-shadow: var(--sh-gold); }
.carousel__btn:disabled { opacity: .3; pointer-events: none; }
.carousel__btn--prev { left: 0; }
.carousel__btn--next { right: 0; }

/* Dots */
.carousel__dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 28px;
}
.carousel__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line); border: none; cursor: pointer;
  transition: background .2s, transform .2s, width .2s;
}
.carousel__dot.is-active { background: var(--gold); width: 24px; border-radius: 4px; }

/* Tarjeta individual */
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 22px;
  box-shadow: var(--sh-sm);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative; overflow: hidden;
}
.review-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #FBBC05, #EA4335, #4285F4, #34A853);
  opacity: 0; transition: opacity .2s ease;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: #e0d8ce; }
.review-card:hover::before { opacity: 1; }

/* Cabecera de la card */
.review-card__header { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.1rem; color: #fff;
}
.review-card__meta { flex: 1; min-width: 0; }
.review-card__author {
  font-family: 'Archivo', sans-serif; font-weight: 700;
  font-size: .96rem; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.review-card__business {
  font-size: .8rem; color: var(--muted); margin-top: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.review-card__google-icon { flex-shrink: 0; width: 20px; height: 20px; opacity: .7; }

/* Estrellas */
.review-card__stars { display: flex; gap: 2px; }
.review-card__stars .star { color: #FBBC05; font-size: .95rem; }
.review-card__stars .star--empty { color: var(--line); }

/* Texto */
.review-card__text {
  font-size: .91rem; color: var(--body); line-height: 1.65;
  flex: 1;
  display: -webkit-box; -webkit-line-clamp: 5; line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}

/* Pie de la card */
.review-card__footer {
  font-size: .78rem; color: var(--muted); padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.review-card__verified {
  display: inline-flex; align-items: center; gap: 5px;
  color: #34A853; font-weight: 600; font-size: .75rem;
}

/* Colores de avatares */
.review-card__avatar--photo { object-fit: cover; }
.review-card__avatar--a { background: linear-gradient(135deg, #4285F4, #1565C0); }
.review-card__avatar--b { background: linear-gradient(135deg, #34A853, #1B5E20); }
.review-card__avatar--c { background: linear-gradient(135deg, #EA4335, #B71C1C); }
.review-card__avatar--d { background: linear-gradient(135deg, #FBBC05, #E65100); }
.review-card__avatar--e { background: linear-gradient(135deg, #9C27B0, #4A148C); }
.review-card__avatar--f { background: linear-gradient(135deg, #00BCD4, #006064); }
.review-card__avatar--g { background: linear-gradient(135deg, #FF5722, #BF360C); }
.review-card__avatar--h { background: linear-gradient(135deg, #607D8B, #263238); }

/* Estado vacío / error de reseñas */
.reviews-empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Skeletons mientras carga */
.reviews-skeleton { display: contents; }
.skeleton-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  height: 220px; animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  0%, 100% { opacity: 1; } 50% { opacity: .5; }
}

/* Footer de la sección */
.reviews-footer {
  display: flex; justify-content: center; padding-bottom: 80px;
}
.reviews-footer__link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .95rem;
}

/* ---------- 23. RESPONSIVE ---------- */

/* 1280px — primer escalado */
@media (min-width: 1280px) {
  .hero { padding: 110px 0 90px; }
  .hero__split { gap: 72px; }
  .hero__title { font-size: clamp(3rem, 3.6vw, 4rem); }
  .hero__sub { font-size: 1.2rem; }
  .monitor { max-width: 100%; }
  .monitor__feeds { gap: 3px; }
  .monitor__bar { padding: 12px 18px; }
  .monitor__status { padding: 11px 18px; }
  .feed__tag { font-size: .65rem; top: 9px; left: 10px; }
  .feed__loc { font-size: .62rem; bottom: 9px; left: 10px; }
}

/* 1440px — pantallas grandes (QHD, 24-27") */
@media (min-width: 1440px) {
  :root { --container: 1360px; }
  .section { padding: 108px 0; }
  .hero { padding: 120px 0 100px; }
  .hero__title { font-size: clamp(3.4rem, 3.8vw, 4.4rem); }
  .hero__split { gap: 88px; }
  .head__title { font-size: clamp(2.2rem, 2.8vw, 3.4rem); }
}

/* 1680px — pantallas muy grandes (27" 2K/4K) */
@media (min-width: 1680px) {
  :root { --container: 1560px; }
  .section { padding: 120px 0; }
  .hero { padding: 136px 0 112px; }
  .hero__title { font-size: clamp(3.8rem, 4vw, 5rem); }
  .hero__split { gap: 100px; }
  .stats__grid { gap: 0 48px; }
}

/* 1920px — full HD wide y ultrawides */
@media (min-width: 1920px) {
  :root { --container: 1760px; }
  .hero__title { font-size: clamp(4.2rem, 4.4vw, 5.6rem); }
  .head__title { font-size: clamp(2.6rem, 3vw, 3.8rem); }
  .head__lead { font-size: 1.2rem; }
}

@media (max-width: 1024px) {
  .carousel__track .review-card { flex: 0 0 calc((100% - 20px) / 2); }
  .trust-bar__claim span { display: none; }
  .svc { grid-template-columns: repeat(2, 1fr); }
  .svc__item--feature { grid-column: span 2; }
}
@media (max-width: 860px) {
  .section { padding: 68px 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .stat:nth-child(2)::after, .stat::after { display: none; }
  .ops, .contact, .faq { grid-template-columns: 1fr; gap: 40px; }
  .ct-ops { grid-template-columns: 1fr; }
  .ct-form__row { grid-template-columns: 1fr; }
  .ct-form-body { padding: 20px 24px 0; }
  .ct-flow { padding: 16px 24px 22px; }
  .dispatch { max-width: 520px; margin: 0 auto; }
  .footer__body { grid-template-columns: 1fr 1fr; }
  .footer__col--brand { grid-column: 1 / -1; }
  .footer__cta-inner { flex-wrap: wrap; }
  .footer__cta-actions { align-items: flex-start; }
  /* Alineación izquierda en mobile — todas las secciones */
  .head { text-align: left; margin-left: 0; }
  .head:not(.head--left) .kicker { justify-content: flex-start; }
  .stats__kicker { text-align: center; }
  .brands-section__eyebrow { text-align: center; }
  /* Menú móvil */
  .nav__toggle { display: flex; }
  .nav__links { position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--sh-md); padding: 8px 24px 20px;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .22s ease, transform .22s ease, visibility .22s ease; }
  .nav__links.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__links > a:not(.nav__cta) { padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--body) !important; }
  .nav__cta { margin-top: 14px; }
}
@media (max-width: 900px) {
  .hero__split { grid-template-columns: 1fr; gap: 48px; }
  .hero__content { align-items: flex-start; text-align: left; width: 100%; }
  .hero__sub { max-width: 100%; }
  .hero__badge { align-self: flex-start; }
  .hero__actions { flex-wrap: wrap; justify-content: flex-start; }
  .hero__monitor-wrap { display: flex; justify-content: center; }
  .hero__chips--monitor { flex-wrap: wrap; }
  .monitor { max-width: 480px; }
  .hero__title { font-size: clamp(1.85rem, 6vw, 2.6rem); }
}
@media (max-width: 560px) {
  .carousel { padding: 0 40px; }
  .carousel__track .review-card { flex: 0 0 100%; }
  .trust-bar__divider, .trust-bar__claim { display: none; }
  .trust-bar__inner { flex-direction: column; align-items: stretch; gap: 10px; }
  .trust-bar__rating { justify-content: space-between; }
  .trust-bar__marquee { width: 100%; flex: none; }
  .container { padding: 0 18px; }
  .hero { padding: 90px 0 60px; }
  .hero__title { font-size: clamp(2.1rem, 11vw, 2.8rem); }
  .hero__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero__actions .btn { justify-content: center; width: 100%; }
  .hero__chips { gap: 8px; width: 100%; }
  .hero__chips li { font-size: .78rem; padding: 6px 11px; flex: 1 1 calc(50% - 4px); justify-content: center; }
  .hero__chips--monitor { flex-wrap: wrap; justify-content: flex-start; }
  .monitor { max-width: 100%; }
  .monitor__feeds { grid-template-columns: 1fr 1fr; }
  .svc, .work { grid-template-columns: 1fr; }
  .dispatch__grid { grid-template-columns: 1fr 1fr; }
  .dispatch__name { font-size: .9rem; }
  .dispatch__zone--hq .dispatch__name { font-size: 1.05rem; }
  .svc__item--feature { grid-column: span 1; }
  /* Footer mobile */
  .footer__body { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 36px; gap: 32px; }
  .footer__col--brand { grid-column: auto; }
  .footer__col { padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .footer__col:last-child { padding-bottom: 0; border-bottom: none; }
  .footer__desc { max-width: 100%; }
  .footer__cta { padding: 40px 0; }
  .footer__cta-inner { flex-direction: column; gap: 24px; }
  .footer__cta-actions { align-items: stretch; width: 100%; }
  .footer__cta-btn { justify-content: center; }
  .footer__cta-tel { justify-content: center; }
  .footer__coords { justify-content: flex-start; gap: 10px; }
  .footer__bottom-inner { flex-direction: column; align-items: center; text-align: center; gap: 4px; }
  /* Contacto mobile */
  .ct-ops__left { padding: 36px 28px; }
  .ct-status { font-size: .68rem; gap: 10px; }
  .ct-form-body { padding: 18px 20px 0; }
  .ct-diag-header { padding: 12px 20px; }
  .ct-flow { padding: 14px 20px 20px; flex-wrap: wrap; gap: 8px; }
  .ct-flow__arrow { display: none; }
  .ct-flow__step { flex: 1 1 calc(33% - 8px); min-width: 80px; }
  .wa-float { padding: 15px; }
  .marquee__track span { font-size: 1.15rem; }
}

/* ---------- 26. MOVIMIENTO REDUCIDO ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
