/* =========================================================
   USAIGE — Landing page
   Estilo: soft glassmorphism (Manual de marca USAIGE)
   Temas: claro (por defecto) y oscuro.
   ========================================================= */

/* ---------- Tokens: tema claro ---------- */
:root {
  color-scheme: light;
  --bg: #EEF2F6;
  --glow-1: #C9F1DE;
  --glow-2: #D3DBE6;
  --ink: #263343;
  --ink-strong: #263343;
  --muted: #4A5D74;
  --link: #0B7A4B;
  --link-hover: #095E3A;
  --green: #14CA7D;
  --navy: #263343;
  --on-green: #263343;
  --white: #FFFFFF;

  --glass: rgba(255, 255, 255, 0.62);
  --glass-top: rgba(255, 255, 255, 0.78);
  --glass-strong: rgba(255, 255, 255, 0.84);
  --glass-strong-top: rgba(255, 255, 255, 0.92);
  --glass-edge: rgba(38, 51, 67, 0.10);
  --edge-top: rgba(255, 255, 255, 0.95);
  --edge-bottom: rgba(38, 51, 67, 0.12);
  --glass-hl: rgba(255, 255, 255, 0.80);
  --orb-green: rgba(20, 202, 125, 0.50);
  --orb-blue: rgba(45, 106, 163, 0.34);
  --orb-navy: rgba(38, 51, 67, 0.26);
  --orb-o-green: 0.55;
  --orb-o-blue: 0.40;
  --orb-o-mint: 0.95;
  --shadow: 0 8px 32px rgba(38, 51, 67, 0.08);
  --shadow-lg: 0 16px 40px rgba(38, 51, 67, 0.16);
  --dots: rgba(38, 51, 67, 0.16);

  --line: #D3DBE4;
  --line-strong: #7A8B9E;
  --soft-green: #DDF5E8;
  --surface: #FFFFFF;
  --warn: #935400;
  --warn-soft: #FBEBD3;
  --data-1: #263343;
  --data-band: rgba(20, 202, 125, 0.16);

  --panel-bg: radial-gradient(50% 70% at 22% 50%, #1A6B50, transparent 70%), radial-gradient(40% 60% at 95% 0%, #1F4A44, transparent 70%), #263343;
  --contact-bg: radial-gradient(50% 80% at 0% 0%, #1F4A44, transparent 70%), radial-gradient(40% 70% at 100% 100%, #1A6B50, transparent 70%), #263343;
  --panel-border: transparent;

  --cta-bg: #263343;
  --cta-ink: #FFFFFF;
  --cta-dot-bg: #14CA7D;
  --cta-dot-ink: #263343;
  --cta-shadow: 0 12px 28px rgba(38, 51, 67, 0.22);

  --hl-bg: #263343;
  --hl-ink: #FFFFFF;
  --hl-muted: #C8D3DF;
  --hl-shadow: 0 16px 40px rgba(38, 51, 67, 0.20);

  --form-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0.74));
  --form-ink: #263343;
  --form-muted: #4A5D74;
  --input-bg: #FFFFFF;
  --input-ink: #263343;
  --input-border: #7A8B9E;

  --mk-a: 74%;
  --mk-b: 92%;
  --img-shadow: drop-shadow(0 32px 36px rgba(38, 51, 67, 0.22));
  --nav-bg: rgba(255, 255, 255, 0.60);
  --focus: #0B7A4B;

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

/* ---------- Tokens: tema oscuro ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0F161F;
  --glow-1: #0D3527;
  --glow-2: #1D2C3D;
  --ink: #EEF2F6;
  --ink-strong: #FFFFFF;
  --muted: #A9B6C5;
  --link: #3FDC97;
  --link-hover: #6BE6AF;

  --glass: rgba(30, 42, 56, 0.52);
  --glass-top: rgba(44, 58, 75, 0.62);
  --glass-strong: rgba(30, 42, 56, 0.86);
  --glass-strong-top: rgba(44, 58, 75, 0.90);
  --glass-edge: rgba(255, 255, 255, 0.08);
  --edge-top: rgba(255, 255, 255, 0.20);
  --edge-bottom: rgba(255, 255, 255, 0.04);
  --glass-hl: rgba(255, 255, 255, 0.10);
  --orb-green: rgba(20, 202, 125, 0.30);
  --orb-blue: rgba(45, 106, 163, 0.40);
  --orb-navy: rgba(134, 185, 234, 0.12);
  --orb-o-green: 0.42;
  --orb-o-blue: 0.55;
  --orb-o-mint: 0.22;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
  --dots: rgba(255, 255, 255, 0.11);

  --line: #2C3A4B;
  --line-strong: #647892;
  --soft-green: #11331F;
  --surface: #18222E;
  --warn: #F2B652;
  --warn-soft: #35270E;
  --data-1: #C8D3DF;
  --data-band: rgba(20, 202, 125, 0.20);

  --panel-bg: radial-gradient(50% 70% at 22% 50%, #0D3527, transparent 70%), radial-gradient(40% 60% at 95% 0%, #1D2C3D, transparent 70%), #18222E;
  --contact-bg: radial-gradient(50% 80% at 0% 0%, #0D3527, transparent 70%), radial-gradient(40% 70% at 100% 100%, #1D2C3D, transparent 70%), #18222E;
  --panel-border: #2C3A4B;

  --cta-bg: #14CA7D;
  --cta-ink: #263343;
  --cta-dot-bg: #263343;
  --cta-dot-ink: #14CA7D;
  --cta-shadow: 0 12px 28px rgba(20, 202, 125, 0.28);

  --hl-bg: #14CA7D;
  --hl-ink: #263343;
  --hl-muted: #263343;
  --hl-shadow: 0 16px 40px rgba(20, 202, 125, 0.22);

  --form-bg: linear-gradient(135deg, rgba(48, 64, 84, 0.82), rgba(30, 42, 56, 0.62));
  --form-ink: #EEF2F6;
  --form-muted: #A9B6C5;
  --input-bg: #0F161F;
  --input-ink: #EEF2F6;
  --input-border: #647892;

  --mk-a: 84%;
  --mk-b: 96%;
  --img-shadow: drop-shadow(0 32px 36px rgba(0, 0, 0, 0.50));
  --nav-bg: rgba(30, 42, 56, 0.60);
  --focus: #3FDC97;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(40% 900px at 100% 0%, var(--glow-1), transparent 70%),
    radial-gradient(40% 1100px at 0% 1700px, var(--glow-2), transparent 70%),
    radial-gradient(40% 900px at 100% 3600px, var(--glow-1), transparent 70%),
    var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

/* Mostrar/ocultar según tema (logos y marcas) */
.only-dark { display: none !important; }
:root[data-theme="dark"] .only-dark { display: block !important; }
:root[data-theme="dark"] .only-light { display: none !important; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.eyebrow { font: 600 13px/16px var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--link); }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.02em; color: var(--ink-strong); text-wrap: balance; }
.lead { font-size: 17px; line-height: 27px; color: var(--muted); }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.section-head--center { align-items: center; text-align: center; margin: 0 auto; }
.marker { background: linear-gradient(transparent var(--mk-a), var(--green) var(--mk-a), var(--green) var(--mk-b), transparent var(--mk-b)); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Vidrio esmerilado: relleno translúcido más claro arriba + canto de luz (borde degradado) */
.glass {
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, var(--glass-top), var(--glass)) padding-box,
    linear-gradient(180deg, var(--edge-top), var(--edge-bottom)) border-box;
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 1px 0 var(--glass-hl), var(--shadow);
}
.glass-strong {
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, var(--glass-strong-top), var(--glass-strong)) padding-box,
    linear-gradient(180deg, var(--edge-top), var(--edge-bottom)) border-box;
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow: inset 0 1px 0 var(--glass-hl), var(--shadow-lg);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .glass-strong { background: var(--glass-strong); border-color: var(--glass-edge); }
}

/* Luces ambientales: lo que el vidrio deja ver y difumina */
.has-orbs { position: relative; isolation: isolate; }
.orbs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
main { overflow-x: clip; }
/* Formas con contorno suave: fuera de la tarjeta se ven nítidas, detrás del vidrio se esmerilan */
.orb { position: absolute; z-index: -1; aspect-ratio: 1 / 1; border-radius: 999px; pointer-events: none; filter: blur(9px); }
.orb--green { background: radial-gradient(circle at 35% 35%, #6BE6AF, #14CA7D 55%, rgba(20, 202, 125, 0) 71%); opacity: var(--orb-o-green); }
.orb--blue { background: radial-gradient(circle at 35% 35%, #A9CBF0, #2D6AA3 58%, rgba(45, 106, 163, 0) 71%); opacity: var(--orb-o-blue); }
.orb--mint { background: radial-gradient(circle at 35% 35%, #F2FCF7, #9BE8C6 55%, rgba(155, 232, 198, 0) 71%); opacity: var(--orb-o-mint); }
.orb--navy { background: radial-gradient(closest-side, var(--orb-navy), transparent); }
@media (prefers-reduced-transparency: reduce) {
  .glass, .glass-strong { background: var(--glass-strong); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

.lift { transition: transform 240ms ease-out; }
.lift:hover { transform: translateY(-4px); }

.icon-chip { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--soft-green); color: var(--link); }
.icon-chip svg { width: 24px; height: 24px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; font: 600 16px/1 var(--font-sans); text-decoration: none; cursor: pointer; transition: transform 150ms ease-out, filter 150ms ease-out; }
.btn:active { transform: translateY(1px); }
.btn--cta { background: var(--cta-bg); color: var(--cta-ink); box-shadow: var(--cta-shadow); }
.btn--cta:hover { color: var(--cta-ink); filter: brightness(1.08); }
.btn--cta .btn__dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--cta-dot-bg); color: var(--cta-dot-ink); }
.btn--ghost { background: var(--glass); border: 1px solid var(--line-strong); color: var(--ink); }
.btn--ghost:hover { color: var(--ink); background: var(--glass-strong); }
.btn--green { background: var(--green); color: var(--on-green); box-shadow: 0 12px 28px rgba(20, 202, 125, 0.28); }
.btn--green:hover { color: var(--on-green); filter: brightness(1.05); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Navegación ---------- */
.site-header { position: sticky; top: 0; z-index: 30; padding: 12px 16px 0; }
.nav { max-width: 1200px; margin: 0 auto; padding: 8px 10px 8px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--nav-bg); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border: 1px solid var(--glass-edge); box-shadow: inset 0 1px 0 var(--glass-hl), var(--shadow); border-radius: 999px; }
.nav__brand { display: flex; align-items: center; }
.nav__brand img { width: 132px; height: auto; }
.nav__links { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.nav__links a { color: var(--ink); text-decoration: none; }
.nav__links a:hover { color: var(--link); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.lang-pill { min-height: 44px; height: 44px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--glass-edge); background: transparent; color: var(--ink); cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; transition: background var(--tx), border-color var(--tx), color var(--tx); user-select: none; }
.lang-pill:hover { background: var(--glass); border-color: var(--border-strong); }
.lang-pill:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.lang-pill__item { color: var(--muted); transition: color var(--tx), font-weight var(--tx); }
.lang-pill__item.is-active { color: var(--ink-strong); font-weight: 700; }
.lang-pill__sep { opacity: 0.35; font-weight: 400; font-size: 11px; }
.nav__cta { min-height: 44px; padding: 0 20px; font-size: 15px; background: var(--green); color: var(--on-green); }
.nav__cta:hover { color: var(--on-green); filter: brightness(1.05); }
.theme-toggle { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--glass-edge); background: transparent; color: var(--ink); cursor: pointer; }
.theme-toggle:hover { background: var(--glass); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ---------- Héroe ---------- */
.hero { position: relative; }
.dots { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(var(--dots) 1px, transparent 1.4px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(60% 70% at 70% 45%, #000, transparent 75%); mask-image: radial-gradient(60% 70% at 70% 45%, #000, transparent 75%); }
.hero__inner { position: relative; padding-top: 72px; padding-bottom: 88px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.hero__copy { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 5.6vw, 68px); line-height: 1.04; letter-spacing: -0.03em; color: var(--ink-strong); text-wrap: balance; }
.hero__lead { font-size: 19px; line-height: 30px; color: var(--muted); max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0; list-style: none; font-size: 14px; line-height: 20px; color: var(--muted); }
.checks li { display: inline-flex; align-items: center; gap: 6px; }
.checks svg { width: 18px; height: 18px; color: var(--link); }

.hero__visual { flex: 1 1 520px; min-width: 0; position: relative; isolation: isolate; padding: 32px 0 40px; }
.hero__glow { position: absolute; border-radius: 999px; filter: blur(10px); pointer-events: none; }
.hero__glow--a { left: 4%; top: 6%; width: 62%; height: 78%; background: radial-gradient(closest-side, rgba(20, 202, 125, 0.40), transparent); }
.hero__glow--b { right: -6%; bottom: 4%; width: 56%; height: 62%; background: radial-gradient(closest-side, rgba(45, 106, 163, 0.26), transparent); }
.hero__img { position: relative; width: 114%; max-width: none; height: auto; margin-left: -6%; filter: var(--img-shadow); }
.chip { position: absolute; border-radius: 16px; }
.chip--metric { left: 0; top: 4%; display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; }
.chip--metric .chip__label { font: 600 11px/16px var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.chip--metric .chip__value { font: 500 24px/30px var(--font-mono); color: var(--ink-strong); }
.chip--metric .chip__value small { font-size: 14px; color: var(--muted); }
.chip--status { right: 2%; top: 0; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--link); }
.chip--status svg { width: 16px; height: 16px; }
.chip--alert { left: -2%; bottom: 0; max-width: 360px; display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: start; padding: 16px 18px; border-radius: 20px; }
.chip--alert .alert__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--warn-soft); color: var(--warn); }
.chip--alert .alert__icon svg { width: 22px; height: 22px; }
.chip--alert .alert__title { font-weight: 600; font-size: 15px; line-height: 21px; color: var(--ink-strong); }
.chip--alert .alert__window { font: 500 13px/18px var(--font-mono); color: var(--warn); }

/* ---------- Franja de aliados ---------- */
.partners { padding-bottom: 32px; }
.partners__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 48px; padding: 20px 32px; border-radius: 28px; }
.partners__label { font: 600 12px/16px var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.partners__logo { width: auto; opacity: 0.85; }
.partners__logo--fime { height: 88px; }
.partners__logo--liph { height: 64px; }
.partners__logo--coex { height: 76px; }
.partners__logo--nvidia { height: 58px; }

/* ---------- Problema ---------- */
.problem { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.problem__head { flex: 1 1 360px; min-width: 0; }
.problem__list { flex: 1.4 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.stat { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 28px 32px; border-radius: 24px; }
.stat__num { width: 250px; font: 500 46px/1 var(--font-mono); letter-spacing: -0.03em; white-space: nowrap; color: var(--ink-strong); }
.stat__body { flex: 1 1 220px; display: flex; flex-direction: column; gap: 4px; }
.stat__body h3 { font-weight: 600; font-size: 18px; line-height: 24px; color: var(--ink-strong); }
.stat__body p { font-size: 16px; line-height: 25px; color: var(--muted); }
.stat--highlight { background: var(--hl-bg); box-shadow: var(--hl-shadow); }
.stat--highlight .stat__num, .stat--highlight h3 { color: var(--hl-ink); }
.stat--highlight p { color: var(--hl-muted); }

/* ---------- Solución (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.bento__card { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: 28px; }
.bento__card h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 28px; color: var(--ink-strong); }
.bento__card p { font-size: 16px; line-height: 25px; color: var(--muted); }
.span-2 { grid-column: span 2; flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.span-3 { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.bento__text { flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px; }
.bento__card--green { align-items: flex-end; padding: 36px; color: var(--on-green); background: radial-gradient(90% 140% at 100% 0%, rgba(255, 255, 255, 0.38), transparent 60%), var(--green); box-shadow: 0 20px 48px rgba(20, 202, 125, 0.24); }
.bento__card--green h3 { font-weight: 700; font-size: 30px; line-height: 36px; letter-spacing: -0.01em; color: var(--on-green); }
.bento__card--green p { font-size: 17px; line-height: 26px; color: var(--on-green); max-width: 380px; }
.bento__card--green .icon-chip { background: var(--navy); color: var(--green); }
.mini { flex: 1 1 260px; max-width: 360px; border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.mini--on-green { background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(255, 255, 255, 0.70); color: #263343; }
.mini--surface { max-width: 440px; flex-basis: 300px; background: var(--surface); border: 1px solid var(--line); }
.mini__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.mini__head .mono { white-space: nowrap; }
.mini__note { font-size: 12px; line-height: 16px; color: inherit; }
.mini--surface .mini__note, .legend { color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; line-height: 16px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; }
.chart-line { stroke: var(--data-1); }
.chart-band { fill: var(--data-band); }
.chart-axis { stroke: var(--line-strong); }
.chart-text { fill: var(--muted); }

/* ---------- Producto ---------- */
.panel-wrap { padding: 0 16px; }
.panel { position: relative; max-width: 1280px; margin: 0 auto; border-radius: 40px; overflow: hidden; background: var(--panel-bg); border: 1px solid var(--panel-border); color: #EEF2F6; }
.panel .dots { background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1.4px); -webkit-mask-image: radial-gradient(50% 70% at 25% 50%, #000, transparent 80%); mask-image: radial-gradient(50% 70% at 25% 50%, #000, transparent 80%); }
.product { position: relative; padding: 88px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; max-width: 1200px; margin: 0 auto; }
.stage { flex: 1 1 420px; min-width: 0; position: relative; aspect-ratio: 1 / 1; max-width: 540px; margin: 0 auto; display: grid; place-items: center; }
.ring { position: absolute; border-radius: 999px; }
.ring--1 { inset: 0; border: 1px solid rgba(255, 255, 255, 0.08); }
.ring--2 { inset: 12%; border: 1px solid rgba(255, 255, 255, 0.12); }
.ring--3 { inset: 24%; border: 1px solid rgba(63, 220, 151, 0.30); background: radial-gradient(circle, rgba(20, 202, 125, 0.38), transparent 70%); }
.stage__img { position: relative; z-index: 1; width: 68%; height: auto; transform: rotate(-6deg); filter: drop-shadow(0 40px 40px rgba(0, 0, 0, 0.45)); }
.tag { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.11); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.20); font-size: 14px; font-weight: 600; color: #FFFFFF; white-space: nowrap; }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--green); }
.tag--1 { left: -4%; top: 10%; }
.tag--2 { right: -6%; top: 48%; }
.tag--3 { left: 2%; bottom: 8%; }
.product__copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.product__copy .eyebrow { color: #3FDC97; }
.product__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.025em; color: #FFFFFF; }
.product__lead { font-size: 17px; line-height: 27px; color: #C8D3DF; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.step { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 20px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.20), 0 12px 32px rgba(0, 0, 0, 0.18); }
.step__top { display: flex; justify-content: space-between; align-items: center; }
.step__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(20, 202, 125, 0.17); color: #3FDC97; }
.step__icon svg { width: 20px; height: 20px; }
.step__n { font: 500 14px/20px var(--font-mono); color: #7A8B9E; }
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 26px; color: #FFFFFF; }
.step p { font-size: 15px; line-height: 23px; color: #C8D3DF; }
.step--accent { background: var(--green); border-color: var(--green); }
.step--accent .step__icon { background: var(--navy); color: var(--green); }
.step--accent .step__n, .step--accent h3, .step--accent p { color: var(--navy); }

/* ---------- Por qué USAIGE ---------- */
.flow { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin: 48px 0; padding: 0; list-style: none; }
.flow__line { position: absolute; left: 12%; right: 12%; top: 39px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--line-strong), var(--green)); }
.flow__item { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.flow__icon { width: 80px; height: 80px; border-radius: 999px; display: grid; place-items: center; background: var(--glass-strong); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--glass-edge); box-shadow: var(--shadow); color: var(--ink); }
.flow__icon svg { width: 28px; height: 28px; }
.flow__icon--green { background: var(--green); color: var(--on-green); border-color: var(--green); box-shadow: 0 12px 28px rgba(20, 202, 125, 0.32); }
.flow__item h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 26px; color: var(--ink-strong); }
.flow__item p { font-size: 15px; line-height: 23px; color: var(--muted); max-width: 220px; }
.statement { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding: 32px 40px; border-radius: 28px; }
.statement__big { flex: 1 1 320px; font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 32px; letter-spacing: -0.01em; color: var(--ink-strong); }
.statement__small { flex: 1 1 320px; font-size: 16px; line-height: 25px; color: var(--muted); }

/* ---------- Industrias ---------- */
.industries-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 40px; }
.industry-card { display: flex; flex-direction: column; gap: 16px; padding: 28px 24px; border-radius: 28px; }
.industry-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.industry-card__tag { font: 600 11px/1 var(--font-sans); letter-spacing: 0.04em; text-transform: uppercase; color: var(--link); background: rgba(20, 202, 125, 0.12); padding: 5px 9px; border-radius: 999px; border: 1px solid rgba(20, 202, 125, 0.25); white-space: nowrap; flex-shrink: 0; }
.industry-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 26px; min-height: 52px; display: flex; align-items: flex-start; color: var(--ink-strong); margin: 0; }
.industry-card p { font-size: 15px; line-height: 24px; color: var(--muted); margin: 0; }

/* ---------- Contacto ---------- */
.contact-wrap { padding: 0 16px 24px; }
.contact-panel { background: var(--contact-bg); }
.contact { position: relative; padding: clamp(40px, 6vw, 80px) 32px; display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; max-width: 1200px; margin: 0 auto; }
.contact__copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.contact__copy .eyebrow { color: #3FDC97; }
.contact__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; letter-spacing: -0.02em; color: #FFFFFF; text-wrap: balance; }
.contact__lead { font-size: 17px; line-height: 27px; color: #C8D3DF; }
.contact__links { display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.contact__links a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #FFFFFF; text-decoration: none; }
.contact__links a:hover { color: #3FDC97; }
.contact__links span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(20, 202, 125, 0.17); color: #3FDC97; }
.contact__links svg { width: 20px; height: 20px; }

.form { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; padding: 32px; border-radius: 28px; background: var(--form-bg); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%); border: 1px solid rgba(255, 255, 255, 0.30); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 24px 64px rgba(0, 0, 0, 0.28); color: var(--form-ink); }
.field { display: grid; gap: 6px; }
.field--full, .form__foot, .form__status { grid-column: 1 / -1; }
.field label { font: 500 13px/18px var(--font-sans); letter-spacing: 0.02em; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 0 14px; font: 400 15px/24px var(--font-sans); color: var(--input-ink); background: var(--input-bg); border: 1px solid var(--input-border); border-radius: 12px; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--form-muted); }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--focus); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.form__hint { font-size: 13px; line-height: 18px; color: var(--form-muted); }
.form__status { font-size: 14px; line-height: 20px; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--link); }
.form__status.is-error { color: #C02A2E; }
:root[data-theme="dark"] .form__status.is-error { color: #FF8A8C; }

/* ---------- Pie ---------- */
.footer { padding: 40px 24px; display: flex; flex-direction: column; gap: 24px; color: var(--muted); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.footer__brand img { width: 132px; height: auto; }
.footer__brand p { font-size: 15px; line-height: 24px; max-width: 380px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.footer__nav a { color: var(--ink); text-decoration: none; }
.footer__nav a:hover { color: var(--link); }
.footer__legal { padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; line-height: 18px; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .span-2, .span-3 { grid-column: auto; }
  .hide-sm, .flow__line { display: none !important; }
  .chip--alert { position: relative; left: auto; bottom: auto; margin: 16px auto 0; }
  .hero__img { width: 108%; margin-left: -4%; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav { padding-left: 16px; }
  .nav__brand img { width: 112px; }
  .section { padding: 72px 0; }
  .hero__inner { padding-top: 40px; padding-bottom: 56px; }
  .stat { padding: 24px; }
  .stat__num { width: auto; font-size: 40px; }
  .product { padding: 64px 20px; }
  .contact { padding-left: 20px; padding-right: 20px; }
  .form { padding: 24px; }
  .panel { border-radius: 28px; }
  .partners__row { gap: 16px 32px; }
  .partners__label { width: 100%; text-align: center; }
}
@media (max-width: 420px) {
  .nav__cta { padding: 0 12px; font-size: 14px; }
  .lang-pill { padding: 0 8px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lift, .btn { transition: none; }
  .lift:hover { transform: none; }
}
