/* =====================================================================
   VOCHE — Tu voz. Tu liderazgo.
   Paleta y tipografía según Libro de Marca (Ajuste Sutil VO)
   ===================================================================== */

:root {
  /* Color de marca */
  --midnight: #101B35;
  --midnight-deep: #0A1226;
  --midnight-soft: #1A2747;
  --copper: #B65B35;
  --copper-light: #EF9467;
  --sand: #DCB29A;
  --ivory: #F3EFE7;
  --white: #FFFFFF;
  --muted: #5F6F73;

  /* Tipografía: Arial/Helvetica para titulares y lectura, Andale Mono para etiquetas */
  --f-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono: "Andale Mono", "JetBrains Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --max: 1440px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--midnight);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
em { font-style: normal; }
::selection { background: var(--copper-light); color: var(--midnight); }

.mono { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.kicker { color: var(--copper); margin-bottom: 1.6rem; }
[data-theme="dark"] .kicker { color: var(--copper-light); }

.skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--copper-light); color: var(--midnight); padding: .8rem 1.2rem; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Escala tipográfica ---------- */
.display { font-size: clamp(2.6rem, 7.4vw, 8.4rem); line-height: .95; letter-spacing: -.045em; font-weight: 700; }
.h1 { font-size: clamp(2.4rem, 5.6vw, 5.8rem); line-height: .98; letter-spacing: -.04em; font-weight: 700; }
.h2 { font-size: clamp(2.1rem, 4.6vw, 4.6rem); line-height: 1; letter-spacing: -.035em; font-weight: 700; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.32rem); line-height: 1.5; max-width: 36em; }
.display em, .h1 em, .h2 em, .hero__title em { color: var(--copper); }
[data-theme="dark"] .display em, [data-theme="dark"] .h1 em, [data-theme="dark"] .h2 em { color: var(--copper-light); }

/* ---------- Botones ---------- */
.btn {
  --bg: transparent; --fg: currentColor; --bd: currentColor;
  position: relative; display: inline-flex; align-items: center; gap: .9rem;
  padding: 1.05rem 1.5rem; font-weight: 700; font-size: .98rem; letter-spacing: -.01em;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  overflow: hidden; isolation: isolate; will-change: transform; white-space: nowrap;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fill, var(--midnight));
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn i { font-style: normal; display: inline-block; transition: transform .5s var(--ease); }
.btn:hover i { transform: translate(3px, -3px) rotate(0deg); }
.btn span, .btn i { pointer-events: none; }
.btn--copper { --bg: var(--copper-light); --fg: var(--midnight); --bd: var(--copper-light); --fill: var(--ivory); }
.btn--line { --bd: rgba(243,239,231,.35); --fill: var(--ivory); }
.btn--line:hover { color: var(--midnight); }
.btn--ghost { --bd: rgba(243,239,231,.3); --fill: var(--copper-light); padding: .7rem 1.1rem; font-size: .9rem; }
.btn--ghost:hover { color: var(--midnight); border-color: var(--copper-light); }
.btn--dark { --bg: var(--midnight); --fg: var(--ivory); --bd: var(--midnight); --fill: var(--copper); }

/* Iconos de flecha vectoriales (evita que iOS los muestre como emoji) */
.ico { display: block; width: .95em; height: .95em; }
.ico--inline { display: inline-block; vertical-align: -.1em; width: .9em; height: .9em; }
.acc__arrow .ico { width: 1.5rem; height: 1.5rem; }

/* ---------- Placeholders de imagen ---------- */
.ph {
  position: relative; aspect-ratio: var(--ar, 4/5); width: 100%; overflow: hidden;
  background: var(--midnight-soft);
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph--dark { background: linear-gradient(160deg, #1d2b4f 0%, #121d3a 55%, #0d1630 100%); color: var(--ivory); }
.ph--light { background: linear-gradient(160deg, #e9e2d6 0%, #ddd3c4 100%); color: var(--midnight); }
.ph::before {
  content: ""; position: absolute; inset: -40%;
  background: radial-gradient(closest-side, rgba(239,148,103,.22), transparent 70%);
  animation: phGlow 9s ease-in-out infinite alternate;
}
.ph--light::before { background: radial-gradient(closest-side, rgba(182,91,53,.16), transparent 70%); }
.ph::after { /* cruz de encuadre */
  content: ""; position: absolute; inset: 14px; border: 1px solid currentColor; opacity: .14; pointer-events: none;
}
.ph__in { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 1.6rem; z-index: 1; }
.ph__tag { opacity: .7; }
.ph__label { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; max-width: 18em; line-height: 1.25; }
.ph__spec { opacity: .55; }
.ph img ~ .ph__in { display: none; }
@keyframes phGlow { from { transform: translate(-12%, -8%); } to { transform: translate(14%, 10%); } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; } /* defensa: nunca ocultar textos divididos */

[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
[data-split].is-visible .w > span { transform: none; }

.clip-reveal { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-in-out); }
.clip-reveal.is-visible { clip-path: inset(0 0 0 0); }

/* ---------- Grano, progreso, cursor ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-4%,3%)} 40%{transform:translate(3%,-5%)} 60%{transform:translate(-6%,-2%)} 80%{transform:translate(5%,4%)} 100%{transform:translate(0,0)} }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--copper-light); transform-origin: 0 50%; transform: scaleX(0); }

.cursor { position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none; opacity: 0; transition: opacity .3s; mix-blend-mode: difference; }
.cursor.is-ready { opacity: 1; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(255,255,255,.7);
  display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, border-color .3s;
}
.cursor__label { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; font-style: normal; color: #000; opacity: 0; transition: opacity .2s; }
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: transparent; background: rgba(255,255,255,.12); }
.cursor.is-label .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: #fff; border-color: #fff; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300; background: var(--midnight); color: var(--ivory);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2rem;
  animation: loaderSafety .01s 4.5s forwards; /* red de seguridad CSS */
  transition: transform 1.1s var(--ease-in-out);
}
.loader__logo { width: min(68vw, 640px); overflow: hidden; }
.loader__logo .ll { transform: translateY(120%); animation: llUp 1s var(--ease) forwards; }
.loader__logo .ll:nth-child(2) { animation-delay: .08s; }
.loader__logo .ll:nth-child(3) { animation-delay: .16s; }
.loader__logo .ll:nth-child(4) { animation-delay: .24s; }
.loader__logo .ll:nth-child(5) { animation-delay: .32s; }
@keyframes llUp { to { transform: none; } }
.loader__meta { width: min(68vw, 640px); display: flex; justify-content: space-between; color: var(--sand); }
.loader__bar { width: min(68vw, 640px); height: 1px; background: rgba(243,239,231,.15); }
.loader__bar i { display: block; height: 100%; background: var(--copper-light); transform-origin: 0 50%; transform: scaleX(0); animation: barFill 1.6s var(--ease-in-out) .2s forwards; }
@keyframes barFill { to { transform: scaleX(1); } }
.loader.is-done { transform: translateY(-100%); }
@keyframes loaderSafety { to { transform: translateY(-100%); visibility: hidden; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; gap: 2rem; padding: 0 var(--gutter);
  color: var(--ivory); transition: color .5s var(--ease), background .5s var(--ease), transform .6s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(16,27,53,.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: rgba(243,239,231,.08); }
.nav.is-light { color: var(--midnight); }
.nav.is-light.is-scrolled { background: rgba(243,239,231,.78); border-color: rgba(16,27,53,.08); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo svg { width: 118px; height: 27px; color: currentColor; }
.nav__links { display: flex; gap: 2.2rem; margin-left: auto; font-size: .95rem; }
.nav__links a { position: relative; display: flex; gap: .45rem; align-items: baseline; padding: .4rem 0; }
.nav__links a .mono { font-size: .6rem; opacity: .55; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav.is-light .btn--ghost { --bd: rgba(16,27,53,.25); }
.nav__burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.nav__burger i { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.nav__burger i:first-child { top: 17px; } .nav__burger i:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] i:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] i:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--midnight); color: var(--ivory);
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 2rem; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-in-out); visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__list a { display: flex; align-items: baseline; gap: 1rem; font-size: clamp(2.4rem, 11vw, 4rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.15; border-bottom: 1px solid rgba(243,239,231,.1); padding: .4rem 0; }
.menu__list .mono { color: var(--copper-light); }
.menu__list small { margin-left: auto; font-size: .8rem; font-weight: 400; letter-spacing: 0; color: var(--sand); }
.menu__foot { color: var(--sand); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; background: var(--midnight); color: var(--ivory);
  padding: calc(var(--nav-h) + 1.5rem) var(--gutter) 2.2rem; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden;
}
.hero__wave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__vignette { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(120% 90% at 30% 60%, transparent 40%, rgba(10,18,38,.85) 100%); }
.hero > *:not(canvas):not(.hero__vignette) { position: relative; z-index: 1; }
.hero__top { display: flex; justify-content: space-between; color: var(--sand); }
.hero__rec { display: inline-flex; align-items: center; gap: .6rem; }
.hero__rec b { width: 7px; height: 7px; border-radius: 50%; background: var(--copper-light); box-shadow: 0 0 0 0 rgba(239,148,103,.6); animation: rec 1.8s infinite; }
@keyframes rec { 0% { box-shadow: 0 0 0 0 rgba(239,148,103,.6); } 70% { box-shadow: 0 0 0 10px rgba(239,148,103,0); } 100% { box-shadow: 0 0 0 0 rgba(239,148,103,0); } }

.hero__grid { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: end; padding: 3rem 0 2.5rem; }
.hero__title { font-size: clamp(3.4rem, 11.2vw, 13.5rem); white-space: nowrap; line-height: .86; letter-spacing: -.055em; font-weight: 700; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line__in { display: inline-block; transform: translateY(110%); transition: transform 1.4s var(--ease); }
.hero__title .line:nth-child(2) .line__in { transition-delay: .12s; }
.hero__title em { color: var(--copper-light); }
body.is-ready .hero__title .line__in { transform: none; }

.hero__media { position: relative; align-self: end; padding-bottom: .6em; }
.hero__card {
  position: relative; width: clamp(200px, 17vw, 260px); aspect-ratio: 1/1; gap: 1.5rem;
  background: var(--copper-light); color: var(--midnight); padding: 1.3rem; display: flex; flex-direction: column; justify-content: space-between;
  transform: translateY(40px); opacity: 0; transition: transform 1.2s var(--ease) .9s, opacity 1s .9s;
}
body.is-ready .hero__card { transform: none; opacity: 1; }
.hero__card p { font-weight: 700; font-size: clamp(.95rem, 1.25vw, 1.25rem); line-height: 1.2; letter-spacing: -.01em; }
.hero__card .mono { font-size: .58rem; opacity: .7; }

.hero__bottom { display: grid; grid-template-columns: 1.1fr auto; gap: 1.5rem 3rem; align-items: end; border-top: 1px solid rgba(243,239,231,.14); padding-top: 1.6rem; }
body.is-ready .hero .reveal { opacity: 1; transform: none; transition-delay: .55s; }
.hero__lead { max-width: 32em; color: rgba(243,239,231,.82); font-size: 1.08rem; }
.hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: flex-end; }
.hero__units { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: .6rem; }
.hero__units a { display: flex; justify-content: space-between; gap: .8rem; padding: .9rem 0; border-top: 1px solid rgba(243,239,231,.14); color: var(--ivory); transition: color .3s, padding .5s var(--ease); margin-right: 1.5rem; }
.hero__units small { font-size: .62rem; color: var(--sand); }
.hero__units a:hover { color: var(--copper-light); padding-left: .5rem; }
.hero__scroll { position: absolute !important; right: var(--gutter); top: 50%; writing-mode: vertical-rl; display: flex; align-items: center; gap: 1rem; color: var(--sand); font-size: .6rem; }
.hero__scroll i { width: 1px; height: 64px; background: rgba(243,239,231,.2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: var(--copper-light); animation: scrollLine 2s var(--ease-in-out) infinite; }
@keyframes scrollLine { to { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--copper); color: var(--ivory); overflow: hidden; padding: 1.15rem 0; border-block: 1px solid rgba(16,27,53,.15); }
.marquee__track { display: flex; gap: 2.2rem; width: max-content; animation: marquee 38s linear infinite; font-weight: 700; font-size: clamp(1.2rem, 2.2vw, 2rem); letter-spacing: -.02em; white-space: nowrap; align-items: center; }
.marquee__track b { font-size: .5em; color: var(--midnight); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifiesto ---------- */
.manifesto { padding: clamp(6rem, 14vw, 13rem) 0 clamp(5rem, 10vw, 9rem); background: var(--ivory); }
.manifesto__text { font-size: clamp(1.9rem, 4.3vw, 4.4rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; max-width: 22ch; max-width: 1200px; }
.manifesto__text .sw { color: rgba(16,27,53,.13); transition: color .5s var(--ease); }
.manifesto__text .sw.is-on { color: var(--midnight); }
.manifesto__text mark { background: none; color: inherit; }
.manifesto__text mark .sw.is-on { color: var(--copper); }
.manifesto__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: clamp(3rem, 7vw, 6rem); padding-top: 2rem; border-top: 1px solid rgba(16,27,53,.15); }
.manifesto__foot p:first-child { font-size: 1.12rem; max-width: 34em; }
.manifesto__sign { color: var(--copper); font-size: .85rem; line-height: 1.8; align-self: end; justify-self: end; text-align: right; }

/* ---------- Unidades / acordeón ---------- */
.units { background: var(--ivory); padding-bottom: clamp(5rem, 9vw, 8rem); }
.units__head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: 3rem; }
.units__head .kicker { grid-column: 1 / -1; margin-bottom: 0; }
.units__intro { max-width: 28em; font-size: 1.08rem; }
.accordion { display: flex; height: clamp(520px, 74vh, 720px); gap: 10px; padding: 0 var(--gutter); max-width: calc(var(--max) + 0px); margin: 0 auto; }
.acc {
  position: relative; flex: 1; min-width: 0; padding: 1.8rem; display: flex; flex-direction: column; overflow: hidden;
  transition: flex 1s var(--ease), background .4s;
}
.acc--dark { background: var(--midnight); color: var(--ivory); }
.acc--white { background: var(--white); color: var(--midnight); }
.acc--copper { background: var(--copper); color: var(--ivory); }
.accordion:hover .acc, .accordion:focus-within .acc { flex: .7; }
.accordion .acc:hover, .accordion .acc:focus-visible { flex: 2.6; }
.acc__n { opacity: .6; }
.acc__brand { margin-top: auto; }
.acc__brand svg { width: min(100%, 240px); height: auto; aspect-ratio: 460/105; }
.acc__brand span { display: block; margin-top: .6rem; font-size: 1.35rem; color: var(--sand); }
.acc--white .acc__brand span { color: var(--copper); }
.acc--copper .acc__brand span { color: var(--midnight); }
.acc__body { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 1s var(--ease), opacity .5s, margin .8s var(--ease); }
.acc:hover .acc__body, .acc:focus-visible .acc__body { max-height: 260px; opacity: 1; margin-top: 1.6rem; transition-delay: .15s; }
.acc__role { font-size: clamp(1.6rem, 2.6vw, 2.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.acc__who { margin-top: .8rem; max-width: 26em; opacity: .85; }
.acc__q { margin-top: 1.2rem; color: var(--copper-light); }
.acc--white .acc__q { color: var(--copper); }
.acc--copper .acc__q { color: var(--midnight); }
.acc__arrow { position: absolute; top: 1.4rem; right: 1.6rem; font-size: 1.6rem; transition: transform .6s var(--ease); }
.acc:hover .acc__arrow { transform: rotate(-45deg); }

/* ---------- Lockup (logo + descriptor) ---------- */
.lockup { display: flex; align-items: flex-end; gap: 1rem; margin-bottom: 2.2rem; }
.lockup svg { width: clamp(150px, 16vw, 230px); height: auto; aspect-ratio: 460/105; color: var(--ivory); }
.lockup span { font-size: clamp(1.3rem, 2vw, 1.9rem); line-height: 1; color: var(--sand); transform: translateY(-.1em); }
.lockup--dark svg { color: var(--midnight); }
.lockup--dark span { color: var(--copper); }

/* ---------- Academy ---------- */
.academy { background: var(--midnight); color: var(--ivory); padding: clamp(6rem, 11vw, 10rem) 0; }
.academy__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 7rem); }
.sticky { position: sticky; top: calc(var(--nav-h) + 2rem); }
.academy .h2 { margin-bottom: 1.8rem; }
.academy .lead { color: rgba(243,239,231,.82); margin-bottom: 1.8rem; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.2rem; }
.pills li { font-family: var(--f-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; padding: .55rem .85rem; border: 1px solid rgba(243,239,231,.22); border-radius: 100px; color: var(--sand); }
.academy__media { position: relative; margin-bottom: 5rem; }
.academy__media .ph:first-child { width: 78%; }
.academy__media .ph--small { position: absolute; width: 40%; right: 0; bottom: -12%; border: 10px solid var(--midnight); }
.disciplines { counter-reset: d; border-top: 1px solid rgba(243,239,231,.15); }
.disc {
  display: grid; grid-template-columns: 4rem 1fr; gap: 0 1rem; padding: 1.5rem 0; border-bottom: 1px solid rgba(243,239,231,.15);
  cursor: default; position: relative;
}
.disc::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(239,148,103,.12), transparent 70%); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease); }
.disc:hover::before { transform: scaleX(1); }
.disc__n { color: var(--copper-light); padding-top: .9rem; }
.disc h3 { font-size: clamp(1.8rem, 3.6vw, 3.4rem); letter-spacing: -.04em; line-height: 1.05; font-weight: 700; transition: transform .7s var(--ease), color .4s; }
.disc:hover h3 { transform: translateX(14px); color: var(--copper-light); }
.disc p { grid-column: 2; max-width: 34em; color: rgba(243,239,231,.7); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .8s var(--ease), opacity .5s, margin .6s var(--ease); }
.disc:hover p, .disc:focus-within p { max-height: 120px; opacity: 1; margin-top: .6rem; }
.formats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3rem; border: 1px solid rgba(243,239,231,.15); }
.formats > div { padding: 1.3rem; border-right: 1px solid rgba(243,239,231,.15); }
.formats > div:last-child { border-right: 0; }
.formats .mono { color: var(--sand); font-size: .62rem; }
.formats p { font-weight: 700; margin-top: .4rem; font-size: 1.1rem; }

/* ---------- 1:1 ---------- */
.uno { background: var(--ivory); padding: clamp(6rem, 11vw, 10rem) 0; }
.uno__head { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.uno__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.uno__portrait { position: sticky; top: calc(var(--nav-h) + 2rem); }
.uno .h1 { margin-bottom: 2rem; }
.uno .lead { margin-bottom: 2rem; }
.note { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; padding: 1.3rem 1.4rem; background: var(--white); border-left: 3px solid var(--copper); margin-bottom: 2.5rem; }
.note .mono { color: var(--copper); padding-top: .25rem; }
.areas { display: grid; gap: 0; border-top: 1px solid rgba(16,27,53,.15); }
.area { display: grid; grid-template-columns: 3rem 1fr; gap: .2rem 1rem; padding: 1.5rem 0; border-bottom: 1px solid rgba(16,27,53,.15); }
.area .mono { color: var(--copper); padding-top: .5rem; grid-row: span 2; }
.area h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -.03em; font-weight: 700; }
.area p { color: var(--muted); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: clamp(5rem, 9vw, 8rem); padding-top: 3rem; }
.steps__line { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(16,27,53,.15); }
.steps__line i { display: block; height: 3px; margin-top: -1px; background: var(--copper); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.step { position: relative; }
.step::before { content: ""; position: absolute; top: calc(-3rem - 6px); left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--copper); }
.step .mono { color: var(--copper); }
.step h4 { font-size: 1.5rem; letter-spacing: -.02em; margin: .5rem 0; }
.step p { color: var(--muted); font-size: .98rem; }
.uno__cta { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; margin-top: clamp(4rem, 7vw, 6rem); padding-top: 2.5rem; border-top: 1px solid rgba(16,27,53,.15); }
.quote { font-size: clamp(1.6rem, 3vw, 2.8rem); font-weight: 700; letter-spacing: -.03em; color: var(--copper); }

/* ---------- Consulting / scroll horizontal ---------- */
.consulting { background: var(--midnight-deep); color: var(--ivory); }
.hs { position: relative; }
.hs__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hs__track { display: flex; gap: clamp(1.5rem, 3vw, 3rem); padding: calc(var(--nav-h) + 1rem) var(--gutter) 2rem; width: max-content; will-change: transform; align-items: stretch; }
.hs__intro { width: min(560px, 80vw); display: flex; flex-direction: column; justify-content: center; padding-right: 2rem; }
.hs__intro .h1 { margin-bottom: 1.6rem; }
.hs__intro .lead { color: rgba(243,239,231,.78); font-size: 1.08rem; }
.hs__hint { margin-top: 2rem; color: var(--copper-light); }
.prog { width: clamp(300px, 30vw, 440px); display: flex; flex-direction: column; gap: 1rem; padding: 1.2rem; border: 1px solid rgba(243,239,231,.12); background: rgba(26,39,71,.35); transition: border-color .5s, transform .8s var(--ease); }
.prog:hover { border-color: var(--copper-light); transform: translateY(-8px); }
.prog__n { color: var(--copper-light); margin-top: .6rem; }
.prog h3 { font-size: clamp(1.5rem, 2.2vw, 2.1rem); letter-spacing: -.03em; line-height: 1.05; font-weight: 700; }
.prog p { color: rgba(243,239,231,.7); }
.prog--end { background: var(--copper-light); color: var(--midnight); border-color: var(--copper-light); justify-content: flex-end; padding: 2rem; }
.prog--end .prog__n { color: var(--midnight); }
.prog--end p { color: rgba(16,27,53,.8); margin-bottom: 1.4rem; }
.prog--end .btn { --bg: var(--midnight); --fg: var(--ivory); --bd: var(--midnight); --fill: var(--copper); align-self: flex-start; }
.hs__progress { display: flex; align-items: center; gap: 1.2rem; padding: 0 var(--gutter) 2rem; color: var(--sand); }
.hs__bar { flex: 1; height: 1px; background: rgba(243,239,231,.15); }
.hs__bar i { display: block; height: 100%; background: var(--copper-light); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Lab ---------- */
.lab { position: relative; background: var(--ivory); padding: clamp(6rem, 11vw, 10rem) 0; overflow: hidden; }
.lab__grid-bg { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(16,27,53,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(16,27,53,.06) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(80% 70% at 70% 40%, #000 30%, transparent 85%); -webkit-mask-image: radial-gradient(80% 70% at 70% 40%, #000 30%, transparent 85%); }
.lab .wrap { position: relative; }
.lab__head { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.lab__head .lockup { margin-bottom: 0; }
.lab__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.lab .lead { margin-bottom: 2.5rem; }
.protocol { border-top: 1px solid rgba(16,27,53,.15); }
.protocol li { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: 1.3rem 0; border-bottom: 1px solid rgba(16,27,53,.15); }
.protocol .mono { color: var(--copper); font-size: .78rem; }
.protocol p { font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }
.fine { margin-top: 2rem; color: var(--muted); font-size: .9rem; }

.scope { background: var(--midnight); color: var(--ivory); padding: 1.1rem; box-shadow: 0 40px 80px -30px rgba(16,27,53,.45); }
.scope__bar { display: flex; justify-content: space-between; color: var(--sand); padding: .2rem .2rem 1rem; font-size: .62rem; }
.scope__bar > span:first-child { display: inline-flex; gap: .55rem; align-items: center; }
.scope__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sand); }
.scope.is-live .scope__dot { background: var(--copper-light); animation: rec 1.6s infinite; }
.scope__canvas { width: 100%; height: clamp(220px, 28vw, 340px); background: var(--midnight-deep); }
.scope__read { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(243,239,231,.1); margin-top: 1rem; }
.scope__read > div { padding: .9rem .2rem; display: flex; flex-direction: column; gap: .35rem; }
.scope__read span { color: var(--sand); font-size: .58rem; }
.scope__read b { font-size: 1.15rem; letter-spacing: 0; color: var(--ivory); font-weight: 500; }
.scope__foot { display: flex; align-items: center; gap: 1.4rem; padding-top: 1rem; border-top: 1px solid rgba(243,239,231,.1); }
.scope__foot p { color: rgba(243,239,231,.55); font-size: .6rem; line-height: 1.6; text-transform: none; letter-spacing: .02em; }
.scope.is-live [data-mic] { --bg: transparent; --fg: var(--ivory); --bd: rgba(243,239,231,.35); }

/* ---------- Comparativa ---------- */
.matrix { background: var(--white); padding: clamp(6rem, 10vw, 9rem) 0; }
.matrix .h2 { margin-bottom: 3rem; }
.matrix__tabs { display: none; }
.table { border-top: 1px solid var(--midnight); }
.row { display: grid; grid-template-columns: 1fr repeat(4, 1.35fr); border-bottom: 1px solid rgba(16,27,53,.12); }
.cell { padding: 1.3rem 1.1rem; transition: background .4s, color .4s; font-size: 1rem; }
.cell--label { color: var(--muted); padding-left: 0; padding-top: 1.55rem; }
.row--head .cell { font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.8rem); letter-spacing: -.03em; display: flex; gap: .6rem; align-items: baseline; }
.row--head .cell .mono { color: var(--copper); font-size: .62rem; }
.cell--quote { font-weight: 700; color: var(--copper); }
.table[data-hover] .cell[data-c] { opacity: .4; }
.table[data-hover="1"] .cell[data-c="1"], .table[data-hover="2"] .cell[data-c="2"],
.table[data-hover="3"] .cell[data-c="3"], .table[data-hover="4"] .cell[data-c="4"] { opacity: 1; background: var(--ivory); }

/* ---------- Método ---------- */
.method { background: var(--midnight); color: var(--ivory); padding: clamp(6rem, 11vw, 10rem) 0; overflow: hidden; }
.method__head { max-width: 1100px; margin-bottom: clamp(4rem, 7vw, 6rem); }
.method__head .h1 { font-size: clamp(2rem, 4.4vw, 4.4rem); }
.method__flow { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); padding-top: 9rem; }
.method__path { position: absolute; top: 0; left: 0; width: 100%; height: 160px; overflow: visible; }
.method__path path { fill: none; stroke: var(--copper-light); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); }
.mstep { border-top: 1px solid rgba(243,239,231,.18); padding-top: 1.6rem; }
.mstep > .mono { color: var(--copper-light); }
.mstep h3 { font-size: clamp(2rem, 3.4vw, 3.2rem); letter-spacing: -.04em; margin: .8rem 0 1rem; }
.mstep p { color: rgba(243,239,231,.72); }
.mstep em { display: block; margin-top: 1.4rem; color: var(--sand); }

/* ---------- Valores (stack) ---------- */
.values { background: var(--ivory); padding: clamp(6rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem); }
.stack { display: grid; gap: 2rem; }
.vcard {
  position: sticky; top: calc(var(--nav-h) + 1.5rem); min-height: min(68vh, 620px);
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr auto; gap: 1rem 2rem;
  padding: clamp(1.6rem, 4vw, 3.5rem); box-shadow: 0 -20px 60px -30px rgba(16,27,53,.35);
  transform-origin: 50% 0; will-change: transform;
}
.vcard--1 { background: var(--midnight); color: var(--ivory); }
.vcard--2 { background: var(--copper); color: var(--ivory); top: calc(var(--nav-h) + 3rem); }
.vcard--3 { background: var(--white); color: var(--midnight); top: calc(var(--nav-h) + 4.5rem); }
.vcard > .mono { opacity: .7; }
.vcard h3 { font-family: var(--f-mono); font-weight: 400; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; justify-self: end; }
.vcard__big { grid-column: 1 / -1; align-self: center; font-size: clamp(2.4rem, 6.6vw, 7rem); line-height: .95; letter-spacing: -.05em; font-weight: 700; max-width: 14ch; }
.vcard--1 .vcard__big { color: var(--copper-light); }
.vcard--3 .vcard__big { color: var(--copper); }
.vcard > p:last-child { grid-column: 1 / -1; max-width: 40em; font-size: 1.08rem; opacity: .85; }

/* ---------- Dirección ---------- */
.founder { background: var(--midnight); color: var(--ivory); padding: clamp(6rem, 11vw, 10rem) 0; }
.founder__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.founder .h1 { font-size: clamp(2.2rem, 4.6vw, 4.8rem); margin-bottom: 2rem; }
.founder__name { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 1.6rem; display: flex; flex-direction: column; gap: .5rem; }
.founder__name .mono { color: var(--copper-light); font-weight: 400; font-size: .66rem; }
.founder .lead { color: rgba(243,239,231,.88); margin-bottom: 1.2rem; }
.founder p:not(.lead):not(.kicker):not(.founder__name) { color: rgba(243,239,231,.68); max-width: 38em; }
.creds { margin-top: 2.5rem; border-top: 1px solid rgba(243,239,231,.15); }
.creds li { display: grid; grid-template-columns: 13rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(243,239,231,.15); }
.creds .mono { color: var(--sand); font-size: .62rem; padding-top: .3rem; }

/* ---------- Contacto ---------- */
.contact { background: var(--ivory); padding: clamp(6rem, 11vw, 10rem) 0; }
.contact__head { margin-bottom: clamp(3rem, 6vw, 5rem); scroll-margin-top: calc(var(--nav-h) + 2rem); }
.contact .display { max-width: 15ch; }
.route { margin-bottom: 3rem; }
.route__q { color: var(--copper); margin-bottom: 1rem; }
.route__opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.route__opts button {
  text-align: left; padding: 1.4rem; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; gap: 1.2rem;
  background: var(--white); border: 1px solid rgba(16,27,53,.1); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.15;
  transition: background .5s var(--ease), color .5s var(--ease), transform .6s var(--ease);
}
.route__opts button .mono { color: var(--copper); font-weight: 400; }
.route__opts button:hover { transform: translateY(-4px); }
.route__opts button[aria-checked="true"] { background: var(--midnight); color: var(--ivory); }
.route__opts button[aria-checked="true"] .mono { color: var(--copper-light); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--white); }
.form label { display: flex; flex-direction: column; gap: .5rem; }
.form label .mono { color: var(--muted); font-size: .62rem; }
.form input, .form select, .form textarea {
  font: inherit; color: var(--midnight); background: transparent; border: 0; border-bottom: 1px solid rgba(16,27,53,.25);
  padding: .7rem 0; border-radius: 0; outline: none; transition: border-color .3s; width: 100%;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--copper); }
.form .is-invalid { border-color: var(--copper) !important; }
.form__wide { grid-column: 1 / -1; }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.form__msg { color: var(--muted); font-size: .62rem; text-transform: none; letter-spacing: .02em; max-width: 46em; line-height: 1.6; }
.form__msg.is-alert { color: var(--copper); }
.contact__direct { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgba(16,27,53,.15); }
.big-link { font-size: clamp(1.6rem, 4.4vw, 4rem); font-weight: 700; letter-spacing: -.04em; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .7s var(--ease), color .3s; }
.big-link:hover { background-size: 100% 2px; color: var(--copper); }
.contact__direct .mono { color: var(--copper); }

/* ---------- Footer ---------- */
.footer { background: var(--midnight-deep); color: var(--ivory); padding: clamp(4rem, 8vw, 7rem) 0 2rem; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(3rem, 7vw, 6rem); }
.footer__claim { font-size: clamp(1.6rem, 3vw, 2.8rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.footer__nav { display: flex; flex-direction: column; gap: .7rem; color: var(--sand); }
.footer__nav a:hover { color: var(--copper-light); }
.footer__logo { width: 100%; height: auto; aspect-ratio: 460/105; color: var(--ivory); transform: translateY(var(--fy, 0)); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(243,239,231,.12); color: var(--sand); font-size: .62rem; }


/* 1:1 — composición gráfica (dos voces en conversación) */
.uno__mark { aspect-ratio: 4/5; background: var(--midnight); color: var(--ivory); padding: clamp(1.4rem, 2.4vw, 2.2rem); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: sticky; }
.uno__mark::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(243,239,231,.1); pointer-events: none; }
.uno__mark-top { display: flex; justify-content: space-between; gap: 1rem; color: var(--sand); font-size: .6rem; position: relative; }
.uno__big { font-size: clamp(6rem, 15vw, 15rem); font-weight: 700; letter-spacing: -.06em; line-height: .8; color: var(--ivory); margin-top: auto; }
.uno__waves { width: calc(100% + 2 * clamp(1.4rem, 2.4vw, 2.2rem)); margin: 1.6rem calc(-1 * clamp(1.4rem, 2.4vw, 2.2rem)); height: clamp(70px, 9vw, 120px); overflow: visible; }
.uw { fill: none; vector-effect: non-scaling-stroke; }
.uw--a { stroke: var(--ivory); stroke-width: 1.5; opacity: .85; animation: uwave 6s linear infinite; }
.uw--b { stroke: var(--copper-light); stroke-width: 2; animation: uwave 4.5s linear infinite reverse; }
.uw--c { stroke: var(--sand); stroke-width: 1; opacity: .5; animation: uwave 9s linear infinite; }
@keyframes uwave { to { transform: translateX(-100px); } }
.uno__mark-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; border-top: 1px solid rgba(243,239,231,.15); padding-top: 1rem; position: relative; font-size: .62rem; }
.uno__mark-foot li { display: flex; flex-direction: column; gap: .3rem; color: var(--ivory); }
.uno__mark-foot span { color: var(--copper-light); }


/* Consulting — paneles gráficos por programa */
.pgfx { position: relative; aspect-ratio: 4/3; overflow: hidden; background: radial-gradient(120% 90% at 20% 50%, #1d2b4f 0%, #121d3a 60%, #0d1630 100%); }
.pgfx::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(243,239,231,.1); pointer-events: none; }
.pgfx svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pgfx__tag, .pgfx__cap { position: absolute; left: 1.3rem; z-index: 1; font-size: .58rem; color: var(--sand); }
.pgfx__tag { top: 1.2rem; }
.pgfx__cap { bottom: 1.1rem; color: rgba(243,239,231,.6); }
.pgfx svg * { vector-effect: non-scaling-stroke; }
/* P1 */
.arc { fill: none; stroke: rgba(243,239,231,.22); stroke-width: 1; animation: arcPulse 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * .16s); }
.arc--cu { stroke: var(--copper-light); stroke-width: 1.6; }
.src { fill: var(--copper-light); }
@keyframes arcPulse { 0%, 100% { opacity: .25; } 30% { opacity: 1; } }
/* P2 */
.bar { fill: rgba(243,239,231,.7); transform-box: fill-box; transform-origin: 50% 100%; animation: barLvl 1.8s ease-in-out infinite alternate; }
.bar--cu { fill: var(--copper-light); }
.base { stroke: rgba(243,239,231,.25); stroke-width: 1; }
@keyframes barLvl { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
/* P3 */
.noise { fill: none; stroke: rgba(243,239,231,.35); stroke-width: 1; stroke-linejoin: round; }
.clear { stroke: var(--copper-light); stroke-width: 2.4; }
.dot { fill: var(--ivory); animation: dotRun 3.2s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes dotRun { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(122px); opacity: 0; } }
/* P4 */
.turn { fill: none; stroke-width: 1.8; stroke-linejoin: round; animation: turnTalk 5s ease-in-out infinite; }
.turn--a { stroke: var(--ivory); }
.turn--b { stroke: var(--copper-light); animation-delay: -2.5s; }
.mid { stroke: rgba(243,239,231,.18); stroke-width: 1; stroke-dasharray: 3 5; }
@keyframes turnTalk { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }


/* Duotono de marca para fotos (medianoche → cobre luz), color real al pasar el ratón */
.ph--duo img { filter: grayscale(1) contrast(1.12) brightness(.95); transition: filter 1.2s var(--ease); }
.duo { position: absolute; inset: 0; pointer-events: none; transition: opacity 1.2s var(--ease); }
.duo--m { background: linear-gradient(170deg, var(--copper-light) 0%, var(--copper) 100%); mix-blend-mode: multiply; }
.duo--l { background: var(--midnight); mix-blend-mode: lighten; }
.ph--duo-soft .duo--m { background: linear-gradient(170deg, var(--sand) 0%, var(--copper-light) 100%); }
.ph--duo-soft img { filter: grayscale(1) contrast(1.2) brightness(.92); }
.ph--duo:hover img { filter: grayscale(0) contrast(1) brightness(1); }
.ph--duo:hover .duo { opacity: 0; }


/* Dirección — datos de trayectoria */
.facts { display: grid; grid-template-columns: .75fr .85fr 1.6fr; margin-top: 2.8rem; border-top: 1px solid rgba(243,239,231,.15); }
.fact { padding: 1.6rem 1.4rem 0 0; display: flex; flex-direction: column; gap: .8rem; }
.fact + .fact { padding-left: 1.4rem; border-left: 1px solid rgba(243,239,231,.15); }
.fact__big { font-size: clamp(1.8rem, 2.8vw, 2.9rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--ivory); }
.fact__big--num { color: var(--copper-light) !important; }
.fact .mono { color: var(--sand); font-size: .6rem; line-height: 1.7; }
@media (max-width: 900px) {
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 1.3rem 0; border-left: 0; border-bottom: 1px solid rgba(243,239,231,.15); }
}


/* Contacto — canales */
.form__opt { font-style: normal; opacity: .6; }
.form__send { display: flex; gap: .7rem; flex-wrap: wrap; }
.btn--outline { --bg: transparent; --fg: var(--midnight); --bd: rgba(16,27,53,.3); --fill: var(--midnight); }
.btn--outline:hover { color: var(--ivory); }
.contact__links { display: flex; flex-direction: column; align-items: flex-end; gap: .7rem; }
.contact__links a { color: var(--copper); transition: color .3s; }
.contact__links a:hover { color: var(--midnight); }
.menu__foot a { color: var(--copper-light); }

/* Botón flotante de WhatsApp — en clave de marca, no el verde genérico */
.wa-float {
  position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem); z-index: 95;
  display: flex; align-items: center; gap: 0; height: 56px; padding: 0 16px; border-radius: 100px;
  background: var(--copper-light); color: var(--midnight); box-shadow: 0 18px 40px -14px rgba(16,27,53,.55);
  transform: translateY(140%); opacity: 0; transition: transform .7s var(--ease), opacity .5s, gap .5s var(--ease);
}
.wa-float.is-on { transform: none; opacity: 1; }
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .6s var(--ease); font-size: .66rem; }
.wa-float:hover { gap: .6rem; }
.wa-float:hover span { max-width: 120px; }
@media (max-width: 900px) {
  .contact__links { align-items: flex-start; }
  .wa-float { height: 52px; padding: 0 14px; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  .nav__links { gap: 1.4rem; }
  .row { grid-template-columns: .9fr repeat(4, 1.2fr); }
  .cell { font-size: .92rem; padding: 1.1rem .8rem; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .hero__scroll { display: none; }

  .hero__grid { grid-template-columns: 1fr; padding: 2.5rem 0 2rem; gap: 2rem; }
  .hero__media { order: 2; padding-bottom: 0; }
  .hero__card { width: 200px; aspect-ratio: auto; padding: 1.1rem; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__actions { justify-content: flex-start; }
  .hero__units { grid-template-columns: 1fr 1fr; }

  .manifesto__foot { grid-template-columns: 1fr; gap: 1.5rem; }
  .manifesto__sign { justify-self: start; text-align: left; }

  .units__head { grid-template-columns: 1fr; }
  .accordion { flex-direction: column; height: auto; }
  .accordion:hover .acc, .accordion .acc:hover { flex: none; }
  .acc { min-height: 0; padding: 1.5rem; }
  .acc__brand { margin-top: 2.5rem; }
  .acc__body { max-height: none; opacity: 1; margin-top: 1.2rem; }

  .academy__grid, .uno__grid, .lab__body, .founder__grid { grid-template-columns: 1fr; }
  .sticky, .uno__portrait { position: relative; top: 0; }
  .academy__main { margin-top: 3rem; }
  .disc p { max-height: none; opacity: 1; margin-top: .4rem; }
  .formats { grid-template-columns: 1fr; }
  .formats > div { border-right: 0; border-bottom: 1px solid rgba(243,239,231,.15); }
  .formats > div:last-child { border-bottom: 0; }

  .steps { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }

  /* Consulting: scroll horizontal nativo en móvil */
  .hs__sticky { position: relative; height: auto; padding: 5rem 0 3rem; }
  .hs__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-top: 0; transform: none !important; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .hs__track::-webkit-scrollbar { display: none; }
  .hs__track > * { scroll-snap-align: start; flex-shrink: 0; }
  .hs__intro { width: 84vw; }
  .prog { width: 78vw; }
  .hs__progress { display: none; }

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

  .matrix__tabs { display: flex; gap: .4rem; margin-bottom: 1.5rem; overflow-x: auto; }
  .matrix__tabs button { padding: .7rem 1rem; border: 1px solid rgba(16,27,53,.2); white-space: nowrap; }
  .matrix__tabs button[aria-selected="true"] { background: var(--midnight); color: var(--ivory); border-color: var(--midnight); }
  .row { grid-template-columns: 7.5rem 1fr; }
  .table .cell[data-c] { display: none; }
  .table[data-active="1"] .cell[data-c="1"], .table[data-active="2"] .cell[data-c="2"],
  .table[data-active="3"] .cell[data-c="3"], .table[data-active="4"] .cell[data-c="4"] { display: flex; opacity: 1; background: none; }

  .method__flow { grid-template-columns: 1fr; padding-top: 0; }
  .method__path { display: none; }

  .vcard { min-height: 70vh; }
  .creds li { grid-template-columns: 1fr; gap: .3rem; }
  .route__opts { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero__title { font-size: 13.4vw; }
  .hero__top > span:first-child { display: none; }
  .hero__top { justify-content: flex-end; }
  .hero__units { grid-template-columns: 1fr; }
  .hero__units a { margin-right: 0; }
  .btn { padding: .95rem 1.2rem; }
  .academy__media .ph:first-child { width: 86%; }
  .steps { grid-template-columns: 1fr; }
  .route__opts { grid-template-columns: 1fr; }
  .route__opts button { min-height: 0; }
  .scope__read b { font-size: .95rem; }
  .scope__foot { flex-direction: column; align-items: flex-start; }
}

/* Solo efectos intrusivos se desactivan con movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .ph::before { animation: none; }
}
