/* ============================================================================
   SMC GROUP — HOJA DE ESTILOS
   Corporate Premium Dark · Raleway / DM Sans / IBM Plex Mono
   ========================================================================== */

/* ---------- Variables ---------------------------------------------------- */
:root {
  --bg-0: #080A0F;
  --bg-1: #0D1B35;
  --bg-soft: #0F1626;          /* paneles algo más claros */
  --ink: #F0EDE8;              /* blanco roto cálido */
  --smc: #2B6FD4;              /* azul corporativo */
  --smc-light: #5BA4F5;        /* azul eléctrico claro */
  --silver: #8C9BB5;           /* plateado / gris frío */
  --line: rgba(43, 111, 212, 0.15);
  --line-strong: rgba(91, 164, 245, 0.35);

  --font-display: "Raleway", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", "Courier New", monospace;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-0);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Fondo degradado animado muy lento + grano fino */
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(43,111,212,0.18), transparent 60%),
    radial-gradient(50% 60% at 85% 80%, rgba(91,164,245,0.10), transparent 60%),
    linear-gradient(135deg, var(--bg-0) 0%, var(--bg-1) 100%);
  background-size: 200% 200%, 200% 200%, 100% 100%;
  animation: meshDrift 38s ease-in-out infinite alternate;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%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");
}
@keyframes meshDrift {
  0%   { background-position: 0% 0%, 100% 100%, 0 0; }
  100% { background-position: 100% 50%, 0% 0%, 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}

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

/* ---------- Utilidades --------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--font-mono); }
.smc-blue { color: var(--smc); }
.section { position: relative; padding-block: clamp(80px, 12vh, 160px); }

.kicker {
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
}

.section-index {
  position: absolute;
  top: clamp(20px, 6vh, 60px);
  left: var(--gutter);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(120px, 26vw, 360px);
  line-height: 0.8;
  color: rgba(43, 111, 212, 0.06);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* Reveal — CSS defensivo OBLIGATORIO */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ============================================================================
   SPLASH
   ========================================================================== */
#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-content: center;
  gap: 28px;
  background: linear-gradient(135deg, var(--bg-0), var(--bg-1));
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
#splash.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-word { display: flex; gap: clamp(2px, 1vw, 10px); justify-content: center; }
.splash-word .ch {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 9vw, 96px);
  color: var(--smc);
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  animation: splashIn 0.6s var(--ease) forwards;
}
.splash-word .sp { width: clamp(10px, 3vw, 36px); }
@keyframes splashIn { to { opacity: 1; transform: none; } }
.splash-bar { width: clamp(160px, 30vw, 280px); height: 2px; background: var(--line); overflow: hidden; margin-inline: auto; border-radius: 2px; }
.splash-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--smc), var(--smc-light)); animation: splashLoad 2.6s ease forwards; }
@keyframes splashLoad { to { width: 100%; } }

/* Doble red de seguridad: a los 4.5s el splash se va aunque el JS falle */
@keyframes splashAutohide { to { opacity: 0; visibility: hidden; pointer-events: none; } }
#splash { animation: splashAutohide 0.7s ease 4.5s forwards; }

/* ============================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 10, 15, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding-block: 12px;
}
/* backdrop-filter en un ancestro rompe position:fixed en #navLinks (crea un
   nuevo containing block) — se saca mientras el menú móvil está abierto. */
.nav.menu-open { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 42px; width: auto; }
.nav-logo .fallback {
  font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: 0.04em; color: var(--ink);
}
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav-links a { display: inline-flex; align-items: baseline; gap: 6px; font-size: 14px; color: var(--ink); opacity: 0.85; transition: opacity 0.3s, color 0.3s; }
.nav-links a .n { font-family: var(--font-mono); font-size: 10px; color: var(--silver); }
.nav-links a:hover { opacity: 1; color: var(--smc-light); }
.nav-cta {
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  background: var(--smc); color: #fff; padding: 10px 20px; border-radius: 40px;
  transition: transform 0.3s var(--ease), background 0.3s, box-shadow 0.3s;
  box-shadow: 0 6px 20px rgba(43,111,212,0.28);
}
.nav-cta:hover { background: var(--smc-light); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(43,111,212,0.4); }

/* Burger */
.burger { display: none; width: 40px; height: 40px; position: relative; z-index: 1100; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink); transition: transform 0.35s var(--ease), opacity 0.25s; }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .burger { display: block; }
  .nav-links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px;
    background: rgba(8,10,15,0.96); backdrop-filter: blur(16px);
    transform: translateX(100%); transition: transform 0.5s var(--ease);
  }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 22px; }
  .nav-links a .n { font-size: 13px; }
}

/* ============================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: 120px 60px; }
.hero-kicker { margin-bottom: 28px; }
.hero-eyebrow { margin-bottom: 22px; color: var(--smc-light); }
.hero-kicker { margin-bottom: 24px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 5.2vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  max-width: 20ch;
}
.hero h1 .accent { color: var(--smc); }
.hero-tagline { margin-top: 26px; font-size: clamp(17px, 1.9vw, 22px); color: var(--silver); max-width: 50ch; }
.hero-sub { margin-top: 14px; font-size: clamp(15px, 1.6vw, 18px); color: var(--smc-light); max-width: 48ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  padding: 15px 30px; border-radius: 44px;
  transition: transform 0.35s var(--ease), background 0.35s, box-shadow 0.35s, border-color 0.35s, color 0.35s;
}
.btn-primary { background: var(--smc); color: #fff; box-shadow: 0 10px 30px rgba(43,111,212,0.3); }
.btn-primary:hover { background: var(--smc-light); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(43,111,212,0.45); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--smc-light); color: var(--smc-light); transform: translateY(-3px); }

.hero-scroll { position: absolute; bottom: 28px; left: var(--gutter); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--silver); display: flex; align-items: center; gap: 10px; }
.hero-scroll .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--smc); animation: pulse 2s ease infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: 0.3; transform: scale(0.6);} }

/* ============================================================================
   TICKER
   ========================================================================== */
.ticker { background: var(--bg-soft); border-block: 1px solid var(--line); padding-block: 18px; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 0; animation: tickerMove 32s linear infinite; }
.ticker-track span { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2.6vw, 30px); color: var(--smc); padding-inline: 22px; opacity: 0.85; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tickerMove { to { transform: translateX(-50%); } }

/* ============================================================================
   SECCIÓN 01 — LA FIRMA
   ========================================================================== */
.firma-grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 80px); position: relative; z-index: 1; }
@media (min-width: 980px) { .firma-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.firma-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.01em; }
.firma-aside { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; color: var(--smc-light); margin-bottom: 22px; display: inline-block; }
.firma-lead { font-size: clamp(18px, 2.2vw, 24px); color: var(--ink); margin-top: 28px; max-width: 60ch; }
.firma-support { font-size: 17px; color: var(--silver); margin-top: 20px; max-width: 56ch; }
.firma-defs { margin-top: 10px; border-top: 1px solid var(--line); }
.firma-defs div { display: grid; grid-template-columns: minmax(110px, 0.5fr) 1fr; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.firma-defs dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--smc-light); }
.firma-defs dd { color: var(--ink); font-size: 15px; }

/* ============================================================================
   SECCIÓN 02 — PILARES (scroll horizontal con pin)
   ========================================================================== */
.pillars { position: relative; }
.pillars-head { padding-inline: var(--gutter); padding-top: clamp(60px, 9vh, 120px); position: relative; z-index: 2; }
.pillars-head h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 6vw, 72px); line-height: 1.03; margin-top: 14px; max-width: 18ch; }

.pin-wrap { position: relative; }
.horizontal { display: flex; gap: 0; will-change: transform; }
.pillar-card {
  flex: 0 0 100vw; min-height: 100vh;
  display: flex; align-items: center;
  padding: clamp(90px, 12vh, 140px) var(--gutter) 80px;
}
.pillar-inner { width: 100%; max-width: var(--container); margin-inline: auto; display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .pillar-inner { grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); } }

.pillar-visual { position: relative; }
.pillar-num { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.2em; color: var(--silver); }
.pillar-icon { margin-top: 24px; width: clamp(120px, 22vw, 220px); height: clamp(120px, 22vw, 220px); }
.pillar-icon svg { width: 100%; height: 100%; }
.pillar-icon svg [data-trace] {
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--len, 1000);
  stroke-dashoffset: var(--len, 1000);
  transition: stroke-dashoffset 1.4s var(--ease);
}
.pillar-card.is-active .pillar-icon svg [data-trace] { stroke-dashoffset: 0; }

.pillar-name { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 7vw, 84px); line-height: 0.98; letter-spacing: -0.01em; }
.pillar-sub { font-size: clamp(17px, 2vw, 22px); color: var(--silver); margin-top: 14px; }
.pillar-line { height: 2px; width: 80px; background: var(--smc); margin-block: 26px; border-radius: 2px; }
.pillar-deliverables { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-bottom: 22px; }
.pillar-deliverables li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink); }
.pillar-deliverables li::before { content: "→"; position: absolute; left: 0; color: var(--smc-light); font-family: var(--font-mono); }
.pillar-link-li { padding-left: 0 !important; }
.pillar-deliverables li.pillar-link-li::before { content: none !important; }
.pillar-link-item { font-size: 19px; font-weight: 700; color: var(--smc-light); text-decoration: underline; text-underline-offset: 4px; transition: color 0.25s var(--ease); }
.pillar-link-item:hover { color: var(--ink); }
.pillar-copy { color: var(--silver); font-size: 16px; max-width: 52ch; }

.pillars-progress {
  position: sticky; bottom: 26px; z-index: 3;
  width: max-content; margin: 0 auto;
  display: flex; align-items: center; gap: 14px;
  background: rgba(8,10,15,0.7); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 40px; padding: 8px 18px;
  font-family: var(--font-mono); font-size: 13px; color: var(--silver);
}
.pillars-progress .bar { width: 120px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.pillars-progress .bar i { display: block; height: 100%; width: 25%; background: var(--smc); transition: width 0.4s var(--ease); }

/* hint de swipe en móvil */
.swipe-hint { display: none; }
@media (max-width: 899px) {
  .horizontal { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .horizontal::-webkit-scrollbar { display: none; }
  .pillar-card { scroll-snap-align: start; min-height: auto; padding-block: 50px; }
  .pillar-icon { width: 110px; height: 110px; }
  .swipe-hint { display: block; text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--silver); padding-top: 10px; }
}

/* ============================================================================
   SECCIÓN 03 — CLIENTES (marquee)
   ========================================================================== */
.clients-head { position: relative; z-index: 1; max-width: 60ch; }
.clients-head h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 5.5vw, 68px); line-height: 1.04; margin-top: 14px; }
.clients-head p { color: var(--silver); font-size: 18px; margin-top: 18px; max-width: 50ch; }
.marquee { margin-top: 56px; display: flex; flex-direction: column; gap: 28px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-row { display: flex; overflow: hidden; }
.marquee-track { display: flex; flex-shrink: 0; gap: 0; }
.marquee-row.left  .marquee-track { animation: marqueeLeft 42s linear infinite; }
.marquee-row.right .marquee-track { animation: marqueeRight 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeLeft  { to { transform: translateX(-50%); } }
@keyframes marqueeRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.client-logo {
  flex: 0 0 auto; width: clamp(150px, 18vw, 200px); height: 96px;
  margin-inline: 14px;
  padding: 14px 22px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.06); border-radius: 14px;
  background: #f4f6fa;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  transition: transform 0.4s var(--ease), box-shadow 0.4s, background 0.4s;
}
.client-logo img { max-height: 52px; max-width: 82%; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.72; transition: filter 0.5s, opacity 0.5s; }
.client-logo:hover { background: #ffffff; transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,0.3); }
.client-logo:hover img { filter: grayscale(0); opacity: 1; }
/* fallback de texto si el png no existe */
.client-logo .ctext { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #8794a8; transition: color 0.4s; }
.client-logo:hover .ctext { color: var(--smc); }

/* ============================================================================
   SECCIÓN 04 — MÉTODO (timeline)
   ========================================================================== */
.method-head h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 5.5vw, 68px); line-height: 1.04; margin-top: 14px; position: relative; z-index: 1; }
.timeline { position: relative; margin-top: 64px; }
.timeline-line { position: absolute; top: 34px; left: 0; right: 0; height: 2px; background: var(--line); }
.timeline-line i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--smc), var(--smc-light)); transition: width 1.4s var(--ease); }
.timeline.is-in .timeline-line i { width: 100%; }
.timeline-nodes { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); position: relative; }
@media (max-width: 760px) { .timeline-nodes { grid-template-columns: 1fr 1fr; gap: 40px 24px; } .timeline-line { display: none; } }
.node { position: relative; }
.node-dot { width: 70px; height: 70px; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--line-strong); display: grid; place-items: center; margin-bottom: 22px; }
.node-dot svg { width: 30px; height: 30px; stroke: var(--smc-light); fill: none; stroke-width: 2; }
.node-n { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--silver); }
.node h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); margin-block: 8px 8px; }
.node p { color: var(--silver); font-size: 15px; max-width: 24ch; }

/* ============================================================================
   SECCIÓN 05 — PRESENCIA GLOBAL
   ========================================================================== */
.offices-head h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 5.5vw, 68px); line-height: 1.04; margin-top: 14px; position: relative; z-index: 1; }
.offices-grid { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 56px; }
@media (min-width: 760px) { .offices-grid { grid-template-columns: repeat(3, 1fr); } }
.office-card {
  background: linear-gradient(160deg, rgba(13,27,53,0.6), rgba(8,10,15,0.4));
  border: 1px solid var(--line); border-radius: 18px; padding: 32px;
  transition: border-color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s;
}
.office-card:hover { border-color: var(--line-strong); transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.office-flag { width: 52px; height: 36px; border-radius: 5px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,0.35); }
.office-flag svg { width: 100%; height: 100%; display: block; }
.office-city { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3vw, 32px); margin-top: 22px; }
.office-country { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--smc-light); margin-top: 6px; }
.office-copy { color: var(--silver); font-size: 15px; margin-top: 16px; }

/* ============================================================================
   SECCIÓN 06 — EQUIPO
   ========================================================================== */
.team-head h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 5.5vw, 68px); line-height: 1.04; margin-top: 14px; position: relative; z-index: 1; }
.team-lead { display: grid; grid-template-columns: 1fr; gap: 36px; margin-top: 56px; align-items: center; }
@media (min-width: 820px) { .team-lead { grid-template-columns: 360px 1fr; gap: 56px; } }
.team-photo {
  position: relative; aspect-ratio: 4/5; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--bg-soft);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo .ph-fallback { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 96px; color: rgba(43,111,212,0.25); }
.team-lead-name { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4vw, 46px); }
.team-lead-role { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.16em; color: var(--smc-light); margin-top: 10px; }
.team-lead-bio { color: var(--silver); font-size: 17px; margin-top: 22px; max-width: 52ch; }
.team-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-family: var(--font-mono); font-size: 13px; color: var(--ink); border: 1px solid var(--line-strong); padding: 10px 18px; border-radius: 40px; transition: border-color 0.3s, color 0.3s, transform 0.3s; }
.team-link:hover { border-color: var(--smc-light); color: var(--smc-light); transform: translateY(-2px); }
.team-link svg { width: 16px; height: 16px; fill: currentColor; }

.team-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 40px; }
@media (min-width: 680px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.member-card { border: 1px solid var(--line); border-radius: 16px; padding: 26px; background: rgba(255,255,255,0.012); transition: border-color 0.4s; }
.member-card:hover { border-color: var(--line-strong); }
.member-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--line-strong); display: grid; place-items: center; overflow: hidden; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--smc-light); }
.member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.member-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin-top: 18px; }
.member-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--silver); margin-top: 6px; }
.member-card.empty .member-name { color: var(--silver); }

/* ============================================================================
   SECCIÓN 07 — CONTACTO
   ========================================================================== */
.contact-head h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 8vw, 110px); line-height: 1; position: relative; z-index: 1; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 70px); margin-top: 56px; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 1.3fr 1fr; } }

.field { border-bottom: 1px solid var(--line); padding-block: 18px; display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 14px; transition: border-color 0.3s; }
.field:focus-within { border-color: var(--smc-light); }
.field .fnum { font-family: var(--font-mono); font-size: 13px; color: var(--silver); }
.field input, .field select, .field textarea {
  width: 100%; background: none; border: none; color: var(--ink);
  font-family: var(--font-body); font-size: 17px; outline: none; resize: none;
}
.field textarea { min-height: 90px; padding-top: 6px; }
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--bg-1); color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--silver); opacity: 0.7; }
.contact-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.contact-alt { font-family: var(--font-mono); font-size: 13px; color: var(--silver); }
.contact-alt a { color: var(--smc-light); }

.contact-panel { background: linear-gradient(160deg, rgba(13,27,53,0.55), rgba(8,10,15,0.4)); border: 1px solid var(--line); border-radius: 20px; padding: clamp(26px, 4vw, 40px); }
.contact-panel h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin-bottom: 24px; }
.contact-item { display: block; padding-block: 16px; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: none; }
.contact-item .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver); }
.contact-item .val { display: block; font-size: 17px; margin-top: 6px; color: var(--ink); transition: color 0.3s; }
a.contact-item:hover .val { color: var(--smc-light); }

/* ============================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; padding-top: clamp(70px, 10vh, 130px); border-top: 1px solid var(--line); overflow: hidden; }
.footer-marquee { overflow: hidden; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.footer-marquee .ftrack { display: inline-flex; animation: marqueeLeft 40s linear infinite; }
.footer-marquee span { font-family: var(--font-display); font-weight: 800; font-size: clamp(48px, 12vw, 150px); color: rgba(43,111,212,0.07); padding-inline: 30px; letter-spacing: -0.01em; }
.footer-body { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 50px; }
@media (min-width: 760px) { .footer-body { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-brand img { height: 88px; width: auto; }
.footer-brand .fallback { font-family: var(--font-display); font-weight: 800; font-size: 24px; }
.footer-brand p { color: var(--silver); font-size: 14px; margin-top: 16px; max-width: 32ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--smc-light); margin-bottom: 18px; }
.footer-col a, .footer-col span.fitem { display: block; color: var(--ink); opacity: 0.85; font-size: 15px; padding-block: 7px; transition: color 0.3s, opacity 0.3s; }
.footer-col a:hover { color: var(--smc-light); opacity: 1; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; margin-top: 56px; padding-block: 26px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 12px; color: var(--silver); }
.footer-legal a:hover { color: var(--smc-light); }

/* ============================================================================
   ELEMENTOS TRANSVERSALES
   ========================================================================== */
/* Marca lateral fija */
.side-brand {
  position: fixed; right: 14px; top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; z-index: 900;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.28em;
  color: var(--silver); display: flex; align-items: center; gap: 12px;
  pointer-events: none;
}
.side-brand .pdot { width: 7px; height: 7px; border-radius: 50%; background: var(--smc); animation: pulse 2.2s ease infinite; transform: rotate(180deg); }
@media (max-width: 1100px) { .side-brand { display: none; } }

/* Cursor personalizado */
/* Cursor personalizado desactivado: usamos el cursor normal del sistema */
.cursor { display: none !important; }

/* ============================================================================
   RESPONSIVE GENERAL
   ========================================================================== */
@media (max-width: 600px) {
  .pillar-deliverables { grid-template-columns: 1fr; }
  .firma-defs div { grid-template-columns: 1fr; gap: 4px; }
}

/* ============================================================================
   TEXTOS FINALES — elementos nuevos (actualización de contenido)
   ========================================================================== */

/* Pilares: etiqueta "Servicios" + línea de cierre */
.pillar-copy { margin-bottom: 20px; }
.pillar-services-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--smc-light); margin-bottom: 12px; }
.pillar-closing { margin-top: 22px; font-size: 15px; color: var(--ink); font-style: italic; max-width: 52ch; border-left: 2px solid var(--smc); padding-left: 14px; opacity: 0.92; }

/* Método: subtítulo de cada nodo + frase de cierre */
.node-sub { color: var(--ink); font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.node p { color: var(--silver); font-size: 14px; max-width: 30ch; }
.method-closing { margin-top: 56px; font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 3vw, 32px); line-height: 1.2; color: var(--ink); max-width: 24ch; }

/* Presencia: intro */
.offices-intro { color: var(--silver); font-size: clamp(17px, 2vw, 20px); margin-top: 18px; max-width: 56ch; }

/* Dirección estratégica (sección 06) */
.direccion-body { margin-top: 48px; max-width: 64ch; }
.direccion-lead { font-size: clamp(19px, 2.4vw, 26px); color: var(--ink); line-height: 1.5; }
.direccion-text { font-size: clamp(16px, 1.8vw, 19px); color: var(--silver); margin-top: 22px; }

/* Contacto: intro */
.contact-intro { color: var(--silver); font-size: clamp(16px, 1.8vw, 19px); max-width: 64ch; margin-top: 18px; }
.contact-intro + .contact-intro { margin-top: 14px; }
.contact-grid { margin-top: 44px; }

/* ============================================================================
   REVISIÓN ESTRATÉGICA — autoridad, credibilidad, dirección y CTAs
   ========================================================================== */

/* Banda de credibilidad (sección Clientes). Lista para alojar métricas o
   testimonios reales en una etapa posterior. */
.cred-band {
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
@media (max-width: 820px) { .cred-band { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .cred-band { grid-template-columns: 1fr; } }
.cred-item { background: linear-gradient(160deg, rgba(13,27,53,0.45), rgba(8,10,15,0.3)); padding: 28px clamp(20px, 2.4vw, 30px); }
.cred-k { display: block; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--smc-light); margin-bottom: 12px; }
.cred-v { font-size: 15px; color: var(--ink); line-height: 1.5; }
.cred-link { display: inline-block; margin-top: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.03em; color: var(--smc-light); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: color 0.25s var(--ease), border-color 0.25s var(--ease); }
.cred-link:hover { color: var(--ink); border-color: var(--smc-light); }

/* Dirección estratégica — layout con marco reservado para foto + bio */
.direccion-layout { margin-top: 48px; display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 880px) { .direccion-layout { grid-template-columns: 320px 1fr; } }
.direccion-portrait {
  position: relative; aspect-ratio: 4/5; border-radius: 18px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(43,111,212,0.16), transparent 60%),
    linear-gradient(160deg, rgba(13,27,53,0.7), rgba(8,10,15,0.5));
  overflow: hidden;
}
.dp-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.dp-fallback { position: absolute; inset: 0; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.dp-fallback::after { content: ""; position: absolute; inset: 14px; border: 1px solid var(--line); border-radius: 12px; pointer-events: none; }
.dp-initials { font-family: var(--font-display); font-weight: 800; font-size: 72px; color: rgba(43,111,212,0.35); letter-spacing: 0.02em; }
.dp-label { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--silver); }
.direccion-body { margin-top: 0; max-width: 60ch; }
.direccion-name { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; }
.direccion-role { font-size: 13px; letter-spacing: 0.14em; color: var(--smc-light); margin-top: 8px; margin-bottom: 24px; }
.direccion-lead { font-size: clamp(18px, 2vw, 23px); color: var(--ink); line-height: 1.5; }
.direccion-text { font-size: clamp(16px, 1.7vw, 18px); color: var(--silver); margin-top: 20px; }

/* Acciones de contacto destacadas */
.contact-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  color: var(--ink); padding: 12px 22px; border-radius: 44px;
  border: 1px solid var(--line-strong); background: rgba(43,111,212,0.05);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s, color 0.3s;
}
.cta-chip::before { content: "→"; color: var(--smc-light); font-family: var(--font-mono); }
.cta-chip:hover { border-color: var(--smc-light); background: rgba(43,111,212,0.14); color: var(--smc-light); transform: translateY(-2px); }
.cta-chip-lg { font-size: 16px; padding: 15px 32px; background: var(--smc); border-color: var(--smc); color: #fff; box-shadow: 0 10px 30px rgba(43,111,212,0.28); }
.cta-chip-lg::before { color: #fff; }
.cta-chip-lg:hover { background: var(--smc-light); border-color: var(--smc-light); color: #fff; box-shadow: 0 16px 40px rgba(43,111,212,0.42); }
.cta-chip-lg:hover::before { color: #fff; }
