/* =========================================================
   GODSHARED — Design System
   Apple-grade: aire, tipografía controlada, micro-interacciones
   ========================================================= */

:root {
  /* Color — paleta 60 / 30 / 10 */
  --bg:            #FFFFFF;
  --bg-subtle:     #F8F9FA;
  --bg-ink:        #0F172A;   /* Slate nocturno */
  --bg-ink-soft:   #131c31;

  --ink:           #0F172A;   /* Títulos / contraste */
  --ink-body:      #475569;   /* Cuerpo */
  --ink-mute:      #94A3B8;   /* Secundario */
  --ink-faint:     #CBD5E1;

  --accent:        #2563EB;   /* Azul eléctrico — conversión */
  --accent-hover:  #1D4ED8;
  --accent-soft:   #EFF4FF;
  --accent-sky:    #38BDF8;

  --line:          #EAECEF;
  --line-strong:   #E2E8F0;

  /* Radios */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Sombras — sutiles, planas con profundidad */
  --shadow-sm:  0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md:  0 8px 24px -10px rgba(15, 23, 42, 0.12);
  --shadow-lg:  0 24px 60px -22px rgba(15, 23, 42, 0.22);
  --shadow-accent: 0 16px 40px -16px rgba(37, 99, 235, 0.45);

  /* Tipografía */
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1180px;
  --gutter: 24px;

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

/* --------------------------- Reset --------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink-body);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
strong { color: var(--ink); font-weight: 600; }
em { font-style: normal; }
::selection { background: var(--accent); color: #fff; }

/* --------------------------- Layout -------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* --------------------------- Typography ---------------------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--center { display: block; text-align: center; }

.section-head { max-width: 640px; margin: 0 auto 64px; text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-top: 14px;
}
.section-title--left { text-align: left; }

.section-lead {
  margin-top: 18px;
  font-size: 1.075rem;
  color: var(--ink-body);
}

/* --------------------------- Buttons ------------------------- */
.btn {
  --pad-y: 0.72em;
  --pad-x: 1.35em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: var(--pad-y) var(--pad-x);
  border-radius: var(--r-md);
  transition: transform 0.35s var(--ease), background 0.25s var(--ease),
              box-shadow 0.35s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  will-change: transform;
}
.btn--sm { font-size: 0.875rem; --pad-y: 0.62em; --pad-x: 1.1em; }
.btn--lg { --pad-y: 0.95em; --pad-x: 1.7em; font-size: 1rem; }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0); }

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

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.85);
}
.header__inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand__dot { color: var(--accent); }
.brand--footer { color: #fff; font-size: 1.05rem; }
.brand--footer .brand__dot { color: var(--accent-sky); }

.nav { display: flex; gap: 36px; }
.nav__link {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-body);
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: var(--r-sm); }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-nav[hidden] { display: none; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px var(--gutter) 22px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.mobile-nav__link { padding: 12px 4px; font-family: var(--font-display); font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 10px; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding: clamp(28px, 4vw, 60px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.10), transparent 62%);
  z-index: -1;
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 18px 0 24px;
}
.grad {
  display: inline-block;
  background: linear-gradient(100deg, var(--accent) 0%, #4F46E5 60%, var(--accent-sky) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub { font-size: 1.15rem; max-width: 30em; color: var(--ink-body); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Hero visual — dashboard */
.hero__visual { perspective: 1600px; }
.dashboard {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 26px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.6s var(--ease);
}
.hero__visual:hover .dashboard { transform: translateY(-4px); }
.dashboard__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dashboard__label { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.dashboard__badge {
  font-size: 0.72rem; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); padding: 5px 10px; border-radius: 999px;
}
.chart { width: 100%; height: auto; }
.chart__grid line { stroke: var(--line); stroke-width: 1; }
.chart__line {
  fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 620; stroke-dashoffset: 620;
}
.chart__dot { fill: var(--accent); opacity: 0; }
.is-revealed .chart__line { animation: draw 1.6s var(--ease-out) 0.3s forwards; }
.is-revealed .chart__dot { animation: pop 0.4s var(--ease) 1.7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }

.dashboard__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.stat { text-align: center; }
.stat__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--ink); letter-spacing: -0.03em; }
.stat__cap { display: block; font-size: 0.68rem; color: var(--ink-mute); margin-top: 4px; line-height: 1.3; }

/* =========================================================
   LOGOS / TRUST
   ========================================================= */
.logos { padding: 8px 0 20px; }
.logos__label { text-align: center; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-body); margin-bottom: 30px; }
.logos__label::after { content: ""; display: block; width: 34px; height: 2px; background: var(--accent); border-radius: 2px; margin: 14px auto 0; opacity: 0.85; }
.logos__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(32px, 6vw, 76px); }
.logo-mark {
  font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; color: var(--ink);
  opacity: 0.92; transition: color 0.3s var(--ease), opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.logo-mark:hover { color: var(--accent); opacity: 1; transform: translateY(-2px); }
.logo-mark--love { text-transform: lowercase; font-weight: 800; letter-spacing: -0.02em; }
.logo-mark--soon { font-size: 0.95rem; font-weight: 500; font-style: italic; color: var(--ink-faint); text-transform: none; }
.logo-mark--soon::before { content: "· "; }

/* =========================================================
   EL CÓMO / MAP
   ========================================================= */
.how { padding: clamp(72px, 10vw, 128px) 0; }

.how__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
  margin-bottom: clamp(56px, 7vw, 92px);
}
.how__intro .section-title { margin-top: 16px; }
.how__intro .section-lead { max-width: 32em; }

/* Leyenda interactiva — controla el mapa */
.legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  margin: 30px 0;
}
.legend__item {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-display); font-weight: 500; font-size: 0.94rem;
  color: var(--ink-body); cursor: default;
  padding: 8px 10px; margin: -2px; border-radius: var(--r-sm);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.legend__dot { flex: none; width: 8px; height: 8px; border-radius: 999px; background: var(--ink-faint); transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.legend__item:hover, .legend__item.is-active { color: var(--ink); background: var(--accent-soft); }
.legend__item:hover .legend__dot, .legend__item.is-active .legend__dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15); }

.how__figure { display: flex; align-items: center; gap: 18px; padding-top: 28px; border-top: 1px solid var(--line); }
.how__figure-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.8rem, 5vw, 3.6rem); line-height: 0.9; letter-spacing: -0.04em; color: var(--ink); background: linear-gradient(140deg, var(--accent), var(--accent-sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.how__figure-cap { font-size: 0.92rem; color: var(--ink-body); line-height: 1.35; }

/* Panel del mapa */
.map-panel {
  position: relative;
  background: radial-gradient(130% 100% at 55% 0%, #17233f 0%, var(--bg-ink) 52%, #0a111f 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-xl);
  padding: clamp(14px, 2.4vw, 26px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.map-panel__glow { position: absolute; inset: 0; background: radial-gradient(circle at 58% 42%, rgba(37, 99, 235, 0.22), transparent 62%); pointer-events: none; }
.map-mount { position: relative; min-height: 360px; }
.map { width: 100%; height: auto; max-height: 540px; display: block; margin: 0 auto; }

/* Países de fondo (silueta del continente) */
.map__backdrop path { fill: rgba(255, 255, 255, 0.05); stroke: rgba(255, 255, 255, 0.11); stroke-width: 0.4; vector-effect: non-scaling-stroke; }
/* Países activos */
.map__active .country { fill: rgba(56, 189, 248, 0.15); stroke: rgba(56, 189, 248, 0.5); stroke-width: 0.5; vector-effect: non-scaling-stroke; transition: fill 0.3s var(--ease), stroke 0.3s var(--ease); }
.map__active .country.is-hot { fill: rgba(56, 189, 248, 0.42); stroke: #7dd3fc; }

/* Conexiones cross-border */
.map__links path { fill: none; stroke-width: 1; opacity: 0.4; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.is-revealed .map__links path { animation: flow 20s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -160; } }
.map__links path.is-lit { opacity: 1; stroke-width: 1.8; stroke-dasharray: none; }

/* Nodos / pines */
.node { cursor: pointer; }
.node__halo { fill: rgba(56, 189, 248, 0.12); transition: fill 0.3s var(--ease); }
.node__core { fill: #fff; transition: fill 0.3s var(--ease); }
.node--hub .node__core { fill: var(--accent-sky); }
.node__pulse { fill: none; stroke: var(--accent-sky); stroke-width: 0.6; transform-origin: center; vector-effect: non-scaling-stroke; }
.is-revealed .node--hub .node__pulse { animation: pulse 2.8s var(--ease-out) infinite; }
@keyframes pulse { 0% { r: 3; opacity: 0.85; } 100% { r: 11; opacity: 0; } }

.node__label {
  font-family: var(--font-display); font-weight: 600; font-size: 7px; fill: #fff;
  opacity: 0.82; transition: opacity 0.25s var(--ease);
  paint-order: stroke; stroke: rgba(8, 14, 28, 0.7); stroke-width: 2.4px;
}
.node:hover .node__label, .node:focus .node__label, .node.is-active .node__label { opacity: 1; }
.node:hover .node__halo, .node:focus .node__halo, .node.is-active .node__halo { fill: rgba(56, 189, 248, 0.32); }
.node:hover .node__core, .node:focus .node__core, .node.is-active .node__core { fill: var(--accent-sky); }
.node:focus { outline: none; }

/* Pilares */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); background: var(--bg); }
.pillar__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--font-display); font-weight: 800; font-size: 0.95rem;
  margin-bottom: 22px;
}
.pillar__title { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.22rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.pillar__text { font-size: 0.96rem; color: var(--ink-body); }

/* =========================================================
   EL QUÉ / TABS
   ========================================================= */
.what { padding: clamp(72px, 10vw, 128px) 0; background: var(--bg-subtle); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.tabs { max-width: 820px; margin: 0 auto; }
.tabs__bar {
  display: flex; gap: 6px; padding: 6px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  max-width: 620px; margin: 0 auto 40px;
}
.tab {
  flex: 1; padding: 12px 14px; border-radius: var(--r-md);
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  color: var(--ink-body); white-space: nowrap;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }

.tabs__panels { position: relative; }
.tab-panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
}
.tab-panel[hidden] { display: none; }
.tab-panel.is-active { animation: fadeSlide 0.5s var(--ease-out); }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.tab-panel__claim { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: clamp(1.35rem, 2.6vw, 1.85rem); letter-spacing: -0.02em; line-height: 1.25; margin: 10px 0 28px; }

.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; border-top: 1px solid var(--line); padding-top: 26px; }
.services li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink); font-size: 1rem; }
.services li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 999px;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* =========================================================
   QUIÉNES SOMOS
   ========================================================= */
.about { padding: clamp(72px, 10vw, 128px) 0; }
.about__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }

.prose { margin-top: 26px; display: flex; flex-direction: column; gap: 20px; }
.prose__lead { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--ink); line-height: 1.5; }
.prose p { font-size: 1.02rem; color: var(--ink-body); }

.values {
  position: sticky; top: 96px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px 30px;
}
.values__title { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.1rem; padding-bottom: 16px; border-bottom: 1px solid var(--line-strong); margin-bottom: 20px; }
.values__list { display: flex; flex-direction: column; gap: 16px; }
.values__list li { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 500; color: var(--ink); }
.values__dot { flex: none; width: 8px; height: 8px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta { padding: clamp(72px, 10vw, 120px) 0; }
.cta__inner {
  position: relative;
  text-align: center;
  background: linear-gradient(160deg, var(--bg-ink) 0%, var(--bg-ink-soft) 100%);
  border-radius: var(--r-xl);
  padding: clamp(48px, 7vw, 88px) var(--gutter);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta__inner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(56,189,248,0.18), transparent 55%);
  pointer-events: none;
}
.cta__title { position: relative; font-family: var(--font-display); font-weight: 800; color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.03em; }
.cta__sub { position: relative; color: rgba(255,255,255,0.72); font-size: 1.1rem; max-width: 34em; margin: 16px auto 34px; }
.cta .btn--primary { position: relative; box-shadow: 0 16px 40px -12px rgba(37,99,235,0.7); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--bg-ink); color: #fff; padding: 40px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer__legal { color: rgba(255,255,255,0.5); font-size: 0.82rem; }

/* =========================================================
   SCROLL REVEAL (+ stagger)
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: var(--reveal-delay, 0s); }
.reveal.is-revealed { opacity: 1; transform: none; }

/* stagger de grupos */
.pillars .pillar:nth-child(2) { --reveal-delay: 0.09s; }
.pillars .pillar:nth-child(3) { --reveal-delay: 0.18s; }
.logos__row .logo-mark { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), color 0.3s var(--ease); }
.logos.is-revealed .logo-mark { opacity: 0.92; transform: none; }
.logos.is-revealed .logo-mark:nth-child(2) { transition-delay: 0.08s; }
.logos.is-revealed .logo-mark:nth-child(3) { transition-delay: 0.16s; }
.logos.is-revealed .logo-mark:nth-child(4) { transition-delay: 0.24s; }

/* =========================================================
   TEXTURA / PROFUNDIDAD
   ========================================================= */
/* grano sutil en paneles oscuros */
.map-panel::after, .cta__inner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.map-panel > *, .cta__inner > * { position: relative; z-index: 2; }

/* grilla de puntos tenue detrás del hero */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 70% 30%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 60% at 70% 30%, #000 0%, transparent 70%);
}

/* acento superior en los pilares al hover */
.pillar { position: relative; overflow: hidden; }
.pillar::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-sky));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.pillar:hover::before { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .chart__line { stroke-dashoffset: 0; }
  .chart__dot { opacity: 1; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 480px; }
  .about__inner { grid-template-columns: 1fr; }
  .values { position: static; }
  .how__grid { grid-template-columns: 1fr; }
  .how__intro .section-lead { max-width: none; }
  .how__map { max-width: 460px; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .header__actions .btn--sm { display: none; }
  .nav-toggle { display: flex; }
  .pillars { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 44px; }
  .tabs__bar { flex-direction: column; max-width: 340px; }
  .tab { white-space: normal; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .dashboard__stats { gap: 6px; }
  .stat__num { font-size: 1.3rem; }
  .services { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
}
