/* ════════════════════════════════════════════════
   GABRIEL RUSSO — Preparador Físico
   Science · Discipline · Performance
   ════════════════════════════════════════════════ */

:root {
  --bg:        #05070F;
  --bg-2:      #0A0E1C;
  --bg-3:      #0F1630;
  --bg-card:   #0D1428;
  --ink:       #EEF1FA;
  --ink-soft:  #A7B0C8;
  --ink-mute:  #69728C;
  --blue:      #2A53FF;
  --blue-2:    #5B82FF;
  --blue-deep: #0C1A66;
  --green:     #20FE1C;   /* acento secundario — valores / métricas */
  --green-2:   #16C913;
  --line:      rgba(238,241,250,.10);
  --line-2:    rgba(238,241,250,.06);

  --font-display: "Barlow Condensed", "Inter", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  /* Eurostile Extended (de pago): "Michroma" es el sustituto libre más parecido.
     Si tenés el archivo Eurostile Extended, ver nota en LÉEME.md para usarlo exacto. */
  --font-euro: "Eurostile Extended", "Michroma", "Barlow Condensed", system-ui, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --wrap: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--blue); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }

/* ─── Typography helpers ─────────────────── */
.kicker, .sec-eye {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--blue-2);
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }

.sec-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-top: .5rem;
}
.sec-title em { color: var(--blue-2); font-style: normal; }
.sec-desc { color: var(--ink-soft); margin-top: 1.1rem; max-width: 56ch; font-size: 1.05rem; }

/* ─── Buttons ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .92em 1.6em;
  border-radius: 4px;
  transition: transform .35s var(--ease-out), background .25s, box-shadow .35s, color .25s;
  white-space: nowrap;
  will-change: transform;
}
.btn svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 30px -8px rgba(42,83,255,.7);
}
.btn-primary:hover { background: var(--blue-2); box-shadow: 0 14px 40px -8px rgba(42,83,255,.85); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255,255,255,.02);
}
.btn-ghost:hover { border-color: var(--blue-2); color: var(--blue-2); background: rgba(42,83,255,.06); }

/* ════════════════════════════════════════
   SPLASH
   ════════════════════════════════════════ */
.splash {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .7s var(--ease), visibility .7s;
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes splashSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.splash-inner { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.splash-logo { width: 92px; height: 92px; animation: splashPulse 1.4s var(--ease) infinite; }
@keyframes splashPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .6; transform: scale(.94); } }
.splash-word {
  font-family: var(--font-display); font-weight: 800; letter-spacing: .42em;
  font-size: 1.05rem; text-indent: .42em; color: var(--ink);
}
.splash-bar { width: 120px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.splash-bar i { display: block; height: 100%; width: 40%; background: var(--blue); border-radius: 2px; animation: splashBar 1.1s var(--ease) infinite; }
@keyframes splashBar { 0% { transform: translateX(-120%); } 100% { transform: translateX(360%); } }

/* ════════════════════════════════════════
   NAV
   ════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(14px, 2vw, 22px) clamp(20px, 5vw, 48px);
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(5,7,15,.78);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom-color: var(--line);
  padding-block: 12px;
}
.nav-brand { display: flex; align-items: center; gap: .65rem; }
.nav-logo { width: 40px; height: 40px; }
.nav-name { font-family: var(--font-display); font-weight: 800; letter-spacing: .14em; font-size: 1.12rem; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a {
  font-size: .95rem; font-weight: 500; color: var(--ink-soft);
  position: relative; transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--blue); transition: width .3s var(--ease-out);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 1.1rem; }
.nav-ig { color: var(--ink-soft); transition: color .25s, transform .25s; }
.nav-ig svg { fill: none; stroke: currentColor; stroke-width: 1.7; }
.nav-ig:hover { color: var(--blue-2); transform: translateY(-2px); }
.nav-cta { padding: .7em 1.2em; font-size: .92rem; }
.nav-burger { display: none; width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.nav-burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav.menu-open .nav-burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 120px; padding-bottom: 60px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(91,130,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,130,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 35%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 35%, #000 25%, transparent 75%);
}
.hero-glow {
  position: absolute;
  top: var(--my, 30%); left: var(--mx, 65%);
  width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(42,83,255,.4) 0%, rgba(42,83,255,.12) 38%, transparent 68%);
  filter: blur(20px);
  transition: top .5s var(--ease-out), left .5s var(--ease-out);
}
.hero-streak {
  position: absolute; width: 180%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(91,130,255,.55), transparent);
  transform: rotate(-32deg); transform-origin: center;
}
.hero-streak.s1 { top: 22%; right: -40%; opacity: .6; }
.hero-streak.s2 { bottom: 18%; left: -50%; opacity: .35; }

.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero-copy { max-width: 600px; }
.hero-title {
  font-family: var(--font-euro);
  font-weight: 400;
  font-size: clamp(2.3rem, 6vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 1.2rem 0 1.5rem;
}
.hero-tagline {
  display: flex; align-items: center; gap: .7rem; flex-wrap: wrap;
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; font-size: clamp(.85rem, 1.5vw, 1.02rem);
  color: var(--ink); margin-bottom: 1.7rem;
}
.hero-tagline i { color: var(--blue-2); font-style: normal; }
.hero-tagline .tl-line { height: 1px; width: 34px; background: var(--blue); flex: none; }
.hero-tagline .tl-line:last-child { flex: 1; min-width: 30px; }
.hero-sub { color: var(--ink-soft); font-size: 1.12rem; max-width: 46ch; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem;
  font-size: .82rem; color: var(--ink-mute);
  border-top: 1px solid var(--line); padding-top: 1.3rem;
}
.hero-trust li { position: relative; padding-left: 1.1rem; }
.hero-trust li::before { content: ""; position: absolute; left: 0; top: .5em; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }

/* Hero figure — foto recortada fundida con el isologo */
.hero-figure {
  position: relative; justify-self: center;
  width: 100%; max-width: 480px; min-height: 600px;
  display: flex; align-items: flex-end; justify-content: center;
}
.hero-fuse { position: absolute; inset: 0; display: grid; place-items: center; z-index: 0; }
.hero-fuse-glow {
  position: absolute; width: 84%; aspect-ratio: 1 / 1; border-radius: 50%;
  top: 34%; transform: translateY(-50%);
  background: radial-gradient(circle, rgba(42,83,255,.42), rgba(42,83,255,.10) 46%, transparent 70%);
  filter: blur(16px);
}
.hero-cutout {
  position: relative; z-index: 2;
  width: auto; height: 100%; max-height: 640px; object-fit: contain;
  /* La difuminación de la camiseta va horneada en la propia imagen (assets/img/portrait-cutout.webp) */
}
.hero-badge {
  position: absolute; bottom: 22px; left: -26px; z-index: 3;
  display: flex; align-items: center; gap: .7rem;
  background: var(--blue); color: #fff;
  padding: .85rem 1.2rem; border-radius: 6px;
  box-shadow: 0 16px 40px -12px rgba(42,83,255,.8);
}
.hero-badge-num { font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; line-height: 1; }
.hero-badge-txt { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: .72rem; letter-spacing: .1em; line-height: 1.15; }

.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-mute);
}
.hero-scroll span { width: 1px; height: 38px; background: linear-gradient(var(--blue-2), transparent); position: relative; overflow: hidden; }
.hero-scroll span::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 40%; background: var(--blue-2); animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }

/* ════════════════════════════════════════
   MARQUEE
   ════════════════════════════════════════ */
.marquee {
  border-block: 1px solid var(--line); background: var(--bg-2);
  overflow: hidden; padding: 1.1rem 0;
}
.marquee-track {
  display: flex; align-items: center; gap: 2.4rem; width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 1.05rem; letter-spacing: .06em; color: var(--ink-soft);
}
.marquee-track i { color: var(--green); font-style: normal; font-size: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ════════════════════════════════════════
   SECTIONS shared
   ════════════════════════════════════════ */
section { position: relative; }
.pillars, .about, .method, .creds, .programs { padding-block: clamp(4.5rem, 9vw, 8rem); }

/* ─── Pillars ─────────────────────────────── */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.pillar-card {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-2));
  border: 1px solid var(--line); border-radius: 10px;
  padding: 2.4rem 2rem;
  transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s;
  transform-style: preserve-3d;
}
.pillar-card:hover { border-color: rgba(91,130,255,.4); box-shadow: 0 30px 60px -28px rgba(42,83,255,.5); }
.pillar-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 12px; background: rgba(42,83,255,.12); border: 1px solid rgba(91,130,255,.25); margin-bottom: 1.4rem; }
.pillar-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--blue-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pillar-name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.7rem; letter-spacing: .02em; }
.pillar-sub { color: var(--green); font-weight: 600; font-size: .9rem; letter-spacing: .04em; margin-bottom: .9rem; }
.pillar-text { color: var(--ink-soft); font-size: 1rem; }

/* ─── About ───────────────────────────────── */
.about { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.about-single { max-width: 880px; margin-inline: auto; }
.about-single .about-p { max-width: 74ch; }
.about-p { color: var(--ink-soft); margin-top: 1.2rem; }
.about-p strong { color: var(--ink); font-weight: 600; }
.about-p em { color: var(--blue-2); font-style: italic; }
.stats { display: flex; flex-wrap: wrap; gap: 2.4rem; margin-top: 2.2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.stat-num { font-family: var(--font-display); font-weight: 900; font-size: 3rem; line-height: 1; color: var(--green); display: inline-flex; align-items: baseline; }
.stat-num b { color: var(--green); font-weight: 900; }
.stat-lbl { display: block; color: var(--ink-mute); font-size: .85rem; margin-top: .4rem; max-width: 14ch; }

/* ─── Method ──────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.step { padding: 2rem 1.6rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); position: relative; overflow: hidden; transition: border-color .35s, transform .35s var(--ease-out); }
.step::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.step:hover { border-color: rgba(91,130,255,.35); transform: translateY(-4px); }
.step:hover::before { transform: scaleX(1); }
.step-num { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--blue-2); -webkit-text-stroke: 1px var(--blue-2); color: transparent; }
.step-name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.32rem; margin: .6rem 0 .7rem; letter-spacing: .01em; }
.step-text { color: var(--ink-soft); font-size: .96rem; }

/* ─── Creds ───────────────────────────────── */
.creds { background: var(--bg); }
.creds-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.creds-head { position: sticky; top: 110px; }
.creds-head .btn { margin-top: 1.8rem; }
.creds-list { display: flex; flex-direction: column; gap: 1rem; }
.cred { display: grid; grid-template-columns: 130px 1fr; gap: 1.2rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); transition: border-color .35s, background .35s; }
.cred:hover { border-color: rgba(91,130,255,.35); background: var(--bg-3); }
.cred-yr { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--blue-2); padding-top: .2rem; }
.cred-body h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.4rem; letter-spacing: .01em; }
.cred-body p { color: var(--ink-soft); font-size: .96rem; margin-top: .35rem; }
.cred-feat { border-color: rgba(91,130,255,.4); background: linear-gradient(120deg, rgba(42,83,255,.1), var(--bg-2)); }
.cred-logo { margin-top: 1rem; height: 34px; width: auto; filter: invert(1) brightness(2); opacity: .92; }

/* ─── Programs ────────────────────────────── */
.programs { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.prog-grid-4 { grid-template-columns: repeat(4, 1fr); }
.prog-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: rgba(42,83,255,.12); border: 1px solid rgba(91,130,255,.25); margin-bottom: 1.3rem; }
.prog-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--blue-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.prog-card .prog-desc { margin-bottom: 1.6rem; }
.prog-card {
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px;
  padding: 2.2rem 2rem; position: relative;
  transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s;
  transform-style: preserve-3d;
}
.prog-card:hover { border-color: rgba(91,130,255,.4); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.prog-feat-card { border-color: rgba(91,130,255,.5); background: linear-gradient(180deg, rgba(42,83,255,.12), var(--bg-card)); box-shadow: 0 30px 70px -34px rgba(42,83,255,.6); }
.prog-badge { position: absolute; top: -12px; left: 2rem; background: var(--blue); color: #fff; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: .72rem; letter-spacing: .1em; padding: .35em .9em; border-radius: 100px; }
.prog-name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 2rem; letter-spacing: .01em; }
.prog-tag { color: var(--blue-2); font-weight: 600; font-size: .95rem; margin-bottom: 1rem; }
.prog-desc { color: var(--ink-soft); font-size: .96rem; }
.prog-feat { margin: 1.5rem 0 1.8rem; display: flex; flex-direction: column; gap: .75rem; }
.prog-feat li { position: relative; padding-left: 1.7rem; color: var(--ink-soft); font-size: .96rem; }
.prog-feat li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 18px; height: 18px;
  background: rgba(42,83,255,.15); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpolyline points='1,4 3.5,7 9,1' fill='none' stroke='%235B82FF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 11px;
}
.prog-btn { margin-top: auto; justify-content: center; width: 100%; }
.prog-note { text-align: center; color: var(--ink-mute); font-size: .92rem; margin-top: 2.4rem; }

/* ─── Testimonios (carrusel infinito, se pausa al pasar el cursor) ─── */
.testi { background: var(--bg-2); padding-block: clamp(4.5rem, 9vw, 8rem); overflow: hidden; }
.testi-hint { color: var(--blue-2); font-size: .85rem; }
.testi-carousel {
  position: relative; overflow: hidden;
  margin-top: clamp(1.6rem, 3.5vw, 2.6rem); padding-block: 8px 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.testi-track {
  display: flex; align-items: stretch; width: max-content;
  animation: testiScroll 45s linear infinite;
}
.testi-carousel:hover .testi-track { animation-play-state: paused; }
@keyframes testiScroll { to { transform: translateX(-50%); } }
.testi-card {
  flex: 0 0 clamp(288px, 80vw, 360px); margin-right: 1.4rem;
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px;
  padding: 2rem 1.9rem; position: relative; overflow: hidden;
  transition: border-color .35s, transform .35s var(--ease-out), box-shadow .35s;
}
.testi-card:hover { border-color: rgba(91,130,255,.45); transform: translateY(-4px); box-shadow: 0 16px 34px -18px rgba(0,0,0,.75); }
.testi-mark { position: absolute; top: .1rem; right: 1.3rem; font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: var(--blue); opacity: .25; pointer-events: none; }
.testi-card blockquote { color: var(--ink-soft); font-style: italic; font-size: 1rem; line-height: 1.6; margin-bottom: 1.6rem; }
.testi-author { display: flex; align-items: center; gap: .9rem; margin-top: auto; }
.testi-av {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; overflow: hidden;
  background: linear-gradient(140deg, var(--blue), var(--blue-deep)); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: .04em;
  flex: none; border: 1px solid rgba(91,130,255,.45); box-shadow: 0 6px 18px -6px rgba(42,83,255,.6);
}
.testi-av img { width: 100%; height: 100%; object-fit: cover; }
.testi-meta { display: flex; flex-direction: column; gap: .12rem; }
.testi-meta b { display: inline-flex; align-items: center; gap: .3rem; font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: .01em; text-transform: uppercase; }
.testi-badge { flex: none; }
.testi-user { color: var(--blue-2); font-size: .85rem; text-decoration: none; transition: color .2s; }
.testi-user:hover { color: #fff; }

/* ════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════ */
.contact { padding-block: clamp(4.5rem, 9vw, 8rem); background: var(--bg); overflow: hidden; }
.contact-slash { position: absolute; width: 200%; height: 140px; background: linear-gradient(90deg, transparent, rgba(42,83,255,.06), transparent); transform: rotate(-20deg); pointer-events: none; }
.contact-slash.s1 { top: 8%; left: -50%; }
.contact-slash.s2 { bottom: 6%; right: -50%; background: linear-gradient(90deg, transparent, rgba(91,130,255,.05), transparent); }
.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-text { color: var(--ink-soft); margin-top: 1.2rem; font-size: 1.08rem; max-width: 42ch; }
.contact-channels { display: flex; flex-direction: column; gap: .8rem; margin-top: 2.2rem; }
.channel { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); transition: border-color .3s, transform .3s var(--ease-out), background .3s; }
.channel:hover { border-color: rgba(91,130,255,.45); transform: translateX(4px); background: var(--bg-3); }
.channel-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: rgba(42,83,255,.12); color: var(--blue-2); flex: none; }
.channel-ic svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.channel-tx { display: flex; flex-direction: column; }
.channel-tx b { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: .02em; }
.channel-tx i { font-style: normal; color: var(--ink-mute); font-size: .85rem; }

/* Form */
.contact-form { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.6rem, 3vw, 2.4rem); }
.field { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--ink-soft); margin-bottom: .5rem; }
.field label span { color: var(--ink-mute); text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: .85rem 1rem; color: var(--ink); font-family: var(--font-body); font-size: 1rem;
  transition: border-color .25s, box-shadow .25s; width: 100%;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(42,83,255,.18); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23A7B0C8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px; padding-right: 2.6rem; }
.form-submit { width: 100%; justify-content: center; margin-top: .5rem; }
.form-submit.is-sending { opacity: .7; pointer-events: none; }
.form-status { margin-top: 1rem; font-size: .92rem; text-align: center; min-height: 1.2em; }
.form-status.ok { color: #4ade80; }
.form-status.err { color: #f87171; }

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-top: clamp(2.5rem, 5vw, 4rem); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { width: 54px; height: 54px; }
.footer-name { display: block; font-family: var(--font-display); font-weight: 800; letter-spacing: .14em; font-size: 1.3rem; }
.footer-tag { display: block; color: var(--blue-2); font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-nav a { color: var(--ink-soft); font-size: .95rem; transition: color .25s; }
.footer-nav a:hover { color: var(--blue-2); }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-block: 1.5rem; margin-top: 0; }
.footer-base p { color: var(--ink-mute); font-size: .82rem; }

/* ════════════════════════════════════════
   REVEAL ANIMATIONS
   ════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; } /* defensive */

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-figure { grid-row: 1; max-width: 380px; min-height: 460px; justify-self: start; }
  .hero-cutout { max-height: 500px; }
  .hero-title { font-size: clamp(2.4rem, 9vw, 4rem); }
  .creds-grid { grid-template-columns: 1fr; }
  .creds-head { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .prog-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* En móvil/tablet (≤1000px): menú overlay a PANTALLA COMPLETA y OPACO
   (evita que el hero se transparente por detrás al abrir el menú). */
@media (max-width: 1000px) {
  .nav-brand, .nav-right { position: relative; z-index: 60; } /* logo y botón X por encima del overlay */
  .nav-links {
    position: fixed; inset: 0;
    width: 100%; min-height: 100vh; min-height: 100dvh;
    flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
    background: linear-gradient(165deg, #0a1226 0%, #05070f 72%);
    padding: 6rem 1.5rem 3rem; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
    z-index: 55; border: 0;
  }
  .nav.menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a {
    font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
    font-size: clamp(1.6rem, 7vw, 2.2rem); letter-spacing: .05em; color: var(--ink);
    opacity: 0; transform: translateY(16px);
    transition: opacity .45s var(--ease), transform .45s var(--ease), color .2s;
  }
  .nav-links a::after { display: none; }
  .nav.menu-open .nav-links a { opacity: 1; transform: none; }
  .nav.menu-open .nav-links a:nth-child(1) { transition-delay: .06s; }
  .nav.menu-open .nav-links a:nth-child(2) { transition-delay: .11s; }
  .nav.menu-open .nav-links a:nth-child(3) { transition-delay: .16s; }
  .nav.menu-open .nav-links a:nth-child(4) { transition-delay: .21s; }
  .nav.menu-open .nav-links a:nth-child(5) { transition-delay: .26s; }
  .nav.menu-open .nav-links a:nth-child(6) { transition-delay: .31s; }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
}

@media (max-width: 760px) {
  .pillar-grid, .prog-grid, .prog-grid-4, .steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-badge { left: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .stats { gap: 1.6rem; }
  .stat-num { font-size: 2.5rem; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .hero-badge-num { font-size: 2.1rem; }
  .hero-iso { width: 54px; height: 54px; }
}

/* ════════════════════════════════════════
   REDUCED MOTION — only gate intrusive
   ════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .splash-bar i, .splash-logo { animation: none; }
  .hero-scroll span::after { animation: none; }
  .hero-glow { transition: none; }
}
