/* =================================================================
   TOWER CONSULTING — style.css
   Sistema de diseño principal: tokens, tipografía, layout y componentes.
   Paleta derivada del isotipo: azul noche profundo, plata metálica y
   dorado ámbar (la flecha de crecimiento del logo).
   ================================================================= */

/* -----------------------------------------------------------------
   1. TOKENS DE DISEÑO (Custom Properties)
   ----------------------------------------------------------------- */
:root {
  /* Paleta — Modo oscuro (por defecto, "Modo Ejecutivo") */
  --navy-950: #05070f;
  --navy-900: #0a0e27;
  --navy-850: #0d1330;
  --navy-800: #141b3d;
  --navy-700: #1a2248;
  --navy-600: #232c5c;

  --silver-300: #c4cad8;
  --silver-400: #9ca3b5;
  --silver-500: #7c8496;

  --gold-300: #f0c878;
  --gold-400: #d4a44c;
  --gold-500: #b8842e;

  --white: #f5f6fa;
  --white-70: rgba(245, 246, 250, 0.7);
  --white-50: rgba(245, 246, 250, 0.5);

  /* Roles semánticos */
  --bg: var(--navy-900);
  --bg-alt: var(--navy-850);
  --surface: var(--navy-800);
  --surface-2: var(--navy-700);
  --border: rgba(245, 246, 250, 0.08);
  --border-strong: rgba(245, 246, 250, 0.14);

  --text-primary: var(--white);
  --text-secondary: var(--silver-300);
  --text-muted: var(--silver-500);

  --accent: var(--gold-400);
  --accent-strong: var(--gold-300);

  --gradient-gold: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  --gradient-silver: linear-gradient(160deg, var(--silver-300), var(--silver-500));
  --gradient-hero-bg: radial-gradient(circle at 20% 20%, rgba(35, 44, 92, 0.55), transparent 55%),
                      radial-gradient(circle at 85% 75%, rgba(212, 164, 76, 0.12), transparent 45%),
                      var(--navy-900);

  /* Tipografía */
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Espaciado */
  --space-2xs: 0.4rem;
  --space-xs: 0.8rem;
  --space-sm: 1.2rem;
  --space-md: 2rem;
  --space-lg: 3.2rem;
  --space-xl: 5.2rem;
  --space-2xl: 8rem;

  /* Layout */
  --container-w: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --navbar-h: 84px;

  /* Sombras */
  --shadow-sm: 0 4px 16px rgba(2, 4, 12, 0.25);
  --shadow-md: 0 12px 40px rgba(2, 4, 12, 0.35);
  --shadow-gold: 0 12px 30px rgba(184, 132, 46, 0.35);

  /* Transiciones */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.2s;
  --t-med: 0.4s;
  --t-slow: 0.7s;
}

/* Modo claro — alternativa corporativa clara */
[data-theme="light"] {
  --bg: #f4f5f9;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-2: #eceef5;
  --border: rgba(10, 14, 39, 0.08);
  --border-strong: rgba(10, 14, 39, 0.14);

  --text-primary: #0a0e27;
  --text-secondary: #3c4360;
  --text-muted: #6b7285;

  --gradient-hero-bg: radial-gradient(circle at 20% 20%, rgba(35, 44, 92, 0.06), transparent 55%),
                      radial-gradient(circle at 85% 75%, rgba(212, 164, 76, 0.14), transparent 45%),
                      #f4f5f9;

  --shadow-sm: 0 4px 16px rgba(20, 27, 61, 0.06);
  --shadow-md: 0 12px 40px rgba(20, 27, 61, 0.10);
}

/* -----------------------------------------------------------------
   2. RESET Y BASE
   ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg);
  overflow-x: hidden;
  transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 1.5rem; color: var(--text-primary); }
svg { display: block; }

::selection { background: var(--gold-400); color: var(--navy-950); }

/* Foco visible accesible */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.section { padding-block: var(--space-2xl); position: relative; }

/* -----------------------------------------------------------------
   3. TIPOGRAFÍA
   ----------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-mono);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gradient-gold);
  box-shadow: 0 0 0 4px rgba(212, 164, 76, 0.18);
}

.section__head { max-width: 700px; margin-bottom: var(--space-xl); }
.section__title { font-size: clamp(2.8rem, 3.6vw, 4.2rem); margin-bottom: var(--space-sm); }
.section__desc { text-align: justify; font-size: 1.7rem; color: var(--text-secondary); max-width: 60ch; }

/* -----------------------------------------------------------------
   4. BOTONES
   ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  padding: 1.4rem 2.6rem;
  border-radius: 100px;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn svg { transition: transform var(--t-fast) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }

.btn--gold {
  background: var(--gradient-gold);
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(184, 132, 46, 0.45); }

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-strong);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }

.btn--sm { padding: 1rem 1.9rem; font-size: 1.3rem; }
.btn--lg { padding: 1.6rem 3rem; font-size: 1.6rem; }

/* -----------------------------------------------------------------
   5. CURSOR PERSONALIZADO (solo dispositivos con puntero fino)
   ----------------------------------------------------------------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot { width: 6px; height: 6px; background: var(--gold-400); opacity: 0; }
.cursor-ring {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(212, 164, 76, 0.55);
  transition: width var(--t-fast), height var(--t-fast), border-color var(--t-fast), opacity var(--t-fast);
  opacity: 0;
}
.cursor-ring.is-active { width: 54px; height: 54px; border-color: var(--gold-300); }

@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* -----------------------------------------------------------------
   6. LOADER
   ----------------------------------------------------------------- */
.loader {
  position: fixed; inset: 0;
  background: var(--navy-950);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-md);
  z-index: 10000;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.loader.is-hidden { opacity: 0; visibility: hidden; }

.loader__mark { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.loader__logo { width: 62px; animation: loaderPulse 1.6s ease-in-out infinite; }
.loader__ring { position: absolute; inset: 0; width: 120px; height: 120px; transform: rotate(-90deg); }
.loader__ring-track { fill: none; stroke: rgba(245,246,250,0.08); stroke-width: 3; }
.loader__ring-progress {
  fill: none; stroke: url(#none); stroke: var(--gold-400); stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 339;
  stroke-dashoffset: 339;
  animation: loaderRing 1.4s var(--ease) infinite;
}
.loader__text {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  letter-spacing: 0.35em;
  color: var(--silver-400);
}

/* -----------------------------------------------------------------
   7. NAVBAR — Glassmorphism
   ----------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--navbar-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--t-med) var(--ease), height var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.is-scrolled {
  height: 68px;
  background: rgba(10, 14, 39, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
[data-theme="light"] .navbar.is-scrolled { background: rgba(255, 255, 255, 0.65); }

.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }

.navbar__brand { display: flex; align-items: center; gap: 1rem; }
.navbar__logo { width: 38px; height: auto; }
.navbar__brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}
.navbar__brand-text span { color: var(--text-muted); font-weight: 500; }

.navbar__list { display: flex; align-items: center; gap: var(--space-md); }
.navbar__link {
  position: relative;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding-block: 0.4rem;
  transition: color var(--t-fast) var(--ease);
}
.navbar__link::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gradient-gold);
  transition: width var(--t-fast) var(--ease);
}
.navbar__link:hover, .navbar__link.active { color: var(--text-primary); }
.navbar__link:hover::after, .navbar__link.active::after { width: 100%; }

.navbar__actions { display: flex; align-items: center; gap: var(--space-sm); }
.navbar__cta { display: inline-flex; }

.theme-toggle {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  transition: color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); transform: rotate(20deg); }
.theme-toggle__icon { width: 19px; height: 19px; }
.theme-toggle__icon--moon { display: none; }
[data-theme="light"] .theme-toggle__icon--sun { display: none; }
[data-theme="light"] .theme-toggle__icon--moon { display: block; }

.navbar__toggle {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.navbar__toggle span {
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast) var(--ease);
}

/* -----------------------------------------------------------------
   7.5. SHOWCASE — imagen de fondo grande antes del Hero
   ----------------------------------------------------------------- */
.showcase {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 480px;
  max-height: 900px;
  overflow: hidden;
}
.showcase__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.showcase__overlay {
  position: absolute;
  inset: 0;
  /* Degradado que oscurece la base de la imagen para que se funda
     visualmente con el fondo oscuro del Hero que viene justo después */
  background: linear-gradient(180deg, rgba(10, 14, 39, 0) 55%, var(--bg) 100%);
}

/* -----------------------------------------------------------------
   8. HERO
   ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--navbar-h);
  background: var(--gradient-hero-bg);
  overflow: hidden;
}
.hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.55; }

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.hero__glow--1 { width: 420px; height: 420px; background: rgba(212, 164, 76, 0.16); top: -100px; right: -60px; }
.hero__glow--2 { width: 380px; height: 380px; background: rgba(35, 44, 92, 0.5); bottom: -140px; left: -100px; }

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: var(--space-lg);
  padding-block: var(--space-xl);
}

.hero__title {
  font-size: clamp(3.6rem, 5.4vw, 6.4rem);
  margin-bottom: var(--space-sm);
}
.hero__title-gold {
  display: inline-block;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle {
  font-size: 1.8rem;
  color: var(--text-secondary);
  max-width: 52ch;
  margin-bottom: var(--space-lg);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-bottom: var(--space-xl); }

.hero__trust-label {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-sm);
}
.hero__trust-stats { display: flex; gap: var(--space-lg); flex-wrap: wrap; }
.hero__trust-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--text-primary);
}
.hero__trust-stats span { font-size: 1.3rem; color: var(--text-muted); }

.showcase {
  height: 80vh;        /* ocupa el 85% del alto de la pantalla */
  min-height: 480px;
  max-height: 900px;
  overflow: hidden;
}
.showcase__img {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* la imagen llena el espacio sin deformarse */
}
.showcase__overlay {
  /* degradado que oscurece la base para fundirla con el Hero */
  background: linear-gradient(180deg, rgba(10,14,39,0) 55%, var(--bg) 100%);
}

.hero__visual { position: relative; z-index: 1; }
.hero__visual-img { width: 100%; max-width: 560px; margin-inline: auto; }

.hero__scroll {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  z-index: 1;
}
.hero__scroll span:first-child {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(var(--accent), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute; top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--accent);
  animation: scrollLine 1.8s var(--ease) infinite;
}

/* Divisor de barras ascendentes (firma visual repetida) */
.skyline-divider { position: relative; height: 90px; width: 100%; overflow: hidden; background: var(--bg); }
.skyline-divider svg { width: 100%; height: 100%; display: block; }
.skyline-bar { fill: var(--surface-2); }
.skyline-arrow { stroke: var(--gold-400); stroke-width: 4; stroke-linecap: round; }
.skyline-arrow-head { fill: var(--gold-400); }

/* -----------------------------------------------------------------
   9. SERVICIOS
   ----------------------------------------------------------------- */
.services { background: var(--bg); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), background var(--t-med) var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 164, 76, 0.35);
  background: var(--surface-2);
}
.service-card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(212, 164, 76, 0.1);
  color: var(--accent);
  margin-bottom: var(--space-md);
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 2rem; margin-bottom: var(--space-xs); }
.service-card p { color: var(--text-secondary); font-size: 1.5rem; }

/* -----------------------------------------------------------------
   10. ESTADÍSTICAS
   ----------------------------------------------------------------- */
.stats { background: var(--bg-alt); border-block: 1px solid var(--border); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 4vw, 4.8rem);
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--space-xs);
}
.stat span { color: var(--text-secondary); font-size: 1.4rem; }

/* -----------------------------------------------------------------
   11. PROCESO / TIMELINE (barras ascendentes = firma de marca)
   ----------------------------------------------------------------- */
.process { background: var(--bg); }
.process__timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  align-items: end;
}
.process__step { display: flex; flex-direction: column; height: 100%; }
.process__bar {
  width: 100%;
  height: calc(var(--bar-h, 40%) * 1.6px + 40px);
  max-height: 220px;
  min-height: 90px;
  background: var(--gradient-silver);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  margin-bottom: var(--space-md);
  position: relative;
  overflow: hidden;
}
.process__bar--gold { background: var(--gradient-gold); }
.process__bar::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.25), transparent 40%);
}
.process__label {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.process__body h3 { font-size: 2rem; margin-block: var(--space-2xs) var(--space-xs); }
.process__body p { color: var(--text-secondary); font-size: 1.45rem; }

/* -----------------------------------------------------------------
   11.5. EQUIPO — tarjetas con efecto "spotlight" que sigue al mouse
   -----------------------------------------------------------------
   El seguimiento del cursor (--mx / --my) se calcula en js/team.js;
   aquí solo se define cómo se ve el brillo con esas coordenadas.
   ----------------------------------------------------------------- */
.team { background: var(--bg-alt); }
.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 940px;
  margin-inline: auto;
}

.team-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}

/* Capa de brillo (spotlight) que sigue al cursor — controlada por JS */
.team-card__spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
  background: radial-gradient(
    380px circle at var(--mx) var(--my),
    rgba(212, 164, 76, 0.16),
    transparent 70%
  );
}

/* Estado "encendido": se agrega/quita con JS al entrar/salir el mouse */
.team-card.is-lit {
  transform: translateY(-6px);
  border-color: rgba(212, 164, 76, 0.4);
  box-shadow: 0 20px 50px rgba(2, 4, 12, 0.4), 0 0 0 1px rgba(212, 164, 76, 0.12);
}
.team-card.is-lit .team-card__spotlight { opacity: 1; }

.team-card__body {
  position: relative;
  z-index: 1;
  padding: var(--space-lg);
}

/* Contenedor del avatar: mantiene el halo de luz y el círculo recortado
   como capas independientes (el halo NO debe recortarse en círculo) */
.team-card__avatar-wrap {
  position: relative;
  width: 128px;
  height: 128px;
  margin-bottom: var(--space-md);
}

/* Halo de luz difuminado detrás de la foto (efecto tipo RayDi),
   siempre visible con un pulso suave, y más intenso al pasar el mouse */
.team-card__avatar-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 164, 76, 0.55), rgba(212, 164, 76, 0) 70%);
  filter: blur(14px);
  opacity: 0.45;
  animation: avatarGlowPulse 3.6s ease-in-out infinite;
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  z-index: 0;
}
.team-card.is-lit .team-card__avatar-glow {
  opacity: 1;
  transform: scale(1.2);
  animation-play-state: paused;
}

.team-card__avatar {
  position: relative;
  z-index: 1;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border-strong);
  transition: border-color var(--t-med) var(--ease);
}
.team-card.is-lit .team-card__avatar { border-color: var(--gold-400); }
.team-card__avatar img { width: 100%; height: 100%; object-fit: cover; }

.team-card__role {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-2xs);
}
.team-card__name { font-size: 2.2rem; margin-bottom: 0.3rem; }
.team-card__title {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 1.4rem;
  margin-bottom: var(--space-md);
}

.team-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}
.team-card__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 1.4rem;
  color: var(--text-secondary);
}
.team-card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gradient-gold);
}

.team-card__contact { display: flex; flex-direction: column; gap: 0.3rem; }
.team-card__contact span {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.team-card__contact a { font-size: 1.4rem; color: var(--text-primary); transition: color var(--t-fast); }
.team-card__contact a:hover { color: var(--accent); }

/* -----------------------------------------------------------------
   12. CASOS DE ÉXITO — SLIDER
   ----------------------------------------------------------------- */
.cases { background: var(--bg-alt); }
.slider { position: relative; }
.slider__track {
  display: flex;
  transition: transform var(--t-slow) var(--ease);
}
.slide {
  min-width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.slide__tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-950);
  background: var(--gradient-gold);
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
}
.slide h3 { font-size: 2.6rem; max-width: 20ch; }
.slide p { color: var(--text-secondary); font-size: 1.6rem; max-width: 60ch; }
.slide__result {
  display: flex; align-items: baseline; gap: var(--space-xs);
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
}
.slide__result strong { font-family: var(--font-display); font-size: 3.2rem; color: var(--accent); }
.slide__result span { color: var(--text-muted); font-size: 1.4rem; }

.slider__controls { display: flex; align-items: center; justify-content: center; gap: var(--space-md); margin-top: var(--space-lg); }
.slider__arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  color: var(--text-primary);
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.slider__arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--navy-950); transform: scale(1.06); }
.slider__dots { display: flex; gap: 0.7rem; }
.slider__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--border-strong);
  transition: background var(--t-fast), width var(--t-fast);
}
.slider__dot.is-active { background: var(--gradient-gold); width: 26px; border-radius: 100px; }

/* -----------------------------------------------------------------
   13. TESTIMONIOS
   ----------------------------------------------------------------- */
.testimonials { background: var(--bg); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: var(--space-sm); right: var(--space-md);
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
}
.testimonial-card p { font-size: 1.7rem; color: var(--text-secondary); margin-bottom: var(--space-md); font-style: italic; }
.testimonial-card footer { display: flex; align-items: center; gap: var(--space-sm); }
.testimonial-card footer img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-card cite { display: block; font-style: normal; font-weight: 600; font-size: 1.5rem; }
.testimonial-card footer span { color: var(--text-muted); font-size: 1.3rem; }

/* -----------------------------------------------------------------
   14. CONTACTO
   ----------------------------------------------------------------- */
.contact { background: var(--bg-alt); }
.contact__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-xl);
  align-items: start;
}
.contact__list { margin-block: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-sm); }
.contact__list li { display: flex; align-items: center; gap: var(--space-sm); font-size: 1.6rem; color: var(--text-secondary); }
.contact__list svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

.contact__map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
  filter: grayscale(0.3) contrast(1.05);
}
.contact__map iframe { width: 100%; height: 100%; border: 0; }

.contact__form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.form__field { display: flex; flex-direction: column; gap: 0.6rem; position: relative; }
.form__field label { font-size: 1.3rem; color: var(--text-muted); font-weight: 500; }
.form__field input, .form__field select, .form__field textarea {
  background: var(--bg);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  color: var(--text-primary);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.form__field input:focus, .form__field select:focus, .form__field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(212, 164, 76, 0.15);
}
.form__field textarea { resize: vertical; min-height: 100px; }
.form__error { display: none; font-size: 1.2rem; color: #e6785c; }
.form__field.has-error input, .form__field.has-error textarea { border-color: #e6785c; }
.form__field.has-error .form__error { display: block; }

.form__submit { position: relative; justify-content: center; }
.form__submit-loader {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(10,14,39,0.3);
  border-top-color: var(--navy-950);
  border-radius: 50%;
}
.form__submit.is-loading .form__submit-text { visibility: hidden; }
.form__submit.is-loading .form__submit-loader {
  display: block; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  animation: spin 0.7s linear infinite;
}
.form__status { font-size: 1.4rem; text-align: center; min-height: 1.6em; }
.form__status.is-success { color: #6ee7a8; }
.form__status.is-error { color: #e6785c; }

/* -----------------------------------------------------------------
   15. FOOTER
   ----------------------------------------------------------------- */
.footer { background: var(--navy-950); border-top: 1px solid var(--border); padding-top: var(--space-xl); }
[data-theme="light"] .footer { background: #0a0e27; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-xl);
}
.footer__logo { display: flex; align-items: center; gap: 1rem; margin-bottom: var(--space-sm); }
.footer__logo img { width: 34px; }
.footer__logo span { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--white); }
.footer__logo span span { color: var(--silver-400); font-weight: 500; }
.footer__brand p { color: var(--text-muted); font-size: 1.4rem; max-width: 32ch; margin-bottom: var(--space-md); }
.footer__social { display: flex; gap: var(--space-xs); }
.footer__social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--silver-400);
  transition: color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.footer__social a:hover { color: var(--gold-400); border-color: var(--gold-400); transform: translateY(-3px); }
.footer__social svg { width: 17px; height: 17px; }

.footer__col h4 { font-size: 1.5rem; margin-bottom: var(--space-sm); color: var(--white); }
.footer__col ul { display: flex; flex-direction: column; gap: 1rem; }
.footer__col li, .footer__col a { color: var(--text-muted); font-size: 1.4rem; }
.footer__col a:hover { color: var(--gold-400); }

.footer__bottom { border-top: 1px solid var(--border); padding-block: var(--space-md); }
.footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-sm); }
.footer__bottom-inner p { color: var(--text-muted); font-size: 1.3rem; }

/* -----------------------------------------------------------------
   16. BOTONES FLOTANTES
   ----------------------------------------------------------------- */
.float-btn {
  position: fixed;
  right: var(--space-md);
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  z-index: 800;
  box-shadow: var(--shadow-md);
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease), visibility var(--t-fast);
}
.float-btn--whatsapp {
  bottom: var(--space-md);
  background: #25d366;
  color: #fff;
}
.float-btn--whatsapp svg { width: 28px; height: 28px; }
.float-btn--whatsapp:hover { transform: scale(1.08); }

.float-btn--top {
  bottom: calc(var(--space-md) + 70px);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}
.float-btn--top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.float-btn--top:hover { background: var(--accent); color: var(--navy-950); border-color: var(--accent); }
.float-btn--top svg { width: 20px; height: 20px; }
