/* =====================================================================
   MUSA IA — hoja de estilos principal
   Los colores, fuentes y columnas vienen de :root (generado por el panel).
   ===================================================================== */

:root {
  --accent: #e3141b;
  --bg: #060606;
  --surface: #111010;
  --text: #f3efe9;
  --muted: #9b948c;
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .18);
  --radius: 18px;
  --gutter: clamp(16px, 5vw, 72px);
  --maxw: 1400px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --cols-ecosystem: 3; --cols-productions: 3; --cols-verticals: 2;
  --cols-modules: 4; --cols-apps: 2; --cols-courses: 3; --cols-screens: 2;
  --accent2: #ff7a1a;
  --c-community: #2fe08a; --c-school: #3d8bff; --c-apps: #a066ff;
  --c-production: #e3141b; --c-portfolio: #ffc21a; --c-resources: #ff7a1a;
  --gold: #ffc21a;
  --sec-y: clamp(48px, 6.5vw, 92px);
}
body { --page: var(--accent); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.center { display: flex; justify-content: center; margin-top: clamp(36px, 5vw, 64px); }

/* Grano de película */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' 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(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- Tipografía ---------- */
.eyebrow, .kicker {
  font-family: var(--font-body); font-weight: 700; font-size: .78rem; letter-spacing: .32em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 18px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--page); box-shadow: 0 0 12px var(--page); }
.eyebrow { color: color-mix(in srgb, var(--page) 55%, var(--text)); }
.kicker { color: var(--page); letter-spacing: .2em; }
.h2 {
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 12px;
  text-wrap: balance;
}
.lead { font-size: clamp(1.02rem, 1.3vw, 1.25rem); color: color-mix(in srgb, var(--text) 78%, transparent); max-width: 62ch; margin: 0; }
.chrome {
  background: linear-gradient(100deg, #9a9a9a 0%, #ffffff 18%, #cfcfcf 32%, #7d7d7d 46%, #f5f5f5 60%, #bdbdbd 74%, #ffffff 88%, #9a9a9a 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: chrome 9s linear infinite;
}
@keyframes chrome { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) { .chrome { color: var(--text); background: none; } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  transition: transform .35s var(--ease), background .3s, box-shadow .35s, border-color .3s, color .3s;
  will-change: transform;
}
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 40px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -8px color-mix(in srgb, var(--accent) 90%, transparent); }
.btn-ghost { border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.btn-lg { padding: 18px 30px; font-size: 1.02rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); border-bottom: 1px solid var(--accent); padding-bottom: 4px; }
.link-arrow:hover .ico { transform: translateX(4px); }
.link-arrow .ico { transition: transform .3s var(--ease); }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  display: flex; align-items: center; gap: 24px;
  padding: 16px var(--gutter);
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(6, 6, 6, .92); padding-block: 10px; border-color: var(--line);
}
@supports (backdrop-filter: blur(10px)) {
  .site-header.is-scrolled { background: rgba(6, 6, 6, .62); backdrop-filter: blur(16px) saturate(140%); }
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 40px; height: 40px; filter: drop-shadow(0 0 12px color-mix(in srgb, var(--accent) 60%, transparent)); transition: transform .8s var(--ease); }
.brand:hover img { transform: rotate(-30deg) scale(1.05); }
.brand-word, .footer-word { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 1.25rem; letter-spacing: .02em; text-transform: uppercase; }
.brand-word em, .footer-word em { color: var(--accent); font-style: italic; }
.main-nav { display: flex; gap: clamp(14px, 2vw, 30px); margin-left: auto; }
.main-nav a {
  position: relative; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: color-mix(in srgb, var(--text) 72%, transparent); padding: 6px 0; transition: color .3s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--c, var(--accent)); box-shadow: 0 0 10px var(--c, var(--accent));
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--text); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header-tools { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.lang-switch a { font-size: .72rem; font-weight: 800; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; color: var(--muted); transition: background .3s, color .3s; }
.lang-switch a.is-active { background: var(--text); color: var(--bg); }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.nav-open .burger span:first-child { top: 20px; transform: rotate(45deg); }
.nav-open .burger span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero portada ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; background: #000 url('../video/hero-smoke.webp') center/cover; }
.hero-video { width: 100%; height: 100%; object-fit: cover; opacity: .95; }
.hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 72% 50%, transparent 0%, rgba(0, 0, 0, .35) 60%, rgba(0, 0, 0, .85) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, transparent 25%, transparent 70%, var(--bg) 100%);
}
.hero-inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 120px var(--gutter) 28px;
  display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: clamp(24px, 4vw, 60px); flex: 1;
}
.hero-title {
  font-family: var(--font-display); font-weight: 900; font-style: italic;
  font-size: clamp(2.4rem, 5.2vw, 5rem); line-height: .97; letter-spacing: -.03em; margin: 0 0 20px;
  text-wrap: balance; padding-right: .08em;
}
.hero-sub { font-size: clamp(1rem, 1.25vw, 1.2rem); color: color-mix(in srgb, var(--text) 80%, transparent); max-width: 54ch; margin: 0 0 26px; }

/* Franja con todas las áreas de MUSA */
.strip { position: relative; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) clamp(22px, 3vw, 36px); }
.strip-title { margin: 0 0 12px; font-size: .72rem; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.strip-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.strip-item {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 12px; border-radius: 16px;
  background: rgba(14, 13, 13, .82); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); overflow: hidden;
  transition: transform .45s var(--ease), border-color .35s, background .35s, box-shadow .45s;
}
@supports (backdrop-filter: blur(10px)) { .strip-item { background: rgba(14, 13, 13, .55); backdrop-filter: blur(12px); } }
.strip-item::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 3px; background: var(--c); box-shadow: 0 0 12px var(--c); }
.strip-ico { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.strip-ico .ico { width: 22px; height: 22px; }
.strip-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.strip-txt strong { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: .95rem; line-height: 1.1; }
.strip-txt small { font-size: .74rem; color: var(--muted); margin-top: 2px; }
.strip-arrow { position: absolute; right: 10px; top: 10px; color: var(--c); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .4s var(--ease); flex: none; }
.strip-item:hover { transform: translateY(-4px); border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, rgba(14, 13, 13, .7)); box-shadow: 0 18px 40px -18px var(--c); }
.strip-item:hover .strip-arrow { opacity: 1; transform: none; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-ctas--center { justify-content: center; }
.hero-logo { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: center; width: 100%; }
.hero-logo img { position: relative; width: 100%; height: auto; animation: float 9s ease-in-out infinite; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .7)); }
.logo-glow {
  position: absolute; inset: 14%; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 75%, transparent) 0%, transparent 65%);
  filter: blur(40px); animation: pulse 5s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-18px) rotate(-3deg); } }
@keyframes pulse { 0%, 100% { opacity: .55; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.08); } }

.hud {
  position: absolute; top: 96px; left: var(--gutter); right: var(--gutter); display: flex; gap: 22px;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: .72rem; letter-spacing: .12em; color: rgba(255, 255, 255, .55);
}
.hud-meta { margin-left: auto; }
.hud-rec { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.hud-rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: blink 1.2s steps(2) infinite; box-shadow: 0 0 10px var(--accent); }
@keyframes blink { 50% { opacity: 0; } }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid var(--line-strong); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 14px 0; background: linear-gradient(90deg, var(--bg), color-mix(in srgb, var(--accent) 7%, var(--bg)), var(--bg)); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 2.6rem); letter-spacing: .01em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35);
}
.marquee-track span:nth-child(even) { color: var(--text); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { position: relative; max-width: var(--maxw); margin: 0 auto; padding: var(--sec-y) var(--gutter); }
.section--tight { --sec-y: clamp(40px, 5vw, 72px); }
.section--dark { max-width: none; background: linear-gradient(180deg, var(--bg), var(--surface) 18%, var(--surface) 82%, var(--bg)); }
.section--dark > * { max-width: calc(var(--maxw) - 2 * var(--gutter)); margin-inline: auto; }
.section-head { margin-bottom: clamp(22px, 3vw, 38px); }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--row .h2 { margin: 0; }

/* Ecosistema: imagen completa (16:9, sin recortes) + texto debajo */
.eco-grid { display: grid; grid-template-columns: repeat(var(--cols-ecosystem), 1fr); gap: 16px; }
.eco-card {
  position: relative; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color .4s, transform .5s var(--ease), box-shadow .5s;
}
.eco-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.eco-img img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform 1.2s var(--ease); }
.eco-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c); box-shadow: 0 0 16px var(--c); }
.eco-body { padding: 18px 20px 20px; position: relative; flex: 1; }
.eco-tag { display: inline-flex; align-items: center; gap: 8px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .74rem; color: var(--c); letter-spacing: .18em; }
.eco-tag .ico { width: 18px; height: 18px; }
.eco-card h3 { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(1.25rem, 1.7vw, 1.55rem); line-height: 1.1; margin: 6px 0 6px; padding-right: 48px; }
.eco-card p { margin: 0; color: color-mix(in srgb, var(--text) 74%, transparent); font-size: .94rem; }
.eco-arrow { position: absolute; right: 18px; top: 16px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: background .4s, border-color .4s, transform .5s var(--ease), color .4s; }
.eco-card:hover { border-color: color-mix(in srgb, var(--c) 70%, transparent); transform: translateY(-4px); box-shadow: 0 24px 50px -28px var(--c); }
.eco-card:hover .eco-img img { transform: scale(1.04); }
.eco-card:hover .eco-arrow { background: var(--c); border-color: var(--c); color: #0a0a0a; transform: rotate(-45deg); }
/* ---------- Tarjetas de producción ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(var(--cols-productions), 1fr); gap: clamp(18px, 2vw, 28px); }
.prod-grid--featured { grid-template-columns: repeat(2, 1fr); }
.featured-layout { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.6fr); gap: clamp(18px, 2vw, 28px); align-items: start; }
.prod-card { display: flex; flex-direction: column; gap: 12px; }
.prod-media {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000;
  border: 1px solid var(--line); text-align: left; display: block; isolation: isolate;
  transition: border-color .4s, box-shadow .5s, transform .6s var(--ease);
}
.prod-card--v .prod-media { aspect-ratio: 9 / 16; }
.prod-media img, .card-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prod-media img { transition: transform 1.2s var(--ease), opacity .5s; }
.card-preview { opacity: 0; transition: opacity .6s; }
.prod-media.is-previewing .card-preview { opacity: 1; }
.prod-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .55)); pointer-events: none; }
.prod-play {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .5);
  transition: transform .5s var(--ease), background .4s, border-color .4s;
}
@supports (backdrop-filter: blur(6px)) { .prod-play { backdrop-filter: blur(6px); } }
.prod-play .ico { width: 22px; height: 22px; margin-left: 3px; }
.prod-duration { position: absolute; z-index: 2; right: 14px; bottom: 12px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .72rem; letter-spacing: .1em; padding: 4px 8px; border-radius: 6px; background: rgba(0, 0, 0, .6); }
button.prod-media:hover, button.prod-media:focus-visible { border-color: color-mix(in srgb, var(--accent) 70%, transparent); box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--accent) 70%, transparent); }
button.prod-media:hover img { transform: scale(1.06); }
button.prod-media:hover .prod-play { transform: scale(1.12); background: var(--accent); border-color: var(--accent); }
.prod-genre { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent2); }
.prod-title { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(1.3rem, 1.8vw, 1.7rem); line-height: 1.1; margin: 4px 0 6px; }
.prod-text { margin: 0; font-size: .95rem; color: color-mix(in srgb, var(--text) 70%, transparent); }

/* ---------- Cita ---------- */
.quote-section { padding: clamp(56px, 8vw, 110px) var(--gutter); text-align: center; position: relative; overflow: hidden; }
.quote-section::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(900px, 90vw); aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%); pointer-events: none; }
.quote-section blockquote { margin: 0 auto; max-width: 1100px; position: relative; }
.quote { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(1.8rem, 4vw, 3.6rem); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 26px; text-wrap: balance; }
.quote-section cite { font-style: normal; font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

/* ---------- Banda CTA ---------- */
.cta-band { position: relative; padding: clamp(52px, 7vw, 96px) var(--gutter); text-align: center; overflow: hidden; border-top: 1px solid var(--line); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 110%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 70%); pointer-events: none; }
.cta-inner { position: relative; max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-inner .h2 { margin: 0; }
.cta-inner .lead { margin: 0 auto; }
.wa-badge { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 18%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); }
.wa-badge .ico { width: 34px; height: 34px; color: var(--accent); }

/* ---------- Héroe de páginas interiores ---------- */
.page-hero { position: relative; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 70% at 88% 0%, color-mix(in srgb, var(--page) 26%, transparent), transparent 60%), radial-gradient(ellipse 50% 50% at 0% 100%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%); }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: .32; filter: blur(2px) saturate(.8); transform: scale(1.06); }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 6, 6, .6), rgba(6, 6, 6, .2) 40%, var(--bg)); }
.page-hero-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 118px var(--gutter) clamp(34px, 4.5vw, 60px); }
.page-hero-inner--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.page-hero-inner--center .hero-sub { margin-inline: auto; }
.page-hero-inner--split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 60px); align-items: center; }
.page-title { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: clamp(2.2rem, 4.8vw, 4.4rem); line-height: 1; letter-spacing: -.03em; margin: 0 0 18px; max-width: 16ch; text-wrap: balance; padding-right: .08em; }
.page-hero-inner--center .page-title { max-width: 18ch; }
.page-hero-inner .btn { margin-top: 4px; }

/* Split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.split--top { align-items: start; }
.split-copy { position: sticky; top: 100px; }
.vert-grid { display: grid; grid-template-columns: repeat(var(--cols-verticals), 1fr); gap: clamp(16px, 2vw, 26px); }

/* Servicios */
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 70px 1fr 1.2fr; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .5s var(--ease); }
.service::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--page); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.service:hover { padding-left: 14px; }
.service:hover::before { transform: scaleX(1); }
.service-num { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--page); font-size: .85rem; letter-spacing: .15em; }
.service h3 { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(1.25rem, 2.1vw, 1.8rem); margin: 0; line-height: 1.1; }
.service p { margin: 0; color: color-mix(in srgb, var(--text) 70%, transparent); }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; position: relative; }
.step { position: relative; padding: 22px 22px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 60%, transparent); transition: border-color .4s, transform .5s var(--ease); }
.step:hover { border-color: color-mix(in srgb, var(--page) 60%, transparent); transform: translateY(-4px); }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 1.05rem; background: color-mix(in srgb, var(--page) 16%, transparent); border: 1.5px solid var(--page); color: var(--page); margin-bottom: 14px; box-shadow: 0 0 24px -6px var(--page); }
.step h3 { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.35rem; margin: 0 0 8px; }
.step p { margin: 0; color: color-mix(in srgb, var(--text) 70%, transparent); font-size: .95rem; }

/* ---------- Comunidad ---------- */
.community-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.stat { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .02); }
.stat-value { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 2rem; line-height: 1; }
.stat-value--sm { font-size: 1.1rem; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .ico { width: 18px; height: 18px; }
.stat-label { font-size: .82rem; color: var(--muted); }
.community-cover { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 40px 100px -30px color-mix(in srgb, var(--accent) 60%, transparent); transform-style: preserve-3d; }
.community-cover img { width: 100%; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .02); transition: border-color .4s; }
.checklist li:hover { border-color: color-mix(in srgb, var(--page) 55%, transparent); }
.checklist .ico { color: var(--page); width: 22px; height: 22px; margin-top: 2px; }
.annual { margin-top: 20px; padding: 20px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--page) 45%, transparent); background: color-mix(in srgb, var(--page) 8%, transparent); }
.annual h3 { margin: 0 0 8px; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.25rem; }
.annual p { margin: 0; color: color-mix(in srgb, var(--text) 80%, transparent); }
.module-grid { display: grid; grid-template-columns: repeat(var(--cols-modules), 1fr); gap: 12px; }
.module { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform .5s var(--ease), border-color .4s; }
.module img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.module figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.module { position: relative; }
.module:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--page) 60%, transparent); }

/* ---------- Escuela ---------- */
.soon-badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--page) 70%, transparent); background: color-mix(in srgb, var(--page) 14%, transparent); font-weight: 800; letter-spacing: .24em; text-transform: uppercase; font-size: .78rem; margin-bottom: 18px; }
.soon-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--page); box-shadow: 0 0 0 0 var(--page); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--page) 70%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }
.notice { max-width: 900px; margin: 0 auto clamp(28px, 4vw, 48px); padding: 16px 22px; border-left: 3px solid var(--page); border-radius: 0 14px 14px 0; background: color-mix(in srgb, var(--page) 8%, var(--surface)); font-size: 1rem; }
.course-grid { display: grid; grid-template-columns: repeat(var(--cols-courses), 1fr); gap: 20px; }
.course { position: relative; padding: 14px 14px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, color-mix(in srgb, var(--surface) 100%, transparent), var(--bg)); overflow: hidden; transform-style: preserve-3d; transition: border-color .4s; }
.course::after { content: ""; position: absolute; right: -40%; top: -40%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--page) 20%, transparent), transparent 65%); pointer-events: none; transition: opacity .5s; opacity: .6; }
.course:hover { border-color: color-mix(in srgb, var(--page) 60%, transparent); }
.course:hover::after { opacity: 1; }
.course-media { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; margin-bottom: 16px; background: radial-gradient(ellipse at 70% 40%, color-mix(in srgb, var(--page) 30%, transparent), transparent 65%), #0b0b0c; display: grid; place-items: center; border: 1px solid var(--line); }
.course-media img { width: 100%; height: 100%; object-fit: contain; }
.course-code { width: 92px; height: 92px; border-radius: 24px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: 2.2rem; color: var(--page); background: linear-gradient(145deg, #1d1b1b, #0a0a0a); border: 1.5px solid color-mix(in srgb, var(--page) 80%, transparent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 14px 40px -12px var(--page); }
.course h3, .course p, .course-soon { padding-inline: 8px; }
.course h3 { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.35rem; margin: 0 0 6px; }
.course p { margin: 0 0 14px; color: color-mix(in srgb, var(--text) 72%, transparent); }
.course-soon { font-size: .7rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--page); }

/* ---------- Aplicaciones ---------- */
.app-grid { display: grid; grid-template-columns: repeat(var(--cols-apps), 1fr); gap: 16px; }
.app-card { position: relative; padding: clamp(22px, 2.4vw, 34px); border-radius: 22px; border: 1px solid var(--line); background: radial-gradient(ellipse 80% 60% at 100% 0%, color-mix(in srgb, var(--page) 14%, transparent), transparent 60%), var(--surface); overflow: hidden; transform-style: preserve-3d; transition: border-color .4s; }
.app-card:hover { border-color: color-mix(in srgb, var(--page) 60%, transparent); }
.app-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.app-icon { flex: none; width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #221f1f, #0b0b0b); border: 1.5px solid color-mix(in srgb, var(--page) 80%, transparent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 18px 50px -14px var(--page); color: var(--page); }
.app-icon .ico { width: 42px; height: 42px; filter: drop-shadow(0 0 8px var(--page)); }
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-status { display: inline-flex; align-items: center; gap: 8px; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); white-space: nowrap; }
.app-status i { width: 7px; height: 7px; border-radius: 50%; background: #3ad16b; box-shadow: 0 0 8px #3ad16b; }
.app-name { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1; margin: 0 0 8px; }
.app-tagline { margin: 0 0 12px; font-weight: 700; color: color-mix(in srgb, var(--page) 70%, var(--text)); }
.app-text { margin: 0 0 16px; color: color-mix(in srgb, var(--text) 75%, transparent); }
.app-features { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.app-features li { font-size: .8rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); }

/* ---------- VSL y capturas de la comunidad ---------- */
.vsl { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--page) 40%, transparent); box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--page) 60%, transparent); background: #000; }
.vsl img { width: 100%; height: auto; }
.vsl-btn { display: block; width: 100%; position: relative; }
.vsl-btn:hover .prod-play { transform: scale(1.12); background: var(--accent); border-color: var(--accent); }
.screens { display: grid; grid-template-columns: repeat(var(--cols-screens), 1fr); gap: 14px; }
.screen { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.screen-img { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); background: #1c1c1c; transition: border-color .4s, transform .5s var(--ease), box-shadow .5s; }
.screen-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.screen-zoom { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(0, 0, 0, .65); opacity: 0; transition: opacity .3s; }
.screen-img:hover { border-color: var(--page); transform: translateY(-3px); box-shadow: 0 20px 50px -25px var(--page); }
.screen-img:hover .screen-zoom { opacity: 1; }
.screen figcaption { font-size: .9rem; color: color-mix(in srgb, var(--text) 75%, transparent); padding-left: 12px; border-left: 2px solid var(--page); }
.player-frame.is-image { width: auto; height: auto; aspect-ratio: auto; max-width: 94vw; max-height: 90vh; background: none; }
.player-frame.is-image img { display: block; max-width: 94vw; max-height: 90vh; width: auto; height: auto; border-radius: 12px; }

/* ---------- Pie ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(40px, 5vw, 64px) var(--gutter) 24px; max-width: var(--maxw); margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; align-items: center; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 64px; height: 64px; }
.footer-word { margin: 0; font-size: 1.8rem; line-height: 1; }
.footer-tag { margin: 4px 0 0; font-size: .7rem; letter-spacing: .4em; color: var(--muted); }
.footer-text { margin: 0; max-width: 42ch; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 24px 0; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer-grid nav a { font-weight: 700; font-size: .9rem; color: color-mix(in srgb, var(--text) 75%, transparent); transition: color .3s; }
.footer-grid nav a:hover { color: var(--accent); }
.footer-contact { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-mail { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; }
.footer-mail:hover { color: var(--accent); }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: background .3s, border-color .3s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); padding-top: 24px; border-top: 1px solid var(--line); }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Reproductor ---------- */
.player { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; }
.player[hidden] { display: none; }
.player-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .9); }
@supports (backdrop-filter: blur(8px)) { .player-backdrop { background: rgba(0, 0, 0, .78); backdrop-filter: blur(10px); } }
.player-frame { position: relative; width: min(1200px, 100%); aspect-ratio: 16 / 9; max-height: 86vh; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 40px 120px -20px color-mix(in srgb, var(--accent) 45%, transparent); animation: pop .5s var(--ease); }
.player-frame.is-vertical { width: auto; height: min(86vh, 900px); aspect-ratio: 9 / 16; max-width: 100%; }
.player-frame video, .player-frame iframe { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.player-close { position: absolute; top: 18px; right: 18px; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-strong); transition: background .3s, transform .4s var(--ease); }
.player-close:hover { background: var(--accent); transform: rotate(90deg); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* ---------- Animación de aparición (solo con JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
/* En la cabecera de cada página la entrada no depende del scroll */
.js .hero .reveal, .js .page-hero .reveal { opacity: 1; transform: none; transition: none; animation: rise 1.1s var(--ease) both; animation-delay: calc(var(--d, 0s) + .15s); }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.tilt { transition: transform .6s var(--ease), border-color .4s; will-change: transform; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .strip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .module-grid { grid-template-columns: repeat(3, 1fr); }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .featured-layout { grid-template-columns: 1fr; }
  .featured-vertical { max-width: 380px; }
}
@media (max-width: 960px) {
  .burger { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px;
    padding: 100px var(--gutter) 40px; background: var(--bg);
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .main-nav a { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(2rem, 9vw, 3.2rem); letter-spacing: -.01em; text-transform: none; color: var(--text); }
  .main-nav a::after { height: 3px; }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 100px; text-align: left; gap: 14px; }
  .hero-logo { order: -1; max-width: 150px; justify-self: start; }
  .hud-meta { display: none; }
  .page-hero-inner--split { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-copy { position: static; }
  .service { grid-template-columns: 60px 1fr; }
  .service p { grid-column: 2; }
}
@media (max-width: 680px) {
  :root { --sec-y: 44px; }
  .section--tight { --sec-y: 36px; }
  .course-grid, .app-grid, .steps, .checklist { grid-template-columns: 1fr; }
  .prod-grid, .prod-grid--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .prod-grid .prod-text { display: none; }
  .prod-grid .prod-title { font-size: 1.02rem; }
  .prod-genre { font-size: .62rem; letter-spacing: .14em; }
  .prod-play { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .featured-vertical { max-width: 72%; margin: 0 auto; }
  .eco-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scrollbar-width: none; }
  .eco-grid::-webkit-scrollbar { display: none; }
  .eco-card { flex: 0 0 82%; scroll-snap-align: center; }
  .screens { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .screen figcaption { font-size: .78rem; padding-left: 8px; }
  .strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .strip-item { padding: 10px; gap: 10px; }
  .strip-ico { width: 34px; height: 34px; border-radius: 10px; }
  .strip-txt strong { font-size: .88rem; }
  .strip-txt small { display: none; }
  .strip-arrow { display: none; }
  .hero-title { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero-sub { margin-bottom: 18px; }
  .page-hero-inner { padding-top: 96px; }
  .module-grid { gap: 8px; }
  .steps { gap: 10px; }
  .module-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .vert-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-logo { max-width: 180px; }
  .hud { top: 84px; font-size: .64rem; }
  .brand-word { font-size: 1.05rem; }
  .lang-switch a { padding: 5px 8px; }
  .prod-card--v .prod-text { display: none; }
  .vert-grid .prod-title { font-size: 1.1rem; }
  .footer-bottom { flex-direction: column; }
}

/* Solo se reducen los efectos realmente intrusivos */
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .hero-logo img, .logo-glow { animation-duration: 20s; }
}

/* =====================================================================
   ESTILO BRUTALISTA (ronda 3): tipografía en mayúsculas de palo grueso,
   texturas de hormigón/cuero craquelado, barras geométricas, líneas
   finas y cruces de registro.
   ===================================================================== */
:root {
  --font-label: 'Space Mono', ui-monospace, monospace;
  --radius: 6px;
  --tex: url('../img/tex-grunge.webp');
  --dust: url('../img/tex-dust.png');
}

/* ---------- Tipografía ---------- */
.h2, .hero-title, .page-title, .quote, .eco-card h3, .prod-title, .step h3, .service h3,
.app-name, .course h3, .annual h3, .strip-txt strong, .brand-word, .footer-word,
.marquee-track span, .stat-value, .step-num, .course-code {
  font-family: var(--font-display); font-style: normal; font-weight: 400; text-transform: uppercase; letter-spacing: -.005em;
}
.hero-title { font-size: clamp(2.2rem, 4.9vw, 4.7rem); line-height: .93; letter-spacing: -.01em; }
.page-title { font-size: clamp(2rem, 4.3vw, 4rem); line-height: .95; max-width: 18ch; }
.h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1; }
.quote { font-size: clamp(1.6rem, 3.6vw, 3.2rem); line-height: 1; }
.eco-card h3 { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.05; }
.prod-title { font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.05; }
.step h3, .course h3, .annual h3 { font-size: 1.15rem; line-height: 1.05; }
.service h3 { font-size: clamp(1.1rem, 1.9vw, 1.6rem); line-height: 1.05; }
.app-name { font-size: clamp(1.5rem, 2.3vw, 2.1rem); line-height: .95; }
.strip-txt strong { font-size: .86rem; letter-spacing: .01em; }
.brand-word { font-size: 1.15rem; }
.eyebrow, .kicker, .prod-genre, .eco-tag, .strip-title, .strip-txt small, .stat-label, .course-soon, .app-status,
.prod-duration, .hud, .footer-tag, .quote-section cite, .lang-switch a, .app-features li, .screen figcaption {
  font-family: var(--font-label);
}
.main-nav a { font-family: var(--font-label); text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; font-weight: 700; }
.strip-txt small { font-size: .66rem; letter-spacing: .02em; }
.btn { font-family: var(--font-label); text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; border-radius: 4px; }
.btn-lg { font-size: .9rem; }
/* La palabra destacada en color, como «SHOWREEL» en la referencia */
.chrome { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--text); animation: none; }
.hl { color: var(--page, var(--accent)); }
.page-home .hl { color: var(--accent); }

/* ---------- Esquinas rectas y texturas en bloques ---------- */
.strip-item, .eco-card, .prod-media, .step, .checklist li, .annual, .module, .notice, .course, .course-media,
.app-card, .app-icon, .screen-img, .vsl, .stat, .community-cover, .player-frame { border-radius: var(--radius); }
.strip-ico, .wa-badge, .lang-switch, .lang-switch a, .socials a, .burger, .eco-arrow, .player-close, .screen-zoom { border-radius: 4px; }
.eco-card, .step, .course, .app-card, .stat, .checklist li { background-image: linear-gradient(rgba(17,16,16,.9), rgba(17,16,16,.9)), var(--tex); background-size: auto, 420px; }
.strip-item { background-image: linear-gradient(rgba(12,11,11,.78), rgba(12,11,11,.78)), var(--tex); background-size: auto, 380px; }

/* Línea fina + cruz de registro encima de cada título de sección */
.section-head::before, .cta-inner::before {
  content: ""; display: block; width: 150px; height: 18px; margin-bottom: 14px; background: var(--page, var(--accent));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='18'%3E%3Cpath d='M0 9h112M128 9h22M139 0v18' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='18'%3E%3Cpath d='M0 9h112M128 9h22M139 0v18' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") no-repeat;
}
.cta-inner::before { margin-inline: auto; }
.section-head--row::before { flex-basis: 100%; }
.eyebrow::before { box-shadow: none; }

/* ---------- Composición geométrica ---------- */
.hero, .page-hero, .cta-band, .quote-section { position: relative; overflow: hidden; }
.geo { position: absolute; inset: 0; z-index: 0; pointer-events: none; --g: var(--page, var(--accent)); }
.page-home .geo { --g: var(--accent); }
.hero-inner, .strip, .page-hero-inner, .cta-inner, .quote-section blockquote, .hud { position: relative; z-index: 2; }
.hud { position: absolute; }
.geo-line-v { position: absolute; top: 0; bottom: 0; left: 62%; width: 1px; background: linear-gradient(transparent, color-mix(in srgb, var(--g) 80%, transparent) 15%, color-mix(in srgb, var(--g) 80%, transparent) 85%, transparent); }
.geo-line-h { position: absolute; left: 50%; right: 0; top: 34%; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--g) 70%, transparent)); }
.geo-plus { position: absolute; left: 62%; top: 34%; width: 26px; height: 26px; margin: -13px 0 0 -13px; }
.geo-plus::before, .geo-plus::after { content: ""; position: absolute; background: var(--g); }
.geo-plus::before { left: 12px; top: 0; width: 2px; height: 26px; }
.geo-plus::after { top: 12px; left: 0; height: 2px; width: 26px; }
.geo-plus--2 { left: 54%; top: 78%; transform: scale(.7); opacity: .7; }
.geo-bar { position: absolute; background-color: var(--g); background-image: var(--tex); background-size: 360px; background-blend-mode: multiply;
  box-shadow: -18px 0 40px rgba(0,0,0,.55), inset 0 0 60px rgba(0,0,0,.35); }
.geo-bar.b1 { right: 15%; top: -2%; width: 13%; height: 40%; }
.geo-bar.b2 { right: 4%; top: 22%; width: 9%; height: 58%; opacity: .92; }
.geo-bar.b3 { right: 15.5%; top: 64%; width: 12%; height: 42%; }
.geo-bar.b4 { right: 26%; top: 36%; width: 6%; height: 24%; background-color: #8f8a85; opacity: .55; }
.geo-px { position: absolute; right: 0; top: 18%; width: 3.2%; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.geo-px i { aspect-ratio: 1; background-color: var(--g); background-image: var(--tex); background-size: 200px; background-blend-mode: multiply; opacity: .85; }
.geo-px i:nth-child(3n) { background-color: #8f8a85; opacity: .5; }
.geo-px i:nth-child(4n+1) { opacity: 0; }
.geo-dust { position: absolute; inset: 0; background: var(--dust); background-size: 700px; opacity: .5; mix-blend-mode: screen; }
/* Viñeta para que el texto siempre se lea sobre las barras */
.geo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(6,6,6,.85) 30%, rgba(6,6,6,.15) 60%, transparent 75%); }

/* Portada: el logo delante de un sol rojo con textura (como el círculo de la tarjeta) */
.hero .geo::after { background: linear-gradient(90deg, rgba(6,6,6,.92) 0%, rgba(6,6,6,.6) 38%, transparent 60%), linear-gradient(0deg, rgba(6,6,6,.85), transparent 30%); }
.hero .geo-bar { opacity: .9; }
.geo-sun { position: absolute; inset: 9%; border-radius: 50%; background-color: var(--accent); background-image: var(--tex); background-size: 420px; background-blend-mode: multiply;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), inset -30px -40px 90px rgba(0,0,0,.55); opacity: .92; }
.hero-logo .logo-glow { inset: 22%; opacity: .7; }

/* Cabeceras centradas (Escuela, Aplicaciones): barras en los dos bordes */
.page-hero:has(.page-hero-inner--center) .geo-bar.b1 { right: auto; left: 2%; width: 7%; height: 55%; top: -6%; }
.page-hero:has(.page-hero-inner--center) .geo-bar.b2 { right: 2%; width: 6%; }
.page-hero:has(.page-hero-inner--center) .geo-bar.b3 { right: auto; left: 7%; width: 5%; height: 40%; top: 60%; }
.page-hero:has(.page-hero-inner--center) .geo-bar.b4 { right: 9%; top: 62%; width: 4%; }
.page-hero:has(.page-hero-inner--center) .geo-line-v { left: 14%; }
.page-hero:has(.page-hero-inner--center) .geo-plus { left: 14%; }
.page-hero:has(.page-hero-inner--center) .geo::after { background: radial-gradient(ellipse 52% 80% at 50% 55%, rgba(6,6,6,.95) 30%, rgba(6,6,6,.5) 70%, transparent); }
/* Comunidad: el vídeo/portada va a la derecha, las barras quedan detrás */
.page-hero--community .geo-bar { opacity: .5; }
/* Bandas de llamada y cita: composición más discreta */
.cta-band .geo-bar, .quote-section .geo-bar { opacity: .55; }
.cta-band .geo::after, .quote-section .geo::after { background: radial-gradient(ellipse 60% 90% at 50% 50%, rgba(6,6,6,.92) 35%, rgba(6,6,6,.4) 75%, transparent); }
.cta-band .geo-bar.b1, .quote-section .geo-bar.b1 { right: auto; left: 4%; width: 8%; }
.cta-band .geo-bar.b4, .quote-section .geo-bar.b4, .cta-band .geo-line-h, .quote-section .geo-line-h { display: none; }

@media (max-width: 960px) {
  .geo-bar.b4, .geo-line-h, .geo-plus--2 { display: none; }
  .geo-line-v, .geo-plus { left: 80%; }
  .geo-bar.b1 { width: 16%; right: 8%; }
  .geo-bar.b2 { width: 10%; right: -2%; }
  .geo-bar.b3 { width: 14%; right: 9%; }
  .geo::after { background: linear-gradient(90deg, rgba(6,6,6,.95) 0%, rgba(6,6,6,.8) 55%, rgba(6,6,6,.35) 100%); }
  .geo-sun { inset: 6%; }
  .main-nav a { font-family: var(--font-display); font-size: clamp(1.8rem, 8vw, 2.8rem); letter-spacing: 0; font-weight: 400; }
}
@media (max-width: 680px) {
  .geo-px { display: none; }
  .hero-title { font-size: clamp(1.9rem, 8.6vw, 2.5rem); }
  .page-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .h2 { font-size: clamp(1.4rem, 6.4vw, 1.9rem); }
}
.brand-word em, .footer-word em { font-style: normal; }
.page-hero:has(.page-hero-inner--center) .geo-bar.b1 { top: 14%; height: 44%; }
.geo-sun { inset: auto; left: -12%; top: -4%; width: 86%; aspect-ratio: 1; opacity: .85; }
.hero-logo img { z-index: 1; }
@media (max-width: 680px) { .strip-txt strong { font-size: .74rem; } .strip-item { padding: 10px 8px; } }
