/* ============================================================
   GRÜNTEN — site.css
   Sobrio, con carácter: navy de marca, acento cobre, serif editorial.
   ============================================================ */

:root {
  --navy-900: #021a36;
  --navy-800: #032449;
  --navy:     #043061;   /* color de marca */
  --navy-600: #1d4a7c;
  --navy-400: #5f80a6;
  --ice:      #8fb3d4;
  --ice-100:  #e8eff7;

  --paper:    #f7f5f0;   /* fondo cálido */
  --paper-2:  #efebe3;
  --white:    #ffffff;
  --ink:      #1b2a3a;
  --ink-soft: #4a5e72;
  --ink-faint:#7a8a9b;
  --line:     #dcd6ca;
  --line-cool:#d6dee8;

  --accent:   #b08d57;   /* cobre/oro sobrio */
  --accent-2: #caa978;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografía editorial ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--navy-600);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.dark .eyebrow { color: var(--ice); }

.h-display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -.015em;
  color: var(--navy);
}
.h-section {
  font-family: var(--serif);
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--navy);
  margin-top: 16px;
  max-width: 20ch;
}
.h-section em, .h-display em { font-style: italic; color: var(--accent); }
.dark .h-section { color: #fff; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-soft); font-weight: 300; max-width: 60ch; }
.dark .lead { color: rgba(255,255,255,.72); }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1.1fr 1fr; gap: 60px; } }

/* ---------- Secciones ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section.white { background: var(--white); }
.section.dark { background: var(--navy); color: #fff; }
.section.darker { background: var(--navy-900); color: #fff; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 700; letter-spacing: .02em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--navy-900); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-600); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .45s var(--ease), height .3s var(--ease);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; width: 190px; position: relative; flex: none; }
.brand img { width: 100%; height: auto; transition: opacity .35s var(--ease); }
.brand .logo-navy { position: absolute; inset: 0; opacity: 0; }
.site-header.solid { background: rgba(247,245,240,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 1px 0 var(--line); --header-h: 66px; }
.site-header.solid .logo-white { opacity: 0; }
.site-header.solid .logo-navy { opacity: 1; }
.site-header.hidden { transform: translateY(-100%); }

.nav { display: none; align-items: center; gap: 34px; }
.nav a {
  position: relative; text-decoration: none; font-size: 14.5px; font-weight: 400; letter-spacing: .02em;
  color: rgba(255,255,255,.85); padding: 6px 0; transition: color .3s;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav a:hover { color: #fff; }
.site-header.solid .nav a { color: var(--ink-soft); }
.site-header.solid .nav a:hover, .site-header.solid .nav a.active { color: var(--navy); }
.nav .btn { padding: 10px 20px; font-size: 14px; color: var(--navy-900); }
.nav .btn::after { display: none; }
.site-header.solid .nav .btn { color: var(--navy-900); }
@media (min-width: 1000px) { .nav { display: flex; } }

.menu-toggle {
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; z-index: 120;
  display: grid; place-items: center;
}
.menu-toggle span { position: absolute; width: 24px; height: 1.5px; background: #fff; transition: transform .4s var(--ease), background .3s, opacity .3s; }
.menu-toggle span:nth-child(1) { transform: translateY(-5px); }
.menu-toggle span:nth-child(2) { transform: translateY(5px); }
.site-header.solid .menu-toggle span { background: var(--navy); }
.menu-open .menu-toggle span { background: #fff !important; }
.menu-open .menu-toggle span:nth-child(1) { transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: rotate(-45deg); }
@media (min-width: 1000px) { .menu-toggle { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 110; background: var(--navy-900);
  display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter);
  clip-path: circle(0 at calc(100% - 40px) 38px);
  transition: clip-path .7s var(--ease);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-menu a { font-family: var(--serif); font-size: clamp(34px, 9vw, 52px); line-height: 1.25; color: #fff; text-decoration: none; display: block; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s; }
.mobile-menu a:hover { color: var(--accent-2); }
.menu-open .mobile-menu a { opacity: 1; transform: none; }
.menu-open .mobile-menu a:nth-child(1) { transition-delay: .15s; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: .2s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: .25s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: .3s; }
.menu-open .mobile-menu a:nth-child(5) { transition-delay: .35s; }
.menu-open .mobile-menu a:nth-child(6) { transition-delay: .4s; }
.mobile-menu .meta { margin-top: 48px; color: rgba(255,255,255,.55); font-size: 15px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  background: radial-gradient(120% 90% at 85% 0%, #0b3f78 0%, var(--navy) 38%, var(--navy-900) 100%);
  color: #fff; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 60px) 0 0;
}
.hero-ridges { position: absolute; inset: auto 0 0 0; height: 78%; z-index: -1; pointer-events: none; }
.hero-ridges svg { width: 100%; height: 100%; }
.hero-ridges path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ridge-draw { stroke-dasharray: var(--len, 3000); stroke-dashoffset: var(--len, 3000); animation: draw 3.2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-grain { position: absolute; inset: 0; z-index: -1; opacity: .035; background-image: radial-gradient(rgba(255,255,255,.7) 1px, transparent 1px); background-size: 3px 3px; mask-image: linear-gradient(to bottom, #000, transparent 70%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%); }

.hero-inner { padding-bottom: clamp(48px, 8vh, 96px); }
.hero .eyebrow { color: var(--ice); }
.hero h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(38px, 5.4vw, 78px); line-height: 1.04; letter-spacing: -.02em;
  max-width: 19ch; margin-top: 26px;
}
.hero h1 em { font-style: italic; font-weight: 400; color: var(--accent-2); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
.hero h1 .line:nth-child(4) > span { animation-delay: .36s; }
@keyframes rise { to { transform: none; } }
.hero-sub { margin-top: 30px; display: grid; gap: 32px; align-items: end; }
.hero-sub p { font-size: clamp(17px, 1.5vw, 20px); font-weight: 300; color: rgba(255,255,255,.75); max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
@media (min-width: 900px) { .hero-sub { grid-template-columns: 1fr auto; } }
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp 1s var(--ease) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero-stats { border-top: 1px solid rgba(255,255,255,.14); }
.hero-stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-stat { padding: 22px 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.hero-stat + .hero-stat { padding-left: clamp(12px, 3vw, 32px); border-left: 1px solid rgba(255,255,255,.14); }
.hero-stat strong { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3vw, 36px); color: #fff; line-height: 1; }
.hero-stat span { font-size: 13.5px; color: rgba(255,255,255,.6); letter-spacing: .02em; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 110px; width: 1px; height: 64px; background: rgba(255,255,255,.2); overflow: hidden; display: none; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--accent-2); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
@media (min-width: 900px) { .scroll-cue { display: block; } }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ============================================================
   PROBLEMA
   ============================================================ */
.problems { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 760px) { .problems { grid-template-columns: 1fr 1fr; } }
.problem {
  background: var(--paper); padding: clamp(28px, 4vw, 48px); position: relative; overflow: hidden;
  transition: background .5s var(--ease), color .5s var(--ease);
}
.problem .num { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 18px; }
.problem h3 { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; color: var(--navy); margin: 14px 0 12px; transition: color .5s; }
.problem p { color: var(--ink-soft); max-width: 42ch; transition: color .5s; }
.problem::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.problem:hover { background: var(--white); }
.problem:hover::before { transform: scaleY(1); }
.problem.key { background: var(--navy); }
.problem.key h3 { color: #fff; }
.problem.key p { color: rgba(255,255,255,.72); }
.problem.key .num { color: var(--accent-2); }
.problem.key:hover { background: var(--navy-800); }

/* ============================================================
   ENFOQUE — Datos abajo, KPIs arriba
   ============================================================ */
.approach { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .approach { grid-template-columns: .9fr 1.1fr; } }
.stack-visual { position: relative; aspect-ratio: 1 / 1.05; max-width: 480px; width: 100%; margin: 0 auto; }
.stack-visual svg { width: 100%; height: 100%; overflow: visible; }
.stack-visual .lbl { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; fill: var(--ink-faint); font-weight: 700; }
.stack-visual .lbl.strong { fill: var(--navy); }
.dot { fill: var(--navy-400); opacity: .55; }
.kpi-bar { fill: var(--navy); }
.flow-line { stroke: var(--line-cool); stroke-width: 1; fill: none; stroke-dasharray: 3 5; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -16; } }
.rise-dot { fill: var(--accent); }

.steps { display: grid; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); position: relative; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step::after { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.step.in::after { transform: scaleX(1); }
.step .n { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--accent); font-style: italic; }
.step h3 { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); color: var(--navy); line-height: 1.15; margin-bottom: 8px; }
.step p { color: var(--ink-soft); }
.manifesto {
  margin-top: clamp(48px, 7vw, 88px); background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
  position: relative; overflow: hidden;
}
.manifesto p { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.2; max-width: 30ch; }
.manifesto strong { font-weight: 500; font-style: italic; color: var(--accent-2); }
.manifesto small { color: rgba(255,255,255,.6); font-size: 15px; max-width: 34ch; }

/* ============================================================
   SERVICIOS — tabs por tipo de cliente
   ============================================================ */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); position: relative; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; background: none; border: 0; cursor: pointer; padding: 18px 28px 18px 0; margin-right: 28px;
  font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px); color: var(--ink-faint); transition: color .3s; text-align: left;
  display: flex; align-items: baseline; gap: 10px;
}
.tab small { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; color: var(--accent); }
.tab:hover { color: var(--ink-soft); }
.tab[aria-selected="true"] { color: var(--navy); }
.tab-ink { position: absolute; bottom: -1px; left: 0; height: 2px; background: var(--navy); transition: transform .5s var(--ease), width .5s var(--ease); }

.panel { padding-top: clamp(40px, 5vw, 64px); }
.panel[hidden] { display: none; }
.panel.enter > * { animation: panelIn .7s var(--ease) both; }
.panel.enter > *:nth-child(2) { animation-delay: .06s; }
.panel.enter > *:nth-child(3) { animation-delay: .12s; }
.panel.enter > *:nth-child(4) { animation-delay: .18s; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.panel-intro { display: grid; gap: 24px 64px; margin-bottom: clamp(40px, 5vw, 64px); }
@media (min-width: 900px) { .panel-intro { grid-template-columns: 1fr 1fr; } }
.panel-intro h3 { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; color: var(--navy); }
.panel-intro .for { margin-top: 18px; font-size: 15px; color: var(--ink-soft); display: inline-flex; gap: 10px; align-items: center; }
.panel-intro .for::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.panel-intro p { color: var(--ink-soft); font-size: 18px; font-weight: 300; }
.panel-intro p strong { color: var(--navy); font-weight: 700; }

.sub-label { font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 20px; }
.block + .block { margin-top: clamp(40px, 5vw, 64px); }

.grid-3, .grid-2, .grid-6 { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: 1fr 1fr; } .grid-6 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-6 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 32px); position: relative;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(4,48,97,.35); border-color: var(--line-cool); }
.card h4 { font-family: var(--serif); font-size: 23px; line-height: 1.2; color: var(--navy); margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 16px; }
.card .tag { font-size: 11.5px; letter-spacing: .18em; font-weight: 700; color: var(--accent); text-transform: uppercase; display: block; margin-bottom: 12px; }
.card .big-n { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--accent); line-height: 1; display: block; margin-bottom: 14px; }
.card.navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.card.navy h4 { color: #fff; }
.card.navy p, .card.navy li { color: rgba(255,255,255,.75); }
.card.navy .tag { color: var(--accent-2); }

.checks li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: 16px; }
.checks li + li { margin-top: 9px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 1px; background: var(--accent); }
.card.navy .checks li::before { background: var(--accent-2); }

.platform {
  display: grid; gap: 18px; align-items: center; background: var(--paper-2); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px);
}
@media (min-width: 900px) { .platform { grid-template-columns: 1fr auto 1.1fr auto 1fr; } }
.platform .col { display: grid; gap: 8px; }
.platform .chip { background: var(--white); border: 1px solid var(--line); padding: 10px 14px; border-radius: var(--radius); font-size: 15px; color: var(--ink-soft); }
.platform .col.before .chip { text-decoration: line-through; text-decoration-color: rgba(176,141,87,.6); color: var(--ink-faint); }
.platform .core { background: var(--navy); color: #fff; padding: 22px 24px; border-radius: var(--radius); }
.platform .core h5 { font-family: var(--serif); font-size: 22px; font-weight: 400; margin: 0 0 6px; }
.platform .core p { color: rgba(255,255,255,.7); font-size: 15px; }
.platform .arrow-r { color: var(--navy-400); font-size: 26px; text-align: center; }
@media (max-width: 899px) { .platform .arrow-r { transform: rotate(90deg); } }

.split-who { display: grid; gap: 16px; }
@media (min-width: 820px) { .split-who { grid-template-columns: 1fr 1.2fr; } }

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 9px 16px; font-size: 14.5px; color: var(--ink-soft); }
.pill strong { color: var(--navy); }

/* Reloj de arena — Empresas */
.hourglass-wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hourglass-wrap { grid-template-columns: 1fr 1fr; gap: 72px; } }
.hourglass { position: relative; display: grid; gap: 0; max-width: 520px; width: 100%; margin: 0 auto; }
.hg-top, .hg-bottom { color: #fff; display: flex; justify-content: center; text-align: center; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.3; }
.hg-top { background: var(--navy); clip-path: polygon(0 0, 100% 0, 50% 100%); aspect-ratio: 2.1 / 1; align-items: flex-start; padding: 9% 22% 0; }
.hg-bottom { background: var(--navy-600); clip-path: polygon(50% 0, 100% 100%, 0 100%); aspect-ratio: 2.1 / 1; align-items: flex-end; padding: 0 22% 8%; }
.hg-mid { position: relative; z-index: 2; margin: -2.2% auto; background: var(--white); border: 1px solid var(--navy); border-radius: 999px; padding: 10px 26px; font-weight: 700; color: var(--navy); font-size: 15px; box-shadow: 0 0 0 8px var(--paper); }
.hg-list { display: grid; gap: 0; }
.hg-item { padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 16px; }
.hg-item:last-child { border-bottom: 1px solid var(--line); }
.hg-item h4 { font-family: var(--serif); font-size: 24px; color: var(--navy); }
.hg-item p { color: var(--ink-soft); }
@media (max-width: 560px) { .hg-item { grid-template-columns: 1fr; gap: 4px; } }

/* ============================================================
   TECNOLOGÍA — ecosistema
   ============================================================ */
.tech { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .tech { grid-template-columns: 1fr 1fr; } }
.tech-list { display: grid; gap: 0; margin-top: 36px; }
.tech-item { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.14); }
.tech-item:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.tech-item h3 { font-family: var(--serif); font-size: 25px; color: #fff; margin-bottom: 6px; }
.tech-item p { color: rgba(255,255,255,.68); }
.eco { position: relative; width: 100%; max-width: 540px; margin: 0 auto; aspect-ratio: 1; }
.eco svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.eco .orbit { fill: none; stroke: rgba(255,255,255,.08); }
.eco .link { stroke: rgba(143,179,212,.35); stroke-width: 1; fill: none; }
.eco .pulse { stroke: var(--accent-2); stroke-width: 2; fill: none; stroke-dasharray: 10 400; stroke-linecap: round; animation: pulse 3.4s linear infinite; animation-delay: var(--pd, 0s); }
@keyframes pulse { from { stroke-dashoffset: 410; } to { stroke-dashoffset: 0; } }
.eco-node {
  position: absolute; transform: translate(-50%, -50%); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius); padding: 10px 14px; text-align: center; backdrop-filter: blur(4px); min-width: 112px;
  transition: background .3s, border-color .3s;
}
.eco-node:hover { background: rgba(255,255,255,.12); border-color: var(--accent-2); }
.eco-node b { display: block; font-size: 15.5px; font-weight: 700; color: #fff; }
.eco-node span { display: block; font-size: 12px; color: rgba(255,255,255,.6); letter-spacing: .04em; }
.eco-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255,255,255,.05), 0 0 0 22px rgba(255,255,255,.03); }
.eco-core img { width: 74%; }
.quote-box { margin-top: 36px; border-left: 2px solid var(--accent); padding: 4px 0 4px 22px; }
.quote-box p { font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); line-height: 1.3; color: #fff; font-weight: 300; }
.quote-box strong { font-style: italic; font-weight: 500; color: var(--accent-2); }

/* ============================================================
   PRINCIPIOS KPI — tablero
   ============================================================ */
.kpi-rules { display: grid; gap: 1px; background: rgba(255,255,255,.12); border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
@media (min-width: 760px) { .kpi-rules { grid-template-columns: repeat(3, 1fr); } }
.kpi-rule { background: var(--navy-900); padding: 32px clamp(0px, 2vw, 28px) 32px 0; }
@media (min-width: 760px) { .kpi-rule { padding: 36px 28px; } .kpi-rule:first-child { padding-left: 0; } }
.kpi-rule h3 { font-family: var(--serif); font-size: clamp(34px, 3.6vw, 48px); line-height: 1; color: #fff; margin-bottom: 14px; }
.kpi-rule p { color: rgba(255,255,255,.66); max-width: 30ch; }
.dashboard { margin-top: clamp(48px, 6vw, 80px); display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .dashboard { grid-template-columns: 1.05fr 1fr; gap: 72px; } }
.dash { background: linear-gradient(180deg, #06264b, #031a35); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 28px 24px 22px; box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 40px 80px -40px rgba(0,0,0,.6); }
.gauges { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gauge svg { width: 100%; height: auto; overflow: visible; }
.gauge .track { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 10; stroke-linecap: round; }
.gauge .fill { fill: none; stroke: var(--accent-2); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 252; stroke-dashoffset: 252; transition: stroke-dashoffset 2.2s var(--ease); }
.gauge .needle { stroke: #fff; stroke-width: 2.5; stroke-linecap: round; transform-origin: 100px 100px; transform: rotate(-90deg); transition: transform 2.2s var(--ease); }
.gauge .tick { stroke: rgba(255,255,255,.3); stroke-width: 1.5; }
.gauge .g-val { font-family: var(--serif); font-size: 28px; fill: #fff; text-anchor: middle; }
.gauge .g-lbl { font-family: var(--sans); font-size: 10.5px; letter-spacing: .2em; fill: rgba(255,255,255,.55); text-anchor: middle; font-weight: 700; }
.lights { display: flex; justify-content: center; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }
.light { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: rgba(255,255,255,.18); font-size: 10px; font-weight: 900; }
.light.warn { animation: blink 4s ease-in-out infinite; animation-delay: 2.6s; }
@keyframes blink { 0%, 70%, 100% { color: rgba(255,255,255,.18); border-color: rgba(255,255,255,.14); box-shadow: none; } 78%, 92% { color: #1b1b1b; background: var(--accent-2); border-color: var(--accent-2); box-shadow: 0 0 14px rgba(202,169,120,.7); } }
.dash-quote p { font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.22; color: #fff; }
.dash-quote strong { font-weight: 500; font-style: italic; color: var(--accent-2); }

/* ============================================================
   RESULTADOS
   ============================================================ */
.results { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 860px) { .results { grid-template-columns: repeat(3, 1fr); } }
.result { padding: 36px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .result { padding: 40px 36px 8px; border-bottom: 0; } .result:first-child { padding-left: 0; } .result + .result { border-left: 1px solid var(--line); } }
.result .figure { font-family: var(--serif); font-size: clamp(64px, 8vw, 112px); line-height: .95; color: var(--navy); letter-spacing: -.03em; display: block; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.result .figure small { font-size: .45em; letter-spacing: 0; margin-left: .08em; }
.result p { color: var(--ink-soft); max-width: 32ch; }
.footnote { margin-top: 28px; font-size: 14px; color: var(--ink-faint); font-style: italic; }

/* ============================================================
   FORMATOS
   ============================================================ */
.formats { display: grid; gap: 16px; }
@media (min-width: 720px) { .formats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .formats { grid-template-columns: repeat(4, 1fr); } }
.format { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; position: relative; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.format:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(4,48,97,.4); }
.format::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.format:hover::after { transform: scaleX(1); }
.format .kind { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.format h3 { font-family: var(--serif); font-size: 27px; line-height: 1.1; color: var(--navy); margin: 14px 0 12px; }
.format > p { color: var(--ink-soft); font-size: 16px; margin-bottom: 22px; }
.format .checks { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.format .checks li { font-size: 15px; }
.format.featured { background: var(--navy); border-color: var(--navy); }
.format.featured h3 { color: #fff; }
.format.featured > p, .format.featured .checks li { color: rgba(255,255,255,.74); }
.format.featured .checks { border-color: rgba(255,255,255,.16); }
.format.featured .kind { color: var(--accent-2); }
.format.project { background: transparent; border-style: dashed; border-color: var(--accent); }
.fee-note { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--ink-soft); font-size: 16px; }
.fee-note strong { color: var(--navy); }

/* ============================================================
   PROCESO
   ============================================================ */
.process { display: grid; gap: 0; position: relative; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process-track { display: none; }
@media (min-width: 900px) {
  .process-track { display: block; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--line); }
  .process-track i { position: absolute; inset: 0; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform 2.4s var(--ease); }
  .process.in .process-track i { transform: scaleX(1); }
}
.phase { padding: 0 24px 0 0; position: relative; }
@media (max-width: 899px) { .phase { padding: 0 0 36px 76px; } .phase::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 1px; background: var(--line); } .phase:last-child::before { display: none; } }
.phase .dot-n { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--navy); background: var(--paper); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--navy); position: relative; z-index: 1; margin-bottom: 24px; transition: background .6s var(--ease), color .6s var(--ease); transition-delay: var(--d, 0s); }
@media (max-width: 899px) { .phase .dot-n { position: absolute; left: 0; top: 0; } }
.process.in .phase .dot-n { background: var(--navy); color: #fff; }
.phase h3 { font-family: var(--serif); font-size: 26px; color: var(--navy); margin-bottom: 8px; }
.phase p { color: var(--ink-soft); }

/* ============================================================
   COMPROMISOS
   ============================================================ */
.commits { display: grid; gap: 40px; }
@media (min-width: 860px) { .commits { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.commit { padding-top: 26px; border-top: 1px solid rgba(255,255,255,.5); }
.commit svg { width: 34px; height: 34px; stroke: var(--accent-2); fill: none; stroke-width: 1.3; margin-bottom: 18px; }
.commit h3 { font-family: var(--serif); font-size: 28px; color: #fff; margin-bottom: 10px; }
.commit p { color: rgba(255,255,255,.68); }

/* ============================================================
   EQUIPO
   ============================================================ */
.team-hero { display: grid; gap: 40px; align-items: center; margin-bottom: clamp(56px, 7vw, 96px); }
@media (min-width: 960px) { .team-hero { grid-template-columns: 1.2fr 1fr; gap: 72px; } }
.team-photo { position: relative; border-radius: var(--radius); overflow: hidden; }
.team-photo img { width: 100%; height: auto; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.team-photo.in img { transform: scale(1); }
.team-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); pointer-events: none; }
.team-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 32px; border-top: 1px solid var(--line); }
.team-facts div { padding: 18px 12px 0 0; }
.team-facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.team-facts strong { display: block; font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); color: var(--navy); line-height: 1; font-weight: 400; }
.team-facts span { font-size: 14px; color: var(--ink-soft); }

.people { display: grid; gap: 28px 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .people { grid-template-columns: repeat(3, 1fr); } }
.people.small { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
@media (min-width: 720px) { .people.small { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .people.small { grid-template-columns: repeat(5, 1fr); } }
.person { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: inherit; display: block; width: 100%; }
.person .ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.person .ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.02); transform: scale(1.001); transition: filter .7s var(--ease), transform .9s var(--ease); }
.person .ph.placeholder img { object-fit: contain; filter: none; opacity: .75; padding: 14% ; background: #f0f0f0; }
.person:hover .ph img, .person:focus-visible .ph img { filter: grayscale(0); transform: scale(1.04); }
.person .ph::after { content: "+"; position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%; background: var(--white); color: var(--navy); display: grid; place-items: center; font-size: 20px; line-height: 1; transform: scale(.8); opacity: 0; transition: transform .4s var(--ease), opacity .4s; }
.person:hover .ph::after, .person:focus-visible .ph::after { transform: scale(1); opacity: 1; }
.person.nolink { cursor: default; }
.person.nolink .ph::after { display: none; }
.person h3 { font-family: var(--serif); font-size: 23px; color: var(--navy); margin-top: 16px; line-height: 1.15; }
.people.small .person h3 { font-size: 19px; }
.person .role { display: block; font-size: 13px; letter-spacing: .04em; color: var(--accent); font-weight: 700; margin-top: 4px; }
.people.small .person .role { font-size: 12.5px; }
.person .short { display: block; margin-top: 10px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.5; }

/* Modal */
dialog.bio { border: 0; padding: 0; width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 48px); border-radius: 6px; background: var(--white); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(2,26,54,.6); overflow: auto; }
dialog.bio::backdrop { background: rgba(2,26,54,.62); backdrop-filter: blur(4px); }
dialog.bio[open] { animation: dlgIn .45s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.bio-grid { display: grid; }
@media (min-width: 640px) { .bio-grid { grid-template-columns: 240px 1fr; } }
.bio-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.bio-body { padding: 32px 30px 30px; }
.bio-body h3 { font-family: var(--serif); font-size: 30px; color: var(--navy); line-height: 1.1; }
.bio-body .role { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .03em; margin: 8px 0 18px; display: block; }
.bio-body .desc { color: var(--ink-soft); font-size: 15.5px; white-space: pre-line; }
.bio-body .li { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--navy); font-weight: 700; font-size: 14.5px; text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.bio-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--navy); font-size: 22px; cursor: pointer; display: grid; place-items: center; }
.bio-close:hover { background: var(--paper-2); }

/* ============================================================
   PARTNERS — marquee
   ============================================================ */
.partners { padding: 64px 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.partners .head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.partners .head p { color: var(--ink-faint); font-size: 15px; }
.marquee { position: relative; display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; flex: none; gap: clamp(48px, 7vw, 96px); padding-right: clamp(48px, 7vw, 96px); align-items: center; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee img { height: 46px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .4s, opacity .4s; }
.marquee img:hover { filter: none; opacity: 1; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact { display: grid; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1fr; } }
.next-steps { margin-top: 40px; display: grid; gap: 0; }
.next-step { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.16); }
.next-step:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.next-step .n { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--accent-2); line-height: 1; }
.next-step h3 { font-family: var(--serif); font-size: 23px; color: #fff; }
.next-step p { color: rgba(255,255,255,.66); font-size: 16px; }
.contact-direct { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.form-card { background: var(--white); color: var(--ink); border-radius: 6px; padding: clamp(26px, 4vw, 44px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.5); }
.form-card h3 { font-family: var(--serif); font-size: 30px; color: var(--navy); margin-bottom: 6px; }
.form-card > p { color: var(--ink-soft); margin-bottom: 28px; font-size: 16px; }
.field { position: relative; margin-bottom: 22px; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 22px 0 10px; font: inherit; font-size: 16px; color: var(--ink); border-radius: 0;
  transition: border-color .3s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); }
.field label { position: absolute; left: 0; top: 22px; color: var(--ink-faint); font-size: 16px; pointer-events: none; transition: transform .3s var(--ease), color .3s, font-size .3s; transform-origin: left top; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-20px); font-size: 12.5px; color: var(--navy-600); letter-spacing: .06em; }
.field .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.field input:focus ~ .bar, .field textarea:focus ~ .bar { transform: scaleX(1); }
.field-row { display: grid; gap: 0 24px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-card .btn[disabled] { opacity: .6; cursor: wait; }
.form-status { margin-top: 16px; font-size: 15px; min-height: 1.5em; }
.form-status.ok { color: #2f6b3f; }
.form-status.err { color: #a03a2c; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.62); padding: 72px 0 32px; font-size: 15px; }
.foot-grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .f-logo { width: 230px; height: auto; }
.site-footer .tagline { margin-top: 18px; max-width: 36ch; }
.site-footer h4 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.4); font-weight: 700; margin-bottom: 14px; }
.site-footer ul li + li { margin-top: 8px; }
.site-footer a { text-decoration: none; color: rgba(255,255,255,.82); transition: color .2s; }
.site-footer a:hover { color: var(--accent-2); }
.foot-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: rgba(255,255,255,.42); }

/* WhatsApp flotante */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 52px; height: 52px; border-radius: 50%; background: var(--white); box-shadow: 0 12px 30px -10px rgba(2,26,54,.45); display: grid; place-items: center; transform: translateY(120px); transition: transform .5s var(--ease); }
.wa.show { transform: none; }
.wa svg { width: 26px; height: 26px; fill: var(--navy); }

/* ============================================================
   Movimiento reducido
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .line > span, .fade-up { transform: none; opacity: 1; }
  .marquee-track { animation: none; }
}

/* ============================================================
   PÁGINAS INTERIORES
   ============================================================ */
.hero.page-hero { min-height: auto; padding-top: calc(var(--header-h) + 72px); }
.page-hero .hero-inner { padding-bottom: clamp(64px, 9vw, 112px); }
.page-hero h1 { font-size: clamp(36px, 5vw, 70px); max-width: 18ch; }
.page-hero .hero-ridges { height: 100%; opacity: .8; }
.crumbs { font-size: 13.5px; color: rgba(255,255,255,.55); display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a { color: rgba(255,255,255,.75); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }
.page-hero .eyebrow { margin-top: 26px; }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-header.solid .nav a[aria-current="page"] { color: var(--navy); }

/* Tarjetas de audiencia (home) */
.audiences { display: grid; gap: 16px; }
@media (min-width: 760px) { .audiences { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .audiences { grid-template-columns: repeat(4, 1fr); } }
.audience { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 26px; position: relative; overflow: hidden; min-height: 340px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .45s var(--ease); }
.audience .kind { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.audience h3 { font-family: var(--serif); font-size: 29px; line-height: 1.08; color: var(--navy); margin: 14px 0 14px; transition: color .45s; }
.audience dl { margin: 0; display: grid; gap: 12px; }
.audience dt { font-size: 11px; letter-spacing: .16em; font-weight: 700; text-transform: uppercase; color: var(--ink-faint); transition: color .45s; }
.audience dd { margin: 2px 0 0; color: var(--ink-soft); font-size: 15.5px; transition: color .45s; }
.audience .go { margin-top: auto; padding-top: 22px; font-weight: 700; font-size: 14.5px; color: var(--navy); display: inline-flex; gap: 10px; align-items: center; transition: color .45s; }
.audience .go i { font-style: normal; transition: transform .4s var(--ease); }
.audience::before { content: ""; position: absolute; inset: 0; background: var(--navy); transform: translateY(101%); transition: transform .6s var(--ease); z-index: 0; }
.audience > * { position: relative; z-index: 1; }
.audience:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(4,48,97,.5); }
.audience:hover::before { transform: none; }
.audience:hover h3, .audience:hover .go { color: #fff; }
.audience:hover dd { color: rgba(255,255,255,.75); }
.audience:hover dt { color: var(--accent-2); }
.audience:hover .go i { transform: translateX(6px); }

.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 3px; }
.dark .text-link { color: #fff; border-color: var(--accent-2); }
.text-link i { font-style: normal; transition: transform .35s var(--ease); }
.text-link:hover i { transform: translateX(5px); }

/* Detalle (listas en dos columnas con título) */
.detail { display: grid; gap: 0; border-top: 1px solid var(--line); }
.detail-row { display: grid; gap: 12px 48px; padding: clamp(28px, 3.5vw, 44px) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .detail-row { grid-template-columns: 1fr 1.6fr; } }
.detail-row h3 { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; color: var(--navy); }
.detail-row .tag { display: block; font-size: 11.5px; letter-spacing: .18em; font-weight: 700; color: var(--accent); text-transform: uppercase; margin-bottom: 10px; }
.detail-row .deliv { margin-top: 18px; padding: 14px 18px; background: var(--paper-2); border-left: 2px solid var(--accent); font-size: 15.5px; color: var(--ink); }
.detail-row .deliv b { color: var(--navy); }
.section.white .detail-row .deliv { background: var(--paper); }
.checks.two { display: grid; gap: 9px 32px; }
@media (min-width: 640px) { .checks.two { grid-template-columns: 1fr 1fr; } .checks.two li + li { margin-top: 0; } }

/* Etapas (timeline) */
.stages { display: grid; gap: 16px; }
@media (min-width: 900px) { .stages { grid-template-columns: repeat(4, 1fr); } }
.stage { border-top: 2px solid var(--navy); padding-top: 22px; }
.stage.parallel { border-top-style: dashed; border-color: var(--accent); }
.stage .when { font-size: 12px; letter-spacing: .16em; font-weight: 700; text-transform: uppercase; color: var(--accent); }
.stage h3 { font-family: var(--serif); font-size: 25px; color: var(--navy); margin: 8px 0; }
.stage p { color: var(--ink-soft); font-size: 16px; }
.dark .stage { border-color: rgba(255,255,255,.7); }
.dark .stage h3 { color: #fff; }
.dark .stage p { color: rgba(255,255,255,.68); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 56px 26px 0; position: relative; font-family: var(--serif); font-size: clamp(20px, 2vw, 25px); color: var(--navy); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--navy), var(--navy)) center / 14px 1.5px no-repeat, linear-gradient(var(--navy), var(--navy)) center / 1.5px 14px no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--navy-600); }
.faq .ans { padding: 0 0 28px; color: var(--ink-soft); max-width: 72ch; }
.faq details[open] .ans { animation: panelIn .5s var(--ease); }
.faq-wrap { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: .8fr 1.4fr; gap: 72px; } }

/* Otros servicios */
.cross { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 760px) { .cross { grid-template-columns: repeat(3, 1fr); } }
.cross a { background: var(--paper); padding: 28px 26px; text-decoration: none; display: grid; gap: 8px; transition: background .4s var(--ease); }
.cross a:hover { background: var(--white); }
.cross .kind { font-size: 11.5px; letter-spacing: .18em; font-weight: 700; color: var(--accent); text-transform: uppercase; }
.cross b { font-family: var(--serif); font-weight: 400; font-size: 25px; color: var(--navy); }
.cross span:last-child { color: var(--ink-soft); font-size: 15.5px; }

.callout { background: var(--paper-2); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: grid; gap: 12px 40px; }
@media (min-width: 860px) { .callout { grid-template-columns: auto 1fr; align-items: center; } }
.callout h3 { font-family: var(--serif); font-size: 26px; color: var(--navy); }
.callout p { color: var(--ink-soft); }

/* Foto de socios — tratamiento editorial */
.team-photo { margin: 0; position: relative; overflow: visible; isolation: isolate; padding: 0 18px 18px 0; }
.team-photo::before { content: ""; position: absolute; left: 18px; top: 18px; right: 0; bottom: 0; border: 1px solid var(--accent); border-radius: var(--radius); z-index: -1; transform: translate(-10px, -10px); opacity: 0; transition: transform 1.4s var(--ease), opacity 1.4s var(--ease); }
.team-photo.in::before { transform: none; opacity: 1; }
.team-photo::after { display: none; }
.tp-in { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: 0 40px 80px -40px rgba(2,26,54,.55); background: var(--navy-900); }
.team-photo img { width: 100%; height: auto; filter: contrast(1.08) saturate(.82) brightness(1.04); transform: scale(1.12); transition: transform 1.8s var(--ease); will-change: transform; }
.team-photo.in img { transform: scale(1.06); }
.tp-tone { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 35%, transparent 55%, rgba(2,26,54,.45) 100%),
    linear-gradient(180deg, rgba(4,48,97,.18) 0%, transparent 35%, transparent 60%, rgba(2,26,54,.55) 100%);
  mix-blend-mode: multiply; }
.team-photo figcaption { position: absolute; left: 22px; bottom: 36px; color: rgba(255,255,255,.88); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.team-photo figcaption::before { content: ""; width: 22px; height: 1px; background: var(--accent-2); }

/* Puntos sobre el cerro */
@media (prefers-reduced-motion: reduce) { .ridge-dots { display: none; } }

/* Jerarquía de títulos (h2/h3 semánticos con estilo de tarjeta) */
.card h3.h4 { font-family: var(--serif); font-size: 23px; line-height: 1.2; color: var(--navy); margin-bottom: 8px; }
.card.navy h3.h4, .card.navy h2.h4 { color: #fff; }
.hg-item h3.h4 { font-family: var(--serif); font-size: 24px; color: var(--navy); }
.platform .core h3.h5 { font-family: var(--serif); font-size: 22px; font-weight: 400; margin: 0 0 6px; }
.form-card h2.h-form { font-family: var(--serif); font-size: 30px; color: var(--navy); margin-bottom: 6px; }

/* Cifras (4 columnas) */
@media (min-width: 860px) { .results.four { grid-template-columns: repeat(4, 1fr); } }
.results.four .figure { font-size: clamp(52px, 5.6vw, 84px); }
@media (min-width: 860px) { .results.four .result { padding: 40px 28px 8px; } .results.four .result:first-child { padding-left: 0; } }

/* Núcleo del ecosistema */
.eco-core { background: radial-gradient(circle at 50% 35%, #0b3f78, var(--navy-900)); border: 1px solid rgba(202,169,120,.7); box-shadow: 0 0 0 10px rgba(255,255,255,.04), 0 0 0 22px rgba(255,255,255,.025), 0 20px 50px -10px rgba(0,0,0,.5); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.eco-core img { width: 50%; height: auto; }
.eco-core span { font-family: var(--sans); font-weight: 700; letter-spacing: .28em; text-transform: uppercase; font-size: clamp(9px, 1.1vw, 12px); color: rgba(255,255,255,.85); padding-left: .28em; }
.result .figure .unit { font-size: .62em; letter-spacing: .02em; margin-left: .12em; }

/* ============================================================
   Ajustes móviles
   ============================================================ */
@media (max-width: 640px) {
  /* Ecosistema: diagrama más angosto para que los nodos no se salgan */
  .eco { width: 76%; }
  .eco-node { min-width: 0; padding: 7px 9px; }
  .eco-node b { font-size: 12.5px; }
  .eco-node span { font-size: 10px; letter-spacing: 0; }
  .eco-core span { font-size: 8px; letter-spacing: .2em; }

  /* Socios: uno por fila, foto al lado del texto */
  #socios { grid-template-columns: 1fr; gap: 28px; }
  #socios .person { display: grid; grid-template-columns: 40% 1fr; column-gap: 16px; align-items: start; }
  #socios .person .ph { grid-row: span 3; }
  #socios .person h3 { margin-top: 0; font-size: 21px; }
  #socios .person .short { margin-top: 8px; font-size: 14.5px; }

  /* Botón flotante de WhatsApp más discreto */
  .wa { width: 46px; height: 46px; right: 14px; bottom: 14px; }
}
.wa.hide { transform: translateY(120px) !important; }
