/* ============================================================
   GigaDefense — Home Redesign
   Design tokens + global styles
   ============================================================ */

:root {
  /* Navy scale */
  --navy-950: #060F1C;
  --navy-900: #0A0F1E;
  --navy-850: #0C1E33;
  --navy-800: #102843;
  --navy-700: #16365A;
  --navy-600: #1E466F;

  /* Accents */
  --coral: #F26B1A;
  --coral-600: #FF7A2E;
  --coral-ink: #C0480A;
  --coral-soft: rgba(242,107,26, 0.12);
  --cyan: #4C8FDB;
  --cyan-ink: #15487F;
  --cyan-soft: rgba(27,91,170, 0.14);
  --blue-royal: #1B5BAA;
  --navy-brand: #1A2A4B;
  --lime: #B4E054;
  --lime-soft: rgba(180,224,84, 0.16);

  /* Light surfaces */
  --paper: #F5F6F8;
  --paper-2: #EBEEF2;
  --white: #FFFFFF;

  /* Ink / text */
  --ink: #0A1828;
  --ink-2: #1C2A3D;
  --slate: #56657A;
  --slate-2: #8593A4;
  --on-dark: #EAF0F7;
  --on-dark-muted: #B0BAC8;

  /* Lines */
  --line: #E3E7ED;
  --line-2: #D4DAE2;
  --line-dark: rgba(255, 255, 255, 0.10);
  --line-dark-2: rgba(255, 255, 255, 0.06);

  /* Type */
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;

  /* Layout */
  --maxw: 1240px;
  --gutter: 40px;
  --nav-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  font-family: var(--body);
  background: var(--white);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* Accessible focus ring on all interactive elements */
a:focus-visible, button:focus-visible, .btn:focus-visible, [tabindex]:focus-visible, input:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Layout primitives ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 128px 0; position: relative; }
.section--tight { padding: 96px 0; }
section[id], [id].hero { scroll-margin-top: 88px; }

.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--coral);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { display: none; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.04; letter-spacing: -0.02em; }

.section-title {
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.section-head { margin-bottom: 64px; }
.section-head--center { text-align: center; }
.section-head--center .section-title { margin: 18px auto 0; }
.section-head--center .eyebrow { margin: 0 auto; }
.section-lead {
  font-size: 19px;
  color: var(--slate);
  max-width: 56ch;
  margin-top: 22px;
  line-height: 1.55;
}
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }

/* dark variants */
.dark { background: var(--navy-900); color: var(--on-dark); }
.dark .section-lead { color: var(--on-dark-muted); }
.dark .section-title { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  padding: 14px 24px;
  border-radius: 10px;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 8px 24px -10px rgba(242,107,26,.45); }
.btn--primary:hover { background: var(--coral-600); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(242,107,26,.28); }
.btn--primary:active { transform: scale(.98); }

.btn--ghost-dark { background: rgba(255,255,255,.04); color: var(--white); border: 1px solid var(--line-dark); }
.btn--ghost-dark:hover { background: rgba(255,255,255,.10); transform: translateY(-2px); }
.btn--ghost-dark:active { transform: scale(.98); }

.btn--ghost-light { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn--ghost-light:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn--sm { padding: 11px 18px; font-size: 14px; }

.linkmore {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--coral);
}
.linkmore svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.linkmore:hover svg { transform: translateX(3px); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
}
html.anim .nav { transition: height .25s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav.scrolled {
  height: 62px;
  background: rgba(10,15,30,.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
}

/* logo */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__word { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; color: var(--white); transition: color .35s var(--ease); }
.logo__word b { color: var(--coral); font-weight: 600; }
.nav.scrolled .logo__word { color: #fff; }

.nav__menu { display: flex; align-items: center; gap: 34px; }
.nav__link {
  font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,.82);
  transition: color .2s var(--ease);
  position: relative;
}

/* Tecnologías dropdown */
.nav__item--drop { position: relative; }
.nav__drop-trigger { display: inline-flex; align-items: center; gap: 6px; font-family: var(--body); background: none; }
.nav__caret { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav__item--drop:hover .nav__caret, .nav__item--drop.open .nav__caret { transform: rotate(180deg); }
.nav__dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 344px; background: var(--navy-brand);
  border: 1px solid var(--line-dark); border-radius: 14px;
  padding: 10px; display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 30px 70px -34px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; pointer-events: none;
  z-index: 120;
}
html.anim .nav__dropdown { transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s var(--ease); }
.nav__dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav__item--drop:hover .nav__dropdown, .nav__item--drop.open .nav__dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav__drop-item { display: flex; align-items: center; gap: 14px; padding: 12px 13px; border-radius: 10px; transition: background .2s var(--ease); }
.nav__drop-item:hover { background: rgba(255,255,255,.06); }
.nav__drop-icon { width: 38px; height: 38px; flex: none; border-radius: 9px; background: rgba(27,91,170,.18); color: var(--cyan); display: flex; align-items: center; justify-content: center; }
.nav__drop-icon svg { width: 21px; height: 21px; }
.nav__drop-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nav__drop-txt strong { font-family: var(--display); font-weight: 600; font-size: 14.5px; color: #fff; letter-spacing: -0.01em; line-height: 1.2; white-space: nowrap; }
.nav__drop-txt span { font-size: 12px; color: var(--on-dark-muted); white-space: nowrap; }

.nav__link:hover { color: #fff; }
.nav.scrolled .nav__link { color: rgba(255,255,255,.7); }
.nav.scrolled .nav__link:hover { color: #fff; }

.nav__right { display: flex; align-items: center; gap: 18px; }

/* lang toggle */
.lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
}
.nav.scrolled .lang { border-color: var(--line-dark); background: rgba(255,255,255,.05); }
.lang__btn {
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  padding: 7px 11px;
  color: var(--on-dark-muted);
  transition: background .2s, color .2s;
}
.nav.scrolled .lang__btn { color: var(--on-dark-muted); }
.lang__btn.active { background: var(--coral); color: #fff; }
.nav.scrolled .lang__btn.active { color: #fff; }

.nav__burger { display: none; }
.nav__cta-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex: none; box-shadow: 0 0 0 0 rgba(180,224,84,.55); animation: pulseLime 2.4s infinite; }

/* "¿Bajo ataque?" — línea de emergencia 24/7 */
.nav__alert {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #C8102E 0%, #E91E2C 100%);
  color: #fff;
  font-family: var(--font-display, "Space Grotesk", system-ui);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.32), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  isolation: isolate;
}
.nav__alert::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(233,30,44,0.45), transparent 70%);
  z-index: -1;
  opacity: .65;
  animation: alertGlow 2.6s ease-in-out infinite;
}
.nav__alert:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(200, 16, 46, 0.46), inset 0 1px 0 rgba(255,255,255,.22); }
.nav__alert:active { transform: translateY(0); }
.nav__alert:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.nav__alert-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #FFE9EA;
  box-shadow: 0 0 0 0 rgba(255, 230, 230, 0.85);
  animation: alertPulse 1.6s infinite;
  flex: none;
}
.nav__alert-icon { width: 15px; height: 15px; flex: none; }
@keyframes alertPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 230, 230, 0.85); }
  70% { box-shadow: 0 0 0 9px rgba(255, 230, 230, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 230, 230, 0); }
}
@keyframes alertGlow {
  0%, 100% { opacity: .45; }
  50% { opacity: .85; }
}
@media (prefers-reduced-motion: reduce) {
  .nav__alert::before, .nav__alert-pulse { animation: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--on-dark);
  padding: calc(var(--nav-h) + 96px) 0 104px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__geo { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__geo polygon, .hero__geo path { fill: none; stroke-width: 1.4; }
.hero__geo .geo-blue { stroke: var(--blue-royal); opacity: .2; }
.hero__geo .geo-orange { stroke: var(--coral); opacity: .14; }
.hero__grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 120% at 70% 30%, #000 35%, transparent 78%);
          mask-image: radial-gradient(120% 120% at 70% 30%, #000 35%, transparent 78%);
}
.hero__glow {
  position: absolute;
  width: 760px; height: 760px;
  right: -180px; top: -200px;
  background: radial-gradient(circle, rgba(242,107,26,.20), transparent 62%);
  filter: blur(10px);
}
.hero__glow2 {
  position: absolute;
  width: 520px; height: 520px;
  left: -160px; bottom: -220px;
  background: radial-gradient(circle, rgba(27,91,170,.12), transparent 62%);
}

.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }

.hero__tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 500;
  color: var(--on-dark);
  background: var(--navy-brand);
  border: 1px solid rgba(180,224,84,.28);
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero__tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(180,224,84,.55); animation: pulseLime 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(27,91,170,.5);} 70%{ box-shadow: 0 0 0 8px rgba(27,91,170,0);} 100%{box-shadow:0 0 0 0 rgba(27,91,170,0);} }
@keyframes pulseLime { 0% { box-shadow: 0 0 0 0 rgba(180,224,84,.55);} 70%{ box-shadow: 0 0 0 8px rgba(180,224,84,0);} 100%{box-shadow:0 0 0 0 rgba(180,224,84,0);} }

.hero h1 {
  font-size: clamp(46px, 5.4vw, 78px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #fff;
  font-weight: 500;
}
.hero h1 .accent { color: var(--coral); }
.hero__sub { font-size: 20px; color: var(--on-dark-muted); max-width: 50ch; margin-top: 26px; line-height: 1.55; }
.hero__cta { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

.hero__kpis {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 64px;
  border-top: 1px solid var(--line-dark);
  padding-top: 32px;
}
.kpi { padding-right: 18px; }
.kpi__num { font-family: var(--display); font-size: 34px; font-weight: 500; color: #fff; letter-spacing: -0.02em; line-height: 1; }
.kpi__num .u { color: var(--coral); }
.kpi__label { font-size: 13px; color: var(--on-dark-muted); margin-top: 8px; line-height: 1.35; }

/* hero visual */
.hero__visual { position: relative; height: 460px; }
.hero__viz-svg { width: 100%; height: 100%; overflow: visible; }
.viz-ring { fill: none; stroke: rgba(255,255,255,.10); }
.viz-ring--accent { stroke: rgba(242,107,26,.55); }
.viz-node { fill: var(--navy-700); stroke: rgba(255,255,255,.18); }
.viz-node--accent { fill: var(--coral); stroke: none; }
.viz-node--cyan { fill: var(--cyan); stroke: none; }
.viz-line { stroke: rgba(255,255,255,.12); fill: none; }
.viz-link { stroke: rgba(255,255,255,.16); stroke-width: 1; stroke-dasharray: 2 7; fill: none; }
.viz-shield { fill: rgba(242,107,26,.06); stroke: var(--coral); }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes spinRev { to { transform: rotate(-360deg); } }
.viz-rot1 { transform-origin: 230px 230px; animation: spinSlow 60s linear infinite; }
.viz-rot2 { transform-origin: 230px 230px; animation: spinRev 90s linear infinite; }
@keyframes scan { 0%{ opacity:0; transform: translateY(-6px);} 50%{opacity:1;} 100%{opacity:0; transform: translateY(6px);} }
.viz-scan { animation: scan 3.4s ease-in-out infinite; }
@keyframes nodeP { 0%,100%{ r:5; opacity:.9;} 50%{ r:7; opacity:1;} }

/* floating SOC alert chips */
.hero__viz { position: relative; width: 100%; height: 100%; }
.hero__viz-svg { width: 100%; height: 100%; overflow: visible; }
.soc-chip {
  position: absolute; display: flex; align-items: center; gap: 11px;
  background: rgba(11,26,45,.74); border: 1px solid var(--line-dark);
  border-radius: 13px; padding: 11px 15px 11px 12px;
  backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px);
  box-shadow: 0 22px 46px -26px rgba(0,0,0,.7);
}
.soc-chip__hex { width: 32px; height: 32px; border-radius: 9px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--coral-soft); color: var(--coral); }
.soc-chip__hex--cyan { background: var(--cyan-soft); color: var(--cyan); }
.soc-chip__hex svg { width: 17px; height: 17px; }
.soc-chip__txt { display: flex; flex-direction: column; line-height: 1.18; }
.soc-chip__label { font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 600; }
.soc-chip__val { font-family: var(--display); font-size: 13.5px; color: #fff; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.soc-chip--1 { top: 46px; left: -16px; animation: floaty 5.5s ease-in-out infinite; }
.soc-chip--2 { bottom: 60px; right: -20px; animation: floaty 6.5s ease-in-out infinite .9s; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-9px);} }

/* ============================================================
   PARTNERS TRUST BAR
   ============================================================ */
.partners { background: var(--navy-brand); color: var(--on-dark); padding: 80px 0; }
.partners .section-head { margin-bottom: 48px; }
.partners .section-title { color: #fff; }
.partners__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.partner {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px;
  padding: 18px 28px; position: relative;
}
.partner + .partner::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px;
  background: rgba(27,91,170,.3);
}
.partner__logo {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: #fff; opacity: .7; transition: opacity .25s var(--ease);
}
.partner:hover .partner__logo { opacity: 1; }
.partner__logo svg { width: 40px; height: 40px; }
.partner__name { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; line-height: 1.2; }
.partner__cap {
  font-size: 11.5px; font-variant: small-caps; text-transform: lowercase;
  letter-spacing: 0.08em; color: var(--on-dark-muted); font-weight: 600;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--white); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px 28px;
  cursor: pointer;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
  overflow: hidden;
}
.svc::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--coral); transition: width .35s var(--ease);
}
.svc:hover { border-color: var(--line-2); background: #FAFBFD; box-shadow: 0 22px 52px -28px rgba(10,24,40,.32); transform: translateY(-5px); }
.svc:hover::after { width: 100%; }
.svc:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.svc__num { position: absolute; top: 26px; right: 28px; font-family: var(--display); font-size: 14px; color: var(--slate-2); font-weight: 500; transition: opacity .25s var(--ease); }
.svc:hover .svc__num { opacity: 0; }
.svc__open {
  position: absolute; top: 22px; right: 22px; width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--coral); background: var(--coral-soft);
  opacity: 0; transform: scale(.8);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.svc__open svg { width: 17px; height: 17px; }
.svc:hover .svc__open { opacity: 1; transform: none; }
.svc__icon {
  width: 52px; height: 52px; border-radius: 13px;
  background: var(--paper); color: var(--blue-royal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; transition: background .3s var(--ease), color .3s var(--ease);
}
.svc__icon svg { width: 27px; height: 27px; stroke-width: 1.5; transition: filter .2s var(--ease); }
.svc:hover .svc__icon { background: var(--coral-soft); color: var(--coral); }
.svc:hover .svc__icon svg { filter: drop-shadow(0 0 9px rgba(242,107,26,.5)); }
.svc h3 { font-size: 19px; letter-spacing: -0.02em; margin-bottom: 8px; }
.svc__sub { font-size: 14.5px; font-weight: 500; color: var(--ink); line-height: 1.4; letter-spacing: -0.01em; margin-bottom: 14px; }
.svc__desc { font-size: 14px; color: var(--slate); line-height: 1.55; margin-bottom: 22px; }
.svc__cta {
  margin-top: auto; display: block;
  font-weight: 600; font-size: 13.5px; color: var(--coral); letter-spacing: -0.005em;
}
.svc__cta svg { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; margin-left: 6px; transition: transform .25s var(--ease); }
.svc:hover .svc__cta svg { transform: translateX(4px); }
.cta-bullets { display: flex; flex-direction: column; gap: 11px; margin: 0 0 28px; }
.cta-bullets li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--on-dark); line-height: 1.45; }
.cta-bullets li svg { width: 18px; height: 18px; flex: none; color: var(--coral); margin-top: 1px; }

/* ---------- Service detail drawer ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6,15,28,.5); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  opacity: 0;
}
.drawer-backdrop.open { opacity: 1; }
.drawer-backdrop[hidden] { display: none; }
html.anim .drawer-backdrop { transition: opacity .35s var(--ease); }

.drawer {
  position: fixed; top: 0; right: 0; z-index: 201;
  width: min(496px, 94vw); height: 100%;
  background: var(--white);
  display: flex; flex-direction: column;
  box-shadow: -40px 0 90px -50px rgba(6,15,28,.7);
  transform: translateX(100%);
  visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
html.anim .drawer { transition: transform .44s var(--ease), visibility .44s var(--ease); }
.drawer__close {
  position: absolute; top: 22px; right: 22px; z-index: 3;
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--slate); background: var(--paper);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.drawer__close:hover { background: var(--paper-2); color: var(--ink); }
.drawer__close svg { width: 18px; height: 18px; }
.drawer__scroll { flex: 1; overflow-y: auto; padding: 56px 48px 32px; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.drawer__icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--navy-brand); color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
}
.drawer__icon svg { width: 32px; height: 32px; stroke-width: 1.5; }
.drawer__num { font-family: var(--display); font-size: 34px; font-weight: 500; color: var(--line-2); letter-spacing: -.02em; }
.drawer__title { font-size: 27px; letter-spacing: -.025em; line-height: 1.1; margin-bottom: 12px; }
.drawer__sub { font-size: 16px; font-weight: 500; color: var(--coral); line-height: 1.4; margin-bottom: 22px; }
.drawer__desc { font-size: 15.5px; color: var(--slate); line-height: 1.62; margin-bottom: 34px; }
.drawer__inc { border-top: 1px solid var(--line); padding-top: 28px; }
.drawer__inc-title { font-family: var(--body); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ink); margin-bottom: 18px; }
.drawer__list { display: flex; flex-direction: column; gap: 14px; }
.drawer__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.drawer__list li svg { width: 20px; height: 20px; flex: none; color: var(--coral); margin-top: 1px; stroke-width: 2; }
.drawer__footer { padding: 22px 48px 30px; border-top: 1px solid var(--line); background: var(--white); }
.drawer__cta { width: 100%; justify-content: center; }
.drawer__note { font-size: 12.5px; color: var(--slate-2); text-align: center; margin-top: 14px; }
body.drawer-open { overflow: hidden; }

/* ============================================================
   WHY US
   ============================================================ */
.why { background: var(--paper); }
.why__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.diff {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.diff:hover { transform: translateY(-5px); box-shadow: 0 22px 50px -28px rgba(10,24,40,.26); border-color: var(--line-2); }
.diff__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--navy-brand); color: var(--cyan);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.diff__icon svg { width: 24px; height: 24px; stroke-width: 1.5; }
.diff h3 { font-size: 18px; font-weight: 500; margin-bottom: 10px; letter-spacing: -0.02em; }
.diff p { font-size: 14.5px; color: var(--slate); line-height: 1.55; }

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto {
  background: var(--navy-950);
  color: #fff;
  padding: 168px 0;
  position: relative;
  overflow: hidden;
}
.manifesto__grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(110% 100% at 50% 50%, #000 30%, transparent 80%);
          mask-image: radial-gradient(110% 100% at 50% 50%, #000 30%, transparent 80%);
}
.manifesto__quote-mark { position: absolute; font-family: var(--display); font-size: 360px; color: rgba(255,255,255,.03); top: 40px; left: 4%; line-height: 1; user-select: none; }
.manifesto__inner { position: relative; z-index: 2; max-width: 1140px; }
.manifesto__eyebrow { color: var(--cyan); margin-bottom: 34px; }
.manifesto__eyebrow::before { background: var(--cyan); }
.manifesto blockquote {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: rgba(255,255,255,.5);
  text-wrap: balance;
}
.manifesto blockquote .hl { color: #fff; }
.manifesto blockquote .hl-coral { color: var(--coral); }
.manifesto__author { display: flex; align-items: center; gap: 14px; margin-top: 56px; }
.manifesto__author-line { width: 40px; height: 1.5px; background: var(--coral); }
.manifesto__author span { font-family: var(--body); font-size: 15px; color: var(--on-dark-muted); letter-spacing: 0; }
.manifesto__stats { display: flex; gap: 0; flex-wrap: wrap; margin-top: 60px; padding-top: 42px; border-top: 1px solid var(--line-dark); }
.mstat { flex: 1; min-width: 200px; max-width: 320px; padding-right: 40px; }
.mstat + .mstat { padding-left: 40px; border-left: 1px solid rgba(27,91,170,.28); }
.mstat__num { font-family: var(--display); font-size: clamp(34px, 3.4vw, 46px); font-weight: 500; color: #fff; letter-spacing: -0.02em; line-height: 1; display: flex; align-items: baseline; gap: 7px; }
.mstat__u { font-size: .46em; color: var(--coral); font-weight: 500; letter-spacing: 0; }
.mstat__label { font-family: var(--body); font-size: 13.5px; color: var(--on-dark-muted); margin-top: 16px; line-height: 1.5; }

/* ============================================================
   INDUSTRY STATS
   ============================================================ */
.stats { background: var(--white); }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.stat { padding: 56px 44px; border-right: 1px solid var(--line); position: relative; }
.stat:last-child { border-right: none; }
.stat__num { font-family: var(--display); font-size: clamp(52px, 5vw, 72px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.stat__num .u { color: var(--coral); font-size: .6em; }
.stat__label { font-size: 15.5px; color: var(--slate); margin-top: 18px; line-height: 1.5; max-width: 30ch; }
.stat__src { font-size: 12px; color: var(--slate-2); margin-top: 18px; letter-spacing: .01em; }

/* ============================================================
   HOW WE WORK
   ============================================================ */
.how { background: var(--navy-900); color: var(--on-dark); }
.how__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.step { position: relative; }
.step__top { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.step__big { font-family: var(--display); font-size: 46px; font-weight: 500; color: var(--coral); letter-spacing: -0.03em; line-height: 1; flex: none; }
.step__track { flex: 1; height: 1.5px; background: var(--line-dark); position: relative; }
.step__track::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.step__track--end { background: linear-gradient(90deg, var(--line-dark), transparent); }
.step__track--end::after { display: none; }
.step h3 { font-size: 21px; color: #fff; margin-bottom: 11px; letter-spacing: -0.02em; }
.step p { font-size: 14.5px; color: var(--on-dark-muted); line-height: 1.55; max-width: 30ch; }

/* ============================================================
   CASES / TESTIMONIALS
   ============================================================ */
.cases { background: var(--paper); }
.cases__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case {
  position: relative;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 34px 30px 30px; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.case:hover { transform: translateY(-5px); box-shadow: 0 28px 60px -34px rgba(10,24,40,.30); border-color: var(--line-2); }
.case__icon {
  width: 50px; height: 50px; border-radius: 13px;
  background: var(--paper); color: var(--blue-royal);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.case__icon svg { width: 25px; height: 25px; stroke-width: 1.6; }
.case:hover .case__icon { background: var(--coral-soft); color: var(--coral); }
.case__sector { font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--slate); }
.case__metric { font-family: var(--display); font-size: clamp(38px, 3.2vw, 46px); font-weight: 500; color: var(--coral-ink); letter-spacing: -0.02em; line-height: 1; margin: 12px 0 16px; }
.case__desc { font-size: 14px; color: var(--slate); line-height: 1.55; margin-top: auto; }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries { background: var(--white); }
.ind__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.ind {
  border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.ind:hover { background: var(--navy-brand); border-color: var(--navy-brand); transform: translateY(-4px); }
.ind__icon { width: 30px; height: 30px; color: var(--navy-800); transition: color .3s var(--ease); }
.ind__icon svg { width: 30px; height: 30px; stroke-width: 1.4; }
.ind:hover .ind__icon { color: var(--cyan); }
.ind h3 { font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; transition: color .3s var(--ease); }
.ind:hover h3 { color: #fff; }

/* ============================================================
   INSIGHTS
   ============================================================ */
.insights { background: var(--paper); }
.ins__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.post:hover { transform: translateY(-5px); box-shadow: 0 28px 60px -34px rgba(10,24,40,.28); border-color: var(--line-2); }
.post__cover { height: 172px; position: relative; overflow: hidden; background: var(--navy-900); }
.post__cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.post__cat { position: absolute; top: 16px; left: 16px; z-index: 2; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; padding: 5px 11px; border-radius: 6px; white-space: nowrap; }
.post__cat--mint { background: var(--cyan); color: var(--navy-900); }
.post__cat--coral { background: var(--coral); color: #fff; }
.post__cat--navy { background: #2C5E96; color: #fff; }
.post__body { padding: 26px 26px 24px; display: flex; flex-direction: column; flex: 1; }
.post h3 { font-size: 19px; line-height: 1.22; letter-spacing: -0.02em; margin-bottom: 12px; transition: color .25s var(--ease); }
.post:hover h3 { color: var(--coral); }
.post__excerpt { font-size: 14px; color: var(--slate); line-height: 1.5; margin-bottom: 22px; }
.post__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.post__meta { font-size: 12.5px; color: var(--slate); letter-spacing: .01em; }
.post__read { font-size: 13.5px; font-weight: 600; color: var(--coral); display: inline-flex; align-items: center; gap: 6px; }
.post__read svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.post:hover .post__read svg { transform: translateX(3px); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.finalcta { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; padding: 132px 0; }
.finalcta__glow { position: absolute; width: 720px; height: 720px; right: -160px; bottom: -300px; background: radial-gradient(circle, rgba(242,107,26,.18), transparent 62%); }
.finalcta__grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.02) 1px,transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px,transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(100% 100% at 30% 50%, #000 30%, transparent 78%);
          mask-image: radial-gradient(100% 100% at 30% 50%, #000 30%, transparent 78%);
}
.finalcta__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 760px; margin: 0 auto; }
.finalcta h2 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.05; letter-spacing: -0.03em; color: #fff; margin-top: 20px; text-wrap: balance; }
.finalcta h2 .accent { color: var(--coral); }
.finalcta__sub { font-size: 19px; color: var(--on-dark-muted); margin-top: 22px; line-height: 1.55; }
.finalcta__cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }
.finalcta__badge { margin-top: 28px; font-size: 13.5px; color: var(--on-dark-muted); display: inline-flex; align-items: center; gap: 9px; }
.finalcta__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(180,224,84,.14); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-950); color: var(--on-dark-muted); padding: 84px 0 0; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr 1.5fr; gap: 36px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark-2); }
.footer__brand .logo__word { color: #fff; }
.footer__tagline { font-size: 14.5px; color: var(--on-dark-muted); margin-top: 20px; line-height: 1.55; max-width: 30ch; }
.footer__col h5 { font-size: 13.5px; letter-spacing: .02em; color: #fff; font-weight: 600; margin-bottom: 20px; font-family: var(--body); }
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 14.5px; color: var(--on-dark-muted); transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__col--contact a { word-break: break-word; }
.footer__loc { font-size: 14.5px; color: var(--on-dark-muted); }
.footer__col--contact .footer__social { margin-top: 22px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: center; color: var(--on-dark-muted); transition: all .25s var(--ease); }
.footer__social a:hover { color: var(--coral); border-color: var(--coral); background: transparent; }
.footer__social svg { width: 17px; height: 17px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; gap: 20px; flex-wrap: wrap; }
.footer__bottom p { font-size: 13.5px; color: var(--slate-2); }
.footer__fintech { font-size: 12.5px; font-weight: 600; letter-spacing: .01em; color: var(--cyan); background: var(--cyan-soft); border: 1px solid rgba(27,91,170,.22); padding: 7px 14px; border-radius: 100px; white-space: nowrap; }

/* ============================================================
   SCROLL REVEAL  (visible by default; entrance armed only when
   the animation clock is confirmed alive — see app.js)
   ============================================================ */
.reveal { opacity: 1; transform: none; }
html.anim .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
html.anim .reveal.in { opacity: 1; transform: none; }
html.anim .reveal[data-delay="1"] { transition-delay: .06s; }
html.anim .reveal[data-delay="2"] { transition-delay: .12s; }
html.anim .reveal[data-delay="3"] { transition-delay: .18s; }
html.anim .reveal[data-delay="4"] { transition-delay: .24s; }
html.anim .reveal[data-delay="5"] { transition-delay: .30s; }

@media (prefers-reduced-motion: reduce) {
  html.anim .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ============================================================
   RESPONSIVE (prototype is desktop-1440 first; graceful down)
   ============================================================ */
@media (max-width: 1100px) {
  .nav__menu { gap: 16px; }
  .nav__link { font-size: 14px; }
  .nav__right { gap: 12px; }
}
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .svc-grid, .ins__grid { grid-template-columns: repeat(2, 1fr); }
  .cases__grid { grid-template-columns: repeat(2, 1fr); }
  .ind__grid { grid-template-columns: repeat(3, 1fr); }
  .partners__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .partner:nth-child(3)::before { display: none; }
  .why__list { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; row-gap: 44px; }
  .how__steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
}
@media (max-width: 720px) {
  :root { --gutter: 22px; }
  .section { padding: 80px 0; }
  .nav__menu, .nav__cta-btn { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__alert { padding: 7px 11px; gap: 6px; font-size: 12.5px; }
  .nav__alert-text { display: none; }
  .hero__kpis { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .svc-grid, .cases__grid, .ins__grid, .why__list, .how__steps { grid-template-columns: 1fr; }
  .ind__grid { grid-template-columns: 1fr 1fr; }
  .partners__grid { grid-template-columns: 1fr; row-gap: 36px; }
  .partner + .partner::before { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   HERO WORD ROTATOR
   ============================================================ */
.rotator { display: inline-block; transition: opacity .28s ease; }

/* ============================================================
   PARTNER PAGES (/tecnologias/*)
   ============================================================ */
.phero { background: var(--navy-900); color: var(--on-dark); padding: calc(var(--nav-h) + 84px) 0 84px; text-align: center; position: relative; overflow: hidden; }
.phero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.phero__glow { position: absolute; width: 680px; height: 680px; left: 50%; top: -260px; transform: translateX(-50%); background: radial-gradient(circle, rgba(242,107,26,.16), transparent 62%); }
.phero__grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(110% 100% at 50% 0%, #000 30%, transparent 78%); mask-image: radial-gradient(110% 100% at 50% 0%, #000 30%, transparent 78%); }
.phero__inner { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; }
.phero__crumb { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--on-dark-muted); margin-bottom: 30px; }
.phero__crumb a { color: var(--cyan); }
.phero__crumb a:hover { color: #fff; }
.phero__logo { display: inline-flex; flex-direction: column; align-items: center; gap: 20px; color: #fff; margin-bottom: 24px; }
.phero__logo svg { width: 84px; height: 84px; }
.phero__name { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -0.025em; line-height: 1; }
.phero__sub { font-size: 19px; color: var(--on-dark-muted); max-width: 48ch; margin: 0 auto; line-height: 1.55; }

/* Tecnologías index page */
.phero__inner--center { text-align: center; max-width: 880px; }
.phero__h1 { font-family: var(--display); font-weight: 600; font-size: clamp(40px, 5vw, 60px); letter-spacing: -0.025em; line-height: 1.05; color: #fff; margin: 18px auto 22px; max-width: 18ch; }
.section.techs { background: var(--navy-900); color: var(--on-dark); padding: 96px 0; }
.techs__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.tech-card {
  display: flex; flex-direction: column; gap: 18px;
  background: var(--navy-brand);
  border: 1px solid rgba(76,143,219,.18);
  border-radius: 18px;
  padding: 32px 30px;
  text-decoration: none;
  color: var(--on-dark);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  position: relative;
  isolation: isolate;
}
.tech-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(242,107,26,.05), transparent 60%);
  opacity: 0; transition: opacity .3s var(--ease);
  z-index: -1;
}
.tech-card:hover { transform: translateY(-3px); border-color: rgba(242,107,26,.45); box-shadow: 0 12px 32px rgba(0,0,0,.4); }
.tech-card:hover::after { opacity: 1; }
.tech-card:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.tech-card__head { display: flex; align-items: center; gap: 18px; }
.tech-card__logo { width: 56px; height: 56px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: rgba(76,143,219,.14); color: var(--cyan); flex: none; }
.tech-card__logo svg { width: 30px; height: 30px; }
.tech-card__name { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; color: #fff; line-height: 1.1; margin: 0; }
.tech-card__capability { font-size: 13px; color: var(--cyan); margin-top: 4px; letter-spacing: 0.05em; text-transform: uppercase; }
.tech-card__desc { font-size: 15px; line-height: 1.55; color: var(--on-dark-muted); margin: 0; }
.tech-card__stack { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; padding: 0; margin: 0; }
.tech-card__stack li { font-size: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.04); color: #cfd6e0; border: 1px solid rgba(255,255,255,.06); letter-spacing: 0.01em; }
.tech-card__cta { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--coral); margin-top: auto; transition: gap .2s var(--ease); }
.tech-card__cta svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.tech-card:hover .tech-card__cta { gap: 12px; }
.tech-card:hover .tech-card__cta svg { transform: translateX(3px); }

.techs-cta { background: var(--navy-brand); color: #fff; padding: 88px 0; border-top: 1px solid rgba(76,143,219,.15); }
.techs-cta__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.techs-cta h2 { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.02em; margin: 0 0 18px; }
.techs-cta p { color: var(--on-dark-muted); font-size: 16px; line-height: 1.6; margin: 0 0 30px; }

/* "Ver todas" dropdown item — distinto visualmente del resto */
.nav__drop-item--all { border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 4px; padding-bottom: 12px; }
.nav__drop-item--all .nav__drop-icon { color: var(--coral); }

@media (max-width: 880px) {
  .techs__grid { grid-template-columns: 1fr; }
}

.pkpis { background: var(--navy-brand); color: #fff; padding: 76px 0; }
.pkpis__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.pkpi { text-align: center; padding: 8px 28px; position: relative; }
.pkpi + .pkpi::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: rgba(27,91,170,.3); }
.pkpi__num { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 4.2vw, 56px); color: #fff; letter-spacing: -0.02em; line-height: 1; }
.pkpi__num .u { color: var(--coral); }
.pkpi__label { font-size: 14.5px; color: var(--on-dark-muted); margin-top: 16px; line-height: 1.45; max-width: 26ch; margin-left: auto; margin-right: auto; }

.pcaps { background: var(--white); }
.pcaps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pcap { border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.pcap:hover { transform: translateY(-4px); box-shadow: 0 22px 50px -28px rgba(10,24,40,.26); border-color: var(--line-2); }
.pcap__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--paper); color: var(--blue-royal); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; transition: background .3s var(--ease), color .3s var(--ease); }
.pcap:hover .pcap__icon { background: var(--coral-soft); color: var(--coral); }
.pcap__icon svg { width: 23px; height: 23px; stroke-width: 1.6; }
.pcap h3 { font-size: 16.5px; letter-spacing: -0.01em; margin-bottom: 8px; }
.pcap p { font-size: 13.5px; color: var(--slate); line-height: 1.55; }

.pwhy { background: var(--paper); }
.pwhy__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.pwhy__list { display: flex; flex-direction: column; gap: 16px; }
.pwhy__item { display: flex; gap: 15px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.pwhy__item svg { width: 24px; height: 24px; color: var(--coral); flex: none; margin-top: 1px; }
.pwhy__item strong { display: block; font-family: var(--body); font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.pwhy__item span { font-size: 14.5px; color: var(--slate); line-height: 1.5; }

.pcta { background: var(--navy-900); color: #fff; text-align: center; padding: 112px 0; position: relative; overflow: hidden; }
.pcta__glow { position: absolute; width: 680px; height: 680px; right: -200px; bottom: -300px; background: radial-gradient(circle, rgba(242,107,26,.16), transparent 62%); }
.pcta__inner { position: relative; z-index: 2; max-width: 660px; margin: 0 auto; }
.pcta h2 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.025em; color: #fff; line-height: 1.08; }
.pcta p { font-size: 18px; color: var(--on-dark-muted); margin-top: 18px; line-height: 1.55; }
.pcta .btn { margin-top: 32px; }

@media (max-width: 1080px) {
  .pcaps__grid { grid-template-columns: repeat(2, 1fr); }
  .pwhy__grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .pkpis__grid { grid-template-columns: 1fr; row-gap: 40px; }
  .pkpi + .pkpi::before { display: none; }
  .pcaps__grid { grid-template-columns: 1fr; }
}
