/* ==========================================================================
   G&G Automatización y Soluciones — hoja de estilos
   Dirección de arte: «Sala de control» — precisión de ingeniería, editorial y sobria.
   Paleta tomada del logotipo: azul eléctrico, lavanda y el rojo del «&»,
   sobre azules profundos y neutros fríos.
   ========================================================================== */

:root {
  --navy-950: #04081A;
  --navy-900: #081130;
  --navy-850: #0B1740;
  --navy-800: #101F52;
  --navy-700: #182B6B;
  --blue: #2742FF;
  --blue-ink: #1D34E6;
  --peri: #9CA8FF;
  --peri-soft: #C7CDFF;
  --red: #E3141B;
  --red-soft: #FF4A50;
  --paper: #EEF0F5;
  --paper-2: #E1E4EE;
  --white: #F8F9FC;
  --ink: #0A1030;
  --ink-2: #454E6B;
  --ink-3: #858DA6;
  --line: rgba(10, 16, 48, .12);
  --line-2: rgba(10, 16, 48, .22);
  --line-d: rgba(156, 168, 255, .14);
  --txt-d: #E8EBFA;
  --txt-d2: #A0A8CC;
  --danger: #FF7A82;

  --font-d: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-b: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-m: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --nav-h: 76px;
  --gut: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --accent: var(--blue-ink);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--peri); outline-offset: 3px; border-radius: 6px; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; left: 16px; top: -64px; z-index: 400;
  background: var(--blue); color: #fff;
  padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s;
}
.skip:focus { top: 16px; }

.container { width: min(var(--maxw), 100% - 2 * var(--gut)); margin-inline: auto; }
section { position: relative; scroll-margin-top: calc(var(--nav-h) - 1px); }
.section { padding-block: clamp(88px, 12vw, 168px); }
.section--dark { background: var(--navy-950); color: var(--txt-d); }
.section--dark, .hero, .card-sol, .footer, .menu, .contact { --accent: var(--peri); }

/* ------------------------------------------------------------ tipografía */
.hero__title, .h2 {
  font-family: var(--font-d);
  font-stretch: 112%;
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: .98;
  text-wrap: balance;
}
.h2 { font-size: clamp(36px, 5.3vw, 84px); }
.h2--xl { font-size: clamp(40px, 5.6vw, 92px); }
/* Palabras resaltadas: la misma letra de la web, inclinada como las «G» del logotipo */
.hero__title em, .h2 em {
  font-family: var(--font-d);
  font-style: italic;
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: -.04em;
  color: var(--accent);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-m); font-size: 12px; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before {
  content: ""; flex: none; width: 7px; height: 7px;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(227, 20, 27, .16);
}
.section--dark .eyebrow, .hero .eyebrow, .footer .eyebrow { color: var(--txt-d2); }
.section--dark .eyebrow::before, .hero .eyebrow::before { box-shadow: 0 0 12px rgba(255, 74, 80, .8); }
.eyebrow--pulse::before { border-radius: 50%; animation: pingRed 2.2s infinite; }

.live {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-m); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--peri);
}
.live i {
  flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--peri); animation: ping 2s infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(156, 168, 255, .6); }
  80%, 100% { box-shadow: 0 0 0 10px rgba(156, 168, 255, 0); }
}
@keyframes pingRed {
  0% { box-shadow: 0 0 0 0 rgba(255, 74, 80, .6); }
  80%, 100% { box-shadow: 0 0 0 10px rgba(255, 74, 80, 0); }
}

/* ---------------------------------------------------------------- botones */
.btn {
  --bg: var(--blue); --fg: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 58px; padding: 0 10px 0 26px; border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15px; letter-spacing: .005em; white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 14px 40px -14px rgba(39, 66, 255, .75);
  transition: transform .6s var(--ease), box-shadow .4s, color .4s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: #fff; transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.btn:hover, .btn:focus-visible { color: var(--navy-950); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn__ico {
  display: grid; place-items: center; flex: none;
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: var(--blue);
  transition: transform .6s var(--ease), background-color .4s, color .4s;
}
.btn:hover .btn__ico { transform: rotate(45deg); background: var(--blue); color: #fff; }
.btn--ghost {
  --bg: transparent; --fg: #fff;
  padding: 0 28px; box-shadow: none;
  border: 1px solid rgba(255, 255, 255, .22);
}
.btn--ghost::before { background: rgba(255, 255, 255, .08); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: #fff; }
.btn--sm { height: 46px; padding: 0 7px 0 20px; font-size: 14px; }
.btn--sm .btn__ico { width: 32px; height: 32px; }
.btn--block { width: 100%; justify-content: space-between; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 28px; font-weight: 600; font-size: 15px; color: var(--peri);
}
.link-arrow span { transition: transform .5s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------------------------------------------------------------- splash */
.splash { display: none; }
.js .splash {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(600px 400px at 50% 45%, rgba(39, 66, 255, .18), transparent 70%), var(--navy-950);
  color: #fff;
  clip-path: inset(0 0 0 0);
  /* Red de seguridad: se retira sola aunque el JS falle */
  animation: splashAuto .9s var(--ease-io) 3s forwards;
}
.js.no-splash .splash { display: none; }
.splash.is-done { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease-io); }
@keyframes splashAuto { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.splash__inner { width: min(440px, 78vw); display: flex; flex-direction: column; align-items: center; gap: 26px; }
.splash__logo {
  width: 128px; height: auto;
  filter: drop-shadow(0 0 34px rgba(39, 66, 255, .55));
  animation: splashLogo 1.4s var(--ease) both;
}
@keyframes splashLogo { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }
.splash__bar { position: relative; width: 100%; height: 1px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.splash__bar i {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--blue), var(--peri));
  transform-origin: 0 50%; transform: scaleX(0);
  box-shadow: 0 0 12px var(--blue);
}
.splash__meta {
  width: 100%; display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--font-m); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--txt-d2);
}
.splash__meta span:last-child { color: #fff; font-variant-numeric: tabular-nums; }

/* -------------------------------------------------------- barra progreso */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 150; pointer-events: none; }
.progress i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--peri) 80%, var(--red));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* -------------------------------------------------------------------- nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h); color: #fff;
  border-bottom: 1px solid transparent;
  transition: transform .6s var(--ease), background-color .4s, border-color .4s;
}
.nav.is-scrolled {
  background: rgba(4, 8, 26, .76);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-d);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__logo {
  flex: none; width: 54px; height: auto;
  filter: drop-shadow(0 0 14px rgba(39, 66, 255, .35));
  transition: transform .8s var(--ease);
}
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-d); font-stretch: 118%; font-weight: 700;
  font-size: 18px; letter-spacing: -.02em; color: #fff;
}
.brand__name em { font-style: normal; color: var(--red-soft); margin: 0 .02em; }
.brand__sub {
  margin-top: 4px;
  font-family: var(--font-m); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .66);
}

.nav__links { display: flex; gap: 4px; }
.nav__links a {
  position: relative; padding: 9px 15px; border-radius: 999px;
  font-size: 14.5px; color: rgba(255, 255, 255, .74);
  transition: color .3s, background-color .3s;
}
.nav__links a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav__links a.is-active { color: #fff; }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px;
  width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: var(--red-soft); box-shadow: 0 0 8px var(--red-soft);
}
.nav__cta { box-shadow: none; }

.nav__toggle {
  display: none; position: relative; flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22); background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav__toggle > span:not(.sr) {
  display: block; width: 18px; height: 1.5px; background: #fff;
  transition: transform .5s var(--ease);
}
.menu-open .nav__toggle > span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.menu-open .nav__toggle > span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

.menu { display: none; }

@media (max-width: 979px) {
  .brand__sub { display: none; }
  .js .nav__links, .js .nav__cta { display: none; }
  .js .nav__toggle { display: flex; }
  html:not(.js) .nav__links { display: none; }
  html:not(.js) .nav__cta { height: 42px; }

  .js .menu {
    position: fixed; inset: 0; z-index: 99;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: calc(var(--nav-h) + 28px) var(--gut) 40px;
    background:
      radial-gradient(600px 400px at 100% 0%, rgba(39, 66, 255, .22), transparent 70%),
      radial-gradient(500px 360px at 0% 100%, rgba(227, 20, 27, .10), transparent 70%),
      var(--navy-950);
    color: #fff;
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .8s var(--ease-io), visibility 0s .8s;
  }
  .js .menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .8s var(--ease-io), visibility 0s 0s; }
  .menu__links { display: flex; flex-direction: column; }
  .menu__links a {
    display: flex; align-items: baseline; gap: 16px;
    padding: 12px 0; border-bottom: 1px solid var(--line-d);
    font-family: var(--font-d); font-stretch: 112%; font-weight: 600;
    font-size: clamp(28px, 7.4vw, 46px); letter-spacing: -.03em; line-height: 1.1;
    transform: translateY(24px); opacity: 0;
    transition: transform .8s var(--ease), opacity .8s var(--ease);
  }
  .menu__links a span { font-family: var(--font-m); font-size: 12px; font-weight: 400; letter-spacing: .1em; color: var(--red-soft); }
  .menu.is-open .menu__links a { transform: none; opacity: 1; }
  .menu.is-open .menu__links a:nth-child(2) { transition-delay: .05s; }
  .menu.is-open .menu__links a:nth-child(3) { transition-delay: .1s; }
  .menu.is-open .menu__links a:nth-child(4) { transition-delay: .15s; }
  .menu.is-open .menu__links a:nth-child(5) { transition-delay: .2s; }
  .menu.is-open .menu__links a:nth-child(6) { transition-delay: .25s; }
  .menu.is-open .menu__links a:nth-child(7) { transition-delay: .3s; }
}

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  color: #fff;
  background:
    radial-gradient(1100px 680px at 80% 28%, rgba(39, 66, 255, .20), transparent 62%),
    radial-gradient(900px 620px at 0% 100%, rgba(227, 20, 27, .08), transparent 60%),
    var(--navy-950);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -3;
  background-image:
    linear-gradient(rgba(156, 168, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156, 168, 255, .06) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 72% 42%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 70% at 72% 42%, #000 25%, transparent 78%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 8, 26, .9) 0%, rgba(4, 8, 26, .55) 36%, rgba(4, 8, 26, 0) 66%),
    linear-gradient(0deg, rgba(4, 8, 26, .95) 0%, rgba(4, 8, 26, 0) 32%);
}
.hero__inner {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--nav-h) + 7vh); padding-bottom: 6vh;
}
.hero__title { font-size: clamp(38px, 5.9vw, 98px); margin-top: 30px; }
.hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 32px 48px; margin-top: clamp(32px, 4vw, 52px); }
.hero__lead { max-width: 48ch; color: var(--txt-d2); font-size: clamp(16.5px, 1.2vw, 19px); line-height: 1.6; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

@media (min-width: 1100px) {
  .hero__inner > * { max-width: calc(100% - 400px); }
}

/* Entrada del hero (después del splash) */
.js .hero [data-intro] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.2s var(--ease) var(--d, 0s);
}
.is-loaded .hero [data-intro], .reveal-all .hero [data-intro] { opacity: 1; transform: none; }

/* Panel HUD */
.hud {
  position: absolute; z-index: 3;
  right: max(var(--gut), calc((100% - var(--maxw)) / 2));
  bottom: 176px; width: 330px; padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16, 31, 82, .62), rgba(8, 17, 48, .5));
  border: 1px solid rgba(156, 168, 255, .18);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
  font-family: var(--font-m); font-size: 11.5px; color: var(--txt-d2);
}
.hud__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line-d); }
.hud__time { color: #fff; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.hud__chart { padding: 14px 0 10px; }
.hud__chart-top { display: flex; justify-content: space-between; margin-bottom: 8px; letter-spacing: .06em; }
.hud__chart-top b { color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
.hud__chart svg { width: 100%; height: 56px; }
.hud__line { fill: none; stroke: var(--peri); stroke-width: 1.5; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px rgba(39, 66, 255, .9)); }
.hud__rows li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 9px 0; border-top: 1px dashed rgba(156, 168, 255, .12);
}
.hud__rows b { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; color: #fff; }
.hud__rows b i { width: 6px; height: 6px; border-radius: 50%; background: #3BF0A5; box-shadow: 0 0 8px #3BF0A5; }
.hud__eq { display: flex; align-items: flex-end; gap: 3px; height: 22px; margin-top: 12px; }
.hud__eq i {
  flex: 1; height: 100%; border-radius: 1px;
  background: linear-gradient(to top, var(--blue), rgba(156, 168, 255, .2));
  transform-origin: 50% 100%; opacity: .85;
  animation: eq 1.6s ease-in-out infinite;
}
.hud__eq i:nth-child(2n) { animation-duration: 1.1s; }
.hud__eq i:nth-child(3n) { animation-duration: 1.9s; animation-delay: -.4s; }
.hud__eq i:nth-child(5n) { animation-delay: -.9s; }
.hud__eq i:nth-child(7n) { animation-duration: 1.3s; animation-delay: -.2s; background: linear-gradient(to top, var(--red), rgba(255, 74, 80, .15)); }
@keyframes eq { 0%, 100% { transform: scaleY(.22); } 50% { transform: scaleY(1); } }

@media (max-width: 1099px) { .hud { display: none; } }

/* Cifras */
.hero__stats { position: relative; z-index: 2; padding-bottom: 30px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .12); }
.stats > div {
  display: flex; flex-direction: column-reverse; gap: 8px;
  padding: 22px 24px 0; border-left: 1px solid rgba(255, 255, 255, .08);
}
.stats > div:first-child { padding-left: 0; border-left: 0; }
.stats dt { font-family: var(--font-m); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--txt-d2); }
.stats dd {
  font-family: var(--font-d); font-stretch: 112%; font-weight: 500;
  font-size: clamp(30px, 3.2vw, 48px); line-height: 1; letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}
.plus { color: var(--red-soft); }

/* ------------------------------------------------------------------ cinta */
.ribbon {
  overflow: hidden; background: var(--navy-950); color: #fff;
  border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d);
  padding: 22px 0;
}
.ribbon__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.ribbon__group { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.ribbon__item {
  font-family: var(--font-d); font-stretch: 125%; font-weight: 600;
  font-size: clamp(22px, 2.6vw, 38px); letter-spacing: -.02em; line-height: 1.1;
  text-transform: uppercase; white-space: nowrap;
}
.ribbon__item--o { color: transparent; -webkit-text-stroke: 1px rgba(199, 205, 255, .6); }
.ribbon__sep { flex: none; width: 10px; height: 10px; background: var(--red); transform: rotate(45deg); box-shadow: 0 0 14px rgba(255, 74, 80, .8); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------- encabezados sección */
.section-head {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  column-gap: clamp(24px, 5vw, 80px); row-gap: 28px;
  margin-bottom: clamp(56px, 7vw, 112px);
}
.section-head > .eyebrow { grid-column: 1; grid-row: 1; align-self: start; margin-top: .9em; }
.section-head > .h2, .section-head > .section-head__lead { grid-column: 2; }
.section-head__lead { max-width: 56ch; color: var(--ink-2); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; }
.section--dark .section-head__lead { color: var(--txt-d2); }

/* ------------------------------------------------------------ quiénes somos */
.manifesto { background: var(--paper); }
.manifesto__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(32px, 5vw, 80px); }
.manifesto__meta { display: flex; flex-direction: column; justify-content: flex-start; gap: 56px; }
.manifesto__meta .eyebrow { margin-top: .9em; }
.manifesto__text {
  font-family: var(--font-d); font-stretch: 106%; font-weight: 500;
  font-size: clamp(26px, 3.2vw, 50px); line-height: 1.13; letter-spacing: -.028em;
  text-wrap: pretty;
}
.manifesto__text strong { font-weight: inherit; color: var(--blue-ink); }
.mw { transition: color .5s var(--ease); }
.js .manifesto__text .mw { color: rgba(10, 16, 48, .15); }
.js .manifesto__text .mw.on { color: var(--ink); }
.js .manifesto__text strong .mw.on { color: var(--blue-ink); }

.badge { position: relative; width: 156px; height: 156px; display: grid; place-items: center; border-radius: 50%; overflow: hidden; }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.badge text { font-family: var(--font-m); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; fill: var(--ink-2); }
.badge__core {
  display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--line-2), 0 18px 40px -18px rgba(39, 66, 255, .5);
}
.badge__core img { width: 70px; height: auto; }
@keyframes spin { to { transform: rotate(360deg); } }

.manifesto__split {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 4vw, 72px); align-items: end;
  margin-top: clamp(56px, 7vw, 104px);
}
.manifesto__aside { padding-bottom: 8px; }
.manifesto__note {
  font-family: var(--font-d); font-weight: 500; font-stretch: 104%;
  font-size: clamp(19px, 1.6vw, 24px); line-height: 1.35; letter-spacing: -.018em; color: var(--ink);
}
.manifesto__note--sm { margin-top: 22px; font-weight: 400; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.6; letter-spacing: 0; color: var(--ink-2); }
.link-arrow--ink { color: var(--blue-ink); }

.mv {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(64px, 8vw, 112px); padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line-2);
}
.mv__text {
  margin-top: 18px;
  font-family: var(--font-d); font-weight: 400; font-stretch: 104%;
  font-size: clamp(21px, 1.9vw, 29px); line-height: 1.28; letter-spacing: -.02em;
  color: var(--ink); text-wrap: pretty;
}
.mv__text em { font-style: italic; font-weight: 600; color: var(--blue-ink); }

/* ---------------------------------------------------------- placeholders */
.ph {
  --pl: rgba(156, 168, 255, .16);
  --pg: rgba(156, 168, 255, .06);
  --pb: linear-gradient(140deg, #14245E 0%, #0A1437 100%);
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: var(--ratio, 16 / 10);
  margin: 0; border-radius: 16px;
  background: var(--pb); color: rgba(210, 216, 255, .82);
}
.ph::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to top right, transparent calc(50% - .6px), var(--pl) 50%, transparent calc(50% + .6px)),
    linear-gradient(to bottom right, transparent calc(50% - .6px), var(--pl) 50%, transparent calc(50% + .6px)),
    linear-gradient(var(--pg) 1px, transparent 1px),
    linear-gradient(90deg, var(--pg) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
}
.ph::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30%; z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(39, 66, 255, .16), transparent);
  transform: translateY(-100%);
  animation: scan 6s var(--ease-io) infinite;
}
@keyframes scan { to { transform: translateY(334%); } }
.ph__tag {
  position: absolute; top: 14px; left: 16px;
  font-family: var(--font-m); font-size: 10.5px; letter-spacing: .16em; opacity: .75;
}
.ph__label {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding: 14px 18px; border-radius: 10px;
  border: 1px dashed currentColor;
  background: rgba(4, 8, 26, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-family: var(--font-m); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.ph__label b { font-weight: 500; color: #fff; letter-spacing: .08em; }
.ph__label small { font-size: 10px; opacity: .65; }
.ph--light {
  --pl: rgba(10, 16, 48, .12);
  --pg: rgba(10, 16, 48, .05);
  --pb: linear-gradient(140deg, #E4E7F1 0%, #D2D7E6 100%);
  color: var(--ink-2);
}
.ph--light::after { background: linear-gradient(180deg, transparent, rgba(39, 66, 255, .10), transparent); }
.ph--light .ph__label { background: rgba(255, 255, 255, .62); }
.ph--light .ph__label b { color: var(--ink); }
/* Cuando se añada la foto real, basta con poner un <img> dentro del hueco */
.ph img, .ph video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
/* Hueco con foto: el barrido azul pasa por encima de la imagen y aparece una etiqueta */
.ph--photo { background: var(--navy-900); }
.ph--photo::before { display: none; }
.ph--photo::after { z-index: 2; opacity: .8; mix-blend-mode: screen; pointer-events: none; }
.ph--photo img { transform: scale(1.001); transition: transform 1.4s var(--ease); }
.ph--photo:hover img { transform: scale(1.045); }
.ph__cap {
  position: absolute; left: 14px; bottom: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 11px; border-radius: 8px;
  background: rgba(4, 8, 26, .62); border: 1px solid rgba(156, 168, 255, .22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-family: var(--font-m); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #fff;
}
.ph__cap::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red-soft); box-shadow: 0 0 0 3px rgba(255, 74, 80, .22); }

/* -------------------------------------------------------------- soluciones */
.solutions { background: var(--paper); padding-top: clamp(24px, 4vw, 56px); }

/* Barra de pestañas */
.sol__nav {
  position: relative; display: flex; gap: 6px;
  margin-bottom: 18px; padding: 6px; border-radius: 22px;
  background: rgba(255, 255, 255, .78); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 24px 50px -34px rgba(10, 16, 48, .45);
  overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
}
.sol__nav::-webkit-scrollbar { display: none; }
.sol__tab {
  position: relative; z-index: 1; flex: 1 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 18px; border-radius: 16px; overflow: hidden;
  font-weight: 600; font-size: 14.5px; letter-spacing: -.005em; white-space: nowrap;
  color: var(--ink-2);
  transition: color .45s var(--ease), background-color .3s;
}
.sol__tab:hover { color: var(--ink); background: rgba(39, 66, 255, .06); }
.sol__tab-n { font-family: var(--font-m); font-size: 11px; font-weight: 400; letter-spacing: .08em; color: var(--red); transition: color .45s; }
.sol__tab-ico { flex: none; width: 22px; height: 22px; color: var(--blue-ink); transition: color .45s, transform .6s var(--ease); }
.sol__tab-prog {
  position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--peri), var(--red-soft));
  transform-origin: 0 50%; transform: scaleX(0); opacity: 0;
}
.sol__ind {
  position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0;
  border-radius: 16px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(39, 66, 255, .45), transparent 60%),
    linear-gradient(135deg, var(--navy-800), var(--navy-950));
  box-shadow: 0 14px 30px -14px rgba(39, 66, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .08);
  pointer-events: none;
}
.sol__nav.is-ready .sol__ind { transition: transform .7s var(--ease), width .7s var(--ease); }
.sol.is-tabs .sol__tab.is-active { color: #fff; background: transparent; }
.sol.is-tabs .sol__tab.is-active .sol__tab-n { color: var(--red-soft); }
.sol.is-tabs .sol__tab.is-active .sol__tab-ico { color: var(--peri); transform: rotate(-8deg) scale(1.08); }
.sol__tab.is-running .sol__tab-prog { opacity: .9; animation: solProg var(--sol-dur, 8s) linear forwards; }
@keyframes solProg { to { transform: scaleX(1); } }

/* Paneles: sin JS se ven todos seguidos; con JS se apilan y cambian con transición */
.sol__panels { display: flex; flex-direction: column; gap: 24px; }
.sol.is-tabs .sol__panels { display: grid; gap: 0; }
.sol.is-tabs .card-sol {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden; transform: translateY(26px) scale(.985);
  transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s .7s;
}
.sol.is-tabs .card-sol.is-active {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .7s var(--ease) .1s, transform .9s var(--ease) .1s, visibility 0s;
}
@keyframes solRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes solPop { from { opacity: 0; transform: translateY(10px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes solWipe { from { clip-path: inset(0 0 0 100% round 16px); } to { clip-path: inset(0 0 0 0 round 16px); } }
@keyframes solIco { from { opacity: 0; transform: rotate(-30deg) scale(.6); } to { opacity: 1; transform: none; } }
.sol.is-tabs .card-sol.is-active .card-sol__ico { animation: solIco .9s var(--ease) .15s both; }
.sol.is-tabs .card-sol.is-active h3 { animation: solRise .9s var(--ease) .2s both; }
.sol.is-tabs .card-sol.is-active .card-sol__text > p:not(.card-sol__brands):not(.card-sol__note) { animation: solRise .9s var(--ease) .3s both; }
.sol.is-tabs .card-sol.is-active .chips li { animation: solPop .6s var(--ease) both; animation-delay: calc(.38s + var(--k, 0) * .05s); }
.chips li:nth-child(2) { --k: 1; } .chips li:nth-child(3) { --k: 2; } .chips li:nth-child(4) { --k: 3; }
.chips li:nth-child(5) { --k: 4; } .chips li:nth-child(6) { --k: 5; } .chips li:nth-child(7) { --k: 6; }
.sol.is-tabs .card-sol.is-active .card-sol__note,
.sol.is-tabs .card-sol.is-active .card-sol__brands { animation: solRise .8s var(--ease) .6s both; }
.sol.is-tabs .card-sol.is-active .link-arrow { animation: solRise .8s var(--ease) .7s both; }
.sol.is-tabs .card-sol.is-active .ph { animation: solWipe 1.1s var(--ease-io) .12s both; }
.sol.is-tabs .card-sol.is-active .card-sol__head { animation: solRise .7s var(--ease) .05s both; }

.card-sol {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: 26px; border: 1px solid rgba(156, 168, 255, .12);
  background: radial-gradient(700px 360px at 0% 0%, rgba(39, 66, 255, .16), transparent 70%), var(--navy-900);
  color: var(--txt-d);
  box-shadow: 0 40px 80px -46px rgba(4, 8, 26, .7);
}
.card-sol:nth-child(even) { background: radial-gradient(700px 360px at 100% 0%, rgba(39, 66, 255, .2), transparent 70%), var(--navy-850); }
/* Brillo que recorre el borde superior de la tarjeta activa */
.card-sol::before {
  content: ""; position: absolute; top: 0; left: 0; width: 40%; height: 1px; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--peri), var(--red-soft), transparent);
  transform: translateX(-100%); opacity: 0;
}
.sol.is-tabs .card-sol.is-active::before { opacity: 1; animation: edgeRun 4.5s var(--ease-io) .4s infinite; }
@keyframes edgeRun { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(260%); } }
.card-sol__head {
  display: flex; align-items: center; gap: 16px;
  padding: 18px clamp(22px, 3vw, 34px); border-bottom: 1px solid var(--line-d);
  font-family: var(--font-m); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--txt-d2);
}
.card-sol__num { color: var(--red-soft); }
.card-sol__count { margin-left: auto; }
.card-sol__body {
  flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px); padding: clamp(24px, 3.2vw, 44px);
}
.card-sol__text { display: flex; flex-direction: column; align-items: flex-start; }
.card-sol__ico { width: 48px; height: 48px; color: var(--peri); margin-bottom: 22px; }
.card-sol h3 {
  font-family: var(--font-d); font-stretch: 112%; font-weight: 600;
  font-size: clamp(26px, 2.7vw, 42px); line-height: 1.03; letter-spacing: -.032em;
  color: #fff; text-wrap: balance;
}
.card-sol p { margin-top: 16px; max-width: 50ch; color: var(--txt-d2); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.chips li {
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(156, 168, 255, .2); background: rgba(156, 168, 255, .05);
  font-size: 12.8px; color: #D6DBFF;
  transition: border-color .3s, background-color .3s, color .3s;
}
.chips li:hover { border-color: var(--peri); color: #fff; background: rgba(39, 66, 255, .18); }
.card-sol .card-sol__note {
  margin-top: 18px; padding: 12px 14px; border-radius: 12px;
  background: rgba(39, 66, 255, .14); border: 1px solid rgba(156, 168, 255, .18);
  font-size: 14px; color: var(--txt-d);
}
.card-sol__note strong { color: #fff; font-weight: 600; }
.card-sol .card-sol__brands {
  margin-top: 20px; font-size: 13.5px; color: var(--txt-d);
}
.card-sol__brands span {
  display: block; margin-bottom: 4px;
  font-family: var(--font-m); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--peri);
}
.card-sol .ph { aspect-ratio: auto; min-height: 320px; height: 100%; }

/* ---------------------------------------------------------------- bento */
.why { overflow: hidden; }
.why::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(39, 66, 255, .18), transparent 65%),
    radial-gradient(700px 400px at 0% 100%, rgba(227, 20, 27, .06), transparent 65%);
}
.bento {
  position: relative;
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "exp exp sup"
    "exp exp cert"
    "ali one sca";
}
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 250px; padding: clamp(24px, 2.6vw, 36px);
  border-radius: 22px; border: 1px solid var(--line-d);
  background: linear-gradient(180deg, rgba(16, 31, 82, .6), rgba(8, 17, 48, .35));
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(39, 66, 255, .22), transparent 60%);
  opacity: 0; transition: opacity .5s;
}
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit; padding: 1px;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(156, 168, 255, .85), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0; transition: opacity .5s;
}
.tile:hover::before, .tile:hover::after { opacity: 1; }
.tile h3 {
  font-family: var(--font-d); font-stretch: 108%; font-weight: 600;
  font-size: clamp(20px, 1.7vw, 26px); line-height: 1.12; letter-spacing: -.02em; color: #fff;
}
.tile--exp h3, .tile--sup h3 { margin-top: auto; }
.tile p:not(.eyebrow) { margin-top: 12px; color: var(--txt-d2); font-size: 15.5px; }
.tile__ico { width: 44px; height: 44px; color: var(--peri); margin-bottom: 30px; }
.tile--exp { grid-area: exp; min-height: 520px; }
.tile--sup { grid-area: sup; }
.tile--cert { grid-area: cert; }
.tile--ali { grid-area: ali; }
.tile--one { grid-area: one; }
.tile--sca { grid-area: sca; }
.tile__big {
  margin: 24px 0 8px;
  font-family: var(--font-d); font-stretch: 125%; font-weight: 600;
  font-size: clamp(120px, 15vw, 236px); line-height: .82; letter-spacing: -.06em;
  color: #fff; font-variant-numeric: tabular-nums;
}
.tile--exp h3 { font-size: clamp(22px, 2vw, 30px); }
.tile--exp p { max-width: 54ch; }
.yline {
  position: relative; display: flex; justify-content: space-between;
  margin-top: 34px; padding-top: 14px;
  font-family: var(--font-m); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--txt-d2);
}
.yline::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--peri) 70%, rgba(156, 168, 255, .15));
}
.yline::after {
  content: ""; position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--red-soft); box-shadow: 0 0 12px var(--red-soft);
  animation: travel 6s var(--ease-io) infinite alternate;
}
@keyframes travel { to { left: calc(100% - 7px); } }
.tile__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.clock { font-family: var(--font-m); font-size: 11.5px; letter-spacing: .08em; color: var(--txt-d2); }
.clock b { color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
.tile__mega {
  margin: 26px 0 18px;
  font-family: var(--font-d); font-stretch: 125%; font-weight: 600;
  font-size: clamp(60px, 6vw, 96px); line-height: .9; letter-spacing: -.05em; color: #fff;
}
.tile__mega span { color: var(--red-soft); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.tags span {
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(156, 168, 255, .26);
  font-size: 12.5px; color: #D6DBFF;
}

/* ---------------------------------------------------------- marcas aliadas */
.partners { background: var(--white); overflow: hidden; }
.logo-row {
  overflow: hidden; padding-block: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logo-row + .logo-row { margin-top: 10px; }
.logo-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.logo-row--rev .logo-track { animation-direction: reverse; animation-duration: 76s; }
.logo-row:hover .logo-track { animation-play-state: paused; }
.logo-group { display: flex; gap: 14px; padding-right: 14px; }
.logo-tile {
  display: grid; place-items: center; flex: none;
  width: 196px; height: 100px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 14px 30px -24px rgba(10, 16, 48, .35);
  transition: border-color .4s, box-shadow .4s, transform .5s var(--ease);
}
.logo-tile img {
  width: auto; height: auto; max-width: 132px; max-height: 46px; object-fit: contain;
  filter: grayscale(1) contrast(1.05); opacity: .62;
  transition: filter .4s, opacity .4s, transform .5s var(--ease);
}
.logo-tile:hover { border-color: rgba(39, 66, 255, .35); box-shadow: 0 18px 40px -24px rgba(39, 66, 255, .5); transform: translateY(-3px); }
.logo-tile:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.logo-tile img[src*="hikvision"] { max-width: 156px; }
@media (hover: none) { .logo-tile img { filter: none; opacity: 1; } }
.partners__more {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px;
  margin-top: 36px; font-family: var(--font-d); font-stretch: 108%; font-weight: 500;
  font-size: clamp(17px, 1.4vw, 20px); color: var(--ink);
}
.partners__more span {
  font-family: var(--font-m); font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}

/* ---------------------------------------------------------------- proceso */
.process { background: var(--paper); }
.steps { position: relative; }
.steps__line { position: absolute; top: 10px; left: 0; right: 0; height: 2px; background: var(--line); }
.steps__line i {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--blue), var(--peri) 75%, var(--red));
  transform-origin: 0 50%; transform: scaleX(var(--p, 1));
}
.steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.step { position: relative; padding-top: 54px; }
.step::before {
  content: ""; position: absolute; top: 3px; left: 0;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--line-2);
  transition: background-color .5s, border-color .5s, box-shadow .5s;
}
.step.is-on::before { background: var(--blue); border-color: var(--blue-ink); box-shadow: 0 0 0 6px rgba(39, 66, 255, .16); }
.step::after {
  content: ""; position: absolute; top: 3px; left: 0; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--blue); opacity: 0; pointer-events: none;
}
.step.is-on::after { animation: stepRing 2.6s var(--ease) infinite; }
@keyframes stepRing { from { transform: scale(1); opacity: .7; } to { transform: scale(2.8); opacity: 0; } }
.step__num { font-family: var(--font-m); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.step h3 {
  margin-top: 14px;
  font-family: var(--font-d); font-stretch: 110%; font-weight: 600;
  font-size: clamp(22px, 1.9vw, 28px); line-height: 1.1; letter-spacing: -.025em;
}
.step p { margin-top: 12px; color: var(--ink-2); max-width: 32ch; }

/* ---------------------------------------------------------------- clientes */
.clients { overflow: hidden; }
.clients::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 520px at 100% 0%, rgba(39, 66, 255, .16), transparent 65%);
}
/* Categorías desplegables: sin JS se ven todas abiertas; con JS se abre la que señalas */
.acc { position: relative; border-top: 1px solid rgba(156, 168, 255, .3); }
.acc__item { position: relative; isolation: isolate; border-bottom: 1px solid var(--line-d); }
.acc__item::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(39, 66, 255, .16), rgba(39, 66, 255, .04) 55%, transparent 80%);
  opacity: 0; transition: opacity .6s var(--ease);
}
.acc__item::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; pointer-events: none;
  background: linear-gradient(90deg, var(--peri), var(--red-soft) 60%, transparent);
  transform-origin: 0 50%; transform: scaleX(0); transition: transform .9s var(--ease);
}
.acc__head {
  width: 100%; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto auto; align-items: center;
  gap: clamp(14px, 2.4vw, 32px); padding: clamp(18px, 2.2vw, 28px) clamp(4px, 1vw, 12px);
  border: 0; background: none; color: #fff; text-align: left; cursor: pointer;
}
.acc__n { font-family: var(--font-m); font-size: 12px; letter-spacing: .1em; color: var(--red-soft); }
.acc__t {
  font-family: var(--font-d); font-stretch: 112%; font-weight: 600;
  font-size: clamp(30px, 4.4vw, 68px); line-height: 1; letter-spacing: -.04em;
  transition: transform .7s var(--ease), color .4s;
}
.acc__count {
  font-family: var(--font-m); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--txt-d2);
  transition: color .4s;
}
.acc__ico {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(156, 168, 255, .3);
  transition: background-color .4s, border-color .4s, transform .7s var(--ease);
}
.acc__ico::before, .acc__ico::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px;
  background: #fff; transition: transform .6s var(--ease);
}
.acc__ico::after { transform: rotate(90deg); }
.acc__body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .75s var(--ease); }
.acc__inner { min-height: 0; overflow: hidden; }
.acc__desc { padding: 0 0 18px calc(52px + clamp(14px, 2.4vw, 32px) + clamp(4px, 1vw, 12px)); color: var(--txt-d2); font-size: 15.5px; }
.acc__list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px;
  padding: 0 clamp(4px, 1vw, 12px) clamp(26px, 3vw, 38px) calc(52px + clamp(14px, 2.4vw, 32px) + clamp(4px, 1vw, 12px));
}
.acc__list li {
  display: flex; align-items: center; gap: 12px; min-height: 64px;
  padding: 14px 18px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(16, 31, 82, .7), rgba(8, 17, 48, .55));
  border: 1px solid var(--line-d);
  font-family: var(--font-d); font-stretch: 104%; font-weight: 500; font-size: 16.5px; line-height: 1.25; letter-spacing: -.01em; color: #fff;
  transition: border-color .3s, transform .5s var(--ease), background-color .3s;
}
.acc__list li::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: var(--red-soft); box-shadow: 0 0 10px rgba(255, 74, 80, .8);
}
.acc__list li:hover { border-color: rgba(156, 168, 255, .5); transform: translateY(-3px); }

.acc.is-acc .acc__item:not(.is-open) .acc__body { grid-template-rows: 0fr; }
.acc.is-acc .acc__item:not(.is-open) .acc__list li { opacity: 0; }
.acc.is-acc .acc__item:not(.is-open) .acc__desc { opacity: 0; transition: opacity .3s; }
.acc__item.is-open::before { opacity: 1; }
.acc__item.is-open::after { transform: scaleX(1); }
.acc__item.is-open .acc__t { color: var(--peri-soft); transform: translateX(10px); }
.acc__item.is-open .acc__count { color: #fff; }
.acc__item.is-open .acc__ico { background: var(--blue); border-color: var(--blue); transform: rotate(180deg); }
.acc__item.is-open .acc__ico::after { transform: rotate(0deg); }
.acc__head:hover .acc__t { color: var(--peri-soft); }
@keyframes accIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.acc.is-acc .acc__item.is-open .acc__desc { animation: accIn .6s var(--ease) .1s both; }
.acc.is-acc .acc__item.is-open .acc__list li { animation: accIn .65s var(--ease) both; animation-delay: calc(.16s + var(--k, 0) * .07s); }
.acc__list li:nth-child(2) { --k: 1; } .acc__list li:nth-child(3) { --k: 2; } .acc__list li:nth-child(4) { --k: 3; } .acc__list li:nth-child(5) { --k: 4; }

/* ---------------------------------------------------------------- empleo */
.jobs { background: var(--white); overflow: hidden; }
.jobs__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.jobs__intro .h2 { margin-top: 28px; font-size: clamp(36px, 4.6vw, 72px); }
.jobs__lead { margin-top: 26px; max-width: 48ch; color: var(--ink-2); font-size: clamp(17px, 1.3vw, 19px); }
.perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.perk {
  padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 18px 40px -30px rgba(10, 16, 48, .35);
  transition: border-color .4s, box-shadow .4s, transform .5s var(--ease);
}
.perk:hover { border-color: rgba(39, 66, 255, .35); box-shadow: 0 24px 50px -28px rgba(39, 66, 255, .45); transform: translateY(-4px); }
.perk svg { width: 38px; height: 38px; color: var(--blue-ink); margin-bottom: 16px; transition: transform .6s var(--ease); }
.perk:hover svg { transform: rotate(-8deg) scale(1.08); }
.perk h3 { font-family: var(--font-d); font-stretch: 108%; font-weight: 600; font-size: 18.5px; line-height: 1.15; letter-spacing: -.02em; }
.perk p { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.jobs__direct { margin-top: 34px; border-top: 1px solid var(--line); }
.jobs__direct li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.jobs__direct span { font-family: var(--font-m); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.jobs__direct a { font-weight: 600; font-size: 17px; color: var(--ink); overflow-wrap: anywhere; transition: color .3s; }
.jobs__direct a:hover { color: var(--blue-ink); }
.form.jobs__form {
  position: sticky; top: calc(var(--nav-h) + 20px); --accent: var(--peri);
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(39, 66, 255, .28), transparent 65%),
    radial-gradient(420px 300px at 0% 100%, rgba(227, 20, 27, .10), transparent 65%),
    var(--navy-900);
  box-shadow: 0 50px 90px -40px rgba(10, 16, 48, .6);
}
.jobs__form .field select { font-size: 15px; }
.jobs__form-title {
  margin-bottom: 18px; font-family: var(--font-m); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--peri);
  display: flex; align-items: center; gap: 10px;
}
.jobs__form-title::before { content: ""; width: 7px; height: 7px; background: var(--red-soft); box-shadow: 0 0 10px rgba(255, 74, 80, .8); }
.jobs__send { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.jobs__send .btn--ghost { justify-content: center; }
.btn--wa { --bg: #1FAF5A; box-shadow: 0 14px 40px -14px rgba(31, 175, 90, .7); }
.btn--wa .btn__ico { color: #1FAF5A; }
.btn--wa:hover .btn__ico { background: #1FAF5A; color: #fff; }
.jobs__hint { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--txt-d2); }

/* -------------------------------------------------------------- compromiso */
.letter { background: var(--paper); }
.letter__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(32px, 5vw, 80px); }
.letter__meta { display: flex; flex-direction: column; gap: 44px; }
.letter__meta .eyebrow { margin-top: .9em; }
.letter__logo { width: 140px; height: auto; filter: drop-shadow(0 18px 30px rgba(39, 66, 255, .25)); }
.letter__quote p {
  font-family: var(--font-d); font-weight: 500; font-stretch: 106%;
  font-size: clamp(27px, 3.1vw, 48px); line-height: 1.12; letter-spacing: -.03em;
  color: var(--ink); text-wrap: pretty;
}
.letter__quote em { font-style: italic; font-weight: 600; color: var(--blue-ink); }
.letter__text {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px;
  margin-top: clamp(32px, 4vw, 48px); max-width: 900px; color: var(--ink-2);
}
.letter__sign {
  display: flex; align-items: center; gap: 22px;
  margin-top: clamp(36px, 4vw, 56px); padding-top: 28px; border-top: 1px solid var(--line-2);
}
.letter__sign strong { display: block; font-size: 18px; font-weight: 600; }
.letter__sign span { font-family: var(--font-m); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }

/* ----------------------------------------------------------------- contacto */
.contact { overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(800px 520px at 0% 0%, rgba(39, 66, 255, .16), transparent 62%),
    radial-gradient(800px 600px at 100% 100%, rgba(227, 20, 27, .08), transparent 62%);
}
.contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__intro .h2 { margin-top: 28px; }
.contact__lead { margin-top: 28px; max-width: 44ch; color: var(--txt-d2); font-size: clamp(17px, 1.3vw, 19px); }
.contact__list { margin-top: 48px; border-top: 1px solid var(--line-d); }
.contact__list li {
  display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line-d);
}
.contact__list li > span { font-family: var(--font-m); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--txt-d2); }
.contact__list a, .contact__list p { color: #fff; font-size: 17px; overflow-wrap: anywhere; }
.contact__list a { transition: color .3s; }
.contact__list a:hover { color: var(--peri); }

.form {
  position: relative;
  padding: clamp(22px, 3vw, 44px); border-radius: 26px;
  background: linear-gradient(180deg, rgba(16, 31, 82, .62), rgba(8, 17, 48, .5));
  border: 1px solid var(--line-d);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .7);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; margin-bottom: 14px; }
.field input, .field select, .field textarea {
  width: 100%; height: 62px; padding: 24px 16px 8px;
  border-radius: 12px; border: 1px solid rgba(156, 168, 255, .16);
  background: rgba(4, 8, 26, .55); color: #fff; font-size: 16px;
  -webkit-appearance: none; appearance: none; outline: none;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field textarea { height: 150px; padding-top: 30px; resize: vertical; line-height: 1.5; }
.field select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239CA8FF' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.field select option { background: var(--navy-900); color: #fff; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(156, 168, 255, .32); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--peri); background-color: rgba(4, 8, 26, .75);
  box-shadow: 0 0 0 4px rgba(39, 66, 255, .22);
}
.field label {
  position: absolute; left: 17px; top: 20px; pointer-events: none;
  font-size: 15px; color: var(--txt-d2); transform-origin: 0 0;
  transition: transform .35s var(--ease), color .3s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label { transform: translateY(-11px) scale(.78); color: var(--peri); }
.check {
  display: flex; align-items: flex-start; gap: 12px; margin: 6px 0 22px;
  font-size: 14px; line-height: 1.5; color: var(--txt-d2); cursor: pointer;
}
.check input {
  -webkit-appearance: none; appearance: none; flex: none;
  display: grid; place-items: center; width: 20px; height: 20px; margin: 1px 0 0;
  border-radius: 6px; border: 1px solid rgba(156, 168, 255, .38); background: rgba(4, 8, 26, .55);
  cursor: pointer; transition: background-color .2s, border-color .2s;
}
.check input:checked { background: var(--blue); border-color: var(--blue); }
.check input:checked::after {
  content: ""; width: 10px; height: 5px; margin-top: -2px;
  border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg);
}
.check a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.was-validated .field input:invalid, .was-validated .field textarea:invalid,
.was-validated .check input:invalid { border-color: var(--danger); }
.form__status { min-height: 1.5em; margin-top: 14px; font-size: 14px; color: var(--peri); }
.form__status.is-error { color: var(--danger); }

/* ------------------------------------------------------------------- pie */
.footer {
  position: relative; overflow: hidden;
  background: var(--navy-950); color: var(--txt-d2);
  padding-top: clamp(72px, 9vw, 120px);
  border-top: 1px solid var(--line-d);
}
.footer__top { display: grid; grid-template-columns: 2fr 1.2fr 1fr 1.3fr; gap: 40px; }
.footer .brand { color: #fff; margin-bottom: 22px; }
.footer__brand p { max-width: 40ch; }
.footer h4 {
  margin-bottom: 18px;
  font-family: var(--font-m); font-size: 11px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: #fff;
}
.footer ul li { margin-bottom: 10px; font-size: 15px; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--peri); }
.footer__word {
  margin-top: clamp(56px, 8vw, 120px);
  font-family: var(--font-d); font-stretch: 125%; font-weight: 700;
  font-size: clamp(120px, 29vw, 470px); line-height: .78; letter-spacing: -.06em;
  text-align: center; white-space: nowrap; user-select: none;
  color: transparent;
  -webkit-text-stroke: 1px rgba(156, 168, 255, .24);
  background-image: linear-gradient(0deg, var(--blue) 0%, var(--peri) var(--f, 0%), transparent var(--f, 0%));
  -webkit-background-clip: text; background-clip: text;
  transform: translateY(8%);
}
.footer__word span {
  -webkit-text-stroke-color: rgba(255, 74, 80, .35);
  background-image: linear-gradient(0deg, var(--red) 0%, var(--red-soft) var(--f, 0%), transparent var(--f, 0%));
  -webkit-background-clip: text; background-clip: text;
}
.footer__bottom {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
  padding-block: 26px; border-top: 1px solid var(--line-d); font-size: 13.5px;
}
.footer__bottom p { margin-right: auto; }
.totop { color: #fff; }

/* ------------------------------------------------------- detalles de fondo */
/* Textura de grano fina sobre toda la página */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 460; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.manifesto, .solutions, .partners, .process, .letter { overflow: hidden; }
.section > .container, .partners .logo-row { position: relative; z-index: 1; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.fx { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.fx--grid::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--gl) 1px, transparent 1px), linear-gradient(90deg, var(--gl) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 10%, transparent 75%);
}
.fx--light { --gl: rgba(39, 66, 255, .055); }
.fx--dots::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(156, 168, 255, .22) 1px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 5%, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 5%, transparent 70%);
  animation: dotsDrift 40s linear infinite;
}
@keyframes dotsDrift { to { background-position: 26px 52px; } }
.fx__blob {
  position: absolute; width: min(60vw, 760px); aspect-ratio: 1; border-radius: 50%;
  animation: drift 24s ease-in-out infinite alternate;
}
.fx__blob--a { top: -22%; right: -12%; background: radial-gradient(circle, rgba(39, 66, 255, .14), transparent 62%); }
.fx__blob--b { bottom: -26%; left: -14%; background: radial-gradient(circle, rgba(227, 20, 27, .07), transparent 62%); animation-duration: 30s; animation-delay: -9s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-7%, 9%) scale(1.12); }
  100% { transform: translate(6%, -5%) scale(.94); }
}
/* Luz que sigue al ratón en las secciones oscuras */
.fx__spot {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s;
  background: radial-gradient(560px circle at var(--sx, 50%) var(--sy, 0%), rgba(39, 66, 255, .16), transparent 62%);
}
.is-lit .fx__spot { opacity: 1; }

/* Pistas de circuito con pulsos de datos */
.traces { position: absolute; width: min(640px, 70vw); height: auto; }
.traces path { stroke-linecap: round; stroke-linejoin: round; }
.traces__base path { stroke: rgba(39, 66, 255, .14); stroke-width: 1.2; }
.traces__flow path {
  stroke: var(--blue); stroke-width: 1.8;
  stroke-dasharray: 38 1400; stroke-dashoffset: 1438;
  animation: flow 7s linear infinite;
}
.traces__flow path:nth-child(2) { stroke: var(--red); animation-duration: 8.5s; animation-delay: -2.4s; }
.traces__flow path:nth-child(3) { animation-duration: 9.5s; animation-delay: -5s; }
.traces__flow path:nth-child(4) { stroke: var(--peri); animation-duration: 5.5s; animation-delay: -1.2s; }
@keyframes flow { to { stroke-dashoffset: 0; } }
.traces__pads circle { fill: var(--paper); stroke: rgba(39, 66, 255, .4); stroke-width: 1.2; }
.traces--sol { top: -10px; right: -80px; opacity: .9; }
.traces--proc { bottom: -40px; left: -90px; transform: scaleX(-1); opacity: .8; }
.traces--letter { bottom: -30px; right: -60px; opacity: .7; }

/* Órbitas y barrido del hero */
.hero__orbits {
  position: absolute; z-index: -2; top: 50%; right: -14vw;
  width: min(96vh, 920px); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none;
}
.hero__orbits i { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(156, 168, 255, .16); animation: spin 100s linear infinite; }
.hero__orbits i:nth-child(2) { inset: 15%; border-style: solid; border-color: rgba(156, 168, 255, .08); animation-duration: 70s; animation-direction: reverse; }
.hero__orbits i:nth-child(3) { inset: 31%; border-color: rgba(39, 66, 255, .25); animation-duration: 45s; }
.hero__orbits i::after {
  content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
  background: var(--peri); box-shadow: 0 0 16px 2px var(--blue);
}
.hero__orbits i:nth-child(2)::after { top: auto; bottom: -3px; width: 6px; height: 6px; background: #fff; }
.hero__orbits i:nth-child(3)::after { background: var(--red-soft); box-shadow: 0 0 16px 2px var(--red); }
.hero__scan {
  position: absolute; left: 0; right: 0; top: 0; height: 160px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(39, 66, 255, .09) 60%, rgba(156, 168, 255, .16) 99%, transparent);
  animation: heroScan 10s var(--ease-io) infinite;
}
@keyframes heroScan { 0% { transform: translateY(-160px); } 55%, 100% { transform: translateY(110vh); } }

/* Globo en malla (sección clientes) */
.globe {
  position: absolute; z-index: 0; top: 50%; right: -9%;
  width: min(820px, 72vw); aspect-ratio: 1; height: auto;
  transform: translateY(-50%); pointer-events: none; opacity: .9;
}

/* Aparición del hueco de imagen como una persiana */
.js .ph[data-reveal] { opacity: 1; transform: none; clip-path: inset(14% 14% 14% 14% round 16px); transition: clip-path 1.5s var(--ease); }
.js .ph[data-reveal].is-in, .reveal-all .ph[data-reveal] { clip-path: inset(0 round 16px); }

/* Clientes: los nombres entran uno a uno */
@keyframes liIn { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }


/* ----------------------------------------------------------- apariciones */
.js [data-reveal] {
  opacity: 0; transform: translateY(32px);
  transition: opacity 1s var(--ease) var(--rd, 0s), transform 1.1s var(--ease) var(--rd, 0s);
}
.js [data-reveal].is-in, .reveal-all [data-reveal] { opacity: 1; transform: none; }

/* Titulares que suben palabra a palabra (el JS crea los <span>) */
.is-split .w { display: inline-block; clip-path: inset(-.1em -.25em -.24em -.1em); }
.is-split .wi { display: inline-block; transform: translateY(135%); transition: transform 1.15s var(--ease); }
.is-split.is-in .wi, .reveal-all .is-split .wi { transform: none; }
.js .hero__title:not(.is-split) { visibility: hidden; }
.reveal-all .hero__title { visibility: visible; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1099px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 979px) {
  :root { --nav-h: 68px; }
  .brand__logo { width: 46px; }
  .section-head, .manifesto__grid, .letter__grid { grid-template-columns: minmax(0, 1fr); }
  .section-head > .eyebrow, .section-head > .h2, .section-head > .section-head__lead { grid-column: 1; grid-row: auto; margin-top: 0; }
  .manifesto__meta, .letter__meta { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .manifesto__meta .eyebrow, .letter__meta .eyebrow { margin-top: 0; }
  .badge { width: 120px; height: 120px; }
  .badge__core { width: 70px; height: 70px; }
  .badge__core img { width: 54px; }
  .letter__logo { width: 96px; }

  .card-sol__body { grid-template-columns: minmax(0, 1fr); }
  .card-sol .ph { aspect-ratio: 16 / 10; min-height: 0; height: auto; }
  .ph__cap { left: 10px; bottom: 10px; gap: 6px; padding: 5px 8px; font-size: 9px; letter-spacing: .1em; }

  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "exp exp" "sup cert" "ali one" "sca sca"; }
  .tile--exp { min-height: 0; }

  .steps__line { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; }
  .steps__line i { transform-origin: 50% 0; transform: scaleY(var(--p, 1)); background: linear-gradient(180deg, var(--blue), var(--peri) 75%, var(--red)); }
  .steps__list { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .step { padding-top: 0; padding-left: 48px; }
  .step::before, .step::after { top: 2px; }

  .contact__grid { grid-template-columns: minmax(0, 1fr); }

  .jobs__grid { grid-template-columns: minmax(0, 1fr); }
  .form.jobs__form { position: relative; top: auto; }

  .sol__nav { margin-inline: calc(var(--gut) * -1); border-radius: 0; border-inline: 0; padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
  .sol__tab { flex: 0 0 auto; padding: 13px 16px; }
  .globe { top: 6%; right: -38%; width: 96vw; transform: none; opacity: .55; }
  .hero__orbits { right: -50vw; width: 120vw; opacity: .7; }
  .traces--sol, .traces--letter { right: -200px; opacity: .5; }
  .traces--proc { left: -200px; opacity: .5; }
}

@media (max-width: 640px) {
  .hero__title { font-size: clamp(32px, 9.4vw, 50px); font-stretch: 104%; }
  .hero::before {
    background:
      linear-gradient(0deg, rgba(4, 8, 26, .95) 0%, rgba(4, 8, 26, .55) 45%, rgba(4, 8, 26, .35) 100%);
  }
  .hero__ctas, .hero__ctas .btn { width: 100%; }
  .hero__ctas .btn { justify-content: space-between; }
  .hero__ctas .btn--ghost { justify-content: center; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div { padding: 18px 0 0 16px; }
  .stats > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(n + 3) { margin-top: 18px; }
  .ribbon { padding: 16px 0; }

  .manifesto__split, .mv, .letter__text { grid-template-columns: minmax(0, 1fr); }
  .card-sol__head { gap: 10px; font-size: 10.5px; }
  .card-sol__count { display: none; }

  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "exp" "sup" "cert" "ali" "one" "sca"; }
  .tile { min-height: 0; }
  .logo-tile { width: 150px; height: 80px; border-radius: 14px; }
  .logo-tile img { max-width: 104px; max-height: 38px; }

  .acc__head { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; padding-inline: 2px; }
  .acc__count { display: none; }
  .acc__ico { width: 38px; height: 38px; }
  .acc__desc, .acc__list { padding-left: 2px; padding-right: 2px; }
  .acc__list { grid-template-columns: minmax(0, 1fr); }
  .acc__item.is-open .acc__t { transform: translateX(4px); }

  .perks { grid-template-columns: minmax(0, 1fr); }
  .jobs__send { grid-template-columns: minmax(0, 1fr); }
  .jobs__direct li { grid-template-columns: minmax(0, 1fr); gap: 4px; }

  .form__row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .contact__list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }

  .footer__top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer__bottom p { margin-right: 0; width: 100%; }
}
