/* ================================================================
   TECCOM S.A.S. — Estilos corporativos
   Paleta: Navy #0D1B3E | Azul #0066CC | Blanco #FFF | Gris #F5F7FA
   Tipografía: Plus Jakarta Sans (headings) + Inter (body)
================================================================ */

/* ── RESET & VARIABLES ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0D1B3E;
  --navy-light:  #162347;
  --navy-dark:   #080F22;
  --blue:        #0066CC;
  --blue-hover:  #0052A3;
  --blue-light:  #E8F0FF;
  --blue-mid:    #CCE0FF;
  --white:       #FFFFFF;
  --gray:        #F5F7FA;
  --gray-2:      #EDF0F5;
  --border:      #DDE3EE;
  --text:        #1a2744;
  --muted:       #6B7A99;
  --muted-light: #9AA5BE;

  --shadow-sm:   0 2px 8px rgba(13,27,62,0.08);
  --shadow-md:   0 6px 24px rgba(13,27,62,0.12);
  --shadow-lg:   0 16px 48px rgba(13,27,62,0.16);
  --shadow-blue: 0 8px 32px rgba(0,102,204,0.25);

  --radius-sm:   8px;
  --radius:      12px;
  --radius-lg:   20px;

  --font-head:   'Plus Jakarta Sans', sans-serif;
  --font-body:   'Inter', sans-serif;

  --transition:  0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--blue-light); color: var(--blue); }

/* ── SCROLLBAR ─────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-hover); }

/* ── LAYOUT ────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { position: relative; }

/* ── LOADING SCREEN ────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,102,204,0.22) 0%, transparent 68%);
  animation: loader-pulse-glow 2.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes loader-pulse-glow {
  0%, 100% { transform: scale(1);    opacity: 0.6; }
  50%       { transform: scale(1.18); opacity: 1;   }
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  position: relative;
  animation: loader-rise 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}
@keyframes loader-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.loader-logo img {
  height: 90px;
  filter: drop-shadow(0 0 18px rgba(255,255,255,0.55)) drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
.loader-logo-text {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}
.loader-logo-text span { color: #5B9DFF; }

.loader-tagline {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  margin: 0;
}

.loader-dots {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.loader-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5B9DFF;
  animation: loader-dot 1.4s ease-in-out infinite;
}
.loader-dots span:nth-child(2) { animation-delay: 0.22s; }
.loader-dots span:nth-child(3) { animation-delay: 0.44s; }
@keyframes loader-dot {
  0%, 80%, 100% { transform: scale(0.55); opacity: 0.3; }
  40%           { transform: scale(1);    opacity: 1;   }
}

/* ── NAVBAR ────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* transparente sobre el hero oscuro */
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
#navbar.scrolled {
  /* blanco frosted al hacer scroll sobre secciones claras */
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 24px rgba(13,27,62,0.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav-inner {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo — normal sobre hero (transparente), sin filtro al hacer scroll (blanco) */
.nav-logo { display: flex; align-items: center; text-decoration: none; gap: 12px; }
.nav-logo img {
  height: 48px;
  transition: filter 0.4s ease, opacity 0.4s ease;
  /* sobre el hero oscuro: logo se vuelve blanco */
  filter: brightness(0) invert(1);
}
#navbar.scrolled .nav-logo img {
  /* sobre secciones claras: logo vuelve a su color original */
  filter: none;
}
.nav-logo-fallback {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
  transition: color 0.4s ease;
}
#navbar.scrolled .nav-logo-fallback { color: var(--navy); }
.nav-logo-fallback span { color: #5B9DFF; }
#navbar.scrolled .nav-logo-fallback span { color: var(--blue); }

/* Links — blancos sobre hero, oscuros al hacer scroll */
.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-menu a {
  display: block;
  padding: 8px 15px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.1px;
}
.nav-menu a:hover { color: var(--white); background: rgba(255,255,255,0.12); }
#navbar.scrolled .nav-menu a { color: var(--text); }
#navbar.scrolled .nav-menu a:hover { color: var(--blue); background: var(--blue-light); }

/* Link activo */
.nav-menu a.active-link { color: var(--white); }
#navbar.scrolled .nav-menu a.active-link { color: var(--blue); font-weight: 600; }

/* CTA button */
.nav-menu .nav-cta {
  padding: 10px 22px;
  background: var(--blue);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14.5px;
  transition: all var(--transition) !important;
}
.nav-menu .nav-cta:hover {
  background: #4A8EF0 !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}
#navbar.scrolled .nav-menu .nav-cta { background: var(--blue); }
#navbar.scrolled .nav-menu .nav-cta:hover { background: var(--blue-hover) !important; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  cursor: pointer;
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  transition: all var(--transition);
}
#navbar.scrolled .nav-toggle { border-color: var(--border); color: var(--text); }
.nav-toggle:hover { background: rgba(255,255,255,0.1); }
#navbar.scrolled .nav-toggle:hover { background: var(--gray); }

/* ── HERO — SLIDER ─────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 200px;   /* espacio inferior para stats bar */
  position: relative;
  overflow: hidden;
  background: var(--navy); /* fallback mientras carga imagen */
}

/* ── Slider de imágenes ── */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  transform-origin: center center;
}
.hero-slide.active {
  opacity: 1;
  animation: kenburns 9s ease-out forwards;
}
@keyframes kenburns {
  0%   { transform: scale(1)    translateX(0); }
  100% { transform: scale(1.07) translateX(-1%); }
}

/* ── Overlay: fuerte a la izq, se abre a la der ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      105deg,
      rgba(4,12,28,0.93) 0%,
      rgba(4,12,28,0.80) 40%,
      rgba(4,12,28,0.45) 65%,
      rgba(4,12,28,0.10) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(4,12,28,0.35) 0%,
      transparent 30%,
      transparent 70%,
      rgba(4,12,28,0.6) 100%
    );
  pointer-events: none;
}

/* ── Patrón grilla sutil ── */
.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-diagonal {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 10;
  overflow: hidden;
  line-height: 0;
}
.hero-diagonal svg { display: block; width: 100%; }

/* El container dentro del hero necesita ancho completo para que el contenido arranque desde la izquierda */
#hero > .container { width: 100%; }

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 620px;
  margin-right: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(91,157,255,0.15);
  border: 1px solid rgba(91,157,255,0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: #5B9DFF;
  margin-bottom: 28px;
  animation: fade-up 0.7s ease both;
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5B9DFF;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 20px;
  animation: fade-up 0.7s 0.1s ease both;
}
/* "TIC" destacado en azul brillante sobre fondo oscuro del slider */
.hero-title .hero-tic {
  color: #5B9DFF;
  font-style: normal;
}
.hero-sub {
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  line-height: 1.85;
  max-width: 560px;
  margin-bottom: 36px;
  text-align: justify;
  text-align-last: left;
  padding-left: 14px;
  border-left: 3px solid #5B9DFF;
  animation: fade-up 0.7s 0.18s ease both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fade-up 0.7s 0.25s ease both;
}

/* ── Stats bar glassmorphism ── */
.hero-stats-bar {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  z-index: 8;
  animation: fade-up 0.8s 0.4s ease both;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 24px 36px;
}
.hero-stat {
  flex: 1;
  text-align: center;
}
.hero-stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-num span { color: #5B9DFF; }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.4; text-transform: uppercase; letter-spacing: 0.5px; }


/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}
.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline-blue:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}
.btn svg { flex-shrink: 0; transition: transform var(--transition); }
.btn:hover svg { transform: translateX(3px); }

/* ── SECTION COMMONS ────────────────────────────────────────────── */
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 72px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.section-label-white { color: #5B9DFF; }
.section-label-white::before { background: #5B9DFF; }

#nosotros .section-label::before,
#politica .section-label::before,
#contacto .section-label::before { display: none; }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
}
.section-title-white { color: var(--white); }
.section-title .accent { color: var(--blue); }
.section-title-white .accent { color: #5B9DFF; }
.section-desc { font-size: 17px; color: var(--muted); line-height: 1.75; max-width: 560px; }
.section-desc-white { color: rgba(255,255,255,0.65); }
.section-header { margin-bottom: 56px; }
.section-header-center { text-align: center; }
.section-header-center .section-label { justify-content: center; }
.section-header-center .section-label::before { display: none; }
.section-header-center .section-desc { margin: 0 auto; }

/* ── REVEAL ANIMATIONS ──────────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── STATS SECTION ──────────────────────────────────────────────── */
#stats { background: var(--white); padding: 72px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-block {
  background: var(--white);
  padding: 40px 32px;
  text-align: center;
  transition: background var(--transition);
}
.stat-block:hover { background: var(--gray); }
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -1.5px;
}
.stat-label { font-size: 14px; color: var(--muted); font-weight: 500; line-height: 1.4; }

/* ── SERVICIOS ──────────────────────────────────────────────────── */
#servicios { background: var(--gray); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--blue-mid);
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background var(--transition);
}
.service-card:hover .service-icon { background: var(--blue); }
.service-icon svg { transition: filter var(--transition); }
.service-card:hover .service-icon svg { filter: brightness(0) invert(1); }
.service-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}
.service-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── BENTO GRID ─────────────────────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 310px 310px 300px 300px 300px 300px 300px;
  gap: 14px;
  margin-top: 52px;
}

/* ── Posicionamiento de las 14 celdas ── */
.bento-c1  { grid-column: 1 / 3; grid-row: 1 / 3; }  /* 2×2 grande  */
.bento-c2  { grid-column: 3;     grid-row: 1 / 3; }   /* 1×2 alto    */
.bento-c3  { grid-column: 4;     grid-row: 1;     }   /* 1×1         */
.bento-c4  { grid-column: 4;     grid-row: 2;     }   /* 1×1         */
.bento-c5  { grid-column: 1;     grid-row: 3;     }   /* 1×1         */
.bento-c6  { grid-column: 2 / 4; grid-row: 3; background-position: center 30%; }   /* 2×1 ancho   */
.bento-c7  { grid-column: 4;     grid-row: 3;     }   /* 1×1         */
.bento-c8  { grid-column: 1;     grid-row: 4;     }   /* 1×1         */
.bento-c9  { grid-column: 2;     grid-row: 4;     }   /* 1×1         */
.bento-c10 { grid-column: 3 / 5; grid-row: 4;     }   /* 2×1 ancho   */
.bento-c11 { grid-column: 1 / 3; grid-row: 5;     }   /* 2×1 ancho   */
.bento-c12 { grid-column: 3 / 5; grid-row: 5;     }   /* 2×1 ancho   */
.bento-c13 { grid-column: 1 / 3; grid-row: 6;     }   /* 2×1 ancho   */
.bento-c14 { grid-column: 3 / 5; grid-row: 6;     }   /* 2×1 ancho   */
.bento-c15 { grid-column: 1 / 3; grid-row: 7;     }   /* 2×1 ancho   */
.bento-c16 { grid-column: 3 / 5; grid-row: 7;     }   /* 2×1 ancho   */

/* Card base */
.bento-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  cursor: default;
}
.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(13,27,62,0.22), inset 0 0 0 1.5px rgba(91,157,255,0.35);
}

/* Cards con imagen de fondo */
.bento-img {
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
}
.bento-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4,12,28,0.97) 0%,
    rgba(4,12,28,0.85) 35%,
    rgba(4,12,28,0.45) 65%,
    rgba(4,12,28,0.15) 100%
  );
  z-index: 0;
}

/* Cards con gradiente */
.bento-navy      { background: linear-gradient(145deg, #0c1836 0%, #1a2f66 100%); }
.bento-security  { background: linear-gradient(145deg, #080e1c 0%, #0f1d3a 60%, #0d2240 100%); }
.bento-blue      { background: linear-gradient(145deg, #004aaa 0%, #0066CC 100%); }
.bento-slate     { background: linear-gradient(145deg, #1e293b 0%, #334155 100%); }
.bento-teal      { background: linear-gradient(145deg, #054d5e 0%, #0891b2 100%); }
.bento-indigo    { background: linear-gradient(145deg, #1e1b4b 0%, #3730a3 100%); }
.bento-dark      { background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%); }
.bento-deep-blue { background: linear-gradient(145deg, #0c1446 0%, #1d3461 100%); }
.bento-fire      { background: linear-gradient(145deg, #450a0a 0%, #7f1d1d 100%); }

/* Cuerpo del card — icono arriba, texto abajo */
.bento-body {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Icono — en flujo normal, se ancla arriba con space-between */
.bento-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-self: flex-start;
}

/* Tag / etiqueta de categoría — píldora translúcida */
.bento-tag {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 4px 11px;
  border-radius: 100px;
  margin-bottom: 8px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Texto del card */
.bento-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 6px;
  line-height: 1.25;
}
.bento-c1 h3 { font-size: 22px; }
.bento-c2 h3 { font-size: 20px; }
.bento-card p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.68);
  line-height: 1.65;
  margin: 0;
}

/* CTA link — línea separadora + texto blanco claro */
.bento-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.18);
  width: 100%;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}
.bento-cta svg { flex-shrink: 0; transition: transform 0.2s ease; }
.bento-cta:hover { color: #fff; gap: 10px; }
.bento-cta:hover svg { transform: translateX(3px); }

/* ── Tarjetas pequeñas (1×1): foto protagónica, texto fijo como en las demás ── */
.bento-sm::before {
  background: linear-gradient(
    to top,
    rgba(4,12,28,0.93) 0%,
    rgba(4,12,28,0.50) 42%,
    rgba(4,12,28,0.15) 75%,
    rgba(4,12,28,0.03) 100%
  );
}

/* ── GRID COMPACTO: 9 servicios restantes ── */
.services-compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.svc-mini-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.svc-mini-card:hover {
  border-color: var(--blue-mid);
  box-shadow: 0 6px 24px rgba(0,102,204,0.09);
  transform: translateY(-2px);
}
.svc-mini-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.svc-mini-card h4 {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px;
  line-height: 1.3;
}
.svc-mini-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* ── NOSOTROS ───────────────────────────────────────────────────── */
#nosotros {
  background: none;
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 3;
}
.about-img-block {
  position: relative;
  padding-top: 56px;
}
.about-years-badge {
  border-radius: var(--radius-lg);
  min-height: 495px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Slides del about */
.about-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.about-slide.active {
  opacity: 1;
  animation: kenburns 9s ease-out forwards;
}

/* Overlay oscuro sobre las slides */
.about-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4,12,28,0.22) 0%, rgba(4,12,28,0.58) 100%);
  z-index: 1;
}

/* Contenido encima del slider */
.about-years-content {
  position: relative;
  z-index: 2;
  padding: 72px 40px;
}
.about-years-num {
  font-family: var(--font-head);
  font-size: 100px;
  font-weight: 700;
  letter-spacing: -4px;
  color: var(--white);
  line-height: 1;
  opacity: 0.28;
  margin-bottom: -30px;
}
.about-years-label {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}
.about-years-sub { font-size: 14px; color: rgba(255,255,255,0.75); margin-top: 6px; }

.about-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.about-kpi {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.about-kpi-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: #5B9DFF;
  line-height: 1;
  margin-bottom: 4px;
}
.about-kpi-label { font-size: 12px; color: rgba(255,255,255,0.55); }

/* Tabs: Misión / Visión */
.mv-tabs { display: flex; gap: 4px; margin-bottom: 24px; }
.mv-tab {
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
  transition: all var(--transition);
}
.mv-tab.active, .mv-tab:hover {
  background: var(--blue);
  color: var(--white);
}
.mv-panel { display: none; }
.mv-panel.active { display: block; }
.mv-text {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}

/* Timeline */
.timeline { margin-top: 40px; }
.tl-item {
  display: flex;
  gap: 20px;
  padding-bottom: 28px;
  position: relative;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-line {
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.1);
}
.tl-item:last-child .tl-line { display: none; }
.tl-dot {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: rgba(0,102,204,0.2);
  border: 2px solid rgba(0,102,204,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.tl-item:hover .tl-dot {
  background: var(--blue);
  border-color: var(--blue);
}
.tl-year {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: #5B9DFF;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.tl-text { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.6; }
.tl-text strong { color: var(--white); font-weight: 600; }

/* ── POLÍTICA DE CALIDAD ────────────────────────────────────────── */
.policy-band {
  background: linear-gradient(135deg, var(--navy-dark) 0%, #0a1f4e 50%, #003d7a 100%);
}

#politica {
  background: none;
  position: relative;
  overflow: hidden;
  padding-top: 48px;
}
.policy-bg-deco {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-head);
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 800;
  color: rgba(255,255,255,0.03);
  letter-spacing: -4px;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 3;
}
.policy-text { font-size: 16px; color: rgba(255,255,255,0.65); line-height: 1.85; }
.policy-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pillar {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #5B9DFF);
  opacity: 0;
  transition: opacity var(--transition);
}
.pillar:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(91,157,255,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}
.pillar:hover::before { opacity: 1; }
.pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background var(--transition);
  border: 1px solid transparent;
}
.pillar-icon--green  { background: rgba(34,197,94,0.18);  border-color: rgba(34,197,94,0.25);  color: #4ade80; }
.pillar-icon--amber  { background: rgba(245,158,11,0.18); border-color: rgba(245,158,11,0.25); color: #fbbf24; }
.pillar-icon--blue   { background: rgba(0,102,204,0.30);  border-color: rgba(91,157,255,0.28); color: #5B9DFF; }
.pillar-icon--purple { background: rgba(139,92,246,0.18); border-color: rgba(139,92,246,0.25); color: #a78bfa; }

.pillar:hover .pillar-icon--green  { background: rgba(34,197,94,0.28);  }
.pillar:hover .pillar-icon--amber  { background: rgba(245,158,11,0.28); }
.pillar:hover .pillar-icon--blue   { background: rgba(0,102,204,0.45);  }
.pillar:hover .pillar-icon--purple { background: rgba(139,92,246,0.28); }
.pillar-title { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.pillar-desc { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ── MARCAS MARQUEE ─────────────────────────────────────────────── */
#marcas { background: var(--gray); padding: 132px 0 72px; overflow: hidden; }
.marquee-wrap { position: relative; }
.marquee-fade-l, .marquee-fade-r {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.marquee-fade-l { left: 0; background: linear-gradient(90deg, var(--gray), transparent); }
.marquee-fade-r { right: 0; background: linear-gradient(-90deg, var(--gray), transparent); }
.marquee-track { display: flex; overflow: hidden; }
.marquee-inner {
  display: flex;
  gap: 0;
  flex-shrink: 0;
  will-change: transform;
}
.marquee-track { cursor: grab; user-select: none; -webkit-user-select: none; }
.marquee-track.dragging { cursor: grabbing; }
.brand-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  margin: 0 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  white-space: nowrap;
  transition: all var(--transition);
  min-width: 150px;
  min-height: 72px;
}
.brand-tag img {
  height: 36px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  transition: transform var(--transition);
}
.brand-tag:hover { border-color: var(--blue-mid); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.brand-tag:hover img { transform: scale(1.05); }

/* ── TESTIMONIOS ────────────────────────────────────────────────── */
#testimonios { background: var(--gray); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.testi-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 160px;
  color: var(--blue-mid);
  position: absolute;
  top: -24px;
  right: 16px;
  line-height: 1;
  opacity: 0.6;
  pointer-events: none;
  user-select: none;
}
.testi-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.quote-icon { display: none; }
.testi-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 28px;
  font-style: italic;
  position: relative;
  z-index: 1;
  flex: 1;
}
.testi-stars { color: #F59E0B; font-size: 14px; letter-spacing: 3px; margin-bottom: 16px; position: relative; z-index: 1; }
.testi-author { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #0D1B3E);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: 15px; color: var(--text); }
.testi-role { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ── AVISO IMPORTANTE ───────────────────────────────────────────── */
#aviso {
  background: #FFFBEB;
  padding: 18px 0;
  border-top: 1px solid #FDE68A;
  border-bottom: 1px solid #FDE68A;
}
.aviso-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-left: 20px;
  border-left: 4px solid #F59E0B;
}
.aviso-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #92400E;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.aviso-text {
  font-size: 14px;
  font-weight: 400;
  color: #78350F;
  line-height: 1.6;
}
.aviso-text strong { font-weight: 700; color: #451A03; }

/* ── CONTACTO ───────────────────────────────────────────────────── */
#contacto {
  background: linear-gradient(135deg, var(--navy-dark) 0%, #0a1f4e 50%, #003d7a 100%);
  background-attachment: fixed;
}
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}
.contact-info-list { margin-top: 32px; }
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
  align-items: flex-start;
}
.contact-ic {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: rgba(0,102,204,0.22);
  border: 1px solid rgba(91,157,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.contact-item-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #5B9DFF;
  margin-bottom: 4px;
}
.contact-item-value { font-size: 14px; color: rgba(255,255,255,0.72); line-height: 1.55; }
.contact-item-value a { color: #5B9DFF; text-decoration: none; }
.contact-item-value a:hover { color: var(--white); }
.contact-map-wrap {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(91,157,255,0.18);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.contact-map-wrap iframe {
  display: block;
  width: 100%;
  height: 260px;
}

/* Form */
.form-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(14px);
}
.form-box h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
}
#contacto label { color: rgba(255,255,255,0.78); font-size: 13px; }
#contacto input,
#contacto select,
#contacto textarea {
  background: rgba(255,255,255,0.10);
  border: 1.5px solid rgba(255,255,255,0.22);
  color: var(--white);
}
#contacto input:focus,
#contacto select:focus,
#contacto textarea:focus {
  border-color: #5B9DFF;
  background: rgba(255,255,255,0.13);
  box-shadow: 0 0 0 3px rgba(91,157,255,0.18);
}
#contacto input::placeholder,
#contacto textarea::placeholder { color: rgba(255,255,255,0.35); }
#contacto select option { background: #0a1f4e; color: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}
input::placeholder, textarea::placeholder { color: var(--muted-light); }
textarea { resize: vertical; min-height: 120px; }
select { cursor: pointer; }
.form-success {
  display: none;
  padding: 14px 18px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius-sm);
  color: #065f46;
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
}
.form-error {
  display: none;
  padding: 14px 18px;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: var(--radius-sm);
  color: #991b1b;
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
}
#submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ── FOOTER ─────────────────────────────────────────────────────── */
footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand img { height: 42px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand-name span { color: #5B9DFF; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 24px; max-width: 280px; }
.footer-social { display: flex; gap: 8px; }
.soc-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition);
}
.soc-btn:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: #5B9DFF; }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact-item span:first-child { font-size: 14px; min-width: 20px; }
.footer-contact-item a, .footer-contact-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  line-height: 1.5;
}
.footer-contact-item a:hover { color: #5B9DFF; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.35); text-decoration: none; transition: color var(--transition); }
.footer-legal a:hover { color: #5B9DFF; }

/* ── SCROLL TO TOP ──────────────────────────────────────────────── */
#scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-blue);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 500;
}
#scroll-top.show { opacity: 1; transform: translateY(0); }
#scroll-top:hover { background: var(--blue-hover); transform: translateY(-2px); }

/* ── WHATSAPP FLOTANTE ──────────────────────────────────────────── */
#wa-wrap {
  position: fixed;
  bottom: 84px;
  right: 28px;
  z-index: 500;
}
#whatsapp-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
#whatsapp-btn:hover { background: #1aab55; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.5); }
#wa-popup {
  position: absolute;
  bottom: calc(44px + 12px);
  right: 0;
  width: 272px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  pointer-events: none;
  transform-origin: bottom right;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
#wa-popup.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.wa-popup-head {
  background: #25D366;
  color: var(--white);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wa-popup-icon {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wa-popup-head-text { flex: 1; min-width: 0; }
.wa-popup-title { font-family: var(--font-head); font-weight: 700; font-size: 13px; }
.wa-popup-sub { font-size: 11px; opacity: 0.85; margin-top: 1px; }
.wa-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  flex-shrink: 0;
  transition: color var(--transition);
}
.wa-close:hover { color: var(--white); }
.wa-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.wa-option:last-child { border-bottom: none; }
.wa-option:hover { background: var(--gray); }
.wa-option-info { flex: 1; }
.wa-option-name { font-family: var(--font-head); font-weight: 600; font-size: 13px; }
.wa-option-num { font-size: 12px; color: var(--muted); margin-top: 2px; }
.wa-option > svg { color: var(--muted-light); flex-shrink: 0; }

/* ── SECTORES ATENDIDOS ─────────────────────────────────────────── */
#sectores { background: var(--gray); padding-bottom: 30px; }

.sectores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
  position: relative;
}

.sector-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 22px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.sector-card:hover {
  transform: translateY(-4px);
  background: var(--blue-light);
  box-shadow: var(--shadow-blue);
}

.sector-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, #5B9DFF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0,102,204,0.3);
}

.sector-icon svg { width: 24px; height: 24px; }

.sector-info { flex: 1; min-width: 0; }

.sector-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 7px;
  line-height: 1.3;
}

.sector-subs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sector-subs li {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── TALENTO HUMANO — variante oscura (dentro de policy-band) ───── */
#talento { background: none; }

.talento-band .talento-feature-icon {
  background: rgba(91,157,255,0.15);
  color: #5B9DFF;
}

.talento-band .talento-feature-text strong { color: var(--white); }
.talento-band .talento-feature-text p      { color: rgba(255,255,255,0.58); }

/* ── TALENTO HUMANO ─────────────────────────────────────────────── */
.talento-features {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.talento-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.talento-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.talento-feature-icon svg { width: 22px; height: 22px; }

.talento-feature-text strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

.talento-feature-text p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.talento-cta {
  text-align: center;
  margin-top: 48px;
}

.talento-img-block {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

.talento-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3997 / 2068;
  object-fit: contain;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-lg);
}

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 320px 300px 300px 300px 300px 300px 300px 300px 300px;
  }
  .bento-c1  { grid-column: 1 / 3; grid-row: 1;     }
  .bento-c2  { grid-column: 1;     grid-row: 2;     }
  .bento-c3  { grid-column: 2;     grid-row: 2;     }
  .bento-c4  { grid-column: 1;     grid-row: 3;     }
  .bento-c5  { grid-column: 2;     grid-row: 3;     }
  .bento-c6  { grid-column: 1 / 3; grid-row: 4;     }
  .bento-c7  { grid-column: 1;     grid-row: 5;     }
  .bento-c8  { grid-column: 2;     grid-row: 5;     }
  .bento-c9  { grid-column: 1;     grid-row: 6;     }
  .bento-c10 { grid-column: 2;     grid-row: 6;     }
  .bento-c11 { grid-column: 1;     grid-row: 7;     }
  .bento-c12 { grid-column: 2;     grid-row: 7;     }
  .bento-c13 { grid-column: 1;     grid-row: 8;     }
  .bento-c14 { grid-column: 2;     grid-row: 8;     }
  .bento-c15 { grid-column: 1;     grid-row: 9;     }
  .bento-c16 { grid-column: 2;     grid-row: 9;     }
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .policy-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .sectores-grid { grid-template-columns: repeat(2, 1fr); }
  .talento-features { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  /* Hero stats bar en tablet: 2x2 */
  .hero-stats { flex-wrap: wrap; gap: 0; padding: 18px 20px; }
  .hero-stat { flex: 0 0 50%; padding: 12px 0; }
  .hero-stat-divider { display: none; }
  .hero-stats-bar { bottom: 50px; }
  #hero { padding-bottom: 220px; }
}
@media (max-width: 700px) {
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid var(--border);
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.open a { color: var(--text) !important; }
  .nav-menu.open a:hover { color: var(--blue) !important; background: var(--blue-light) !important; }
  .nav-menu.open .nav-cta { color: var(--white) !important; background: var(--blue) !important; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .policy-pillars { grid-template-columns: 1fr; }
  .talento-features { grid-template-columns: 1fr; gap: 28px; }
  .about-kpis { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: 1fr; }
  .section-pad { padding: 72px 0; }
  /* Hero slider mobile */
  .hero-overlay {
    background:
      linear-gradient(
        to bottom,
        rgba(4,12,28,0.85) 0%,
        rgba(4,12,28,0.75) 60%,
        rgba(4,12,28,0.65) 100%
      );
  }
  .hero-stats { flex-wrap: wrap; padding: 14px 16px; }
  .hero-stat { flex: 0 0 50%; text-align: center; padding: 10px 0; }
  .hero-stat-num { font-size: 26px; }
  .hero-stats-bar { bottom: 44px; }
  #hero { padding-bottom: 230px; }
  .hero-nav { bottom: 14px; }
}
/* ── BRAND MODAL ─────────────────────────────────────────────────── */
.brand-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,27,62,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.brand-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.brand-modal-card {
  background: #fff;
  border-radius: 24px;
  width: 100%;
  max-width: 460px;
  overflow: hidden;
  position: relative;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.34,1.46,0.64,1);
  box-shadow: 0 32px 80px rgba(13,27,62,0.28);
}
.brand-modal-overlay.open .brand-modal-card {
  transform: translateY(0) scale(1);
}
.brand-modal-accent {
  height: 5px;
  width: 100%;
}
.brand-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f0f2f5;
  color: #444;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 1;
  transition: background 0.2s;
}
.brand-modal-close:hover { background: #e0e3ea; }
.brand-modal-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px 48px 14px;
  min-height: 90px;
}
.brand-modal-logo {
  max-height: 56px;
  max-width: 200px;
  object-fit: contain;
}
.brand-modal-body {
  padding: 4px 32px 32px;
  text-align: center;
}
.brand-modal-name {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.brand-modal-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 20px;
}
.brand-modal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 26px;
}
.brand-chip {
  background: #f0f4ff;
  color: var(--navy);
  border: 1px solid #dce4f5;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--font-head);
}
.brand-tag { cursor: pointer; }
.brand-tag:hover { opacity: 0.8; }

@media (max-width: 450px) {
  .services-grid { grid-template-columns: 1fr; }
  .sectores-grid { grid-template-columns: 1fr; }
  .about-years-num { font-size: 64px; }
  .hero-stats { padding: 12px; }
  .hero-stat-num { font-size: 22px; }
  .hero-stat-label { font-size: 10px; }
  .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .bento-c1,.bento-c2,.bento-c3,.bento-c4,.bento-c5,.bento-c6,
  .bento-c7,.bento-c8,.bento-c9,.bento-c10,.bento-c11,.bento-c12,
  .bento-c13,.bento-c14,.bento-c15,.bento-c16 {
    grid-column: 1; grid-row: auto; min-height: 280px;
  }
}
