/* =========================================================
   Seguridad Nievas — estilos
   ========================================================= */

:root {
  --navy: #16253D;
  --navy-900: #0F1A2C;
  --red: #FF0000;
  --red-600: #E00000;
  --gray-50: #F4F4F5;
  --line: #E6E6E6;
  --text: #3A4556;
  --muted: #4A5466;
  --white: #FFFFFF;
  --wa: #25D366;

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Lato', system-ui, sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);

  --logo-h: 76px;
  --logo-h-sm: 52px;
  --header-pad: 14px;
  --header-pad-sm: 8px;

  --shadow-card: 0 24px 48px -24px rgba(22, 37, 61, .35);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--red); }
input, select, textarea, button { font: inherit; }

::selection { background: var(--red); color: #fff; }

section[id] { scroll-margin-top: 72px; }

.container { max-width: 1288px; margin: 0 auto; padding: 0 24px; }
.wrap { max-width: 1240px; margin: 0 auto; position: relative; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-family: var(--font-head); font-weight: 600; text-decoration: none;
  transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 12px; color: #fff; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------- Barra de progreso de scroll ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 100; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; background: var(--red);
  transform-origin: left; transform: scaleX(0);
  box-shadow: 0 0 10px rgba(255, 0, 0, .6);
}

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 14px; }
.topbar__inner {
  padding-top: 10px; padding-bottom: 10px;
  display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; align-items: center;
}
.topbar__group { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; }
.topbar__item { display: inline-flex; gap: 8px; align-items: center; }
.topbar a { color: #fff; text-decoration: none; transition: opacity .25s; }
.topbar a:hover { color: #fff; opacity: .7; }

/* ---------- Header / nav ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .4s, margin-bottom .45s var(--ease-out);
}
.header__inner {
  padding-top: var(--header-pad); padding-bottom: var(--header-pad);
  display: flex; gap: 16px 32px; justify-content: space-between; align-items: center;
  transition: padding .45s var(--ease-out);
}
.header__logo { display: inline-flex; align-items: center; }
.header__logo img {
  height: var(--logo-h); width: auto; display: block;
  transition: height .45s var(--ease-out), transform .45s var(--ease-out);
}
.header__logo:hover img { transform: scale(1.04); }

/* Al hacer scroll el header se achica; el margin compensa para que el contenido no salte */
.header.is-scrolled {
  box-shadow: 0 12px 30px -16px rgba(22, 37, 61, .35);
  margin-bottom: calc(var(--logo-h) - var(--logo-h-sm) + 2 * (var(--header-pad) - var(--header-pad-sm)));
}
.header.is-scrolled .header__inner { padding-top: var(--header-pad-sm); padding-bottom: var(--header-pad-sm); }
.header.is-scrolled .header__logo img { height: var(--logo-h-sm); }

.nav {
  display: flex; gap: 6px 28px; align-items: center;
  font-family: var(--font-head); font-weight: 500; font-size: 15px;
}
.nav__link { position: relative; text-decoration: none; color: var(--navy); padding: 10px 0; transition: color .25s; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--red); border-radius: 2px;
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav__link:hover { color: var(--red); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 12px;
  background: var(--gray-50); cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: background .25s;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--navy);
  transition: transform .4s var(--ease-out), opacity .25s;
}
.nav-toggle:hover { background: #e9e9ec; }
.header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; text-decoration: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 700;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s, background-color .3s, color .3s, border-color .3s;
}
.btn:active { transform: translateY(0) scale(.97); }

.btn--primary { background: var(--red); color: #fff; border: 0; padding: 12px 22px; font-size: 19px; }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn--primary:hover {
  color: #fff; background: var(--red-600);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -12px rgba(255, 0, 0, .7);
}
.btn--primary:hover::before { transform: translateX(120%); transition: transform .8s var(--ease-out); }
.btn--auto-shine::before { animation: autoShine 5s 3s var(--ease-in-out) infinite; }
.btn--auto-shine:hover::before { animation: none; }

.btn--lg { padding: 16px 28px; font-size: 19px; }
.btn__arrow { transition: transform .35s var(--ease-out); flex: 0 0 auto; }
.btn:hover .btn__arrow { transform: translateX(5px); }

.btn--ghost {
  color: #fff; background: transparent; padding: 15px 26px;
  border: 2px solid rgba(255, 255, 255, .55); font-weight: 600; font-size: 17px;
}
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--navy); transform: translateY(-2px); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow__bar { width: 28px; height: 4px; background: var(--red); display: inline-block; flex: 0 0 auto; }

/* ---------- Tipografía de sección ---------- */
.h2 { margin: 0; font-family: var(--font-head); font-weight: 900; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; }
.lead { margin: 0; font-size: 18px; line-height: 1.65; color: var(--text); }
.lead--light { color: rgba(255, 255, 255, .86); line-height: 1.6; }

.section { padding: 112px 24px; }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.stack-56 { display: flex; flex-direction: column; gap: 56px; }
.split { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }

/* =========================================================
   HERO
   ========================================================= */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero__texture {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(100deg, #000 0%, rgba(0, 0, 0, .5) 35%, transparent 60%);
  mask-image: linear-gradient(100deg, #000 0%, rgba(0, 0, 0, .5) 35%, transparent 60%);
}
.hero__glow {
  position: absolute; width: 760px; height: 760px; left: -260px; top: -300px; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 0, 0, .16), transparent 62%);
  animation: glowDrift 16s ease-in-out infinite alternate;
}
.hero__inner { display: flex; flex-wrap: wrap; align-items: stretch; position: relative; }
.hero__content {
  flex: 1 1 568px; min-width: 0; padding: 88px 48px 88px 0;
  display: flex; flex-direction: column; gap: 28px; justify-content: center;
  position: relative; z-index: 2;
}
.hero__title {
  margin: 0; font-family: var(--font-head); font-weight: 900;
  font-size: clamp(40px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -.01em;
}
.word { display: inline-block; vertical-align: top; }
.word__mask { display: inline-block; overflow: hidden; vertical-align: top; padding: .02em .06em .16em; margin: -.02em -.06em -.16em; }
.word__mask > span { display: inline-block; }
.word--accent .word__mask > span {
  color: var(--red);
  background: linear-gradient(110deg, var(--red) 0 42%, #FF9B9B 50%, var(--red) 58% 100%);
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__lead { margin: 0; font-size: 20px; line-height: 1.55; max-width: 520px; color: rgba(255, 255, 255, .86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 4px; }

.hero__media { flex: 1 1 460px; min-width: 0; position: relative; min-height: 520px; }
.hero__img-wrap { position: absolute; inset: 40px -200px 40px 0; border-radius: 999px 0 0 999px; overflow: hidden; }
.hero__img-wrap img {
  position: absolute; left: 0; top: -6%; width: 100%; height: 112%;
  object-fit: cover; object-position: 30% center; display: block;
}
.hero__ring {
  position: absolute; left: -36px; top: 10px; bottom: 10px; width: 142px;
  border: 22px solid #fff; border-right: none; border-radius: 999px 0 0 999px; opacity: .12;
}
.hero__badge {
  position: absolute; left: -28px; bottom: 78px; z-index: 3;
  display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, .96); color: var(--navy);
  padding: 14px 20px 14px 14px; border-radius: 16px;
  box-shadow: 0 24px 44px -18px rgba(0, 0, 0, .55);
}
.hero__badge-icon {
  position: relative; width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.hero__badge-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.hero__badge-text strong { font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.hero__badge-text span { font-size: 13.5px; color: var(--muted); }

.live-dot {
  position: absolute; top: -4px; right: -4px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--red); border: 2px solid #fff;
}
.live-dot::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%; background: var(--red);
  animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite;
}

/* stats */
.stats { background: #fff; color: var(--navy); position: relative; z-index: 3; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 28px; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px; position: relative;
}
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat::before {
  content: ""; position: absolute; top: 0; left: 28px; width: 32px; height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out);
}
.stat:first-child::before { left: 0; }
.stat:hover::before { transform: scaleX(1); }
.stat__value { font-family: var(--font-head); font-weight: 900; font-size: 36px; font-variant-numeric: tabular-nums; }
.stat__value--red { color: var(--red); }
.stat__label { font-size: 16px; color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee { background: var(--red); color: #fff; overflow: hidden; padding: 17px 0; position: relative; }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; flex: 0 0 auto; }
.marquee__list li {
  display: flex; align-items: center; white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: .08em; text-transform: uppercase;
}
.marquee__list li::after {
  content: ""; width: 9px; height: 9px; background: var(--navy); transform: rotate(45deg); margin: 0 36px;
}

/* =========================================================
   NOSOTROS
   ========================================================= */
.about__media { flex: 1 1 440px; min-width: 0; position: relative; }
.about__img { border-radius: 0 240px 240px 0; overflow: hidden; aspect-ratio: 4 / 3.4; position: relative; }
.about__img img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; display: block; }
.about__card {
  position: absolute; left: 24px; bottom: -28px;
  background: var(--navy); color: #fff; padding: 22px 26px; border-radius: 6px; max-width: 300px;
  display: flex; flex-direction: column; gap: 6px;
  box-shadow: 0 26px 40px -22px rgba(22, 37, 61, .7);
  transition: transform .4s var(--ease-out);
}
.about__card:hover { transform: translateY(-4px); }
.about__card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: var(--red); border-radius: 6px 0 0 6px;
}
.about__card-title { font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.about__card-text { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .86); }

.about__content { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }

.mv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding-top: 8px; }
.mv-card {
  background: #fff; border-radius: 8px; padding: 22px;
  display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.mv-card::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out);
}
.mv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.mv-card:hover::after { transform: scaleX(1); }
.mv-card__title { font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.mv-card__text { font-size: 15.5px; line-height: 1.55; color: var(--text); }

.tags { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.tag {
  font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .1em;
  padding: 9px 16px; border-radius: 999px; background: var(--navy); color: #fff; cursor: default;
  transition: background-color .3s, transform .35s var(--ease-back);
}
.tag:hover { background: var(--red); transform: translateY(-3px); }

/* =========================================================
   SERVICIOS
   ========================================================= */
.section-head { display: flex; flex-wrap: wrap; gap: 24px 64px; justify-content: space-between; align-items: flex-end; }
.section-head__title { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.section-head__text { flex: 1 1 380px; min-width: 0; margin: 0; font-size: 18px; line-height: 1.6; color: var(--text); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.service-card {
  background: var(--gray-50); border-radius: 10px; padding: 32px;
  display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .45s var(--ease-out), box-shadow .45s, background-color .45s;
}
.service-card::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--red); z-index: 2;
  transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease-out);
}
.service-card:hover { transform: translateY(-6px); background: #fff; box-shadow: var(--shadow-card); }
.service-card:hover::after { transform: scaleX(1); }
.service-card__icon {
  width: 52px; height: 52px; border-radius: 999px; background: #fff; color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .4s, color .4s, transform .6s var(--ease-back);
}
.service-card:hover .service-card__icon { background: var(--red); color: #fff; transform: rotate(-10deg) scale(1.08); }
.service-card h3 { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 23px; }
.service-card p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--text); }

.service-card--featured { background: var(--navy); color: #fff; }
.service-card--featured::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .09) 50%, transparent 65%);
  transform: translateX(-100%);
}
.service-card--featured:hover { background: var(--navy); }
.service-card--featured:hover::before { transform: translateX(100%); transition: transform 1.1s var(--ease-out); }
.service-card--featured p { color: rgba(255, 255, 255, .86); }
.service-card--featured .service-card__icon { background: var(--red); color: #fff; }
.service-card--featured:hover .service-card__icon { background: #fff; color: var(--red); }
.service-card__kicker { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .12em; color: rgba(255, 255, 255, .8); }

.service-card--image { padding: 0; min-height: 260px; display: flex; align-items: flex-end; background: var(--navy); }
.service-card--image:hover { background: var(--navy); }
.service-card--image img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: -1;
  transition: transform 1.4s var(--ease-out);
}
.service-card--image:hover img { transform: scale(1.08); }
.service-card__overlay {
  position: relative; margin: 20px; background: var(--navy); color: #fff; border-radius: 6px; padding: 18px 22px;
  display: flex; flex-direction: column; gap: 4px; transition: transform .45s var(--ease-out);
}
.service-card--image:hover .service-card__overlay { transform: translateY(-4px); }
.service-card__overlay-title { font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.service-card__overlay-text { font-size: 15px; color: rgba(255, 255, 255, .86); }

/* =========================================================
   TECNOLOGÍA
   ========================================================= */
.tech::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 75% 50%, #000 10%, transparent 65%);
  mask-image: radial-gradient(ellipse at 75% 50%, #000 10%, transparent 65%);
  animation: gridPan 30s linear infinite;
}
.tech__media { flex: 1 1 480px; min-width: 0; position: relative; padding-bottom: 40px; }
.tech__screen { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10.5; position: relative; }
.tech__screen img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--ease-out); }
.tech__screen:hover img { transform: scale(1.05); }

.cctv {
  position: absolute; inset: 0; pointer-events: none; color: #fff;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-size: 12.5px; letter-spacing: .1em; text-shadow: 0 1px 3px rgba(0, 0, 0, .8);
}
.cctv::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, .14) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
}
.cctv__corner { position: absolute; width: 20px; height: 20px; border: 2px solid rgba(255, 255, 255, .75); }
.cctv__corner--tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.cctv__corner--tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.cctv__corner--bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.cctv__corner--br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.cctv__rec { position: absolute; top: 22px; left: 26px; display: flex; align-items: center; gap: 8px; font-weight: 700; }
.cctv__rec i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: blink 1.4s steps(1) infinite; }
.cctv__cam { position: absolute; top: 22px; right: 26px; font-weight: 700; }
.cctv__time { position: absolute; bottom: 22px; left: 26px; font-variant-numeric: tabular-nums; }
.cctv__scan {
  position: absolute; left: 0; right: 0; top: 0; height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, .0) 40%, rgba(255, 255, 255, .10) 50%, transparent 60%);
  animation: scan 5s linear infinite;
}

.tech__circle { position: absolute; right: -16px; bottom: 0; width: calc(42% + 16px); aspect-ratio: 1 / 1; }
.tech__circle::before, .tech__circle::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 0, 0, .7);
  animation: radar 3.2s var(--ease-out) infinite;
}
.tech__circle::after { animation-delay: 1.6s; }
.tech__circle-img {
  position: absolute; inset: 0; z-index: 1; border-radius: 999px; overflow: hidden; border: 8px solid var(--navy);
}
.tech__circle-img img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 30%; display: block; transition: transform 1.2s var(--ease-out); }
.tech__circle:hover .tech__circle-img img { transform: scale(1.1); }

.tech__content { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.tech-list { display: flex; flex-direction: column; }
.tech-item {
  display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .18);
  position: relative;
}
.tech-item:last-child { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.tech-item::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out);
}
.tech-item:hover::before { transform: scaleX(1); }
.tech-item__num {
  flex: 0 0 auto; width: 44px; height: 44px; background: var(--red); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 19px;
  transition: transform .5s var(--ease-back), border-radius .4s;
}
.tech-item:hover .tech-item__num { transform: rotate(-8deg) scale(1.1); border-radius: 50%; }
.tech-item__body { display: flex; flex-direction: column; gap: 4px; transition: transform .45s var(--ease-out); }
.tech-item:hover .tech-item__body { transform: translateX(6px); }
.tech-item__title { font-family: var(--font-head); font-weight: 600; font-size: 18px; }
.tech-item__text { font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .8); }

/* =========================================================
   CÓMO TRABAJAMOS
   ========================================================= */
.section-intro { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.section-intro .lead { line-height: 1.6; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.step {
  display: flex; flex-direction: column; border-radius: 10px; overflow: hidden;
  background: var(--navy); color: #fff;
  transition: transform .45s var(--ease-out), box-shadow .45s;
}
.step:hover { transform: translateY(-8px); box-shadow: 0 32px 50px -28px rgba(22, 37, 61, .7); }
.step__img { aspect-ratio: 3 / 2; overflow: hidden; }
.step__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--ease-out); }
.step:hover .step__img img { transform: scale(1.07); }
.step__body { padding: 34px 28px 28px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; flex: 1; }
.step__body::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--red);
  transform-origin: left;
}
.step__body::after {
  content: attr(data-num); position: absolute; right: 18px; top: 14px;
  font-family: var(--font-head); font-weight: 900; font-size: 84px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .14);
  transition: transform .6s var(--ease-out), -webkit-text-stroke-color .4s;
  pointer-events: none;
}
.step:hover .step__body::after { transform: translateY(-6px) scale(1.06); -webkit-text-stroke-color: rgba(255, 255, 255, .3); }
.step__label { font-family: var(--font-head); font-weight: 900; font-size: 15px; letter-spacing: .12em; color: rgba(255, 255, 255, .75); position: relative; }
.step h3 { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 22px; position: relative; }
.step p { margin: 0; font-size: 16.5px; line-height: 1.55; color: rgba(255, 255, 255, .86); position: relative; }

/* =========================================================
   POR QUÉ ELEGIRNOS
   ========================================================= */
.why { display: flex; flex-wrap: wrap; gap: 56px 80px; }
.why__intro { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.why__title { margin: 0; font-family: var(--font-head); font-weight: 900; font-size: clamp(36px, 4vw, 56px); line-height: 1.04; }
.why__intro .lead { line-height: 1.6; }
.why__line { width: 140px; height: 3px; background: var(--red); transform-origin: left; }
.why__grid { flex: 2 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.why-card {
  background: #fff; border-radius: 10px; padding: 30px;
  display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s;
}
.why-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red);
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.why-card:hover::before { transform: scaleY(1); }
.why-card__icon { color: var(--red); transition: transform .6s var(--ease-back); transform-origin: left center; }
.why-card__icon * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.why-card:hover .why-card__icon { transform: scale(1.18) rotate(-6deg); }
.why-card h3 { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 21px; }
.why-card p { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--text); }

/* =========================================================
   COBERTURA
   ========================================================= */
.coverage { padding: 104px 24px; }
.coverage__ring {
  position: absolute; right: -180px; top: -160px; width: 560px; height: 560px; border-radius: 999px;
  border: 70px solid rgba(255, 255, 255, .05); pointer-events: none;
}
.coverage__orbit {
  position: absolute; right: -220px; top: -200px; width: 640px; height: 640px; border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, .14); pointer-events: none;
  animation: spin 50s linear infinite;
}
.coverage__orbit::before {
  content: ""; position: absolute; top: -6px; left: 50%; margin-left: -6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 6px rgba(255, 0, 0, .18), 0 0 18px rgba(255, 0, 0, .8);
}
.coverage__inner { display: flex; flex-direction: column; gap: 48px; }
.coverage__head { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.coverage__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); position: relative; }
.coverage__grid::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(255, 255, 255, .22);
  transform-origin: left;
}
.coverage__item { padding: 28px 28px 0 0; display: flex; flex-direction: column; gap: 6px; }
.coverage__dot { width: 10px; height: 10px; border-radius: 999px; background: var(--red); position: relative; }
.coverage__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--red);
  animation: ping 2.2s cubic-bezier(0, 0, .2, 1) infinite;
}
.coverage__item:nth-child(2) .coverage__dot::after { animation-delay: .7s; }
.coverage__item:nth-child(3) .coverage__dot::after { animation-delay: 1.4s; }
.coverage__name { font-family: var(--font-head); font-weight: 900; font-size: 34px; font-variant-numeric: tabular-nums; }
.coverage__desc { font-size: 16px; color: rgba(255, 255, 255, .8); }

/* =========================================================
   CONTACTO
   ========================================================= */
.contact { display: flex; flex-wrap: wrap; gap: 56px 72px; align-items: flex-start; }
.contact__info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.contact__info .lead { line-height: 1.6; }
.contact__img { border-radius: 0 200px 200px 0; overflow: hidden; aspect-ratio: 16 / 9; }
.contact__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; transition: transform 1.4s var(--ease-out); }
.contact__img:hover img { transform: scale(1.05); }
.contact__details { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.detail { display: flex; flex-direction: column; gap: 6px; }
.detail__label { font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .12em; color: var(--muted); }
.detail__value { font-size: 17px; font-weight: 700; }
.link {
  color: var(--navy); text-decoration: underline; text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(22, 37, 61, .35); text-underline-offset: 4px;
  transition: color .25s, text-decoration-color .25s, text-underline-offset .25s;
}
.link:hover { color: var(--red); text-decoration-color: var(--red); text-underline-offset: 6px; }

.form-card { flex: 1 1 540px; min-width: 0; background: var(--gray-50); border-radius: 14px; padding: 40px; position: relative; scroll-margin-top: 96px; }
.form { display: flex; flex-direction: column; gap: 20px; }
.form[hidden] { display: none; }
.form h3 { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 24px; }
.form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.form legend { padding: 0 0 10px; font-weight: 700; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 2px solid #C9CCD2;
  background: #fff; color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: 15px; cursor: pointer;
  transition: border-color .25s, background-color .25s, color .25s, transform .35s var(--ease-back);
}
.chip:hover { border-color: var(--navy); transform: translateY(-2px); }
.chip[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.chip.is-popping { animation: chipPop .45s var(--ease-back); }

.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 15px; transition: color .25s; }
.field:focus-within { color: var(--red); }
.field input, .field textarea {
  height: 48px; padding: 0 14px; border: 1px solid #B9BDC5; border-radius: 6px;
  background: #fff; color: var(--navy); font-size: 16px; font-weight: 400;
  transition: border-color .25s, box-shadow .3s, transform .3s var(--ease-out);
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #8E94A0; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(22, 37, 61, .12), 0 10px 20px -14px rgba(22, 37, 61, .5);
  transform: translateY(-1px);
}
.field input.is-invalid { border-color: var(--red); animation: shake .45s var(--ease-out); }
.btn--submit { align-self: flex-start; min-height: 54px; padding: 14px 30px; font-size: 19px; }

.form-success { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: 24px 0; }
.form-success[hidden] { display: none; }
.form-success__icon {
  width: 60px; height: 60px; border-radius: 999px; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.form-success__icon path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.form-success h3 { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 26px; }
.form-success p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text); }
.link-btn {
  background: none; border: 0; padding: 10px 0; font-weight: 700; color: var(--navy);
  text-decoration: underline; text-underline-offset: 4px; cursor: pointer; font-size: 16px;
  transition: color .25s;
}
.link-btn:hover { color: var(--red); }

.form-card.is-sent .form-success__icon { animation: popIn .6s var(--ease-back) both; }
.form-card.is-sent .form-success__icon path { animation: draw .7s var(--ease-out) .35s both; }
.form-card.is-sent .form-success > :not(.form-success__icon) { animation: revealUp .7s var(--ease-out) both; }
.form-card.is-sent .form-success > :nth-child(2) { animation-delay: .25s; }
.form-card.is-sent .form-success > :nth-child(3) { animation-delay: .35s; }
.form-card.is-sent .form-success > :nth-child(4) { animation-delay: .45s; }
.form.is-entering { animation: revealUp .6s var(--ease-out) both; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--navy-900); color: #fff; padding: 72px 24px 32px; }
.footer__wrap { display: flex; flex-direction: column; gap: 48px; }
.footer__top { display: flex; flex-wrap: wrap; gap: 40px 72px; justify-content: space-between; align-items: flex-start; }
.footer__brand { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.footer__brand img { width: 150px; height: auto; display: block; }
.footer__brand p { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .8); max-width: 340px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.footer__nav { flex: 0 1 200px; }
.footer__contact { flex: 0 1 300px; }
.footer__heading { font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .12em; color: rgba(255, 255, 255, .75); padding-bottom: 4px; }
.footer a {
  color: #fff; text-decoration: none; width: fit-content;
  background: linear-gradient(var(--red), var(--red)) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 2px;
  transition: background-size .4s var(--ease-out), transform .3s var(--ease-out);
}
.footer a:hover { color: #fff; background-size: 100% 1.5px; transform: translateX(3px); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between;
  font-size: 14px; color: rgba(255, 255, 255, .75);
}

/* =========================================================
   Botones flotantes
   ========================================================= */
.fab {
  position: fixed; right: 24px; z-index: 60; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45);
  transition: transform .4s var(--ease-out), opacity .4s, background-color .3s, box-shadow .3s;
}
.fab--wa { bottom: 24px; width: 60px; height: 60px; background: var(--wa); color: #fff; }
.fab--wa::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1;
  animation: fabPulse 2.6s ease-out infinite;
}
.fab--wa:hover { color: #fff; transform: scale(1.08); box-shadow: 0 18px 34px -10px rgba(37, 211, 102, .6); }
.fab__tip {
  position: absolute; right: calc(100% + 14px); top: 50%;
  background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 14px;
  white-space: nowrap; padding: 9px 14px; border-radius: 10px;
  opacity: 0; pointer-events: none; transform: translate(8px, -50%);
  transition: opacity .3s, transform .4s var(--ease-out);
}
.fab__tip::after {
  content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; background: var(--navy);
  transform: translateY(-50%) rotate(45deg); border-radius: 2px;
}
.fab--wa:hover .fab__tip, .fab--wa.show-tip .fab__tip { opacity: 1; transform: translate(0, -50%); }

.fab--top {
  bottom: 98px; right: 30px; width: 48px; height: 48px; border: 0; cursor: pointer;
  background: #fff; color: var(--navy);
  opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none;
}
.fab--top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab--top:hover { background: var(--red); color: #fff; transform: translateY(-3px); }

/* =========================================================
   ANIMACIONES — entrada del hero (al cargar)
   ========================================================= */
.js .hero-anim { opacity: 0; }
.js.is-ready .hero-anim { animation: revealUp 1s var(--ease-out) both; animation-delay: var(--d, 0s); }
.js.is-ready .hero__content > .eyebrow .eyebrow__bar { animation: barGrow .9s var(--ease-out) .3s both; }

.js .word__mask > span { transform: translateY(115%); }
.js.is-ready .word__mask > span { animation: wordUp 1.1s var(--ease-out) both; animation-delay: calc(.25s + var(--w) * .1s); }
.js.is-ready .word--accent .word__mask > span {
  animation: wordUp 1.1s var(--ease-out) both, shimmer 7s linear infinite;
  animation-delay: calc(.25s + var(--w) * .1s), 2.4s;
}

.js .hero__img-wrap { clip-path: inset(0 0 0 100%); }
.js.is-ready .hero__img-wrap { animation: clipFromRight 1.5s var(--ease-in-out) .2s both; }
.js.is-ready .hero__img-wrap img { animation: imgSettle 2.2s var(--ease-out) .2s both; }
.js .hero__ring { opacity: 0; }
.js.is-ready .hero__ring { animation: ringIn 1.4s var(--ease-out) 1s both; }
.js .hero__badge { opacity: 0; }
.js.is-ready .hero__badge {
  animation: badgeIn .9s var(--ease-back) 1.5s both, floatY 6s ease-in-out 2.4s infinite;
}

/* =========================================================
   ANIMACIONES — aparición al hacer scroll
   ========================================================= */
.js .reveal:not(.is-visible) { opacity: 0; }
.reveal.is-visible {
  animation: revealUp .9s var(--ease-out) backwards;
  animation-delay: calc(var(--i, 0) * 110ms + var(--delay, 0ms));
}
.reveal.is-visible[data-reveal="from-left"] { animation-name: revealFromLeft; }
.reveal.is-visible[data-reveal="from-right"] { animation-name: revealFromRight; }
.reveal.is-visible[data-reveal="zoom"] { animation-name: revealZoom; animation-timing-function: var(--ease-back); }
.reveal.is-visible[data-reveal="fade"] { animation-name: revealFade; }
.reveal.is-visible[data-reveal="clip"] { animation-name: revealClip; animation-duration: 1.4s; animation-timing-function: var(--ease-in-out); }
.reveal.is-visible[data-reveal="line"] { animation-name: lineGrow; animation-duration: 1.2s; }

/* Detalles que se animan cuando su bloque aparece */
.eyebrow.reveal.is-visible .eyebrow__bar { animation: barGrow .9s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 110ms + .25s); }
.tags.is-visible .tag { animation: popIn .6s var(--ease-back) backwards; animation-delay: calc(var(--i, 0) * 110ms + .2s + var(--t) * 90ms); }
.why-card.is-visible .why-card__icon * { animation: draw 1.3s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 110ms + .35s); }
.js .step:not(.is-visible) .step__body::before { transform: scaleX(0); }
.step.is-visible .step__body::before { transition: transform 1.1s var(--ease-out) calc(var(--i, 0) * 110ms + .45s); }
.js .coverage__grid:not(.is-visible)::before { transform: scaleX(0); }
.coverage__grid.is-visible::before { transition: transform 1.6s var(--ease-in-out) .1s; }
.tech__screen.is-visible img { animation: imgSettle 2s var(--ease-out) backwards; }

/* =========================================================
   KEYFRAMES
   ========================================================= */
@keyframes revealUp { from { opacity: 0; transform: translate3d(0, 40px, 0); } to { opacity: 1; transform: none; } }
@keyframes revealFromLeft { from { opacity: 0; transform: translate3d(-60px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes revealFromRight { from { opacity: 0; transform: translate3d(60px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes revealZoom { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
@keyframes revealFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes revealClip { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes clipFromRight { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes barGrow { from { width: 0; } }
@keyframes wordUp { from { transform: translateY(115%); } to { transform: translateY(0); } }
@keyframes imgSettle { from { scale: 1.22; } to { scale: 1; } }
@keyframes ringIn { from { opacity: 0; transform: translateX(-40px); } to { opacity: .12; transform: none; } }
@keyframes badgeIn { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes popIn { from { opacity: 0; scale: .5; } to { opacity: 1; scale: 1; } }
@keyframes chipPop { 0% { scale: 1; } 40% { scale: 1.1; } 100% { scale: 1; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes shimmer { 0% { background-position: 100% 0; } 22%, 100% { background-position: 0 0; } }
@keyframes autoShine { 0% { transform: translateX(-120%); } 22%, 100% { transform: translateX(120%); } }
@keyframes glowDrift { from { transform: translate(0, 0) scale(1); } to { transform: translate(140px, 90px) scale(1.15); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ping { 75%, 100% { transform: scale(2.8); opacity: 0; } }
@keyframes radar { from { transform: scale(1); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: .15; } }
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
@keyframes gridPan { to { background-position: 56px 56px; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fabPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); } 40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); } 80% { transform: translateX(4px); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .why__intro { position: sticky; top: 120px; align-self: flex-start; }
}

@media (max-width: 1023px) {
  :root { --logo-h: 62px; --logo-h-sm: 48px; --header-pad: 12px; --header-pad-sm: 8px; }

  .nav-toggle { display: flex; }
  .header__inner { position: static; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 30px -24px rgba(22, 37, 61, .4);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .5s var(--ease-out), visibility 0s linear .5s;
  }
  .header.nav-open .nav { clip-path: inset(0 0 -60px 0); visibility: visible; transition: clip-path .5s var(--ease-out); }
  .nav > * { opacity: 0; transform: translateY(-10px); transition: opacity .3s, transform .4s var(--ease-out); }
  .header.nav-open .nav > * { opacity: 1; transform: none; transition-delay: calc(var(--n) * 45ms + 80ms); }
  .nav__link { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav__link::after { bottom: -1px; }
  .nav__cta { margin-top: 18px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(3)::before { left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .hero__content { padding: 64px 0 48px; }
  .hero__media { flex-basis: 100%; min-height: 420px; }
  .hero__img-wrap { inset: 0 -200px 48px 0; }
  .hero__ring { top: -20px; bottom: 28px; }
  .hero__badge { left: 16px; bottom: 16px; }
}

@media (max-width: 767px) {
  .section { padding: 80px 20px; }
  .coverage { padding: 80px 20px; }
  .footer { padding: 56px 20px 104px; }
  .split, .why { gap: 48px; }

  .topbar { font-size: 13px; }
  .topbar__item--hours { display: none; }

  .hero__content { padding: 48px 0 36px; gap: 22px; }
  .hero__lead { font-size: 18px; }
  .hero__actions .btn { width: 100%; }
  .hero__media { min-height: 300px; }
  .hero__ring { display: none; }
  .hero__badge { padding: 10px 16px 10px 10px; gap: 10px; }
  .hero__badge-icon { width: 38px; height: 38px; }
  .hero__badge-text strong { font-size: 14.5px; }
  .hero__badge-text span { font-size: 12.5px; }

  .stat__value { font-size: 28px; }
  .stat { padding: 22px 16px; }
  .stat:nth-child(odd) { padding-left: 0; }

  .marquee { padding: 13px 0; }
  .marquee__list li { font-size: 15px; }
  .marquee__list li::after { margin: 0 24px; width: 7px; height: 7px; }

  .about__img { border-radius: 0 160px 160px 0; }
  .about__card { left: 16px; right: 16px; max-width: none; }
  .service-card { padding: 26px; }
  .tech__circle { right: -6px; width: 40%; }
  .cctv { font-size: 10.5px; }
  .cctv__rec, .cctv__time { left: 22px; }
  .cctv__cam { right: 22px; }
  .cctv__rec, .cctv__cam { top: 18px; }
  .cctv__time { bottom: 18px; }
  .step__body::after { font-size: 64px; }
  .coverage__ring { width: 380px; height: 380px; border-width: 48px; right: -160px; top: -140px; }
  .coverage__orbit { width: 460px; height: 460px; right: -200px; top: -180px; }
  .coverage__name { font-size: 30px; }

  .contact__img { border-radius: 0 140px 140px 0; }
  .form-card { padding: 28px 20px; }
  .btn--submit { align-self: stretch; }

  .fab { right: 16px; }
  .fab--wa { bottom: 16px; width: 56px; height: 56px; }
  .fab--top { right: 20px; bottom: 84px; width: 44px; height: 44px; }
  .fab__tip { display: none; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(odd), .stat:nth-child(3) { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .stat::before, .stat:nth-child(3)::before { left: 0; }
}

/* =========================================================
   Movimiento reducido (accesibilidad)
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal:not(.is-visible), .js .hero-anim, .js .hero__badge { opacity: 1; }
  .js .hero__ring { opacity: .12; }
  .js .word__mask > span { transform: none; }
  .js .hero__img-wrap { clip-path: none; }
  .marquee__track { animation: none; }
}
