/* 4.0 Brands — propuesta de Home (Zola Design, 2026) */

:root {
  --ink: #0B1A2E;
  --ink-2: #33445A;
  --mute: #66758A;
  --bg: #FFFFFF;
  --soft: #F2F7F8;
  --line: #E1E9EE;
  --blue: #042F9E;
  --azure: #2588C4;
  --teal: #199EA8;
  --teal-ink: #0B7680;
  --green: #00C457;
  --navy: #081426;
  /* Degradado de marca: azul #042f9ef5 → verde #00c457eb (colores dados por Juan) */
  --grad: linear-gradient(115deg, rgba(4, 47, 158, .96) 0%, rgba(0, 196, 87, .92) 100%);
  --grad-text: linear-gradient(100deg, #042F9E 0%, #00C457 100%);
  --grad-text-dark: linear-gradient(100deg, #4F7DF7 0%, #1FD877 100%);

  --f-sans: "Manrope", system-ui, sans-serif;

  --t-hero: clamp(2.9rem, 1.2rem + 6.4vw, 6.6rem);
  --t-h2: clamp(2.1rem, 1.3rem + 3vw, 3.9rem);
  --t-lead: clamp(1.06rem, 1rem + .35vw, 1.28rem);

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --sec: clamp(88px, 6rem + 4vw, 168px);
  --r-lg: 28px;
  --r-md: 20px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ls: url(#g40);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 var(--f-sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; }
:focus-visible { outline: 2px solid var(--azure); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

/* Tipografía común */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.eyebrow--light { color: #9FE6CF; }
.h2 { font-size: var(--t-h2); line-height: 1.04; font-weight: 700; letter-spacing: -.035em; margin-top: 18px; text-wrap: balance; }
.h2 em, h1 em { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.lead { font-size: var(--t-lead); line-height: 1.6; color: var(--ink-2); margin-top: 22px; max-width: 58ch; }
.sec-head { max-width: 760px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 15px/1 var(--f-sans); letter-spacing: -.005em; white-space: nowrap;
  transition: transform .4s var(--ease), background-color .3s, color .3s, box-shadow .4s var(--ease);
}
.btn i { font-size: 18px; transition: transform .4s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--grad { background: var(--grad); color: #fff; box-shadow: 0 6px 18px -8px rgba(11, 26, 46, .35); }
.btn--grad:hover { box-shadow: 0 12px 28px -10px rgba(11, 26, 46, .45); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .45); }
.btn--ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

.pill { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.pill--glass { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #7CF2C6; box-shadow: 0 0 0 4px rgba(124, 242, 198, .25); }

/* ===== Header en cápsula ===== */
.hdr { position: fixed; inset: 16px 0 auto; z-index: 60; pointer-events: none; }
.hdr__bar {
  pointer-events: auto; width: min(var(--wrap) + 40px, 100% - 24px); margin-inline: auto;
  display: flex; align-items: center; gap: 24px; height: 84px; padding: 0 12px 0 22px; border-radius: 999px;
  border: 1px solid transparent; transition: background-color .4s, border-color .4s, box-shadow .4s;
  --ls: #fff; color: #fff;
}
.hdr.is-solid .hdr__bar, .hdr.is-open .hdr__bar {
  background: rgba(255, 255, 255, .86); border-color: rgba(11, 26, 46, .07);
  box-shadow: 0 10px 40px -16px rgba(11, 26, 46, .25);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  --ls: url(#g40); color: var(--ink); height: 70px;
}
.hdr.is-open .hdr__bar { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; --ls: #fff; color: #fff; }
.hdr__logo { display: block; transform-origin: left top; transition: transform .6s var(--ease); }
.hdr__logo svg { width: 44px; height: 54px; display: block; }
.hdr:not(.is-solid):not(.is-open) .hdr__logo { transform: translateY(12px) scale(2.22); }
.hdr__nav { display: flex; gap: 4px; margin-left: auto; }
.hdr__nav a { position: relative; padding: 10px 14px; font-size: 15px; font-weight: 600; border-radius: 999px; transition: background-color .3s; }
.hdr__nav a:hover { background: rgba(255, 255, 255, .14); }
.hdr.is-solid .hdr__nav a:hover { background: var(--soft); }
.hdr__nav a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--green); }
.hdr__end { display: flex; align-items: center; gap: 14px; }
.hdr:not(.is-solid) .hdr__cta { background: #fff; color: var(--ink); box-shadow: none; }

.lang { display: flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.lang > * { padding: 6px 8px; border-radius: 999px; }
.lang span { opacity: 1; }
.lang a { opacity: .6; transition: opacity .3s; }
.lang a:hover { opacity: 1; }
.lang span[aria-current] { background: rgba(255, 255, 255, .18); }
.hdr.is-solid .lang span[aria-current] { background: var(--soft); }

.burger { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); cursor: pointer; position: relative; color: inherit; }
.hdr.is-solid .burger { background: var(--soft); }
.hdr.is-open .burger { background: rgba(255, 255, 255, .2); }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; }
.hdr.is-open .burger span:first-child { top: 23px; transform: rotate(45deg); }
.hdr.is-open .burger span:last-child { top: 23px; transform: rotate(-45deg); }

/* ===== Menú móvil a pantalla completa ===== */
.menu {
  position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--gutter) max(32px, env(safe-area-inset-bottom)); color: #fff; overflow: hidden;
  background: linear-gradient(160deg, rgba(4, 47, 158, .96) 0%, rgba(0, 196, 87, .92) 100%), #fff; background-size: 100% 115%;
  clip-path: circle(0% at calc(100% - 52px) 52px); visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s linear .8s;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 52px) 52px); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; animation: gradShift 12s ease-in-out infinite alternate; }
.menu__glow { position: absolute; inset: auto -30% -40% auto; width: 120vw; height: 120vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(124, 242, 198, .35), transparent); pointer-events: none; }
.menu__nav { position: relative; display: flex; flex-direction: column; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .2);
  font-size: clamp(2rem, 9vw, 3rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.1;
  opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .7s var(--ease);
}
.menu__nav small { font-size: 13px; font-weight: 700; letter-spacing: .1em; opacity: .7; min-width: 22px; }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(1) { transition-delay: .18s; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .24s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .30s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .36s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .42s; }
.menu__foot { position: relative; display: grid; gap: 18px; font-size: 15px; font-weight: 600; opacity: 0; transition: opacity .6s .5s; }
.menu.is-open .menu__foot { opacity: 1; }
.menu__foot > a { display: inline-flex; align-items: center; gap: 10px; }
.menu__foot i { font-size: 20px; }
.menu__row { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .25); opacity: .9; }
.lang--light span[aria-current] { background: rgba(255, 255, 255, .22); }
@keyframes gradShift { from { background-position: 50% 0%; } to { background-position: 50% 100%; } }

/* ===== Hero ===== */
.hero { position: relative; min-height: max(660px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: -6% 0 0; z-index: -2; will-change: transform; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__tint {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 20, 38, .35) 0%, transparent 30%, transparent 55%, rgba(8, 20, 38, .45) 100%),
    linear-gradient(115deg, rgba(4, 47, 158, .96) 0%, rgba(0, 196, 87, .92) 100%);
}
.hero__inner { padding-top: 210px; }
.hero h1 { font-size: var(--t-hero); line-height: .98; font-weight: 700; letter-spacing: -.045em; margin-top: 28px; max-width: 12ch; text-wrap: balance; }
.hero h1 em { display: block; background: none; color: #B4F4DA; -webkit-text-fill-color: #B4F4DA; }
.hero__lead { font-size: clamp(1.08rem, 1rem + .45vw, 1.35rem); line-height: 1.55; max-width: 52ch; margin-top: 28px; color: rgba(255, 255, 255, .9); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 72px; margin-bottom: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.hero__tags li { display: flex; align-items: center; gap: 10px; }
.hero__tags li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #7CF2C6; }

/* ===== Logos ===== */
.logos { padding: 56px 0 64px; border-bottom: 1px solid var(--line); }
.logos__head { display: flex; justify-content: center; margin-bottom: 28px; }
.logos .eyebrow { color: var(--mute); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 48px; width: max-content; animation: marquee 90s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { width: 104px; height: 104px; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.05); opacity: .62; transition: filter .4s, opacity .4s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 24px)); } }

/* ===== Quiénes somos ===== */
.about { padding: var(--sec) 0; }
.about__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__text > p:not(.eyebrow):not(.lead):not(.about__label) { margin-top: 18px; color: var(--mute); max-width: 56ch; }
.about__label { margin-top: 36px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips li { padding: 9px 16px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); transition: border-color .3s, color .3s; }
.chips li:hover { border-color: var(--teal); color: var(--ink); }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.about__media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1; border-radius: var(--r-lg); background: var(--grad); opacity: .9; }
.quote-card {
  position: absolute; left: -36px; bottom: 36px; max-width: 320px; padding: 24px 26px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -20px rgba(11, 26, 46, .35);
}
.quote-card i { font-size: 28px; color: var(--green); }
.quote-card p { margin-top: 6px; font-size: 19px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; color: var(--ink); }

/* ===== Qué hacemos (bento) ===== */
.services { padding: var(--sec) 0; background: var(--soft); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px; border-radius: var(--r-md);
  background: #fff; border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(11, 26, 46, .25); border-color: rgba(4, 47, 158, .3); }
.card__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-size: 26px; color: var(--blue); background: linear-gradient(135deg, rgba(37, 136, 196, .1), rgba(11, 187, 132, .14)); margin-bottom: 18px; }
.card h3 { font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.card p { color: var(--mute); font-size: 15.5px; line-height: 1.6; }
.card--feature { grid-row: span 2; color: #fff; border: 0; justify-content: flex-end; min-height: 520px; padding: 36px; }
.card__bg { position: absolute; inset: 0; z-index: -1; }
.card__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card--feature:hover .card__bg img { transform: scale(1.05); }
.card__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(4, 47, 158, .7) 0%, rgba(4, 47, 158, .55) 40%, rgba(0, 120, 60, .92) 100%); }
.card--feature .card__ic { color: #fff; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); margin-bottom: auto; }
.card--feature h3 { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -.03em; }
.card--feature p { color: rgba(255, 255, 255, .88); font-size: 16.5px; }
.card__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.card__list li { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); }

/* ===== Marcas 4.0 ===== */
.m40 { position: relative; padding: var(--sec) 0; background: var(--navy); color: #fff; overflow: clip; isolation: isolate; }
.m40__glow { position: absolute; z-index: -1; width: 900px; height: 900px; left: -300px; top: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(4, 47, 158, .55), transparent); }
.m40__glow::after { content: ""; position: absolute; width: 800px; height: 800px; left: 1100px; top: 700px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 196, 87, .22), transparent); }
.m40__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.m40__intro { position: sticky; top: 112px; }
.m40 .h2 em { background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text; }
.m40 .lead { color: rgba(255, 255, 255, .72); }
.m40__fx { position: relative; margin-top: 40px; width: 100%; max-width: 380px; aspect-ratio: 300 / 260; touch-action: pan-y; }
.m40__fx canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: crosshair; }
.m40__fallback { pointer-events: none; position: absolute; inset: 6% 12%; width: 76%; height: 88%; opacity: 0; transition: opacity .6s; --ls: url(#g40); }
.m40__fx.is-fallback .m40__fallback { opacity: 1; }
.m40__fx.is-fallback canvas, .m40__fx.is-fallback .m40__fx.is-live .m40__list { display: grid; gap: 16px; counter-reset: lvl; }
.lvl {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; padding: 36px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
  transition: background-color .5s, border-color .5s, opacity .5s; opacity: .55;
}
.lvl.is-active { opacity: 1; background: rgba(255, 255, 255, .08); border-color: rgba(124, 242, 198, .35); }
.lvl__n { font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.04em; background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 72px; }
.lvl h3 { font-size: 23px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.lvl p { margin-top: 12px; color: rgba(255, 255, 255, .7); font-size: 16px; }

/* ===== Experiencia ===== */
.exp { padding: var(--sec) 0; }
.exp__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.tailor { position: relative; padding: 32px; border-radius: var(--r-lg); background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.tailor::after { content: ""; position: absolute; z-index: -1; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 196, 87, .28), transparent); }
.tailor__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-size: 26px; background: var(--grad); }
.tailor__title { margin-top: 22px; font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.tailor p:last-child { margin-top: 10px; color: rgba(255, 255, 255, .74); font-size: 16px; line-height: 1.55; }
.who { margin-top: 64px; }
.who__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
.who__list li { display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: var(--r-md); background: var(--soft); font-weight: 600; font-size: 16px; line-height: 1.4; }
.who__list i { font-size: 28px; color: var(--blue); }
.band { position: relative; margin-top: 16px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; min-height: 420px; display: flex; align-items: flex-end; }
.band img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 20, 38, .05) 0%, rgba(8, 20, 38, .35) 45%, rgba(8, 20, 38, .88) 100%); }
.band figcaption { padding: clamp(28px, 5vw, 64px); max-width: 860px; color: #fff; }
.band p { font-size: clamp(1.5rem, 1rem + 1.8vw, 2.5rem); line-height: 1.2; font-weight: 600; letter-spacing: -.025em; }
.band em { color: #7DF0B0; }

/* ===== CTA ===== */
.cta { padding: 0 0 var(--sec); }
.cta__box { position: relative; padding: clamp(40px, 7vw, 96px); border-radius: 36px; background: var(--grad); color: #fff; overflow: hidden; isolation: isolate; }
.cta__glow { position: absolute; z-index: -1; right: -10%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent); }
.cta .h2 { max-width: 16ch; }
.cta .h2 em { background: none; color: #C9FFE9; -webkit-text-fill-color: #C9FFE9; }
.cta .lead { color: rgba(255, 255, 255, .85); }
.cta__topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; max-width: 880px; }
.cta__topics li { padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 40px; }
.cta__mail { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; border-bottom: 1.5px solid rgba(255, 255, 255, .5); padding-bottom: 3px; transition: border-color .3s; }
.cta__mail:hover { border-color: #fff; }
.cta__mail i { font-size: 20px; }

/* ===== Footer ===== */
.ftr { position: relative; background: var(--navy); color: rgba(255, 255, 255, .66); padding: 104px 0 28px; overflow: hidden; isolation: isolate; --ls: url(#g40); }
.ftr::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad); }
.ftr__glow { position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(600px 420px at 8% 0%, rgba(4, 47, 158, .55), transparent 70%), radial-gradient(560px 420px at 100% 100%, rgba(0, 196, 87, .16), transparent 70%); }
.ftr__lead { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: 72px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ftr__title { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.6rem); line-height: 1.02; font-weight: 700; letter-spacing: -.04em; color: #fff; max-width: 13ch; text-wrap: balance; }
.ftr__title span { background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge { position: relative; flex: none; display: grid; place-items: center; width: 168px; height: 168px; border-radius: 50%; }
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge__ring text { fill: rgba(255, 255, 255, .8); font: 700 11.5px/1 var(--f-sans); letter-spacing: .12em; }
.badge__core { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 34px; transition: transform .5s var(--ease); }
.badge__core i { transition: transform .5s var(--ease); }
.badge:hover .badge__core { transform: scale(1.08); }
.badge:hover .badge__core i { transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 64px; }
.ftr__brand p { margin-top: 22px; max-width: 34ch; font-size: 15px; line-height: 1.6; }
.ftr__logo svg { width: 92px; height: 112px; display: block; }
.ftr__col { display: grid; align-content: start; gap: 11px; font-size: 15px; }
.ftr__col p { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.ftr__col a { transition: color .3s; width: fit-content; }
.ftr__col a:hover { color: #7DF0B0; }
.ftr__lang { margin-top: 8px; width: fit-content; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 3px; }
.ftr__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 72px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.credit { transition: color .3s; }
.credit strong { color: #fff; font-weight: 700; }
.credit:hover strong { color: #7DF0B0; }
.ftr__links { display: flex; align-items: center; gap: 24px; }
.ftr__bottom a { transition: color .3s; }
.ftr__bottom a:hover { color: #fff; }
.totop { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.totop i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); transition: transform .4s var(--ease), background-color .3s; }
.totop:hover i { transform: translateY(-3px); background: rgba(255, 255, 255, .1); }

/* ===== Términos de uso ===== */
.legal-hero { position: relative; padding: 200px 0 72px; color: #fff; background: var(--grad), var(--blue); }
.legal-hero h1 { margin-top: 18px; font-size: clamp(2.6rem, 1.6rem + 4vw, 4.8rem); line-height: 1; font-weight: 700; letter-spacing: -.04em; }
.legal-hero__lead { margin-top: 18px; max-width: 52ch; font-size: var(--t-lead); color: rgba(255, 255, 255, .88); }
.legal { padding: 72px 0 var(--sec); }
.legal__wrap { max-width: 780px; }
.legal__date { font-size: 14px; font-weight: 600; color: var(--mute); padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal__sec { padding: 32px 0 0; }
.legal__sec h2 { font-size: 22px; line-height: 1.3; font-weight: 700; letter-spacing: -.02em; }
.legal__sec p { margin-top: 12px; color: var(--ink-2); line-height: 1.75; }
.legal__sec a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ===== Revelado ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.bento .reveal:nth-child(2) { transition-delay: .06s; }
.bento .reveal:nth-child(3) { transition-delay: .12s; }
.bento .reveal:nth-child(4) { transition-delay: .06s; }
.bento .reveal:nth-child(5) { transition-delay: .12s; }
.bento .reveal:nth-child(6) { transition-delay: .18s; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .hdr__nav, .hdr__cta, .hdr__end > .lang { display: none; }
  .burger { display: block; }
  .hdr__end { margin-left: auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card--feature { grid-column: span 2; grid-row: auto; min-height: 440px; }
  .who__list { grid-template-columns: 1fr 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .about__grid, .m40__grid, .exp__grid { grid-template-columns: 1fr; }
  .m40__intro { position: static; }
  .m40__fx { max-width: 360px; margin: 32px auto 0; }
    .lvl { opacity: 1; }
  .about__media { margin-right: 22px; }
  .quote-card { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hdr { inset: 10px 0 auto; }
  .hdr__bar { height: 64px; padding: 0 8px 0 18px; }
  .hdr.is-solid .hdr__bar { height: 60px; }
  .hdr__logo svg { width: 38px; height: 46px; }
  .hdr:not(.is-solid):not(.is-open) .hdr__logo { transform: translateY(10px) scale(1.8); }
  .hero__inner { padding-top: 150px; }
  .legal-hero { padding: 150px 0 56px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__tags { margin-top: 48px; gap: 8px 18px; font-size: 13px; }
  .marquee img { width: 84px; height: 84px; }
  .marquee__track { gap: 32px; }
  @keyframes marquee { to { transform: translateX(calc(-50% - 16px)); } }
  .bento { grid-template-columns: 1fr; }
  .card--feature { grid-column: auto; min-height: 460px; padding: 28px; }
  .card { padding: 26px; }
  .lvl { grid-template-columns: 1fr; gap: 12px; padding: 26px; }
  .who__list { grid-template-columns: 1fr; }
  .who__list li { flex-direction: row; align-items: center; padding: 18px 20px; }
  .band { min-height: 380px; }
  .cta__box { border-radius: 28px; }
  .cta__actions .btn { width: 100%; }
  .ftr { padding-top: 80px; }
  .ftr__lead { flex-direction: column; align-items: flex-start; padding-bottom: 56px; }
  .badge { width: 140px; height: 140px; }
  .badge__core { width: 76px; height: 76px; font-size: 28px; }
  .ftr__grid { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; }
  .ftr__bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .badge__ring { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}
