/* ═══════════════════════════════════════════════════════════
   BAE — Buró de Administración Empresarial — Design System
   ═══════════════════════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; background: #fff; color: #16233A; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; object-fit: cover; }
a { color: inherit; }

/* ── VARIABLES ── */
:root {
  --white:     #FFFFFF;
  --off:       #F4F7FB;
  --light:     #F4F7FB;
  --navy:      #0A1B33;
  --navy-m:    #142C4F;
  --blue:      #1E88E5;
  --blue-h:    #1669B5;
  --blue-pale: #E7F2FC;
  --green:     #B8891E;
  --green-l:   #D4AF37;
  --green-p:   #FBF1DC;
  --border:    #E2E8F0;
  --border-d:  #CBD5E1;
  --gray:      #5B6472;
  --gray-l:    #94A3B8;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.07);
  --shadow-md: 0 6px 28px rgba(0,0,0,0.09);
  --shadow-lg: 0 16px 56px rgba(0,0,0,0.13);
  --font-b:    'Inter', sans-serif;
  --font-h:    'Space Grotesk', sans-serif;
  --nav-h:     74px;
  --max:       1280px;
}


/* ═══════════════════════════════
   LOADER
   ═══════════════════════════════ */
#loader {
  position: fixed; inset: 0;
  background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity .8s cubic-bezier(.4,0,.2,1), visibility .8s;
}
#loader.out { opacity: 0; visibility: hidden; pointer-events: none; }

.ld-logo { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 40px; }

.ld-drops { display: flex; align-items: flex-end; gap: 4px; }
.ld-drop {
  border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
}
.ld-drop:nth-child(1) {
  width: 20px; height: 30px; background: var(--blue);
  animation: dropIn .65s cubic-bezier(.34,1.56,.64,1) .12s both;
}
.ld-drop:nth-child(2) {
  width: 15px; height: 23px; background: var(--green-l);
  animation: dropIn .65s cubic-bezier(.34,1.56,.64,1) .26s both;
}
.ld-drop:nth-child(3) {
  width: 11px; height: 16px; background: var(--green-l);
  animation: dropIn .65s cubic-bezier(.34,1.56,.64,1) .38s both;
}
@keyframes dropIn {
  from { transform: translateY(-70px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

.ld-brand { animation: fadeSlide .5s ease .5s both; }
@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.ld-name { font-family: var(--font-h); font-size: 32px; font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -.5px; }
.ld-tag  { font-family: var(--font-h); font-size: 10px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; color: var(--gray-l); margin-top: 3px; }

.ld-progress { width: 200px; animation: fadeSlide .4s ease .62s both; }
.ld-track { height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.ld-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--green-l));
  animation: fill 1.2s cubic-bezier(.4,0,.2,1) .72s both;
  transform-origin: left;
}
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ld-note { font-size: 11px; color: var(--gray-l); letter-spacing: 2px; text-transform: uppercase; margin-top: 10px; text-align: center; }


/* ═══════════════════════════════
   NAVIGATION
   ═══════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  transition: background .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
nav.stuck {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
  border-color: var(--border);
}
.nav-wrap { max-width: var(--max); margin: 0 auto; padding: 0 36px; height: 100%; display: flex; align-items: center; justify-content: space-between; }

/* Logo */
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo-drops { display: flex; align-items: flex-end; gap: 3px; }
.logo-drops span { border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%; display: block; }
.d-b { width: 8px; height: 14px; background: var(--blue); }
.d-g { width: 6px; height: 10px; background: var(--green-l); }
.d-s { width: 5px; height: 7px;  background: var(--green); }
.logo-word { font-family: var(--font-h); font-size: 19px; font-weight: 800; color: #fff; line-height: 1; transition: color .3s; }
.logo-word em { display: block; font-style: normal; font-size: 9px; font-weight: 500; letter-spacing: 3.5px; text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: 2px; transition: color .3s; }
nav.stuck .logo-word { color: var(--navy); }
nav.stuck .logo-word em { color: var(--gray-l); }

/* Links */
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.72); transition: color .2s; }
.nav-links a:hover { color: #fff; }
nav.stuck .nav-links a { color: var(--gray); }
nav.stuck .nav-links a:hover { color: var(--navy); }

.nav-cta {
  background: var(--white) !important; color: var(--navy) !important;
  padding: 10px 24px; border-radius: 8px; font-weight: 700 !important;
  box-shadow: 0 2px 12px rgba(255,255,255,.15); transition: all .25s !important;
}
.nav-cta:hover { transform: translateY(-1px) !important; box-shadow: 0 6px 20px rgba(255,255,255,.25) !important; }
nav.stuck .nav-cta { background: var(--blue) !important; color: #fff !important; box-shadow: 0 4px 16px rgba(30,136,229,.28) !important; }
nav.stuck .nav-cta:hover { box-shadow: 0 8px 28px rgba(30,136,229,.38) !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.hamburger span { display: block; width: 22px; height: 1.5px; border-radius: 2px; background: #fff; transition: background .3s; }
nav.stuck .hamburger span { background: var(--navy); }

/* Mobile menu */
.mob-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 16px 36px 28px; z-index: 999; flex-direction: column; gap: 0;
  box-shadow: var(--shadow-md);
}
.mob-menu.open { display: flex; }
.mob-menu a {
  text-decoration: none; font-size: 15px; font-weight: 500; color: var(--gray);
  padding: 14px 0; border-bottom: 1px solid var(--border); display: block; transition: color .2s;
}
.mob-menu a:hover { color: var(--navy); }
.mob-menu a:last-child { border-bottom: none; color: var(--blue); font-weight: 700; }


/* ═══════════════════════════════
   HERO
   ═══════════════════════════════ */
#hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('imagenes/714749377_122106630651298991_8023223673859124591_n.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}
.hero-ov {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    108deg,
    rgba(7,24,49,1) 0%,
    rgba(7,24,49,.995) 64%,
    rgba(7,24,49,.80) 82%,
    rgba(7,24,49,.48) 100%
  );
}
#pcanvas {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%; pointer-events: none;
}

.hero-body {
  position: relative; z-index: 3;
  flex: 1; display: flex; align-items: center;
  padding-top: var(--nav-h);
}
.hero-body .wrap { padding-top: 48px; padding-bottom: 48px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-bottom: 28px;
}
.hero-eyebrow::before { content: ''; width: 0; height: 1.5px; background: var(--green-l); border-radius: 1px; flex-shrink: 0; animation: growLine .5s ease .84s forwards; }
@keyframes growLine { to { width: 24px; } }

.hero-h1 {
  font-family: var(--font-h);
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 800; line-height: 1.04; letter-spacing: -2.5px;
  color: #fff; max-width: 680px; margin-bottom: 24px;
  text-shadow: 0 0 80px rgba(30,136,229,.18);
}
.accent-cycle {
  display: inline-block;
  background: linear-gradient(120deg, #4FC3F7 0%, #D4AF37 40%, #4FC3F7 70%, #D4AF37 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: accentShimmer 4s linear infinite;
  will-change: transform, opacity;
}
@keyframes accentShimmer {
  from { background-position: 0% center; }
  to   { background-position: 200% center; }
}

.hero-p {
  font-size: 17px; line-height: 1.75; color: rgba(255,255,255,.6);
  max-width: 460px; margin-bottom: 40px;
}

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; color: var(--navy); text-decoration: none;
  padding: 15px 30px; border-radius: 9px; font-weight: 700; font-size: 15px;
  transition: all .3s; box-shadow: 0 4px 20px rgba(255,255,255,.18);
  border: none; cursor: pointer; font-family: var(--font-b);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(255,255,255,.28); background: #F0F4FF; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; color: rgba(255,255,255,.8); text-decoration: none;
  padding: 15px 30px; border-radius: 9px; font-weight: 600; font-size: 15px;
  transition: all .3s; border: 1.5px solid rgba(255,255,255,.2);
}
.btn-secondary:hover { background: rgba(255,255,255,.07); color: #fff; border-color: rgba(255,255,255,.35); }

/* Hero stats bar */
.hero-stats {
  position: relative; z-index: 3;
  border-top: 1px solid rgba(255,255,255,.1);
  background: rgba(11,29,58,.6);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.hero-stats .wrap { padding-top: 0; padding-bottom: 0; }
.stats-row { display: flex; }
.stat-col {
  flex: 1; padding: 28px 0;
  display: flex; flex-direction: column;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-col:last-child { border-right: none; }
.stat-col:first-child { padding-left: 0; }
.stat-val {
  font-family: var(--font-h); font-size: 40px; font-weight: 800;
  color: #fff; line-height: 1; margin-bottom: 6px;
}
.stat-lbl { font-size: 13px; color: rgba(255,255,255,.45); font-weight: 500; }

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding-bottom: 100px; /* above the stats bar */
  animation: cueIn .6s ease 2.4s both;
  pointer-events: none; display: none; /* hidden, stats bar replaces it */
}
@keyframes cueIn { from { opacity: 0; transform: translateX(-50%) translateY(8px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* Hero entrance sequence */
.hero-eyebrow { opacity: 0; animation: revUp .7s cubic-bezier(.16,1,.3,1) .72s forwards; }
.hero-p       { opacity: 0; animation: revUp .7s cubic-bezier(.16,1,.3,1) 1.58s forwards; }
.hero-btns    { opacity: 0; animation: revUp .7s cubic-bezier(.16,1,.3,1) 1.74s forwards; }
.hero-stats   { opacity: 0; animation: revUp .7s cubic-bezier(.16,1,.3,1) 1.88s forwards; }
@keyframes revUp {
  from { opacity: 0; transform: translateY(28px); filter: blur(3px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

/* H1 cinematic line reveal */
.h1-line { display: block; overflow: hidden; line-height: 1.08; }
.h1-line.h1-accent { overflow: visible; }
.h1-inner { display: block; opacity: 0; transform: translateY(105%); }
.h1-line:nth-child(1) .h1-inner { animation: lineUp .95s cubic-bezier(.16,1,.3,1) .90s  forwards; }
.h1-line:nth-child(2) .h1-inner { animation: lineUp .95s cubic-bezier(.16,1,.3,1) 1.10s forwards; }
.h1-line:nth-child(3) .h1-inner { animation: lineUp .95s cubic-bezier(.16,1,.3,1) 1.30s forwards; }
@keyframes lineUp {
  to { opacity: 1; transform: translateY(0); }
}


/* ── LOADER LOGO ── */
.ld-logo-img {
  height: 90px; width: auto; object-fit: contain;
  animation: dropIn .7s cubic-bezier(.34,1.56,.64,1) .12s both;
  filter: drop-shadow(0 6px 24px rgba(30,136,229,.28));
}

/* ── NAV LOGO ── */
.nav-logo-img {
  height: 56px; width: auto; object-fit: contain;
  display: block; transition: filter .3s, transform .3s;
}
nav:not(.stuck) .nav-logo-img { filter: drop-shadow(0 2px 10px rgba(0,0,0,.35)); }
nav.stuck .nav-logo-img { height: 48px; }

/* ── HERO DECORATIONS ── */
.hero-deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-orb--1 {
  width: 720px; height: 720px;
  background: radial-gradient(circle at center, rgba(30,136,229,.22) 0%, transparent 68%);
  top: -180px; right: -130px;
  animation: orbFloat 14s ease-in-out infinite;
}
.hero-orb--2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle at center, rgba(212,175,55,.14) 0%, transparent 68%);
  bottom: 90px; left: 4%;
  animation: orbFloat 18s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.04); }
  66%       { transform: translate(-20px, 15px) scale(.96); }
}

.hero-beam {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg,
    transparent 20%,
    rgba(255,255,255,.028) 50%,
    transparent 80%
  );
  animation: beamSweep 9s ease-in-out 3s infinite;
}
@keyframes beamSweep {
  0%   { transform: translateX(-130%) skewX(-14deg); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateX(130%)  skewX(-14deg); opacity: 0; }
}

/* ── HERO SCROLL CUE ── */
.hero-scroll-cue {
  position: absolute; right: 52px; bottom: 160px; z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeInEl .7s ease 2.7s forwards;
}
.mouse-dot { animation: mouseDot 2.2s ease-in-out 3s infinite both; }
@keyframes mouseDot {
  0%   { transform: translateY(0); opacity: .75; }
  55%  { transform: translateY(10px); opacity: .12; }
  100% { transform: translateY(0); opacity: .75; }
}
.scroll-label {
  font-size: 10px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(255,255,255,.25);
}
@keyframes fadeInEl { from { opacity: 0; } to { opacity: 1; } }

/* ── HERO BADGE ── */
.hero-badge {
  position: absolute;
  top: calc(var(--nav-h) + 36px); right: 52px; z-index: 4;
  display: flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 100px; padding: 9px 18px 9px 12px;
  opacity: 0; animation: fadeInEl .6s ease 2s forwards;
}
.hb-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #D4AF37;
  position: relative; flex-shrink: 0;
}
.hb-dot::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  background: rgba(212,175,55,.35); animation: hbPulse 2.5s ease-in-out infinite;
}
@keyframes hbPulse {
  0%, 100% { transform: scale(1); opacity: .75; }
  55%       { transform: scale(1.9); opacity: 0; }
}
.hb-text {
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.75);
  letter-spacing: .5px; white-space: nowrap;
}

/* ── BTN PRIMARY SHIMMER ── */
.btn-primary { overflow: hidden; position: relative; }
.btn-primary::after {
  content: ''; position: absolute;
  top: -20%; left: -45%; width: 28%; height: 140%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-20deg);
  animation: btnShimmer 3.8s ease-in-out 2.2s infinite;
}
@keyframes btnShimmer {
  0%   { left: -45%; opacity: 0; }
  12%  { opacity: 1; }
  32%  { left: 165%; opacity: 0; }
  100% { left: 165%; opacity: 0; }
}

/* ── HERO MOBILE FIXES ── */
@media (max-width: 768px) {
  .hero-bg { background-position: 72% center; }
  .hero-scroll-cue, .hero-badge { display: none; }
  .hero-orb--1 { width: 380px; height: 380px; top: -80px; right: -80px; }
  .hero-orb--2 { width: 280px; height: 280px; }
}


/* ═══════════════════════════════
   SHARED SECTION STYLES
   ═══════════════════════════════ */
.section    { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.bg-white { background: var(--white); }
.bg-off   { background: var(--off); }
.bg-light { background: var(--light); }
.bg-navy  { background: var(--navy); }

.wrap {
  max-width: var(--max); margin: 0 auto;
  padding-left: 36px; padding-right: 36px;
}

/* Eyebrow / section label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 22px; height: 1.5px; background: var(--blue); border-radius: 1px; flex-shrink: 0; }
.eyebrow--white { color: #4FC3F7; }
.eyebrow--white::before { background: #4FC3F7; }

/* Headings */
.heading {
  font-family: var(--font-h);
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 700; line-height: 1.1; letter-spacing: -.5px;
  color: var(--navy); margin-bottom: 16px;
}
.heading--white { color: #fff; }

.sub {
  font-size: 17px; color: var(--gray); line-height: 1.78;
  max-width: 520px;
}
.sub--white { color: rgba(255,255,255,.6); }

/* CTA link */
.cta-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--blue);
  text-decoration: none; margin-top: 8px;
  transition: gap .2s;
}
.cta-link:hover { gap: 14px; }
.cta-link svg { flex-shrink: 0; }

/* Solid buttons (reuse outside hero) */
.btn-solid {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--blue); color: #fff; text-decoration: none;
  padding: 14px 28px; border-radius: 9px; font-weight: 700; font-size: 15px;
  transition: all .3s; box-shadow: 0 4px 16px rgba(30,136,229,.25);
  border: none; cursor: pointer; font-family: var(--font-b);
}
.btn-solid:hover { background: var(--blue-h); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(30,136,229,.35); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; color: var(--navy); text-decoration: none;
  padding: 14px 28px; border-radius: 9px; font-weight: 600; font-size: 15px;
  transition: all .3s; border: 1.5px solid var(--border-d);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }

/* Scroll reveal */
.rev { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
.rev.in { opacity: 1; transform: none; }
.rev.from-l { transform: translateX(-28px); }
.rev.from-r { transform: translateX(28px); }
.rev.in.from-l, .rev.in.from-r { transform: none; }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
.d5 { transition-delay: .40s; }


/* ═══════════════════════════════
   TRUST BAR
   ═══════════════════════════════ */
#trust {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.trust-label { font-size: 11px; font-weight: 700; color: var(--gray-l); letter-spacing: 2.5px; text-transform: uppercase; white-space: nowrap; }
.trust-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-chip {
  font-family: var(--font-h); font-size: 12px; font-weight: 700; letter-spacing: .3px;
  color: var(--gray); padding: 6px 16px; border: 1px solid var(--border); border-radius: 6px;
  transition: all .2s;
}
.trust-chip:hover { border-color: var(--blue); color: var(--navy); }


/* ═══════════════════════════════
   ABOUT
   ═══════════════════════════════ */
#about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.about-img-wrap { position: relative; }
.about-img-main { border-radius: 16px; overflow: hidden; aspect-ratio: 3/2; background: var(--off); }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }

.about-accent {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--blue); border-radius: 12px; padding: 24px 28px;
  color: #fff; min-width: 180px;
}
.about-accent .a-num { font-family: var(--font-h); font-size: 38px; font-weight: 800; line-height: 1; }
.about-accent .a-lbl { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 4px; }

.about-text p { font-size: 15px; color: var(--gray); line-height: 1.82; margin-bottom: 16px; }

.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.a-stat {
  padding: 22px; border: 1px solid var(--border); border-radius: 12px;
  transition: all .25s;
}
.a-stat:hover { border-color: var(--blue); background: var(--blue-pale); }
.a-stat-n { font-family: var(--font-h); font-size: 28px; font-weight: 800; color: var(--navy); }
.a-stat-l { font-size: 12px; color: var(--gray-l); margin-top: 4px; }


/* ═══════════════════════════════
   SERVICES
   ═══════════════════════════════ */
#services { background: var(--off); }
.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; }
.section-head--center .sub { margin: 0 auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.svc-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 40px 34px; position: relative; overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .35s;
}
.svc-card:hover {
  border-color: var(--blue); transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.svc-num {
  font-family: var(--font-h); font-size: 100px; font-weight: 900;
  color: rgba(0,0,0,.03); position: absolute; top: 10px; right: 16px;
  line-height: 1; user-select: none; pointer-events: none;
}
.svc-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px; position: relative; z-index: 1;
}
.ic-blue  { background: var(--blue-pale); }
.ic-green { background: var(--green-p); }
.ic-slate { background: #F1F5F9; }

.svc-card h3 {
  font-family: var(--font-h); font-size: 20px; font-weight: 700;
  color: var(--navy); margin-bottom: 12px; position: relative; z-index: 1;
}
.svc-card p { font-size: 14px; color: var(--gray); line-height: 1.82; margin-bottom: 22px; position: relative; z-index: 1; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 7px; position: relative; z-index: 1; }
.tag { font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 100px; border: 1px solid var(--border); color: var(--gray-l); background: var(--off); }
.tag-b { border-color: rgba(30,136,229,.2); color: var(--blue); background: var(--blue-pale); }
.tag-g { border-color: rgba(184,137,30,.25); color: var(--green); background: var(--green-p); }


/* ═══════════════════════════════
   INITIAL ASSESSMENT
   ═══════════════════════════════ */
#assessment { border-top: 1px solid var(--border); }
.assessment-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 72px;
  align-items: center;
}
.assessment-media {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  background: var(--off);
}
.assessment-media img {
  display: block;
  width: 100%;
  height: auto;
}
.assessment-copy .sub { max-width: 610px; }
.assessment-list {
  list-style: none;
  margin: 34px 0 30px;
  border-top: 1px solid var(--border);
}
.assessment-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.assessment-list > li > span {
  font-family: var(--font-h);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  padding-top: 3px;
}
.assessment-list h3 {
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.assessment-list p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--gray);
}
.assessment-action {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.assessment-action p {
  max-width: 230px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--gray-l);
  text-transform: uppercase;
  letter-spacing: .8px;
}


/* ═══════════════════════════════
   PRODUCTS
   ═══════════════════════════════ */
#products { background: var(--white); }
.prod-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; gap: 24px; flex-wrap: wrap; }
.prod-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.prod-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 24px 20px; transition: border-color .25s, box-shadow .25s, transform .3s;
  position: relative; overflow: hidden;
}
.prod-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2.5px;
  background: linear-gradient(90deg, var(--blue), var(--green-l));
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.prod-card:hover { border-color: var(--border-d); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.prod-card:hover::after { transform: scaleX(1); }

.p-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.prod-card h3 { font-family: var(--font-h); font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 7px; line-height: 1.35; }
.prod-card p { font-size: 12px; color: var(--gray-l); line-height: 1.65; }
.prod-pill {
  display: inline-block; margin-top: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px;
  background: var(--blue-pale); color: var(--blue); border: 1px solid rgba(30,136,229,.14);
}


/* ═══════════════════════════════
   QUESTIONS — fixed background
   ═══════════════════════════════ */
#questions {
  min-height: 620px;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  background-image:
    linear-gradient(90deg, rgba(7,24,49,.97) 0%, rgba(7,24,49,.91) 42%, rgba(7,24,49,.56) 68%, rgba(7,24,49,.24) 100%),
    url('imagenes/693460643_122102389371298991_4555486448993221535_n.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.questions-copy {
  max-width: 610px;
  padding: 96px 0;
}
.questions-copy .heading {
  max-width: 590px;
  margin-bottom: 20px;
}
.questions-copy > p:not(.eyebrow) {
  max-width: 540px;
  color: rgba(255,255,255,.68);
  font-size: 16px;
  line-height: 1.78;
}
.questions-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 34px 0 36px;
  border-top: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.questions-list li {
  min-height: 78px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  color: #fff;
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  border-right: 1px solid rgba(255,255,255,.16);
}
.questions-list li:first-child { padding-left: 0; }
.questions-list li:last-child { border-right: 0; }


/* ═══════════════════════════════
   WHY BAE — dark section
   ═══════════════════════════════ */
#why { background: var(--navy); overflow: hidden; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-img-wrap { position: relative; }
.why-img-main { border-radius: 8px; overflow: hidden; aspect-ratio: 1054/1492; background: #fff; }
.why-img-main img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.9); }
.why-img-badge {
  position: absolute; top: 28px; left: -20px;
  background: var(--blue); color: #fff; border-radius: 12px;
  padding: 18px 22px; box-shadow: 0 12px 36px rgba(30,136,229,.4);
}
.wib-n { font-family: var(--font-h); font-size: 30px; font-weight: 800; line-height: 1; }
.wib-l { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 4px; }

.why-content {}
.benefit-list { display: flex; flex-direction: column; gap: 4px; margin-top: 36px; }
.benefit {
  display: flex; gap: 18px; padding: 20px 18px;
  border-radius: 12px; border: 1px solid transparent; transition: all .3s; cursor: default;
}
.benefit:hover { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); }
.ben-icon {
  width: 46px; height: 46px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ben-icon-b { background: rgba(30,136,229,.25); }
.ben-icon-g { background: rgba(184,137,30,.28); }
.ben-icon-w { background: rgba(255,255,255,.08); }
.benefit h4 { font-family: var(--font-h); font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 7px; }
.benefit p { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.72; }


/* ═══════════════════════════════
   NUMBERS
   ═══════════════════════════════ */
#numbers { background: var(--white); padding: 80px 0; }
.numbers-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.number-item {
  padding: 40px 36px; text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}
.number-item:last-child { border-right: none; }
.number-item::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 40px; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green-l));
  border-radius: 2px;
}
.num-v {
  font-family: var(--font-h); font-size: 54px; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 10px;
}
.num-l { font-size: 14px; color: var(--gray); line-height: 1.5; }


/* ═══════════════════════════════
   BRANDS
   ═══════════════════════════════ */
#brands {
  background: var(--navy);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
#brands::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(30,136,229,.14) 0%, transparent 70%);
  pointer-events: none;
}

.brands-head {
  text-align: center;
  margin-bottom: 60px;
}
.brands-head .eyebrow { justify-content: center; }
.brands-head .heading { font-size: clamp(26px, 3.2vw, 44px); margin-bottom: 16px; }
.brands-sub {
  font-size: 16px; color: rgba(255,255,255,.42);
  max-width: 500px; margin: 0 auto; line-height: 1.75;
}

/* Grid */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  position: relative; z-index: 1;
}

/* Outer card — dark glass frame */
.brand-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 7px;
  transition: background .32s, border-color .32s, transform .32s cubic-bezier(.4,0,.2,1), box-shadow .32s;
  cursor: default;
  position: relative;
}
.brand-card::after {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(79,195,247,.08), transparent 50%, rgba(212,175,55,.07));
  opacity: 0;
  transition: opacity .32s;
  pointer-events: none;
}
.brand-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(30,136,229,.35);
  transform: translateY(-6px);
  box-shadow:
    0 24px 56px rgba(0,0,0,.38),
    0 0 0 1px rgba(30,136,229,.18),
    inset 0 1px 0 rgba(255,255,255,.06);
}
.brand-card:hover::after { opacity: 1; }

/* Inner white logo container */
.brand-card-inner {
  background: #ffffff;
  border-radius: 12px;
  padding: 22px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 108px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(0,0,0,.04), inset 0 -1px 0 rgba(0,0,0,.04);
}
.brand-card-inner img {
  max-width: 100%;
  max-height: 68px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform .35s ease;
}
.brand-card:hover .brand-card-inner img {
  transform: scale(1.07);
}
.sector-name {
  font-family: var(--font-h); font-size: 14px; font-weight: 700;
  color: var(--navy); text-align: center; letter-spacing: .1px; line-height: 1.3;
  padding: 0 8px; transition: color .3s;
}
.brand-card:hover .sector-name { color: var(--blue-h); }

/* Bottom note */
.brands-note {
  text-align: center;
  margin-top: 44px;
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,.22);
  letter-spacing: .8px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.brands-note::before,
.brands-note::after {
  content: '';
  width: 48px; height: 1px;
  background: rgba(255,255,255,.12);
  display: block;
}

/* Responsive */
@media (max-width: 1100px) {
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .brands-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .brand-card-inner { height: 88px; padding: 16px 14px; }
  .brand-card-inner img { max-height: 56px; }
}
@media (max-width: 480px) {
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ═══════════════════════════════
   CONTACT
   ═══════════════════════════════ */
#contact { background: var(--off); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.18fr; gap: 80px; align-items: start; }
.contact-info {}

.c-item {
  display: flex; gap: 15px;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}
.c-item:last-of-type { border-bottom: none; }
.c-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px;
  background: var(--blue-pale); border: 1px solid rgba(30,136,229,.1);
  display: flex; align-items: center; justify-content: center;
}
.c-label { font-size: 11px; font-weight: 700; color: var(--gray-l); letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 4px; }
.c-value { font-size: 14px; color: var(--navy); font-weight: 500; line-height: 1.65; }
.c-value a { text-decoration: none; transition: color .2s; }
.c-value a:hover { color: var(--blue); }

/* Form */
.form-wrap {
  background: var(--white); border: 1px solid var(--border); border-radius: 20px;
  padding: 44px; box-shadow: var(--shadow-sm); position: relative;
}
.form-wrap::before {
  content: ''; display: block; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green-l));
  border-radius: 20px 20px 0 0;
}
.form-wrap h3 { font-family: var(--font-h); font-size: 21px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form-wrap .form-sub { font-size: 13px; color: var(--gray); margin-bottom: 28px; }

.fg { margin-bottom: 18px; }
.fl { display: block; font-size: 12.5px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.fi {
  width: 100%; background: var(--off); border: 1.5px solid var(--border);
  border-radius: 9px; padding: 13px 15px; color: var(--navy); font-size: 14px;
  font-family: var(--font-b); outline: none; transition: all .2s;
  -webkit-appearance: none; appearance: none;
}
.fi:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(30,136,229,.08); }
.fi::placeholder { color: var(--gray-l); }
.fi option { background: #fff; color: var(--navy); }
textarea.fi { resize: vertical; min-height: 100px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-submit {
  width: 100%; background: linear-gradient(135deg, var(--blue), #0D4C8C);
  color: #fff; border: none; padding: 15px 28px; border-radius: 10px;
  font-weight: 700; font-size: 15px; font-family: var(--font-b);
  cursor: pointer; transition: all .3s;
  box-shadow: 0 4px 20px rgba(30,136,229,.28); margin-top: 8px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(30,136,229,.38); }


/* ═══════════════════════════════
   FOOTER
   ═══════════════════════════════ */
footer { background: var(--navy); padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }

.foot-logo { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.foot-logo-img { height: 64px; width: auto; object-fit: contain; }
.foot-logo .logo-word { color: #fff; }
.foot-logo .logo-word em { color: rgba(255,255,255,.3); }
.foot-desc { font-size: 13.5px; color: rgba(255,255,255,.38); line-height: 1.78; max-width: 260px; }

.foot-col-title { font-family: var(--font-h); font-size: 11px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 20px; }
.foot-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.foot-links a { text-decoration: none; font-size: 13.5px; color: rgba(255,255,255,.38); transition: color .2s; }
.foot-links a:hover { color: rgba(255,255,255,.85); }

.foot-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.foot-bottom p { font-size: 12.5px; color: rgba(255,255,255,.28); }
.foot-bottom span { color: var(--blue-pale); }


/* ═══════════════════════════════
   WHATSAPP FLOAT
   ═══════════════════════════════ */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 999; display: flex; align-items: center; }
.wa-tip {
  background: var(--white); border: 1px solid var(--border); border-radius: 9px;
  padding: 9px 15px; font-size: 13px; font-weight: 600; color: var(--navy);
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s;
  margin-right: 12px; box-shadow: var(--shadow-sm);
}
.wa-float:hover .wa-tip { opacity: 1; }
.wa-btn {
  width: 56px; height: 56px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  position: relative; transition: all .3s; box-shadow: 0 4px 18px rgba(37,211,102,.38);
}
.wa-btn::before {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  background: rgba(37,211,102,.24); animation: waPulse 2.4s ease infinite;
}
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,.55); }
.wa-btn svg { width: 26px; height: 26px; fill: #fff; }
@keyframes waPulse {
  0%   { opacity: .8; transform: scale(1); }
  65%  { opacity: 0; transform: scale(1.6); }
  100% { opacity: 0; transform: scale(1.6); }
}


/* ═══════════════════════════════
   RESPONSIVE
   ═══════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid, .assessment-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-accent { right: auto; left: 24px; }
  .why-img-badge { left: 16px; top: 16px; }
  .why-img-wrap { order: -1; }
  .why-img-wrap { max-width: 620px; margin: 0 auto; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .prod-grid { grid-template-columns: repeat(2,1fr); }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .number-item:nth-child(2) { border-right: none; }
  .number-item:nth-child(1),
  .number-item:nth-child(2) { border-bottom: 1px solid var(--border); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 62px; }
  .section { padding: 72px 0; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .svc-grid { grid-template-columns: 1fr; }
  .hero-h1 { font-size: clamp(38px, 9vw, 60px); }
  .stats-row { flex-direction: column; gap: 0; }
  .stat-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); flex-direction: row; align-items: center; gap: 16px; }
  .stat-col:last-child { border-bottom: none; }
  .stat-val { font-size: 30px; }
  .about-accent { position: static; margin-top: 20px; display: inline-flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 10px; }
  .about-accent .a-num { font-size: 28px; }
  #questions {
    min-height: 560px;
    background-position: 66% center;
    background-image:
      linear-gradient(90deg, rgba(7,24,49,.96), rgba(7,24,49,.78)),
      url('imagenes/693460643_122102389371298991_4555486448993221535_n.jpg');
  }
  .questions-copy { padding: 82px 0; }
  .questions-list { grid-template-columns: 1fr; }
  .questions-list li {
    min-height: 0;
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .questions-list li:last-child { border-bottom: 0; }
  .assessment-action { align-items: flex-start; flex-direction: column; }
  .frow { grid-template-columns: 1fr; }
  .form-wrap { padding: 28px 20px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; text-align: center; }
  .wa-float { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
  .prod-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr; }
  .number-item { border-right: none !important; border-bottom: 1px solid var(--border); }
  .number-item:last-child { border-bottom: none; }
  .about-stats { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}
