/* ==========================================================================
   GESTNETT 2026 — Deep-Tech Aurora Design System
   Rediseño visual completo. Reemplaza a Arsha (style.css / gestnett-style.css /
   carrusel.css). Conserva las clases que usan los componentes para no romper
   ninguna funcionalidad, y moderniza por completo la capa visual.
   Soporta tema claro y oscuro vía [data-theme].
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Marca GestNett (conservada y refinada) */
  --brand-50:  #eaf6fd;
  --brand-100: #cdeafa;
  --brand-200: #9fd6f3;
  --brand-300: #6cbeea;
  --brand-400: #3a9fd9;   /* azul base GestNett */
  --brand-500: #2b8fce;
  --brand-600: #1f78b8;
  --brand-700: #1a6196;
  --brand-800: #184f78;
  --brand-900: #102f4a;

  /* Gradiente "IA" (conservado del Copiloto) */
  --ia-1: #00e6ff;
  --ia-2: #00ffa3;
  --ia-3: #b8ff5c;
  --grad-ia: linear-gradient(135deg, var(--ia-1), var(--ia-2) 45%, var(--ia-3) 100%);
  --grad-brand: linear-gradient(135deg, #2ea7e6 0%, #1f78b8 55%, #144e86 100%);
  --grad-aurora: linear-gradient(120deg, #2ea7e6 0%, #00d8c4 45%, #7ef07a 100%);

  /* Neutros (modo claro por defecto) */
  --bg:            #f6f9fc;
  --bg-soft:       #eef4fa;
  --surface:       #ffffff;
  --surface-2:     #f9fbfe;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --border:        rgba(16, 38, 66, 0.10);
  --border-strong: rgba(16, 38, 66, 0.16);

  --ink:        #0c1f38;   /* títulos */
  --text:       #33485f;   /* cuerpo */
  --text-soft:  #46596f;
  --text-muted: #586d86;   /* WCAG AA >=4.5:1 sobre superficies claras */
  --primary:    var(--brand-400);
  --primary-ink:#0a4f7a;

  /* Sombras (suaves, en capas) */
  --shadow-xs: 0 1px 2px rgba(12, 31, 56, 0.06);
  --shadow-sm: 0 4px 14px rgba(12, 31, 56, 0.07);
  --shadow-md: 0 14px 40px rgba(12, 31, 56, 0.10);
  --shadow-lg: 0 30px 70px rgba(12, 31, 56, 0.14);
  --shadow-brand: 0 18px 40px rgba(31, 120, 184, 0.28);
  --shadow-ia: 0 14px 44px rgba(0, 224, 170, 0.30);

  /* Radios */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Tipografía */
  --font-display: "Space Grotesk", "Jost", system-ui, sans-serif;
  --font-body: "Inter", "Open Sans", system-ui, sans-serif;

  /* Layout */
  --navbar-h: 76px;
  --maxw: 1200px;

  --ring: 0 0 0 4px rgba(58, 159, 217, 0.30);
}

[data-theme="dark"] {
  --bg:            #060b16;
  --bg-soft:       #0a1424;
  --surface:       #0f1c30;
  --surface-2:     #132440;
  --surface-glass: rgba(15, 28, 48, 0.62);
  --border:        rgba(140, 180, 230, 0.14);
  --border-strong: rgba(140, 180, 230, 0.24);

  --ink:        #eaf2fb;
  --text:       #c5d4e6;
  --text-soft:  #aabfd6;
  --text-muted: #9fb4cb;   /* WCAG AA >=4.5:1 sobre superficies oscuras */
  --primary:    #57bdf0;
  --primary-ink:#bfe5fa;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.42);
  --shadow-md: 0 18px 46px rgba(0, 0, 0, 0.52);
  --shadow-lg: 0 34px 80px rgba(0, 0, 0, 0.60);
  --shadow-brand: 0 18px 44px rgba(0, 170, 255, 0.30);
}

/* --------------------------------------------------------------------------
   2. BASE
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .4s ease, color .4s ease;
}

/* Fondo aurora muy sutil, fijo, detrás de todo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60vw 60vw at 8% -5%, rgba(58, 159, 217, 0.10), transparent 60%),
    radial-gradient(50vw 50vw at 100% 0%, rgba(0, 224, 170, 0.08), transparent 55%);
  pointer-events: none;
}
[data-theme="dark"] body::before {
  background:
    radial-gradient(60vw 60vw at 8% -5%, rgba(58, 159, 217, 0.16), transparent 60%),
    radial-gradient(55vw 55vw at 100% 0%, rgba(0, 224, 170, 0.10), transparent 55%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

p { color: var(--text); }

a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-600); }

img { max-width: 100%; }

::selection { background: rgba(58, 159, 217, 0.28); color: var(--ink); }

/* Scrollbar */
* { scrollbar-width: thin; scrollbar-color: var(--brand-300) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: var(--brand-300); border-radius: 999px; border: 2px solid transparent; background-clip: content-box; }
[data-theme="dark"] *::-webkit-scrollbar-thumb { background: #234; background-clip: content-box; }

/* Secciones */
section { padding: 92px 0; overflow: hidden; position: relative; }
@media (max-width: 768px) { section { padding: 64px 0; } }

.section-bg { background: var(--bg-soft); }

/* Bootstrap container width refinada */
.container, .container-sm, .container-fluid { width: 100%; }
@media (min-width: 1200px) {
  .container { max-width: var(--maxw); }
}

/* --------------------------------------------------------------------------
   3. ENCABEZADOS DE SECCIÓN
   -------------------------------------------------------------------------- */
.section-title {
  text-align: center;
  margin: 0 auto 54px;
  max-width: 720px;
  padding: 0 16px;
}
.gn-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-600);
  background: linear-gradient(180deg, var(--brand-50), transparent);
  border: 1px solid var(--border);
  padding: .4rem .9rem;
  border-radius: var(--r-pill);
  margin-bottom: 1rem;
}
[data-theme="dark"] .gn-eyebrow { color: #7cd2f7; background: rgba(58,159,217,.10); }
.gn-eyebrow i { font-size: 1rem; color: var(--brand-400); }

.section-title h2 {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.85rem);
  margin: 0 0 .6rem;
  text-transform: none;
  letter-spacing: -0.03em;
}
.section-title h2 .accent {
  background: var(--grad-aurora);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-title p {
  color: var(--text-muted);
  font-size: 1.06rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. BOTONES
   -------------------------------------------------------------------------- */
.btn-services,
.getstarted,
.btn-radius-fill,
.btn-get-started,
.cta-btn,
.gn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  padding: .82rem 1.5rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}

/* Primario (relleno marca) */
.btn-services,
.btn-radius-fill,
.cta-btn,
.gn-btn--primary {
  color: #fff;
  background: var(--grad-brand);
  box-shadow: var(--shadow-brand);
}
.btn-services:hover,
.btn-radius-fill:hover,
.cta-btn:hover,
.gn-btn--primary:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(31, 120, 184, 0.40);
}

/* Outline (navbar getstarted / learn more) */
.getstarted,
.btn-get-started,
.btn-learn-more,
.gn-btn--ghost {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-xs);
}
.getstarted:hover,
.btn-get-started:hover,
.btn-learn-more:hover,
.gn-btn--ghost:hover {
  color: var(--brand-600);
  transform: translateY(-3px);
  border-color: var(--brand-300);
  box-shadow: var(--shadow-sm);
}

/* Botón IA reutilizable (gradiente aurora) */
.gn-btn--ia {
  color: #07231d;
  background: var(--grad-ia);
  box-shadow: var(--shadow-ia);
  font-weight: 700;
}
.gn-btn--ia:hover { color: #07231d; transform: translateY(-3px); box-shadow: 0 20px 56px rgba(0,224,170,.45); }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; box-shadow: var(--ring); border-radius: 6px; }
@media (forced-colors: active) { :focus-visible { outline: 2px solid Highlight; } }

/* --------------------------------------------------------------------------
   5. NAVBAR (compatible con NavBar.jsx)
   -------------------------------------------------------------------------- */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
#header.header-scrolled {
  background: var(--surface-glass);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 9px 0;
}
#header > .container { display: flex; align-items: center; }

#header .logo { margin: 0; padding: 0; line-height: 1; }
#header .logo a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: .02em;
  color: #fff;                 /* claro sobre el hero oscuro */
  text-transform: uppercase;
  transition: color .3s ease;
}
#header.header-scrolled .logo a { color: var(--ink); }
#header .logo img {
  width: 34px; height: 34px;
  border-radius: 9px;
  box-shadow: 0 6px 16px rgba(31,120,184,.30);
}

.navbar { padding: 0; }
.navbar ul {
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: .3rem;
  list-style: none;
}
.navbar li { position: relative; }
.navbar .nav-link,
.navbar .getstarted {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .94rem;
  padding: .55rem .85rem;
  border-radius: var(--r-pill);
  background: transparent;
  border: 0;
  transition: color .25s ease, background .25s ease, transform .2s ease;
  white-space: nowrap;
  cursor: pointer;
}

/* Enlaces de texto del menú (excluye el CTA verde IA) — claros sobre el hero */
.navbar .nav-link:not(.nav-cta-success) { color: rgba(255, 255, 255, 0.88); }
.navbar .nav-link:not(.nav-cta-success):hover,
.navbar .nav-link.active:not(.nav-cta-success) {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}
/* Estado scrolleado (glass claro): texto oscuro */
#header.header-scrolled .navbar .nav-link:not(.nav-cta-success) { color: var(--text-soft); }
#header.header-scrolled .navbar .nav-link:not(.nav-cta-success):hover,
#header.header-scrolled .navbar .nav-link.active:not(.nav-cta-success) {
  color: var(--ink);
  background: color-mix(in srgb, var(--brand-400) 12%, transparent);
}

/* CTA verde IA dentro del navbar */
.navbar .nav-cta-success {
  color: #07231d !important;
  background: var(--grad-ia) !important;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(0,224,170,.30);
}
.navbar .nav-cta-success:hover { filter: brightness(1.02); transform: translateY(-1px); }

/* getstarted en navbar */
.navbar .getstarted {
  margin-left: .35rem;
  background: var(--grad-brand);
  color: #fff;
  border: 0;
  box-shadow: var(--shadow-brand);
  padding: .6rem 1.25rem;
}
.navbar .getstarted:hover { color: #fff; transform: translateY(-2px); }

/* Theme toggle */
.theme-toggle-btn {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, color .2s ease;
}
.theme-toggle-btn:hover { transform: translateY(-2px) rotate(-8deg); color: var(--brand-500); border-color: var(--brand-300); }

.mobile-nav-toggle {
  display: none;
  font-size: 1.8rem;
  color: #fff;                 /* claro sobre el hero */
  cursor: pointer;
  line-height: 0;
  z-index: 1001;
  transition: color .3s ease;
}
#header.header-scrolled .mobile-nav-toggle { color: var(--ink); }

@media (max-width: 991px) {
  .mobile-nav-toggle { display: block; }
  .navbar > ul { display: none; }

  .navbar-mobile {
    position: fixed;
    inset: 0;
    background: rgba(6, 11, 22, 0.55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: 1000;
  }
  .navbar-mobile > ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .35rem;
    position: absolute;
    top: 14px; right: 14px; left: 14px;
    max-height: calc(100vh - 28px);
    overflow-y: auto;
    padding: 4.2rem 1.1rem 1.4rem;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .navbar-mobile .nav-link,
  .navbar-mobile a {
    width: 100%;
    justify-content: flex-start;
    font-size: 1.02rem;
    padding: .8rem 1rem;
    border-radius: var(--r-md);
  }
  /* Panel móvil claro: enlaces oscuros */
  .navbar-mobile .nav-link:not(.nav-cta-success) { color: var(--text-soft); }
  .navbar-mobile .nav-link:not(.nav-cta-success):hover,
  .navbar-mobile .nav-link.active:not(.nav-cta-success) {
    color: var(--ink);
    background: color-mix(in srgb, var(--brand-400) 12%, transparent);
  }
  .navbar-mobile .getstarted { margin-left: 0; justify-content: center; }
  .navbar-mobile .nav-theme-li { align-self: flex-start; }
  .navbar-mobile .mobile-nav-toggle { position: absolute; top: 22px; right: 22px; color: var(--ink); }
}

/* --------------------------------------------------------------------------
   6. HERO (HeaderVideo.jsx)
   -------------------------------------------------------------------------- */
.header-video-wrap {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding-top: calc(var(--navbar-h) + clamp(40px, 8vh, 96px));
  padding-bottom: clamp(56px, 9vh, 120px);
  min-height: clamp(640px, 92vh, 1000px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.header-video-wrap .header-bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.header-video-wrap .overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(0, 224, 170, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(4, 10, 20, 0.72) 0%, rgba(5, 12, 24, 0.78) 45%, rgba(4, 9, 18, 0.92) 100%);
}
/* malla de puntos sutil sobre el video */
.header-video-wrap::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 75%);
  opacity: .5;
  pointer-events: none;
}
#header-video { position: relative; z-index: 2; }

.header-video-wrap h1 {
  color: #fff;
  font-size: clamp(2.2rem, 1.3rem + 4.4vw, 4.3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 auto 1.1rem;
  max-width: 16ch;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.header-video-wrap h3 {
  color: rgba(238, 247, 255, 0.95);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, .9rem + .6vw, 1.32rem);
  line-height: 1.6;
  max-width: 60ch;
  margin: 0 auto;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}

/* Badge "trust" superior del hero */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem 1rem;
  margin-bottom: 1.6rem;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #dbeefe;
  font-size: .82rem;
  font-weight: 500;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ia-2);
  box-shadow: 0 0 0 4px rgba(0,255,163,.25);
  animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot { 0%,100%{opacity:1} 50%{opacity:.35} }

/* Botón IA glow (hero) */
.btn-ia-glow {
  position: relative;
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .95rem 1.5rem;
  border: 0; border-radius: var(--r-pill);
  color: #07231d;
  background: var(--grad-ia);
  box-shadow: var(--shadow-ia);
  font-family: var(--font-display);
  font-weight: 700; font-size: 1rem;
  cursor: pointer; overflow: hidden;
  transition: transform .15s ease, box-shadow .3s ease, filter .3s ease;
}
.btn-ia-glow:hover { transform: translateY(-3px) scale(1.01); box-shadow: 0 18px 56px rgba(0,255,179,.5); }
.btn-ia-glow:active { transform: translateY(0) scale(.99); }
.btn-ia-glow u { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.btn-ia-glow__icon { display: inline-flex; }
.btn-ia-glow__pulse::before {
  content: ""; position: absolute; inset: -2px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,.4), transparent 70%);
  opacity: 0; animation: pulseGlow 2.4s infinite ease-in-out; pointer-events: none;
}
@keyframes pulseGlow { 0%,100%{opacity:.1} 50%{opacity:.45} }

.ia-rotator { min-height: 30px; font-size: 1rem; color: #e9f5ff; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.animate-fade-slide { animation: fadeSlide .5s ease; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.ia-chips { width: min(100%, 760px); padding: 0 1rem; }
.ia-chip {
  padding: .5rem .95rem;
  border-radius: var(--r-pill);
  font-size: .88rem;
  font-weight: 500;
  color: #d6f4ff;
  background: rgba(0, 149, 255, 0.14);
  border: 1px solid rgba(120, 220, 255, 0.24);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: transform .2s ease, background .2s ease;
  cursor: default;
}
.ia-chip:hover { transform: translateY(-2px); background: rgba(0,149,255,.22); }

/* curva inferior que conecta hero con el cuerpo */
.header-video-wrap .hero-fade {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 120px; z-index: 2;
  background: linear-gradient(180deg, transparent, var(--bg) 92%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   7. CLIENTS
   -------------------------------------------------------------------------- */
.clients {
  padding: 46px 0;
  text-align: center;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.clients .clients-eyebrow {
  font-family: var(--font-display);
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.clients img {
  max-width: 78%;
  max-height: 56px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .62;
  transition: all .35s ease;
  display: inline-block;
}
.clients a:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.06); }
@media (max-width: 768px) { .clients img { max-width: 100%; max-height: 40px; } }

/* --------------------------------------------------------------------------
   8. SERVICIOS / PRODUCTOS (icon-box)
   -------------------------------------------------------------------------- */
.services .icon-box {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 38px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.services .icon-box::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--grad-aurora);
  opacity: 0;
  transition: opacity .3s ease;
}
.services .icon-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-200);
}
.services .icon-box:hover::before { opacity: 1; }

.services .icon-box .icon {
  width: 84px; height: 84px;
  display: grid; place-items: center;
  margin: 0 auto 6px;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--brand-50), #ffffff);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
  transition: transform .3s ease;
}
[data-theme="dark"] .services .icon-box .icon { background: linear-gradient(160deg, rgba(58,159,217,.16), rgba(255,255,255,.02)); }
.services .icon-box:hover .icon { transform: scale(1.06) rotate(-3deg); }
.services .icon-box .icon img { width: 52px; height: 52px; object-fit: contain; }

.services .icon-box h4 {
  font-size: 1.16rem;
  font-weight: 600;
  margin: 8px 0 16px;
  text-align: center;
  line-height: 1.3;
}
.services .icon-box h4 a { color: var(--ink); transition: color .2s ease; }
.services .icon-box:hover h4 a { color: var(--brand-600); }
.services .icon-box .btn-services { margin-top: auto; padding: .6rem 1.3rem; font-size: .86rem; }

/* --------------------------------------------------------------------------
   9. MARQUEE de marcas (reemplaza carrusel.css)
   -------------------------------------------------------------------------- */
.slider {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 30px auto 0;
  height: auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.slider .slide-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 64px;
  animation: gn-scroll 32s linear infinite;
}
.slider .slide-track:hover { animation-play-state: paused; }
.slider .slide {
  flex: 0 0 auto;
  width: auto; height: auto;
  display: flex; align-items: center; justify-content: center;
}
.slider .slide img {
  height: 42px !important;
  width: auto !important;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .55;
  transition: all .3s ease;
}
.slider .slide img:hover { filter: grayscale(0); opacity: 1; }
@keyframes gn-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   10. WHY US
   -------------------------------------------------------------------------- */
.why-us .content { padding: 0 0 1.4rem; }
.why-us .content h3 {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  color: var(--ink);
  font-weight: 700;
  margin-bottom: .4rem;
}

.why-us .accordion-list ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 14px; }
.why-us .accordion-list li {
  position: relative;
  padding: 20px 22px 20px 78px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.why-us .accordion-list li:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); border-color: var(--brand-200); }
.why-us .accordion-list .whyus-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 2px;
}
.why-us .accordion-list span {
  position: absolute;
  left: 18px; top: 18px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1rem;
  color: #fff;
  background: var(--grad-brand);
  box-shadow: var(--shadow-brand);
}
.why-us .accordion-list p { margin: 0; color: var(--text-muted); font-size: .98rem; }

/* Imagen lateral: vive en un div interno para no alterar el ancho de la columna */
.why-us-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border-radius: var(--r-lg);
  background-image: url(/assets/img/why-us.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: clamp(18px, 3vw, 32px);
  overflow: hidden;
}
.why-us-media::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background: radial-gradient(80% 80% at 70% 20%, rgba(58,159,217,.14), transparent 60%),
              radial-gradient(70% 70% at 20% 90%, rgba(0,224,170,.12), transparent 60%);
}
@media (max-width: 991px) {
  .why-us-media { min-height: 260px; height: auto; aspect-ratio: 16 / 11; }
}

/* --------------------------------------------------------------------------
   10b. GESTHIRE (sección producto destacada — índigo)
   -------------------------------------------------------------------------- */
.gesthire {
  position: relative;
  overflow: hidden;
  color: #eef0ff;
  background:
    radial-gradient(60% 60% at 12% 8%, rgba(99, 102, 241, 0.28), transparent 55%),
    radial-gradient(55% 55% at 95% 95%, rgba(124, 58, 237, 0.28), transparent 55%),
    linear-gradient(160deg, #14122e 0%, #1b1647 55%, #221a52 100%);
}
.gesthire .container { position: relative; z-index: 2; }
.gesthire-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.gesthire .gh-glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.gesthire .gh-glow-1 { width: 420px; height: 420px; top: -120px; left: -80px; background: radial-gradient(circle, #6366f1, transparent 70%); }
.gesthire .gh-glow-2 { width: 460px; height: 460px; bottom: -150px; right: -100px; background: radial-gradient(circle, #a855f7, transparent 70%); }
.gesthire .gh-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 80%);
}

.gh-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: #c7c9ff;
  background: rgba(129, 140, 248, .14);
  border: 1px solid rgba(165, 180, 252, .28);
  padding: .42rem .9rem; border-radius: var(--r-pill);
}
.gh-eyebrow i { color: #a5b4fc; }
.gh-logo {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem);
  letter-spacing: -0.02em; line-height: 1;
  margin: 1.1rem 0 .5rem; color: #fff;
}
.gh-logo span { background: linear-gradient(90deg, #818cf8, #c084fc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.gh-title {
  color: #fff; font-weight: 700;
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 .8rem;
}
.gh-accent { background: linear-gradient(90deg, #a5b4fc, #d8b4fe 60%, #f0abfc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.gh-sub { color: #d6d8ff; font-size: 1.1rem; line-height: 1.6; margin: 0 0 .9rem; max-width: 52ch; }
.gh-desc { color: #b6b9e6; font-size: .98rem; line-height: 1.65; margin: 0 0 1.6rem; max-width: 54ch; }

.gh-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 1.8rem; }
.gh-feature {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(165, 180, 252, 0.16);
  border-radius: var(--r-md);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.gh-feature:hover { transform: translateY(-3px); background: rgba(255,255,255,.08); border-color: rgba(165,180,252,.4); }
.gh-feature-icon {
  flex-shrink: 0; width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 12px; font-size: 1.2rem; color: #fff;
  background: linear-gradient(135deg, #6366f1, #7c3aed);
  box-shadow: 0 8px 20px rgba(79,70,229,.4);
}
.gh-feature h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: #fff; margin: 0 0 2px; }
.gh-feature p { color: #b6b9e6; font-size: .86rem; line-height: 1.45; margin: 0; }

.gh-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.btn-gesthire {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .9rem 1.7rem; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  color: #fff; text-decoration: none;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #7c3aed 100%);
  box-shadow: 0 16px 38px rgba(79, 70, 229, 0.5);
  transition: transform .2s ease, box-shadow .25s ease;
}
.btn-gesthire:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 22px 50px rgba(124, 58, 237, 0.6); }
.btn-gesthire i { transition: transform .2s ease; }
.btn-gesthire:hover i { transform: translateX(4px); }
.gh-domain { display: inline-flex; align-items: center; gap: .4rem; color: #c7c9ff; font-weight: 500; font-size: .95rem; }
.gh-domain:hover { color: #fff; }

/* ----- Mockup kanban (estilo "captura del producto") ----- */
.gh-kanban {
  position: relative;
  background: #f7f8fc;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  box-shadow: 0 40px 90px rgba(10, 8, 40, 0.55), 0 2px 0 rgba(255,255,255,.4) inset;
  padding: 14px;
  animation: gh-floaty 7s ease-in-out infinite;
}
.gh-kanban-bar { display: flex; align-items: center; gap: 10px; padding: 4px 6px 12px; }
.gh-kanban-dots { display: inline-flex; gap: 6px; }
.gh-kanban-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; background: #d7dbe8; }
.gh-kanban-dots i:nth-child(1) { background: #ff6058; }
.gh-kanban-dots i:nth-child(2) { background: #ffbd2e; }
.gh-kanban-dots i:nth-child(3) { background: #28c940; }
.gh-kanban-title { font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: #1e293b; margin-right: auto; }
.gh-kanban-live { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 600; color: #4f46e5; background: rgba(79,70,229,.1); padding: 4px 10px; border-radius: 999px; }
.gh-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: gh-livedot 1.6s infinite; }

.gh-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gh-col { background: #eef1f8; border-radius: 14px; padding: 10px 9px; min-width: 0; }
.gh-col-head { display: flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 9px; }
.gh-coldot { width: 8px; height: 8px; border-radius: 50%; }
.gh-dot-blue { background: #6366f1; }
.gh-dot-amber { background: #f59e0b; }
.gh-dot-green { background: #22c55e; }
.gh-col-count { margin-left: auto; background: #fff; color: #64748b; border-radius: 999px; font-size: .7rem; padding: 1px 7px; }

.gh-card {
  display: flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid #e6e9f2; border-radius: 12px;
  padding: 9px; margin-bottom: 8px;
  box-shadow: 0 3px 10px rgba(20, 20, 60, 0.05);
  animation: gh-float 4.5s ease-in-out infinite;
}
.gh-card:last-child { margin-bottom: 0; }
.gh-card-featured { border-color: #c7d2fe; box-shadow: 0 0 0 3px rgba(99,102,241,.18), 0 6px 16px rgba(79,70,229,.18); animation: gh-float 4.5s ease-in-out infinite, gh-glowcard 2.6s ease-in-out infinite; }
.gh-av { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .72rem; font-weight: 700; font-family: var(--font-display); }
.gh-av-1 { background: linear-gradient(135deg,#6366f1,#a855f7); }
.gh-av-2 { background: linear-gradient(135deg,#0ea5e9,#2563eb); }
.gh-av-3 { background: linear-gradient(135deg,#f59e0b,#ef4444); }
.gh-av-4 { background: linear-gradient(135deg,#10b981,#059669); }
.gh-card-info { min-width: 0; margin-right: auto; }
.gh-card-info strong { display: block; font-size: .82rem; color: #1e293b; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gh-card-info small { font-size: .72rem; color: #64748b; }
.gh-tag { flex-shrink: 0; font-size: .64rem; font-weight: 700; padding: 3px 7px; border-radius: 999px; white-space: nowrap; }
.gh-tag-new { background: #e0e7ff; color: #4338ca; }
.gh-tag-soft { background: #f1f5f9; color: #64748b; }
.gh-tag-score { background: #fef3c7; color: #b45309; }
.gh-tag-ok { background: #dcfce7; color: #15803d; }

.gh-toast {
  position: absolute; right: 14px; bottom: -14px;
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff; font-size: .78rem; font-weight: 600;
  padding: 9px 14px; border-radius: 12px;
  box-shadow: 0 14px 30px rgba(79,70,229,.5);
  animation: gh-toast 6s ease-in-out infinite;
}

/* ----- Banner Antes / Con GestHire ----- */
.gh-banner {
  margin-top: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: clamp(20px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(165, 180, 252, 0.2);
  border-radius: var(--r-lg);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.gh-banner-side p { margin: .4rem 0 0; line-height: 1.5; }
.gh-banner-before p { color: #b6b9e6; }
.gh-banner-after p { color: #fff; font-weight: 500; }
.gh-banner-label { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-display); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: #fca5a5; }
.gh-banner-label--ok { color: #6ee7b7; }
.gh-banner-arrow { font-size: 1.5rem; color: #a5b4fc; }

@keyframes gh-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes gh-floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes gh-livedot { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
@keyframes gh-glowcard { 0%,100% { box-shadow: 0 0 0 3px rgba(99,102,241,.16), 0 6px 16px rgba(79,70,229,.16); } 50% { box-shadow: 0 0 0 4px rgba(99,102,241,.32), 0 10px 24px rgba(79,70,229,.3); } }
@keyframes gh-toast { 0%,18% { opacity: 0; transform: translateY(14px); } 28%,68% { opacity: 1; transform: translateY(0); } 82%,100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 991px) {
  .gh-banner { grid-template-columns: 1fr; text-align: left; gap: 12px; }
  .gh-banner-arrow { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 575px) {
  .gh-features { grid-template-columns: 1fr; }
  .gh-board { gap: 7px; }
  .gh-col { padding: 8px 6px; }
  .gh-card { padding: 7px; gap: 7px; }
  .gh-av { width: 30px; height: 30px; font-size: .66rem; }
  .gh-card-info strong { font-size: .76rem; }
  .gh-tag { font-size: .58rem; padding: 2px 5px; }
  .gh-toast { right: 8px; font-size: .72rem; padding: 7px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .gh-kanban, .gh-card, .gh-card-featured, .gh-toast, .gh-live-dot { animation: none !important; }
}

/* --------------------------------------------------------------------------
   11. CTA
   -------------------------------------------------------------------------- */
.cta {
  padding: 0;
  background: transparent !important;
}
.cta .container { position: relative; }
.cta .gn-cta-card {
  position: relative;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 72px);
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(0, 224, 170, 0.28), transparent 55%),
    var(--grad-brand);
  box-shadow: var(--shadow-lg);
}
.cta .gn-cta-card::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(70% 100% at 100% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(70% 100% at 100% 0%, #000, transparent 70%);
  opacity: .6; pointer-events: none;
}
.cta h3 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 700; margin: 0 0 .5rem; position: relative; z-index: 1; }
.cta p { color: rgba(255,255,255,.88); margin: 0; position: relative; z-index: 1; }
.cta .cta-btn {
  position: relative; z-index: 1;
  background: #fff; color: var(--brand-700);
  border: 0; box-shadow: 0 14px 30px rgba(0,0,0,.22);
  padding: .9rem 1.8rem;
}
.cta .cta-btn:hover { background: #fff; color: var(--brand-800); transform: translateY(-3px); }
.cta-btn-container { display: flex; align-items: center; justify-content: center; }
@media (min-width: 992px) { .cta-btn-container { justify-content: flex-end; } }

/* --------------------------------------------------------------------------
   12. OPTIONS / ABOUT (Implementación + Ciberseguridad)
   -------------------------------------------------------------------------- */
.about .gn-options-card {
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.about .gn-options-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.about .gn-options-card .section-title { text-align: left; margin: 0 0 1.2rem; }
.about .gn-options-card .section-title h2 { font-size: 1.5rem; }
.about ul { list-style: none; padding: 0; margin: 0; }
.about ul li {
  position: relative;
  padding: 10px 0 10px 36px;
  color: var(--text);
  border-bottom: 1px dashed var(--border);
}
.about ul li:last-child { border-bottom: 0; }
.about ul li::before {
  content: "\2713";
  position: absolute; left: 0; top: 9px;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 7px;
  font-size: .8rem; font-weight: 700;
  color: var(--brand-600);
  background: color-mix(in srgb, var(--brand-400) 14%, transparent);
}
/* anula los <br> heredados sin romper layout */
.about ul br { display: none; }
.about .gn-options-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.5rem; color: #fff;
  background: var(--grad-brand);
  box-shadow: var(--shadow-brand);
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   13. TESTIMONIOS (team .member)
   -------------------------------------------------------------------------- */
.team { background: var(--bg-soft); }
.team .member {
  height: 100%;
  display: flex;
  gap: 18px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.team .member:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-200); }
.team .member .logo-wrap {
  flex: 0 0 84px;
  width: 84px; height: 84px;
  display: grid; place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.team .member .logo-wrap img { max-width: 64px; max-height: 56px; object-fit: contain; }
.team .member-info { display: flex; flex-direction: column; }
.team .member-info h4 { font-size: 1.1rem; font-weight: 700; margin: 0 0 2px; color: var(--ink); }
.team .member-info span { font-size: .85rem; font-weight: 600; color: var(--brand-500); margin-bottom: .6rem; display: inline-flex; align-items: center; gap: .3rem; }
.team .member-info .clamp {
  color: var(--text-muted);
  font-size: .96rem; line-height: 1.6;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden;
}
.team .member .gn-quote { font-size: 1.5rem; color: var(--brand-200); line-height: 1; margin-bottom: .2rem; }

/* --------------------------------------------------------------------------
   14. FAQ
   -------------------------------------------------------------------------- */
.faq .faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq .faq-list ul { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.faq .faq-item {
  background: var(--surface);
  border: 1px solid var(--border) !important;
  border-radius: var(--r-md);
  padding: 6px 22px !important;
  box-shadow: var(--shadow-xs);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq .faq-item:hover { border-color: var(--brand-200) !important; box-shadow: var(--shadow-sm); }

/* Layout del botón (grid icono | pregunta | chevron) */
.faq .faq-item-btn {
  all: unset;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .8rem;
  width: 100%;
  padding: 18px 0;
  cursor: pointer;
  box-sizing: border-box;
}
.faq .faq-item-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 8px; }
.faq .faq-icon-wrap {
  display: grid;
  place-items: center;
  width: 2.4rem; height: 2.4rem;
  flex-shrink: 0;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--brand-400) 12%, transparent);
  color: var(--brand-600);
}
.faq .faq-icon-wrap .bx { font-size: 1.25rem; line-height: 1; }
.faq .faq-question {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  word-break: break-word;
}
.faq .faq-chevron { font-size: 1.25rem; color: var(--brand-500); flex-shrink: 0; transition: transform .25s ease; }

/* Panel de respuesta: estado cerrado por defecto + animación */
.faq .faq-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .35s ease, opacity .25s ease;
  padding-left: calc(2.4rem + .8rem);
}
.faq .faq-answer.open { max-height: 600px; opacity: 1; margin-top: .25rem; padding-bottom: .35rem; }
.faq .faq-answer p { color: var(--text-soft); margin: 0; }
.faq .faq-answer small { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   15. CONTACT
   -------------------------------------------------------------------------- */
.contact .info { border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; }
.contact .chips-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.contact .info .info-chip {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: .9rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  width: min(100%, 340px);
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact .info .info-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact .info .info-chip i {
  width: 2.8rem; height: 2.8rem;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--brand-400) 14%, transparent);
  color: var(--brand-600);
  font-size: 1.15rem;
}
.contact .info .info-chip h4 { font-size: 1rem; color: var(--ink); }
.contact .info .info-chip p, .contact .info .info-chip a { color: var(--text); }

.contact .contact-card {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.contact .contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-200); }
.contact .contact-card .icon-wrap {
  width: 3.2rem; height: 3.2rem;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--grad-brand);
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: .9rem;
  box-shadow: var(--shadow-brand);
}
.contact .contact-card h3 { color: var(--ink); font-weight: 700; }
.contact .contact-card a { color: var(--brand-600); }
.contact .contact-card a:hover { color: var(--brand-700); }
.contact .contact-card .tiny, .contact .contact-card .text-muted { color: var(--text-muted) !important; }

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
#footer { background: transparent; font-family: var(--font-body); }
#footer .footer-top {
  padding: 72px 0 40px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
[data-theme="dark"] #footer .footer-top { background: var(--bg-soft); }
#footer .footer-contact h3 a {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700; text-transform: uppercase;
  color: var(--ink);
}
#footer .footer-contact h3 img { width: 32px; height: 32px; border-radius: 9px; }
#footer .footer-contact p { color: var(--text-muted); margin-top: .8rem; max-width: 34ch; }
#footer .footer-quick { margin: 0; }
#footer .footer-quick li { display: flex; align-items: center; padding: 5px 0; color: var(--text-muted); }
#footer .footer-quick li i { color: var(--brand-400); }
#footer .footer-quick a { color: var(--text-muted); }
#footer .footer-quick a:hover { color: var(--brand-600); }
#footer .footer-top h4 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; color: var(--ink);
  margin-bottom: 1.1rem; position: relative; padding-bottom: .6rem;
}
#footer .footer-top h4::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 36px; height: 3px; border-radius: 3px; background: var(--grad-aurora);
}
#footer .footer-links ul { list-style: none; padding: 0; margin: 0; }
#footer .footer-links ul li { display: flex; align-items: center; padding: 7px 0; }
#footer .footer-links ul i { color: var(--brand-400); font-size: 1.1rem; margin-right: .25rem; }
#footer .footer-links ul a { color: var(--text-muted); transition: color .2s ease, padding .2s ease; }
#footer .footer-links ul a:hover { color: var(--brand-600); padding-left: 4px; }
#footer .social-links { display: flex; gap: .55rem; margin-top: 1rem; }
#footer .social-links a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  color: #fff; font-size: 1.1rem;
  background: var(--grad-brand);
  box-shadow: var(--shadow-xs);
  transition: transform .2s ease, box-shadow .25s ease;
}
#footer .social-links a:hover { transform: translateY(-3px); box-shadow: var(--shadow-brand); }
#footer .footer-bottom {
  padding: 22px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
}
[data-theme="dark"] #footer .footer-bottom { background: var(--bg-soft); }
#footer .copyright { text-align: center; font-size: .9rem; }
#footer .copyright span { color: var(--brand-500); }

/* --------------------------------------------------------------------------
   17. BACK TO TOP / PRELOADER
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed; right: 20px; bottom: 20px;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  background: var(--grad-brand);
  color: #fff; font-size: 1.4rem;
  box-shadow: var(--shadow-brand);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all .35s ease;
  z-index: 996;
}
.back-to-top.active { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); color: #fff; }

#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .4s ease;
}
#preloader::before {
  content: ""; width: 56px; height: 56px; border-radius: 50%;
  border: 5px solid var(--border);
  border-top-color: var(--brand-400);
  animation: gn-spin .9s linear infinite;
}
@keyframes gn-spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   18. KNOWLEDGE BASE (página /kb)
   -------------------------------------------------------------------------- */
.kb-hero { padding-top: calc(var(--navbar-h) + 40px) !important; }
.kb-hero h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }
.kb-hero .text-muted { color: var(--text-muted) !important; }
.kb-hero .input-group {
  border: 1px solid var(--border) !important;
  background: var(--surface);
  box-shadow: var(--shadow-md) !important;
  border-radius: var(--r-pill) !important;
}
.kb-hero .input-group .form-control, .kb-hero .input-group .input-group-text, .kb-hero .input-group .btn-light {
  background: var(--surface) !important;
  color: var(--text) !important;
  border: 0 !important;
}
.kb-filters .filter-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: .5rem 1rem;
  font-weight: 600;
  box-shadow: var(--shadow-xs);
  transition: all .18s ease;
}
.kb-filters .filter-btn:hover { border-color: var(--brand-300); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.kb-filters .filter-btn.is-active {
  border: 0; color: #fff;
  background: var(--grad-brand);
  box-shadow: var(--shadow-brand);
}
.kb-meta .text-muted, .kb-meta { color: var(--text-muted) !important; }

/* Modal de la KB (tamaño/responsive — antes vivía en App.css sin cargarse) */
.kb-modal-container { width: 100%; max-width: 860px; max-height: 92vh; overflow-y: auto; border-radius: var(--r-lg); }
@media (max-width: 576px) {
  .kb-modal-container { max-width: 95%; border-radius: var(--r-md); margin: .5rem; }
  .kb-modal-header { flex-direction: column; align-items: flex-start !important; gap: .5rem; padding: .75rem 1rem !important; }
  .kb-modal-header img { width: 36px; height: 36px; border-radius: 8px; }
  .kb-modal-header h3 { font-size: 1.2rem; line-height: 1.3; }
  .kb-modal-body { padding: .75rem 1rem !important; }
  .kb-modal-body img, .kb-modal-body video { max-width: 100%; height: auto; }
  .kb-modal-footer { padding: .5rem 1rem !important; flex-direction: column; gap: .5rem; }
  .kb-modal-footer .btn, .kb-modal-footer .btn-services { width: 100%; }
}

/* Tarjetas de la KB (Tutoriales/Guías) adaptadas al tema */
.kb-card { background: var(--surface) !important; border: 1px solid var(--border) !important; box-shadow: var(--shadow-sm); }
.kb-card .kb-card-title, .kb-card h3, .kb-card h4, .kb-card h5 { color: var(--ink) !important; }
.kb-card .kb-card-desc, .kb-card p { color: var(--text-soft) !important; }

/* --------------------------------------------------------------------------
   19. MODALES (Servicios/Productos/KB usan var(--surface/-text/-border))
   --------------------------------------------------------------------------
   Los componentes ya leen estos tokens, así que con definirlos se adaptan a
   dark automáticamente. Aseguramos buen contraste de los botones internos. */
[data-theme="dark"] .btn-light { background: var(--surface-2) !important; color: var(--ink) !important; border-color: var(--border) !important; }
[data-theme="dark"] .btn-outline-secondary { color: var(--text) !important; border-color: var(--border-strong) !important; }

/* --------------------------------------------------------------------------
   20. UTILIDADES + ANIMACIONES
   -------------------------------------------------------------------------- */
.gn-grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(60% 50% at 50% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 50% at 50% 0%, #000, transparent 75%);
  opacity: .5;
}
.text-grad { background: var(--grad-aurora); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* AOS sin saltos en reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}
