/* ============================================================
   LEYAC — Landing corporativa
   Paleta: azul profundo + cian eléctrico sobre negro azulado
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg:            #050b14;
  --bg-2:          #071324;
  --bg-3:          #0a1a2e;
  --surface:       rgba(255, 255, 255, 0.035);
  --surface-2:     rgba(255, 255, 255, 0.065);
  --line:          rgba(124, 170, 255, 0.14);
  --line-strong:   rgba(124, 170, 255, 0.30);

  --blue:          #2f7bff;
  --blue-light:    #5b9dff;
  --cyan:          #22d3ee;
  --green:         #25d366;

  --text:          #eaf2ff;
  --muted:         #94a9c4;
  --muted-2:       #6d84a1;

  --light-bg:      #f4f7fb;
  --light-card:    #ffffff;
  --light-text:    #0a1729;
  --light-muted:   #566d87;
  --light-line:    #e1e9f4;

  --grad:          linear-gradient(100deg, #2f7bff 0%, #22d3ee 100%);
  --grad-soft:     linear-gradient(180deg, rgba(47,123,255,.18), rgba(34,211,238,.05));

  --container:     1200px;
  --nav-h:         76px;
  --radius:        16px;

  --ease:          cubic-bezier(.22,.61,.36,1);
  --shadow-card:   0 18px 44px rgba(0, 0, 0, .38);
  --shadow-blue:   0 14px 38px rgba(47, 123, 255, .28);

  --font-display:  'Sora', system-ui, sans-serif;
  --font-body:     'Inter', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; }
::selection { background: rgba(47,123,255,.4); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: -100px; left: 16px;
  z-index: 3000;
  background: var(--blue);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  font-size: .875rem;
  font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Barra de progreso ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 2500;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .1s linear;
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: clamp(72px, 9vw, 118px); }

/* ---------- Tipografía común ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #7cc4ff;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 30px; height: 1px;
  background: currentColor;
  opacity: .7;
  flex-shrink: 0;
}
.eyebrow--dark { color: #1f6feb; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--text);
}
.section-title--dark { color: var(--light-text); }

.section-lead {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 58ch;
}

.text-gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}
.section-head .section-lead { margin: 18px auto 0; }

.section-head--split {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 48px;
  align-items: end;
  max-width: none;
  text-align: left;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head--split .section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.section-head--split .section-lead { justify-self: end; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s var(--ease),
              border-color .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 22px rgba(47, 123, 255, .28);
}
.btn--primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn--ghost {
  background: rgba(255, 255, 255, .03);
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: var(--cyan);
  color: #fff;
  background: rgba(34, 211, 238, .08);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: rgba(37, 211, 102, .10);
  border-color: rgba(37, 211, 102, .45);
  color: #5ef08f;
}
.btn--whatsapp:hover {
  background: var(--green);
  border-color: var(--green);
  color: #04220f;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(37, 211, 102, .28);
}

.btn--sm { padding: 10px 18px; font-size: .8rem; }
.btn--full { width: 100%; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-h);
  background: linear-gradient(180deg, rgba(5, 11, 20, .92), rgba(5, 11, 20, .35) 70%, transparent);
  transition: height .3s var(--ease), background .3s var(--ease),
              border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  height: 68px;
  background: rgba(5, 11, 20, .88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.nav__inner {
  max-width: var(--container);
  height: 100%;
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}
.logo__name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: .10em;
  color: #fff;
}
.logo__accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo__tag {
  margin-top: 5px;
  font-size: .46rem;
  font-weight: 600;
  letter-spacing: .21em;
  text-transform: uppercase;
  color: #6ea8ff;
  white-space: nowrap;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  margin-left: auto;
}
.nav__link {
  position: relative;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--muted);
  padding-block: 8px;
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover,
.nav__link.is-active { color: #fff; }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav__search {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid transparent;
  color: var(--muted);
  transition: color .25s var(--ease), border-color .25s var(--ease),
              background .25s var(--ease);
}
.nav__search svg { width: 18px; height: 18px; }
.nav__search:hover {
  color: #fff;
  border-color: var(--line-strong);
  background: var(--surface);
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  padding: 9px;
}
.nav__burger span {
  display: block;
  width: 100%; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BUSCADOR
   ============================================================ */
.search {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: grid;
  place-items: start center;
  padding: 12vh 20px 20px;
}
.search[hidden] { display: none; }

.search__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 7, 14, .74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fade-in .2s ease;
}

.search__panel {
  position: relative;
  width: 100%;
  max-width: 620px;
  background: linear-gradient(180deg, #0a1a30, #06101f);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
  overflow: hidden;
  animation: search-in .28s var(--ease);
}

@keyframes fade-in { from { opacity: 0; } }
@keyframes search-in {
  from { opacity: 0; transform: translateY(-14px) scale(.98); }
}

.search__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.search__head > svg {
  width: 20px; height: 20px;
  color: #7cc4ff;
  flex-shrink: 0;
}
.search__head input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: #fff;
  font-size: 1rem;
  padding: 4px 0;
}
.search__head input::placeholder { color: var(--muted-2); }
.search__head input::-webkit-search-cancel-button { display: none; }

.search__close {
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--muted);
  flex-shrink: 0;
  transition: color .2s, background .2s;
}
.search__close:hover { color: #fff; background: var(--surface); }
.search__close svg { width: 16px; height: 16px; }

.search__results {
  max-height: min(52vh, 420px);
  overflow-y: auto;
  padding: 8px;
}
.search__empty {
  padding: 26px 16px;
  text-align: center;
  font-size: .875rem;
  color: var(--muted-2);
}

.search__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--text);
  transition: background .2s var(--ease);
}
.search__item:hover,
.search__item.is-active { background: rgba(47, 123, 255, .14); }
.search__item-icon {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(47, 123, 255, .14);
  border: 1px solid rgba(47, 123, 255, .25);
  color: #7cc4ff;
  flex-shrink: 0;
}
.search__item-icon svg { width: 17px; height: 17px; }
.search__item strong {
  display: block;
  font-size: .875rem;
  font-weight: 500;
}
.search__item small {
  display: block;
  font-size: .6875rem;
  color: var(--muted-2);
  margin-top: 1px;
}
.search__item-arrow {
  margin-left: auto;
  color: var(--muted-2);
  width: 15px; height: 15px;
  flex-shrink: 0;
}

.search__hint {
  padding: 11px 18px;
  border-top: 1px solid var(--line);
  font-size: .6875rem;
  color: var(--muted-2);
  text-align: right;
}
.search__hint kbd {
  font-family: var(--font-body);
  font-size: .625rem;
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--muted);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 24px);
  padding-bottom: 70px;
  overflow: hidden;
  isolation: isolate;
}

.hero__aurora {
  position: absolute;
  inset: -20% -10% 0;
  z-index: -3;
  background:
    radial-gradient(46% 46% at 72% 34%, rgba(47, 123, 255, .30) 0%, transparent 68%),
    radial-gradient(34% 38% at 84% 62%, rgba(34, 211, 238, .16) 0%, transparent 70%),
    radial-gradient(40% 40% at 12% 18%, rgba(47, 123, 255, .12) 0%, transparent 70%),
    linear-gradient(180deg, #050b14 0%, #061021 55%, #050b14 100%);
  animation: aurora 16s ease-in-out infinite alternate;
}

@keyframes aurora {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-1.5%, 1.5%, 0) scale(1.04); }
  100% { transform: translate3d(1%, -1%, 0) scale(1.02); }
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(124, 170, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 170, 255, .055) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 20%, transparent 78%);
  animation: grid-drift 40s linear infinite;
}

@keyframes grid-drift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 72px 72px, 72px 72px; }
}

.hero__skyline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 180px;
  z-index: -1;
  color: rgba(47, 123, 255, .10);
  -webkit-mask-image: linear-gradient(to top, #000 15%, transparent 100%);
  mask-image: linear-gradient(to top, #000 15%, transparent 100%);
}
.hero__skyline svg { width: 100%; height: 100%; }

/* Fotografía de ciudad: aporta profundidad y acerca el hero al mockup */
.hero__photo {
  position: absolute;
  top: -4%;
  right: -4%;
  width: 68%;
  height: 108%;
  z-index: -2;
  background-image:
    linear-gradient(180deg, rgba(5, 11, 20, .18) 0%, rgba(5, 11, 20, .52) 62%, rgba(5, 11, 20, .9) 100%),
    linear-gradient(90deg, rgba(5, 11, 20, .96) 0%, rgba(5, 11, 20, .42) 38%, rgba(5, 11, 20, .12) 100%),
    url("assets/hero-city.jpg");
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  opacity: .82;
  filter: saturate(.72) contrast(1.06) brightness(.82);
  -webkit-mask-image: radial-gradient(ellipse 72% 82% at 66% 42%, #000 28%, transparent 78%);
  mask-image: radial-gradient(ellipse 72% 82% at 66% 42%, #000 28%, transparent 78%);
}

.hero__side-label {
  position: absolute;
  right: 14px;
  top: 58%;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(234, 242, 255, .34);
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  white-space: nowrap;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 40px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 5.1vw, 4.55rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
  color: #fff;
  margin-bottom: 22px;
}

.hero__lead {
  font-size: clamp(.975rem, 1.35vw, 1.0625rem);
  color: var(--muted);
  max-width: 48ch;
  line-height: 1.75;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  transition: color .25s var(--ease);
}
.hero__scroll:hover { color: #fff; }
.hero__scroll-icon {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: #7cc4ff;
  animation: bob 2.4s ease-in-out infinite;
}
.hero__scroll-icon svg { width: 15px; height: 15px; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(5px); }
}

/* --- Visual: globo + chips --- */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: 620px;
  width: 100%;
  justify-self: end;
}
.hero__glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 123, 255, .34) 0%, transparent 65%);
  filter: blur(28px);
  animation: glow-pulse 6s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: .65; transform: scale(.96); }
  50%      { opacity: 1;   transform: scale(1.04); }
}

.globe {
  position: absolute;
  inset: 4%;
  display: grid;
  place-items: center;
  animation: float 9s ease-in-out infinite;
}
.globe svg { width: 100%; height: 100%; }

.globe__orbit {
  transform-origin: 300px 300px;
  animation: spin 30s linear infinite;
}
.globe__dots circle { animation: twinkle 3.6s ease-in-out infinite; }
.globe__dots circle:nth-child(2n) { animation-delay: 1.1s; }
.globe__dots circle:nth-child(3n) { animation-delay: 2.2s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes twinkle {
  0%, 100% { opacity: .35; }
  50%      { opacity: 1; }
}

.hero__chips { position: absolute; inset: 0; }

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 10px;
  border-radius: 12px;
  background: rgba(7, 19, 36, .74);
  border: 1px solid rgba(124, 170, 255, .26);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
  animation: chip-float 7s ease-in-out infinite;
}
.chip:nth-child(2) { animation-delay: -1.4s; }
.chip:nth-child(3) { animation-delay: -2.8s; }
.chip:nth-child(4) { animation-delay: -4.2s; }
.chip:nth-child(5) { animation-delay: -5.6s; }

.chip__icon {
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(47, 123, 255, .16);
  border: 1px solid rgba(47, 123, 255, .3);
  color: #7cc4ff;
  flex-shrink: 0;
}
.chip__icon svg { width: 17px; height: 17px; }

.chip__text { display: flex; flex-direction: column; line-height: 1.25; }
.chip__text strong { font-size: .75rem; font-weight: 600; color: #fff; }
.chip__text small { font-size: .625rem; color: var(--muted); letter-spacing: .02em; }

.chip--1 { top: 15%;  left: 1%; }
.chip--2 { top: 3%;   right: 3%; }
.chip--3 { top: 37%;  right: -2%; }
.chip--4 { top: 63%;  right: 4%; }
.chip--5 { top: 79%;  left: 3%; }

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  position: relative;
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-block: 30px;
}
.stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 24px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; padding-right: 0; }
.stat__icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(47, 123, 255, .12);
  border: 1px solid rgba(47, 123, 255, .25);
  color: #7cc4ff;
  flex-shrink: 0;
}
.stat__icon svg { width: 23px; height: 23px; }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.stat__num--text { font-size: 1.3rem; }
.stat__label {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ============================================================
   DIVISIONES
   ============================================================ */
.divisions { background: var(--bg); }

.divisions__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.division {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease),
              box-shadow .4s var(--ease);
}
.division:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .45),
              0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent),
              0 0 34px color-mix(in srgb, var(--accent) 16%, transparent);
}

.division__visual {
  position: relative;
  height: 152px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(10, 26, 46, .95), rgba(5, 11, 20, .9));
}
.division__visual img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .88;
  filter: saturate(.78) contrast(1.06);
  transform: scale(1.02);
  transition: transform .7s var(--ease), opacity .4s var(--ease);
}
.division:hover .division__visual img {
  transform: scale(1.1);
  opacity: 1;
}
.division__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 11, 20, .08) 0%, rgba(5, 11, 20, .34) 46%, rgba(5, 11, 20, .94) 100%),
    linear-gradient(125deg, color-mix(in srgb, var(--accent) 30%, transparent) 0%, transparent 62%);
}
.division__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(color-mix(in srgb, var(--accent) 12%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 12%, transparent) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(160deg, #000, transparent 70%);
  mask-image: linear-gradient(160deg, #000, transparent 70%);
  opacity: .55;
}
.division__num {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 3;
  font-family: var(--font-display);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--accent);
  background: rgba(5, 11, 20, .6);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  padding: 3px 8px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.division__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 22px;
}
.division__icon {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  color: var(--accent);
  margin-bottom: 14px;
}
.division__icon svg { width: 21px; height: 21px; }

.division h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #fff;
}
.division p {
  font-size: .8125rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
}
.division__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.division__link svg { width: 14px; height: 14px; }
.division__link:hover { gap: 11px; color: #fff; }

/* ============================================================
   BANDA GLOBAL
   ============================================================ */
.global {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #071426 0%, #08182e 60%, #050b14 100%);
  border-block: 1px solid var(--line);
}
.global__glow {
  position: absolute;
  top: 50%; left: 42%;
  width: 760px; height: 760px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, rgba(47,123,255,.20) 0%, transparent 62%),
    radial-gradient(circle at 60% 40%, rgba(34,211,238,.12) 0%, transparent 55%);
  filter: blur(10px);
  pointer-events: none;
}
.global__earth {
  position: absolute;
  inset: 0 0 0 34%;
  background: url("assets/earth.jpg") center 55% / cover no-repeat;
  opacity: .30;
  filter: saturate(.65) brightness(.9);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 82%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 82%, transparent 100%);
  pointer-events: none;
}
.global__globe {
  position: absolute;
  top: 52%; left: 50%;
  width: min(640px, 62vw);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  color: #7cc4ff;
  opacity: .22;
  pointer-events: none;
}
.global__globe svg { width: 100%; height: 100%; }
.global__globe-spin {
  transform-origin: 300px 300px;
  animation: spin 46s linear infinite;
}

.global__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.global__copy .section-lead { margin: 20px 0 30px; }

.global__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.global__feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line);
  font-size: .9375rem;
  font-weight: 500;
  color: #dbe7f8;
  transition: border-color .3s var(--ease), background .3s var(--ease),
              transform .3s var(--ease);
}
.global__feature:hover {
  border-color: var(--line-strong);
  background: rgba(47, 123, 255, .08);
  transform: translateX(5px);
}
.global__feature-icon {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(34, 211, 238, .10);
  border: 1px solid rgba(34, 211, 238, .22);
  color: var(--cyan);
  flex-shrink: 0;
}
.global__feature-icon svg { width: 19px; height: 19px; }

/* ============================================================
   POR QUÉ LEYAC (clara)
   ============================================================ */
.section--light {
  background: var(--light-bg);
  color: var(--light-text);
}
.section--light .section-lead { color: var(--light-muted); }

.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: stretch;
}
.why__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.why__card {
  background: var(--light-card);
  border: 1px solid var(--light-line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 2px 6px rgba(10, 23, 41, .04);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease);
}
.why__card:hover {
  transform: translateY(-4px);
  border-color: #c7dbfa;
  box-shadow: 0 14px 34px rgba(15, 45, 90, .10);
}
.why__icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #e8f1ff;
  color: #1f6feb;
  margin-bottom: 16px;
}
.why__icon svg { width: 22px; height: 22px; }
.why__card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--light-text);
}
.why__card p {
  font-size: .875rem;
  color: var(--light-muted);
  line-height: 1.65;
}

.why__cta {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(47, 123, 255, .34) 0%, transparent 60%),
    linear-gradient(165deg, #0b1e37 0%, #060f1d 100%);
  border: 1px solid rgba(124, 170, 255, .22);
  color: #fff;
  box-shadow: 0 20px 44px rgba(10, 30, 60, .22);
}
.why__cta::after {
  content: '';
  position: absolute;
  right: -70px; bottom: -70px;
  width: 210px; height: 210px;
  border: 1px solid rgba(34, 211, 238, .20);
  border-radius: 50%;
  pointer-events: none;
}
.why__cta-tag {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.why__cta h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
}
.why__cta p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 26px;
}
.why__cta .btn { margin-top: auto; }

/* ============================================================
   CLIENTES / MARQUEE
   ============================================================ */
.clients {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
  padding-block: 28px;
  overflow: hidden;
}
.clients__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.clients__label {
  flex-shrink: 0;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.marquee {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .16em;
  color: rgba(234, 242, 255, .32);
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.marquee__item:hover { color: #fff; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   PROCESO
   ============================================================ */
.process { background: var(--bg); }

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 24px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color .3s var(--ease), background .3s var(--ease),
              transform .3s var(--ease);
}
.step:hover {
  border-color: var(--line-strong);
  background: rgba(47, 123, 255, .06);
  transform: translateY(-4px);
}
.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #7cc4ff 0%, rgba(34, 211, 238, .25) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}
.step p {
  font-size: .84375rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testimonials {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.quote {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s var(--ease),
              box-shadow .35s var(--ease);
}
.quote:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}
.quote--featured {
  background: linear-gradient(160deg, rgba(47, 123, 255, .12), rgba(34, 211, 238, .03));
  border-color: rgba(91, 157, 255, .38);
}
.quote__stars {
  color: #7cc4ff;
  font-size: .9375rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.quote blockquote {
  font-size: .9375rem;
  line-height: 1.7;
  color: #d6e4f7;
  margin-bottom: 24px;
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.quote__avatar {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #04101f;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.quote figcaption strong {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: #fff;
}
.quote figcaption small {
  font-size: .6875rem;
  color: var(--muted-2);
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 82px);
  background: linear-gradient(120deg, #0a2a5c 0%, #0a1a35 45%, #071324 100%);
  border-block: 1px solid rgba(124, 170, 255, .22);
}
.cta__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(5, 16, 34, .97) 0%, rgba(6, 18, 40, .88) 42%, rgba(6, 18, 40, .55) 100%),
    linear-gradient(180deg, rgba(6, 18, 40, .25), rgba(5, 11, 20, .55)),
    url("assets/cta-city.jpg");
  background-size: cover;
  background-position: center 58%;
  filter: saturate(.6);
}
.cta__glow {
  position: absolute;
  top: -60%; right: -10%;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, .22) 0%, transparent 65%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.cta__copy { max-width: 560px; }
.cta__copy .eyebrow { margin-bottom: 12px; }
.cta__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: #fff;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contact { background: var(--bg); }

.contact__inner {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.contact__info .section-title { margin-bottom: 18px; }
.contact__info .section-lead { margin-bottom: 34px; }

.contact__channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}
.contact__channels li {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact__icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: #7cc4ff;
  flex-shrink: 0;
}
.contact__icon svg { width: 20px; height: 20px; }
.contact__channels strong {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: #fff;
}
.contact__channels a,
.contact__channels span span {
  font-size: .875rem;
  color: var(--muted);
  transition: color .25s var(--ease);
}
.contact__channels a:hover { color: var(--cyan); }

.contact__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(37, 211, 102, .08);
  border: 1px solid rgba(37, 211, 102, .28);
  font-size: .75rem;
  color: #7ef0a5;
}
.contact__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
  70%  { box-shadow: 0 0 0 9px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Formulario --- */
.form {
  position: relative;
  background: linear-gradient(180deg, rgba(12, 27, 48, .85), rgba(7, 16, 30, .9));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(24px, 3vw, 38px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.field label {
  font-size: .75rem;
  font-weight: 500;
  color: #b6c8de;
  letter-spacing: .02em;
}
.field label span { color: #7cc4ff; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(4, 10, 19, .7);
  border: 1px solid var(--line);
  color: #fff;
  font-size: .9rem;
  outline: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: #607890; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--line-strong); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  background: rgba(6, 14, 26, .95);
  box-shadow: 0 0 0 3px rgba(47, 123, 255, .16);
}
.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, .12);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237cc4ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.field select option,
.field select optgroup {
  background: #081324;
  color: #eaf2ff;
}
.field textarea { resize: vertical; min-height: 118px; }

.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form__legal {
  font-size: .6875rem;
  color: var(--muted-2);
  text-align: center;
  line-height: 1.6;
  margin-top: 14px;
}
.form__legal a {
  color: #7cc4ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__status {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: .8125rem;
  line-height: 1.5;
}
.form__status.is-success {
  display: block;
  background: rgba(37, 211, 102, .10);
  border: 1px solid rgba(37, 211, 102, .35);
  color: #8bf0ae;
}
.form__status.is-error {
  display: block;
  background: rgba(255, 107, 107, .10);
  border: 1px solid rgba(255, 107, 107, .35);
  color: #ffadad;
}

.btn__loader {
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn[aria-busy="true"] { pointer-events: none; opacity: .8; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-top: 60px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(36px, 6vw, 72px);
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}
.footer__brand p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 20px 0 24px;
  max-width: 320px;
}
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  transition: color .25s var(--ease), border-color .25s var(--ease),
              background .25s var(--ease), transform .25s var(--ease);
}
.footer__social a:hover {
  color: #fff;
  border-color: var(--line-strong);
  background: rgba(47, 123, 255, .14);
  transform: translateY(-2px);
}
.footer__social svg { width: 16px; height: 16px; }

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__col h4 {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer__col li { margin-bottom: 10px; }
.footer__col a {
  font-size: .84375rem;
  color: var(--muted);
  transition: color .25s var(--ease);
}
.footer__col a:hover { color: var(--cyan); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 22px;
}
.footer__bottom p { font-size: .75rem; color: var(--muted-2); }
.footer__legal { display: flex; gap: 22px; }
.footer__legal a {
  font-size: .75rem;
  color: var(--muted-2);
  transition: color .25s var(--ease);
}
.footer__legal a:hover { color: #7cc4ff; }

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.whatsapp-float {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 900;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #04220f;
  box-shadow: 0 12px 28px rgba(37, 211, 102, .34);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(37, 211, 102, .6);
  animation: ring 2.6s ease-out infinite;
  pointer-events: none;
}
.whatsapp-float:hover {
  transform: scale(1.07);
  box-shadow: 0 16px 34px rgba(37, 211, 102, .45);
}
.whatsapp-float svg { width: 28px; height: 28px; }
@keyframes ring {
  0%   { transform: scale(1); opacity: .8; }
  80%, 100% { transform: scale(1.6); opacity: 0; }
}

/* ============================================================
   ANIMACIONES DE ENTRADA
   ============================================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .nav__menu { gap: 18px; }
  .nav__link { font-size: .78rem; }
  .divisions__grid { grid-template-columns: repeat(3, 1fr); }
  .division:nth-child(4),
  .division:nth-child(5) { grid-column: span 1; }
}

@media (max-width: 1024px) {
  .nav__inner { gap: 20px; }
  .nav__menu { gap: 16px; }
  .nav__actions .btn--whatsapp { display: none; }

  .hero__inner { grid-template-columns: 1fr; gap: 8px; }
  .hero__copy { max-width: 640px; }
  .hero__visual {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
    justify-self: center;
  }
  .hero__title { font-size: clamp(2.6rem, 7vw, 3.8rem); }

  .why__grid { grid-template-columns: 1fr; }
  .why__cta { min-height: 250px; }

  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr 1fr; }
  .quote:last-child { grid-column: 1 / -1; }

  .contact__inner { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
  .nav__actions { margin-left: auto; }
  .nav__burger { display: flex; }
  .hero__side-label { display: none; }
  .nav__menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    margin: 0;
    padding: 26px 24px 32px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(5, 11, 20, .97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
  }
  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__link {
    font-size: .95rem;
    padding: 13px 4px;
    border-bottom: 1px solid rgba(124, 170, 255, .08);
    white-space: normal;
  }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--cyan); }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; }

  .nav__actions .btn--primary { display: none; }

  .hero__photo {
    width: 118%;
    right: -20%;
    opacity: .5;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 62% 38%, #000 20%, transparent 76%);
    mask-image: radial-gradient(ellipse 80% 70% at 62% 38%, #000 20%, transparent 76%);
  }

  .global__earth { inset: 0; opacity: .2; }
  .global__globe { width: 92vw; opacity: .13; }

  .stats__grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .stat { border-right: 0; padding-right: 0; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 16px; }

  .section-head--split {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }
  .section-head--split .section-lead { justify-self: start; }

  .divisions__grid { grid-template-columns: repeat(2, 1fr); }

  .global__inner { grid-template-columns: 1fr; gap: 36px; }
  .global__copy .section-lead { max-width: 62ch; }

  .clients__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .marquee { width: 100%; }

  .footer__top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .container { padding-inline: 20px; }

  .search { padding: 8vh 14px 14px; }
  .search__head { padding: 14px; }
  .search__head input { font-size: .9375rem; }

  .hero { padding-bottom: 54px; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { flex: 1 1 auto; }

  /* Chips en rejilla estática bajo el globo */
  .hero__visual { aspect-ratio: auto; max-width: none; padding-top: 10px; }
  .globe {
    position: relative;
    inset: auto;
    width: 340px; height: 340px;
    max-width: 88vw;
    margin: 0 auto;
    animation: none;
  }
  .hero__glow { inset: 6% 12%; }
  .hero__chips {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
    max-width: 560px;
    margin-inline: auto;
  }
  .chip {
    position: static;
    animation: none;
    white-space: normal;
    padding: 8px 12px 8px 8px;
  }
  .chip--5 { grid-column: 1 / -1; }
  .chip__text strong { font-size: .72rem; }
  .chip__text small { font-size: .6rem; }

  .testimonials__grid { grid-template-columns: 1fr; }
  .quote:last-child { grid-column: auto; }

  .cta__inner { flex-direction: column; align-items: flex-start; }
  .cta__actions { width: 100%; }
  .cta__actions .btn { flex: 1 1 auto; }

  .form__row { grid-template-columns: 1fr; gap: 0; }

  .footer__links { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .eyebrow { font-size: .625rem; letter-spacing: .18em; }
  .logo__tag { font-size: .42rem; letter-spacing: .16em; }

  .hero__inner { gap: 0; }
  .hero__title { font-size: clamp(2.35rem, 11vw, 3rem); }
  .hero__lead { font-size: .9375rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }

  .globe { width: 300px; height: 300px; }

  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; padding-right: 0 !important; }
  .stat__num { font-size: 1.45rem; }

  .divisions__grid { grid-template-columns: 1fr; }
  .division__visual { height: 150px; }

  .process__steps { grid-template-columns: 1fr; }
  .step__num { font-size: 1.9rem; margin-bottom: 12px; }

  .why__cards { grid-template-columns: 1fr; }
  .why__cta { min-height: 0; }

  .marquee__track { gap: 36px; animation-duration: 24s; }

  .footer__links { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; gap: 8px; }

  .whatsapp-float { right: 18px; bottom: 18px; width: 50px; height: 50px; }
}

/* ============================================================
   ACCESIBILIDAD / MOVIMIENTO REDUCIDO
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero__grid { animation: none; }
  .marquee__track { animation: none; }
}
