/* ============================================================
   VYTRA · Sistema de diseño
   Marca: Azul #0066FF · Navy #262D3A · Negro #191919 · Gris #ECECEC
   Display: Artemis · Texto: Inter
   ============================================================ */

/* ---- Fuente de marca ---- */
@font-face {
  font-family: "Artemis";
  src: url("../fonts/Artemis-Regular.woff2") format("woff2"),
       url("../fonts/Artemis-Regular.otf") format("opentype");
  font-weight: 400 600;
  font-display: swap;
}

/* ---- Tokens ---- */
:root {
  --blue: #0066FF;
  --blue-bright: #3D8BFF;
  --blue-700: #0a4fd1;
  --navy: #262D3A;
  --navy-900: #1b212c;
  --navy-950: #141922;
  --ink: #191919;
  --gray-100: #f4f7fc;
  --gray-200: #ECECEC;
  --gray-300: #d7dde6;
  --gray-500: #6b7585;
  --gray-600: #515a6b;
  --white: #ffffff;

  --bg: #ffffff;
  --surface: #f4f7fc;
  --text: #262D3A;
  --text-soft: #515a6b;
  --line: #e3e8f0;

  --font-display: "Artemis", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(38, 45, 58, .06), 0 4px 16px rgba(38, 45, 58, .06);
  --shadow-md: 0 8px 30px rgba(38, 45, 58, .10);
  --shadow-blue: 0 14px 40px rgba(0, 102, 255, .28);

  --container: 1180px;
  --nav-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }

/* ---- Tipografía ---- */
h1, h2, h3, h4 { line-height: 1.12; font-weight: 600; letter-spacing: -.02em; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { color: var(--text-soft); }
.display { font-family: var(--font-display); letter-spacing: .02em; font-weight: 500; }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--text-soft); line-height: 1.6; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--blue); border-radius: 2px;
}
.eyebrow.on-dark { color: var(--blue-bright); }
.eyebrow.on-dark::before { background: var(--blue-bright); }

/* ---- Surfaces ---- */
.bg-surface { background: var(--surface); }
.bg-dark {
  background: var(--navy-900);
  color: #cdd5e2;
  position: relative;
}
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.bg-dark p { color: #aab4c6; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(38, 45, 58, .05);
}
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__icon { width: 40px; height: 26px; }
.brand__icon--light { display: none; }
.site-header.scrolled .brand__icon--dark { display: none; }
.site-header.scrolled .brand__icon--light { display: block; }
.brand__word {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.5rem; letter-spacing: .26em; color: var(--navy);
  padding-left: .26em; /* compensa tracking */
}
.site-header.scrolled .brand__word,
.site-header.on-light .brand__word { color: var(--navy); }
.site-header.on-dark:not(.scrolled) .brand__word { color: #fff; }

.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 10px 14px; border-radius: 8px;
  font-size: .96rem; font-weight: 500; color: var(--navy);
  transition: color .2s, background .2s;
}
.site-header.on-dark:not(.scrolled) .nav__link { color: #d7dde6; }
.nav__link:hover { color: var(--blue); background: rgba(0, 102, 255, .07); }
.site-header.on-dark:not(.scrolled) .nav__link:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav__link.is-active { color: var(--blue); }
.site-header.on-dark:not(.scrolled) .nav__link.is-active { color: var(--blue-bright); }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; }

/* ---- Botones ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .96rem; line-height: 1; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .25s, background .2s, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(0,102,255,.25); }
.btn--primary:hover { background: var(--blue-700); box-shadow: var(--shadow-blue); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--gray-300); color: var(--navy); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
.btn svg { width: 18px; height: 18px; }
.on-dark .btn--ghost, .site-header.on-dark:not(.scrolled) .btn--ghost,
.hero .btn--ghost, .page-hero .btn--ghost, .bg-dark .btn--ghost { border-color: rgba(255,255,255,.32); color: #fff; }
.on-dark .btn--ghost:hover,
.hero .btn--ghost:hover, .page-hero .btn--ghost:hover, .bg-dark .btn--ghost:hover { border-color: var(--blue-bright); color: var(--blue-bright); background: rgba(255,255,255,.06); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 70px) 0 100px;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(0,102,255,.30), transparent 60%),
    radial-gradient(800px 500px at 8% 110%, rgba(61,139,255,.16), transparent 55%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: #cdd5e2;
  isolation: isolate;
}
.hero__grid-bg {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(120,150,200,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,150,200,.08) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(circle at 70% 20%, #000 0%, transparent 72%);
          mask-image: radial-gradient(circle at 70% 20%, #000 0%, transparent 72%);
}
/* línea de escaneo */
.hero__scan {
  position: absolute; left: 0; right: 0; height: 2px; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(61,139,255,.85), transparent);
  filter: blur(.5px);
  animation: scan 7s linear infinite;
}
@keyframes scan {
  0% { top: 8%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 92%; opacity: 0; }
}
.hero .container { position: relative; }
.hero__layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--blue-bright); }
.hero__lead { font-size: clamp(1.08rem, 1.7vw, 1.32rem); color: #aeb9cc; margin-top: 22px; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  font-size: .85rem; font-weight: 500; color: #cdd5e2;
}
.chip svg { width: 15px; height: 15px; color: var(--blue-bright); }

/* visual del hero */
.hero__visual { position: relative; display: grid; place-items: center; }
.hero__eye {
  width: min(380px, 78%);
  filter: drop-shadow(0 24px 60px rgba(0,102,255,.45));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(-8px); } 50% { transform: translateY(8px); } }
.hero__ring {
  position: absolute; border: 1px solid rgba(61,139,255,.35); border-radius: 50%;
  animation: pulse 4s ease-out infinite;
}
.hero__ring.r1 { width: 62%; aspect-ratio: 1; }
.hero__ring.r2 { width: 84%; aspect-ratio: 1; animation-delay: 1.3s; }
@keyframes pulse {
  0% { transform: scale(.85); opacity: .7; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat__num {
  font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 500;
  color: var(--blue); letter-spacing: .01em; line-height: 1;
  display: flex; align-items: flex-end; min-height: clamp(2.2rem, 3.8vw, 3.1rem);
}
/* valor textual (no numérico): más chico y en una sola línea, alineado a la base */
.stat__num--text { font-size: clamp(1.15rem, 1.9vw, 1.55rem); white-space: nowrap; letter-spacing: .03em; }
.stat__label { font-size: .92rem; color: var(--text-soft); margin-top: 8px; }
.bg-dark .stat__num { color: var(--blue-bright); }
.bg-dark .stat__label { color: #aab4c6; }

/* ============================================================
   CARDS / GRIDS
   ============================================================ */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gray-300); }
.card__icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(0,102,255,.12), rgba(0,102,255,.04));
  color: var(--blue); margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .98rem; }

/* tarjeta de módulo (más rica) */
.module {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.module::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.module:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.module:hover::after { transform: scaleX(1); }
.module__top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.module__icon {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; flex: none;
  background: var(--navy); color: #fff;
}
.module__icon svg { width: 28px; height: 28px; }
.module__tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); background: rgba(0,102,255,.1); padding: 4px 10px; border-radius: 6px;
}
.module ul.ticks { margin-top: 18px; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 30px; font-size: .96rem; color: var(--text-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  background: rgba(0,102,255,.12); border-radius: 5px;
}
.ticks li::after {
  content: ""; position: absolute; left: 6px; top: 7px; width: 6px; height: 10px;
  border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(42deg);
}
.badge-star { color: #f5a623; font-size: .85rem; font-weight: 600; }

/* lista de features con icono */
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature__ic {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(0,102,255,.1); color: var(--blue);
}
.feature__ic svg { width: 23px; height: 23px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 6px; }
.feature p { font-size: .96rem; }
.bg-dark .feature__ic { background: rgba(61,139,255,.16); color: var(--blue-bright); }

/* perfiles */
.profile { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.profile__role { font-family: var(--font-display); letter-spacing: .04em; font-size: 1.05rem; color: var(--blue); font-weight: 500; margin-bottom: 8px; }

/* ============================================================
   SPLIT (texto + visual)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: var(--navy-900); aspect-ratio: 4 / 3; display: grid; place-items: center;
  border: 1px solid var(--line);
}
.split__list { display: grid; gap: 26px; margin-top: 30px; }

/* mock UI decorativo */
.mockui {
  position: absolute; inset: 0; padding: 22px;
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(0,102,255,.22), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  display: flex; flex-direction: column; gap: 12px;
}
.mockui__bar { height: 10px; border-radius: 5px; background: rgba(255,255,255,.08); }
.mockui__bar.w60 { width: 60%; } .mockui__bar.w40 { width: 40%; } .mockui__bar.w80 { width: 80%; }
.mockui__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: auto; }
.mockui__cell { aspect-ratio: 16/10; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); position: relative; overflow: hidden; }
.mockui__cell::after { content:""; position:absolute; inset:0; background: linear-gradient(115deg, transparent 40%, rgba(61,139,255,.18) 50%, transparent 60%); }
.mockui__pill { display:inline-flex; align-items:center; gap:7px; align-self:flex-start; padding:6px 12px; border-radius:999px; background: rgba(0,102,255,.18); border:1px solid rgba(61,139,255,.3); font-size:.78rem; color:#cfe0ff; }
.mockui__pill .dot { width:7px;height:7px;border-radius:50%;background:#3DD68C; box-shadow:0 0 0 4px rgba(61,214,140,.18); }
.mockui__pill .dot.alert { background:#ff5b5b; box-shadow:0 0 0 4px rgba(255,91,91,.18); animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity:.3; } }

/* ============================================================
   SCREENSHOT / BROWSER FRAME
   ============================================================ */
.shot {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  background: #fff; box-shadow: 0 30px 60px -20px rgba(38,45,58,.28), 0 12px 24px -12px rgba(38,45,58,.18);
}
.shot__bar {
  display: flex; align-items: center; gap: 7px; padding: 11px 15px;
  background: #f0f3f9; border-bottom: 1px solid var(--line);
}
.shot__bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.shot__bar i:nth-child(1) { background: #ff5f57; }
.shot__bar i:nth-child(2) { background: #febc2e; }
.shot__bar i:nth-child(3) { background: #28c840; }
.shot__bar .url {
  margin-left: 12px; font-size: .76rem; color: var(--gray-500);
  background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 4px 14px;
  display: inline-flex; align-items: center; gap: 7px; max-width: 60%;
}
.shot__bar .url svg { width: 12px; height: 12px; color: #28c840; }
.shot img { display: block; width: 100%; height: auto; }
.shot { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.split__shot .shot:hover {
  transform: translateY(-5px);
  box-shadow: 0 40px 70px -22px rgba(38,45,58,.34), 0 16px 30px -14px rgba(38,45,58,.22);
}
.split__shot { position: relative; }
.split__shot::before {
  content: ""; position: absolute; inset: -8% -6% -12% -6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,102,255,.18), transparent 75%); filter: blur(8px);
}

/* Showcase (producto en grande) — continúa la zona oscura del hero */
.showcase {
  position: relative;
  background:
    radial-gradient(1000px 520px at 50% 16%, rgba(0,102,255,.22), transparent 62%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  padding: clamp(28px, 4vw, 56px) 0 clamp(72px, 9vw, 120px);
  color: #cdd5e2;
}
/* sutil red/grid de fondo, igual que el hero, para cohesión */
.showcase .container { position: relative; z-index: 1; }
.showcase__head { text-align: center; max-width: 740px; margin: 0 auto 46px; }
.showcase__head h2 { color: #fff; }
.showcase__frame { position: relative; max-width: 1060px; margin: 0 auto; }
.showcase__frame .shot {
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 60px 120px -34px rgba(0,0,0,.72), 0 28px 60px -28px rgba(0,102,255,.5);
}
.showcase__frame::after {
  content: ""; position: absolute; left: 6%; right: 6%; bottom: -26px; height: 60px; z-index: -1;
  background: rgba(0,102,255,.55); filter: blur(56px); border-radius: 50%;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 40px; }
.tag-row .chip { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: #cdd5e2; }
.tag-row .chip svg { color: var(--blue-bright); }

/* ============================================================
   PHONE MOCK (agente móvil)
   ============================================================ */
.phone {
  width: 256px; margin: 0 auto; border-radius: 38px; padding: 11px;
  background: #0c111a; border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 50px 90px -34px rgba(0,0,0,.75), inset 0 0 0 2px rgba(255,255,255,.03);
  position: relative;
}
.phone::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 22px; border-radius: 0 0 14px 14px; background: #0c111a; z-index: 3;
}
.phone__screen {
  border-radius: 28px; overflow: hidden; aspect-ratio: 9 / 18.5;
  background: linear-gradient(180deg, #161d2a, #0f141d); position: relative;
  display: flex; flex-direction: column;
}
.phone__top { padding: 34px 16px 12px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid rgba(255,255,255,.07); }
.phone__top img { width: 26px; }
.phone__top b { color: #fff; font-size: .82rem; font-weight: 600; }
.phone__map { flex: 1; position: relative; background:
  radial-gradient(120px 120px at 40% 35%, rgba(0,102,255,.28), transparent 70%),
  radial-gradient(140px 140px at 75% 70%, rgba(61,139,255,.18), transparent 70%),
  #0d1320; }
.phone__map::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(120,150,200,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(120,150,200,.08) 1px, transparent 1px);
  background-size: 26px 26px;
}
.phone__pin { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 0 4px rgba(61,139,255,.22); }
.phone__pin.live { background: #ff5b5b; box-shadow: 0 0 0 4px rgba(255,91,91,.22); }
.phone__live { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(255,91,91,.16); border: 1px solid rgba(255,91,91,.4); font-size: .68rem; color: #ffd1d1; font-weight: 600; }
.phone__live .d { width: 6px; height: 6px; border-radius: 50%; background: #ff5b5b; }
.phone__rows { padding: 10px; display: grid; gap: 7px; background: #0f141d; }
.phone__row { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.05); }
.phone__row .plate { font-family: var(--font-display); letter-spacing: .08em; font-size: .74rem; color: #fff; }
.phone__row .tag { margin-left: auto; font-size: .6rem; font-weight: 700; padding: 2px 7px; border-radius: 5px; }
.phone__row .tag.neg { background: rgba(255,91,91,.18); color: #ff9b9b; }
.phone__row .tag.ok { background: rgba(61,214,140,.18); color: #6fe0a6; }

/* ============================================================
   CTA BLOCK
   ============================================================ */
.cta-block {
  border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); text-align: center;
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 400px at 50% -20%, rgba(61,139,255,.4), transparent 60%),
    linear-gradient(135deg, var(--blue-700), var(--blue));
  color: #fff;
}
.cta-block h2 { color: #fff; }
.cta-block p { color: rgba(255,255,255,.85); max-width: 560px; margin: 16px auto 0; }
.cta-block .btn--primary { background: #fff; color: var(--blue-700); }
.cta-block .btn--primary:hover { background: var(--gray-100); }
.cta-block .btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.cta-block .btn--ghost:hover { border-color:#fff; background: rgba(255,255,255,.1); color:#fff; }
.cta-block .hero__cta { justify-content: center; margin-top: 30px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-950); color: #99a3b5; padding: 72px 0 30px; }
.site-footer h4 { color: #fff; font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand .brand__word { color: #fff; }
.footer__about { margin-top: 18px; font-size: .95rem; color: #8b95a8; max-width: 320px; }
.footer__links li { margin-bottom: 11px; }
.footer__links a { font-size: .95rem; color: #99a3b5; transition: color .2s; }
.footer__links a:hover { color: var(--blue-bright); }
.footer__bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: .85rem; color: #6f7a8d;
}
.footer__bottom .slogan { font-family: var(--font-display); letter-spacing: .04em; color: #8b95a8; }

/* ============================================================
   FORM (contacto)
   ============================================================ */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--navy); }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  font: inherit; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--navy); transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,102,255,.12);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__note { font-size: .85rem; color: var(--gray-500); }
.contact-cards { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, transform .2s; }
.contact-item:hover { border-color: var(--blue); transform: translateY(-2px); }
.contact-item__ic { flex: none; width: 44px; height: 44px; border-radius: 11px; background: rgba(0,102,255,.1); color: var(--blue); display: grid; place-items: center; }
.contact-item__ic svg { width: 22px; height: 22px; }
.contact-item strong { display: block; color: var(--navy); font-size: 1rem; }
.contact-item span { font-size: .92rem; color: var(--text-soft); }
.form-status { padding: 14px 16px; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 500; display: none; }
.form-status.ok { display: block; background: rgba(61,214,140,.12); color: #1c8a52; border: 1px solid rgba(61,214,140,.3); }
.form-status.err { display: block; background: rgba(255,91,91,.1); color: #c23030; border: 1px solid rgba(255,91,91,.3); }

/* ============================================================
   PAGE HEADER (interior)
   ============================================================ */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 70px) 0 70px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(0,102,255,.28), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: #cdd5e2;
}
.page-hero .hero__grid-bg { opacity: .4; }
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero p { color: #aeb9cc; max-width: 620px; margin-top: 18px; font-size: clamp(1.02rem,1.5vw,1.22rem); }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: #8b95a8; margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--blue-bright); }
.breadcrumb span { color: var(--blue-bright); }

/* anchor offset por nav fija */
.anchor { scroll-margin-top: calc(var(--nav-h) + 20px); }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero__layout { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; max-width: 360px; margin-inline: auto; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__media { order: 0; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 820px) {
  .nav__menu, .nav__actions .btn { display: none; }
  .nav__toggle {
    display: inline-flex; flex-direction: column; gap: 5px; justify-content: center;
    width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line);
    background: rgba(255,255,255,.6);
  }
  .site-header.on-dark:not(.scrolled) .nav__toggle { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); }
  .nav__toggle span { width: 20px; height: 2px; background: currentColor; margin-inline: auto; border-radius: 2px; transition: .25s; }
  .site-header.on-dark:not(.scrolled) .nav__toggle span { background: #fff; }
  .nav__toggle span:nth-child(1),.nav__toggle span:nth-child(3){ color: var(--navy); }
  .nav__toggle span { color: var(--navy); }
  .site-header.on-dark:not(.scrolled) .nav__toggle span { color: #fff; }

  .mobile-menu {
    position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
    background: rgba(255,255,255,.98); backdrop-filter: blur(10px);
    padding: 28px 24px; display: flex; flex-direction: column; gap: 6px;
    transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto;
  }
  .mobile-menu.open { transform: none; }
  .mobile-menu a { padding: 15px 12px; font-size: 1.15rem; font-weight: 500; color: var(--navy); border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 18px; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .hero__cta .btn, .cta-block .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
.mobile-menu { display: none; }
@media (max-width: 820px) { .mobile-menu { display: flex; } }
