/* Por Dentro de Todo — estilos
   Un único aspecto claro y deliberado (papel + tinta + azul del canal). Los colores se definen todos aquí. */

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/barlow-condensed-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/barlow-condensed-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/barlow-condensed-800.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/dm-sans-400-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #f3f0e8;
  --paper-2: #ebe7dc;
  --card: #fbfaf6;
  --ink: #142b34;
  --ink-soft: #2c434c;
  --muted: #526067;
  --dim: #788589;
  --line: #c5c9c5;
  --line-soft: #dcdcd4;
  --blue: #204fd9;
  --blue-ink: #1a3fae;
  --orange: #b94029;
  --dark: #102c39;
  --dark-2: #173a4a;
  --on-dark: #eef3f2;
  --on-dark-muted: #a9bcc0;
  --cyan: #7cd0db;
  --peach: #f2b8a0;
  --focus: #204fd9;

  --f-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --radius: 18px;
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(17px, 1.05vw + 11px, 19px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--cyan); color: var(--ink); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.section { padding-block: clamp(80px, 11vw, 150px); }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--blue); }
.on-dark .eyebrow { color: var(--on-dark-muted); }
.on-dark .eyebrow::before { background: var(--cyan); }

.statement {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(40px, 5.4vw, 72px); line-height: .98; letter-spacing: -.005em;
  margin: 0; max-width: 20ch; text-wrap: balance;
}
.statement .dim, h1 .dim { color: var(--dim); }
.on-dark .statement .dim { color: #7d97a0; }
.lead { font-size: clamp(18px, 1.3vw + 10px, 22px); line-height: 1.55; color: var(--ink-soft); max-width: 58ch; margin: 0; }
.small { font-size: 14px; line-height: 1.55; color: var(--muted); }
.note { font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 72ch; margin: 28px 0 0; }
.on-dark .note, .on-dark .small { color: var(--on-dark-muted); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--f-body); font-weight: 700; font-size: 17px; letter-spacing: .005em; text-decoration: none;
  transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-outline-light { color: var(--on-dark); border-color: rgba(238,243,242,.5); background: transparent; }
.btn-outline-light:hover { border-color: var(--on-dark); background: rgba(238,243,242,.08); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.textlink { font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* ---------- Navegación ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(243,240,232,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line-soft); background: rgba(243,240,232,.94); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 24px; transition: height .3s var(--ease); }
.nav.scrolled .nav-inner { height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand span { font-family: var(--f-display); font-weight: 800; font-size: 21px; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links > li > a, .nav-links > li > button {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none; background: none; border: 0; color: var(--ink);
}
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links > li > button[aria-expanded="true"] { background: var(--paper-2); }
.chev { width: 10px; height: 10px; transition: transform .2s; }
[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.lang button { border: 0; background: none; height: 30px; min-width: 38px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.burger { display: none; margin-left: auto; height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: none; font-weight: 700; font-size: 15px; }

/* Mega menú "Para quién" */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--card); border-block: 1px solid var(--line-soft);
  box-shadow: 0 30px 60px -30px rgba(16,44,57,.35);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.mega.open { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; padding-block: 36px 40px; }
.mega h3 { font-family: var(--f-display); font-size: 34px; line-height: 1; text-transform: uppercase; margin: 0 0 16px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 20px; margin: 0; padding: 0; list-style: none; }
.mega-grid a { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; }
.mega-grid a:hover { background: var(--paper); }
.mega-grid strong { display: block; font-size: 15px; font-weight: 700; }
.mega-grid span { display: block; font-size: 13.5px; line-height: 1.45; color: var(--muted); margin-top: 2px; }

/* Menú móvil a pantalla completa */
.mmenu {
  position: fixed; inset: 0; z-index: 60; background: var(--dark); color: var(--on-dark);
  padding: calc(env(safe-area-inset-top, 0px) + 16px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 24px);
  display: flex; flex-direction: column; gap: 24px; overflow-y: auto;
  transform: translateY(-100%); transition: transform .45s var(--ease); visibility: hidden;
}
.mmenu.open { transform: none; visibility: visible; }
.mmenu-top { display: flex; align-items: center; justify-content: space-between; }
.mmenu-top .burger { display: inline-flex; align-items: center; border-color: var(--on-dark); color: var(--on-dark); margin: 0; }
.mmenu nav ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.mmenu nav li { counter-increment: m; border-bottom: 1px solid rgba(238,243,242,.14); }
.mmenu nav a { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; text-decoration: none; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(38px, 10vw, 56px); line-height: 1; }
.mmenu nav a::before { content: "0" counter(m); font-family: var(--f-body); font-size: 13px; font-weight: 600; color: var(--cyan); letter-spacing: .1em; }
.mmenu-feature { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 14px; border-radius: 16px; background: var(--dark-2); text-decoration: none; border: 0; text-align: left; color: var(--on-dark); width: 100%; }
.mmenu-feature img { width: 96px; aspect-ratio: 9/16; object-fit: cover; border-radius: 10px; }
.mmenu-feature strong { display: block; font-family: var(--f-display); font-size: 26px; text-transform: uppercase; line-height: 1.05; }
.mmenu-foot { margin-top: auto; display: grid; gap: 14px; }
.mmenu .lang { border-color: rgba(238,243,242,.3); justify-self: start; }
.mmenu .lang button { color: var(--on-dark-muted); }
.mmenu .lang button[aria-pressed="true"] { background: var(--on-dark); color: var(--dark); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(24px, 4vw, 56px) clamp(40px, 5vw, 64px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { min-width: 0; }
.hero h1 {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(60px, 8.2vw, 124px); line-height: .88; letter-spacing: -.012em;
  margin: 0 0 30px; text-wrap: balance; isolation: isolate;
}
.hero h1 .dim, .hero h1 .hl { display: block; }
.hero h1 .hl { color: var(--ink); position: relative; width: fit-content; }
.hero h1 .hl::after { /* subrayado tipo "bucle", la firma visual */
  content: ""; position: absolute; left: -2%; right: -4%; bottom: -.17em; height: .2em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 40' preserveAspectRatio='none'%3E%3Cpath d='M4 26 C 90 8, 190 8, 260 20 S 360 36, 330 18 S 250 8, 396 14' fill='none' stroke='%23204fd9' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  z-index: -1;
}
.hero .lead { margin-bottom: 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin: 18px 0 0; font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.hero-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }

/* Lente de rayos X */
.lens-col { position: relative; min-width: 0; justify-self: center; width: 100%; max-width: 340px; }
.lens-stage {
  position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden;
  background: var(--cyan); box-shadow: 0 40px 80px -40px rgba(16,44,57,.55), 0 0 0 1px rgba(20,43,52,.08);
  touch-action: pan-y; cursor: none; user-select: none; -webkit-user-select: none;
}
.lens-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.lens-stage .inside { clip-path: circle(var(--r, 92px) at var(--x, 47%) var(--y, 50%)); }
.lens-ring {
  position: absolute; left: var(--x, 47%); top: var(--y, 50%); width: calc(var(--r, 92px) * 2); height: calc(var(--r, 92px) * 2);
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(20,43,52,.25), 0 14px 30px rgba(16,44,57,.35);
}
.lens-ring::after { /* marcas de escala, como un visor */
  content: ""; position: absolute; inset: -12px; border-radius: 50%;
  background: conic-gradient(from 0deg, #fff 0 1.2deg, transparent 1.2deg 30deg) ;
  -webkit-mask: radial-gradient(circle, transparent calc(50% - 4px), #000 calc(50% - 3px));
          mask: radial-gradient(circle, transparent calc(50% - 4px), #000 calc(50% - 3px));
  opacity: .85;
}
.lens-hint { margin: 16px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.lens-tag {
  position: absolute; left: 14px; top: 14px; z-index: 2; padding: 6px 10px; border-radius: 8px;
  background: rgba(16,44,57,.78); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.hero-chip {
  position: absolute; z-index: 3; left: -14%; bottom: 9%;
  display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--line-soft); box-shadow: 0 20px 40px -20px rgba(16,44,57,.45);
  text-align: left; max-width: 290px;
}
.hero-chip:hover { transform: translateY(-2px); }
.hero-chip { transition: transform .25s var(--ease); }
.hero-chip img { width: 52px; height: 70px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.hero-chip b { display: block; font-family: var(--f-display); font-size: 36px; line-height: .95; letter-spacing: .01em; }
.hero-chip small { display: block; font-size: 13px; line-height: 1.35; color: var(--muted); }
.hero-chip .chip-title { display: block; color: var(--ink); font-weight: 600; margin-top: 2px; }
.playdot { position: relative; }
.playdot::after { content: ""; position: absolute; inset: 0; margin: auto; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%23142b34'/%3E%3C/svg%3E") no-repeat 55% 50% / 16px; }
.hero-chip .playdot { width: 52px; height: 70px; flex-shrink: 0; }

/* ---------- Bloques compactos (orden de conversión) ---------- */
.block { padding-block: clamp(56px, 7vw, 96px); }
#videos { padding-top: clamp(32px, 4vw, 56px); }
.statement.sm { font-size: clamp(34px, 4.2vw, 58px); max-width: 24ch; }
.head-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(28px, 3.4vw, 44px); }
.head-aside { margin: 0; max-width: 46ch; }

/* Franja de pruebas bajo la portada */
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); margin-top: clamp(36px, 4vw, 56px); }
.pcell { min-width: 0; padding: 22px 22px 22px 0; display: grid; gap: 8px; align-content: start; }
.pcell + .pcell { padding-left: 22px; border-left: 1px solid var(--line); }
.pnum { font-family: var(--f-display); font-weight: 800; font-size: clamp(44px, 4.4vw, 68px); line-height: .85; margin: 0; }
.pnum small { font-size: .45em; color: var(--muted); margin-left: .1em; }
.plabel { margin: 0; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.phl .pnum { color: var(--orange); }
.proof-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); max-width: 90ch; }

/* Vídeos en una sola fila */
.reel-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.reel-row .reel { aspect-ratio: 9 / 16; }
.reel-row .reel-views { font-size: clamp(34px, 3vw, 46px); }
.reel-row .reel-title { font-size: 14px; }

/* ---------- Alcance (bento) ---------- */
.section-head { display: grid; gap: 0; margin-bottom: clamp(36px, 5vw, 64px); }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.tile {
  position: relative; min-width: 0; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; justify-content: space-between; gap: 26px; overflow: hidden;
}
.tile-label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tile-label .pl { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); }
.tile-label svg { width: 15px; height: 15px; }
.big-num { font-family: var(--f-display); font-weight: 800; line-height: .85; letter-spacing: -.01em; font-size: clamp(64px, 7.4vw, 118px); margin: 0; }
.big-num small { font-size: .38em; font-weight: 700; letter-spacing: .02em; color: var(--muted); margin-left: .12em; }
.tile-foot { font-size: 14.5px; line-height: 1.5; color: var(--muted); margin: 0; }
.tile-foot strong { color: var(--ink); font-weight: 600; }
.t-yt { grid-column: span 3; grid-row: span 2; background: var(--blue); color: #fff; border-color: var(--blue); }
.t-yt .tile-label, .t-yt .tile-foot, .t-yt .big-num small { color: rgba(255,255,255,.78); }
.t-yt .tile-foot strong { color: #fff; }
.t-yt .tile-label .pl { background: rgba(255,255,255,.18); color: #fff; }
.t-yt .big-num { font-size: clamp(88px, 12vw, 190px); }
.t-yt .bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: auto; opacity: .55; }
.t-yt .bars i { flex: 1; background: #fff; border-radius: 3px 3px 0 0; }
.t-fb { grid-column: span 3; }
.t-ig { grid-column: span 3; }
.t-ig .split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; align-items: end; }
.t-ig .split .big-num { margin-bottom: 18px; }
.t-ig .hl-num { font-family: var(--f-display); font-weight: 800; font-size: clamp(48px, 5vw, 76px); line-height: .9; color: var(--orange); margin: 0 0 6px; }
.t-ig .hl-text { font-size: 14.5px; line-height: 1.45; margin: 0; color: var(--ink-soft); }
.t-tt { grid-column: span 2; background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.t-tt .tile-label, .t-tt .tile-foot, .t-tt .big-num small { color: var(--on-dark-muted); }
.t-tt .tile-label .pl { background: var(--dark-2); color: var(--cyan); }
.t-tt .tile-foot strong { color: var(--on-dark); }
.t-since { grid-column: span 2; background: var(--paper-2); }
.t-since .big-num { font-size: clamp(44px, 4.6vw, 70px); }
.t-lang { grid-column: span 2; background: var(--cyan); border-color: var(--cyan); }
.t-lang p { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(28px, 2.6vw, 38px); line-height: 1; margin: 0; }
.t-lang .tile-label, .t-since .tile-label { color: var(--ink-soft); }

/* ---------- Vídeos ---------- */
.reel-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.reel {
  position: relative; min-width: 0; border: 0; padding: 0; text-align: left; background: var(--ink); color: #fff;
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 9 / 16; display: block; width: 100%;
}
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.reel:hover img { transform: scale(1.04); }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,44,57,0) 38%, rgba(16,44,57,.78) 62%, rgba(16,44,57,.96) 100%); }
.reel-meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(14px, 1.6vw, 22px); display: grid; gap: 6px; }
.reel-views { font-family: var(--f-display); font-weight: 800; font-size: clamp(40px, 3.6vw, 56px); line-height: .9; }
.reel-views small { display: block; font-family: var(--f-body); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); margin-top: 6px; line-height: 1.3; }
.reel-title { font-size: 15px; line-height: 1.35; font-weight: 600; }
.reel-play { position: absolute; z-index: 2; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; transition: transform .25s var(--ease); }
.reel:hover .reel-play { transform: scale(1.1); }
.reel-play svg { width: 18px; height: 18px; margin-left: 2px; }
.reel-n { position: absolute; z-index: 2; top: 16px; left: 16px; font-size: 12px; font-weight: 700; letter-spacing: .1em; padding: 5px 9px; border-radius: 7px; background: rgba(16,44,57,.7); }
.reel.featured { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.reel.featured .reel-views { font-size: clamp(64px, 7vw, 112px); }
.reel.featured .reel-title { font-size: clamp(17px, 1.4vw, 22px); }
.reel-grid .reel:not(.featured) { aspect-ratio: 4 / 5; }

/* Modal de vídeo */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(10,26,33,.86); }
.modal[hidden] { display: none !important; }
.modal-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 320px); gap: 28px; align-items: center; max-height: 100%; background: var(--paper); border-radius: 24px; padding: 20px; width: min(860px, 100%); }
.modal video { height: min(76vh, 640px); width: auto; aspect-ratio: 9/16; border-radius: 16px; background: #000; }
.modal-info { display: grid; gap: 16px; padding-right: 12px; min-width: 0; }
.modal-info h3 { font-family: var(--f-display); font-size: clamp(30px, 3vw, 42px); line-height: 1; text-transform: uppercase; margin: 0; }
.modal-info .stat { font-family: var(--f-display); font-size: 64px; font-weight: 800; line-height: .9; margin: 0; }
.modal-info .stat small { display: block; font-family: var(--f-body); font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 6px; letter-spacing: .02em; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); font-size: 22px; line-height: 1; z-index: 2; }

/* ---------- Anatomía de un vídeo ---------- */
.anatomy { background: var(--dark); color: var(--on-dark); }
.anatomy-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: a; }
.step-card { position: relative; min-width: 0; display: grid; gap: 18px; align-content: start; counter-increment: a; }
.step-media { position: relative; aspect-ratio: 9 / 13; border-radius: var(--radius); overflow: hidden; background: var(--dark-2); }
.step-media img { width: 100%; height: 100%; object-fit: cover; }
.step-media.loop { display: grid; place-items: center; background: var(--dark-2); border: 1px dashed rgba(124,208,219,.45); }
.step-media.loop img { position: absolute; inset: 0; opacity: .35; }
.loop-mark { position: relative; z-index: 1; width: 46%; aspect-ratio: 1; }
.loop-mark path { stroke: var(--cyan); }
.step-card h3 { font-family: var(--f-display); font-size: clamp(28px, 2.4vw, 36px); line-height: 1; text-transform: uppercase; margin: 0; display: flex; gap: 12px; align-items: baseline; }
.step-card h3::before { content: "0" counter(a); font-family: var(--f-body); font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--cyan); }
.step-card p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--on-dark-muted); }
.step-card.brand-step .step-media { outline: 2px solid var(--peach); outline-offset: 4px; }
.brand-flag { position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 7px 12px; border-radius: 999px; background: var(--peach); color: var(--dark); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 48px 0 0; padding: 0; list-style: none; }
.facts li { padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(238,243,242,.22); font-size: 14.5px; font-weight: 500; }

/* ---------- Sectores ---------- */
.sectors-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.sector-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sector-list li { border-bottom: 1px solid var(--line); }
.sector-list button {
  width: 100%; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; padding: 16px 4px;
  border: 0; background: none; text-align: left; font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(22px, 2.2vw, 30px); line-height: 1.05; color: var(--ink); transition: color .2s, padding .3s var(--ease);
}
.sector-list button .n { font-family: var(--f-body); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--dim); }
.sector-list button .go { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: background .2s, border-color .2s, transform .3s var(--ease); }
.sector-list button .go svg { width: 13px; height: 13px; }
.sector-list button:hover, .sector-list button[aria-pressed="true"] { color: var(--blue); padding-left: 12px; }
.sector-list button[aria-pressed="true"] .go { background: var(--blue); border-color: var(--blue); color: #fff; transform: rotate(-45deg); }
.sector-list button[aria-pressed="true"] .n { color: var(--blue); }
.sector-preview { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 18px; }
.phone {
  position: relative; aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden; background: var(--cyan);
  box-shadow: 0 40px 70px -40px rgba(16,44,57,.6); border: 8px solid var(--ink); box-sizing: border-box; margin-inline: auto; width: min(100%, 440px, calc((100vh - var(--nav-h) - 140px) * 9 / 16)); min-width: 260px;
}
.phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 0; transition: opacity .3s; }
.phone-q { position: absolute; inset: auto 0 0 0; padding: 70px 26px 34px; background: linear-gradient(180deg, transparent, rgba(16,44,57,.82) 45%, rgba(16,44,57,.94)); color: #fff; }
.phone-q small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; }
.phone-q p { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 3vw, 44px); line-height: 1; margin: 0; text-wrap: balance; }
.phone-top { position: absolute; top: 14px; left: 0; right: 0; display: flex; justify-content: center; }
.phone-top { z-index: 1; }
.phone-top span { width: 90px; height: 24px; border-radius: 14px; background: var(--ink); }
.phone-q.swap p { animation: swap .45s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } }
.sector-preview .btn { justify-self: center; }

/* ---------- Servicios ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.svc { position: relative; min-width: 0; padding: clamp(26px, 3vw, 44px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line-soft); display: grid; gap: 18px; align-content: start; }
.svc-tag { display: inline-flex; width: fit-content; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--paper-2); color: var(--ink-soft); }
.svc-letter { position: absolute; top: clamp(18px, 2vw, 30px); right: clamp(22px, 2.6vw, 38px); font-family: var(--f-display); font-weight: 800; font-size: clamp(70px, 7vw, 110px); line-height: .8; color: var(--paper-2); pointer-events: none; }
.svc h3 { position: relative; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 2.6vw, 40px); line-height: .95; margin: 0; max-width: 13ch; }
.svc { grid-template-rows: auto auto auto 1fr auto; }
.svc-c { background: var(--paper-2); border-color: transparent; }
.svc-c .svc-tag { background: var(--card); }
.svc-c .svc-letter { color: var(--card); }
.svc p { margin: 0; color: var(--ink-soft); max-width: 46ch; }
.svc ul { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 10px; align-content: start; }
.svc p { font-size: 16.5px; line-height: 1.55; }
.svc li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 16px; line-height: 1.45; }
.svc li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 12px; }
.svc .btn { justify-self: start; }
.svc-b { background: var(--blue); color: #fff; border-color: var(--blue); }
.svc-b .svc-tag { background: rgba(255,255,255,.16); color: #fff; }
.svc-b .svc-letter { color: rgba(255,255,255,.12); }
.svc-b p { color: rgba(255,255,255,.86); }
.svc-b li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23204fd9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.svc-plan { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; gap: clamp(18px, 3vw, 40px); align-items: center; padding-block: clamp(22px, 2.4vw, 30px); background: var(--paper-2); }
.svc-plan h3 { max-width: none; font-size: clamp(28px, 2.6vw, 38px); }
.svc-plan p { max-width: 52ch; }

/* ---------- Proceso: cinco tarjetas con animación ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pstep { min-width: 0; display: grid; grid-template-rows: auto 1fr; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.pstage { aspect-ratio: 5 / 4; background: var(--paper-2); display: grid; place-items: center; padding: 10px; }
.pstage svg { width: 100%; height: 100%; overflow: visible; }
.pbody { padding: 18px 20px 22px; display: grid; gap: 8px; align-content: start; }
.pn { font-family: var(--f-display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--blue); }
.pbody h3 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 1.7vw, 26px); line-height: 1; margin: 0; }
.pbody p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); }

/* Colores de las ilustraciones */
.f-blue { fill: var(--blue); } .f-ink { fill: var(--ink); } .f-card { fill: var(--card); } .f-white { fill: #fff; }
.f-cyan { fill: var(--cyan); } .f-skin { fill: #e9b7a1; } .s-line { stroke: var(--line); stroke-width: 1.5; }
.pstage svg * { transform-box: fill-box; }
.p1-d { fill: var(--muted); }
.p2-q { font-family: var(--f-display); font-weight: 800; font-size: 24px; text-anchor: middle; fill: var(--dim); }
.p2-pick .p2-card { fill: var(--blue); stroke: var(--blue); } .p2-pick .p2-q { fill: #fff; }
.p2-ring { transform: translate(100px, 110px); }
.p2-ringc { fill: none; stroke: var(--orange); stroke-width: 3.5; } .p2-ticks { stroke: var(--orange); stroke-width: 3.5; stroke-linecap: round; }
.p3-check { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.p4-open { fill: #f6dccb; stroke: #fff; stroke-width: 2; } .p4-hair { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.p5-heart { fill: var(--orange); }

/* Las animaciones solo corren cuando la tarjeta está a la vista (.play). Sin ellas se ve el estado final. */
.play .p1-a { animation: p1a 6s var(--ease) infinite both; }
.play .p1-t { animation: p1t 6s ease infinite both; }
.play .p1-d { animation: p1d .9s ease-in-out infinite; } .play .p1-d:nth-of-type(2) { animation-delay: .15s; } .play .p1-d:nth-of-type(3) { animation-delay: .3s; }
.play .p1-b { animation: p1b 6s var(--ease) infinite both; }
@keyframes p1a { 0% { opacity: 0; transform: translateY(10px); } 8%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes p1t { 0%, 18% { opacity: 0; } 22%, 44% { opacity: 1; } 48%, 100% { opacity: 0; } }
@keyframes p1d { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes p1b { 0%, 46% { opacity: 0; transform: translateY(10px); } 54%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }

.play .p2-ring { animation: p2r 6s var(--ease) infinite; }
.play .p2-pick .p2-card { animation: p2c 6s ease infinite; }
.play .p2-pick .p2-q { animation: p2q 6s ease infinite; }
@keyframes p2r { 0% { transform: translate(50px, 50px); } 18% { transform: translate(150px, 50px); } 36% { transform: translate(50px, 110px); } 54%, 100% { transform: translate(100px, 110px); } }
@keyframes p2c { 0%, 56% { fill: var(--card); stroke: var(--line); } 62%, 100% { fill: var(--blue); stroke: var(--blue); } }
@keyframes p2q { 0%, 56% { fill: var(--dim); } 62%, 100% { fill: #fff; } }

.play .p3-line { animation: p3l 6s var(--ease) infinite both; transform-origin: left center; }
.play .p3-stamp { animation: p3s 6s var(--ease) infinite both; transform-origin: center; }
@keyframes p3l { 0% { transform: scaleX(0); } 10%, 92% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes p3s { 0%, 62% { opacity: 0; transform: scale(1.8) rotate(-12deg); } 70%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.play .p4-open { animation: p4o 4s var(--ease) infinite; transform-origin: center; }
.play .p4-hair { animation: p4o 4s var(--ease) infinite; transform-origin: center; }
.play .p4-prog { animation: p4p 4s linear infinite; transform-origin: left center; }
.play .p4-bar { animation: p4b 1s ease-in-out infinite alternate; transform-origin: center; }
@keyframes p4o { 0%, 15% { transform: scale(0); } 45%, 85% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes p4p { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes p4b { from { transform: scaleY(.25); } to { transform: scaleY(1); } }

.play .p5-heart { animation: p5h 2.4s ease-out infinite both; }
.play .p5-bar { animation: p5b 3s var(--ease) infinite both; transform-origin: bottom center; }
@keyframes p5h { 0% { opacity: 0; translate: 0 0; scale: .6; } 15% { opacity: 1; scale: 1; } 100% { opacity: 0; translate: -6px -70px; scale: 1.1; } }
@keyframes p5b { 0% { transform: scaleY(.15); } 45%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }

/* ---------- Banda CTA ---------- */
.band { background: var(--blue); color: #fff; padding-block: clamp(80px, 11vw, 150px); overflow: hidden; }
.band h2 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(56px, 8.6vw, 132px); line-height: .9; margin: 0 0 28px; max-width: 14ch; text-wrap: balance; }
.band p { font-size: clamp(18px, 1.3vw + 10px, 22px); margin: 0 0 36px; color: rgba(255,255,255,.88); max-width: 50ch; }
.scribble { position: relative; white-space: nowrap; color: var(--peach); }
.scribble svg { position: absolute; left: -6%; top: -14%; width: 112%; height: 128%; overflow: visible; pointer-events: none; }
.scribble path { fill: none; stroke: var(--peach); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 0; }
.band.reveal-ready .scribble path { stroke-dashoffset: 1400; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.band.in .scribble path { stroke-dashoffset: 0; }
.band .email-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; font-size: 16px; color: rgba(255,255,255,.88); }
.band .email-line .js-email { text-decoration: underline; text-underline-offset: 4px;  font-family: var(--f-body); font-weight: 600; color: #fff; user-select: all; }
.band .btn-light { color: var(--blue-ink); }

/* ---------- Contacto ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.contact-block { background: var(--card); border-block: 1px solid var(--line-soft); }
.contact-block .statement { margin-bottom: 28px; }
.form { counter-reset: f; border-top: 2px solid var(--ink); }
.fpair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; }
.more { border-bottom: 1px solid var(--line); }
.more summary { cursor: pointer; padding: 18px 0; font-size: 15px; font-weight: 600; color: var(--blue); list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+ "; font-weight: 700; }
.more[open] summary::before { content: "− "; }
.more .frow:last-child { border-bottom: 0; }
.assure { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.assure li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; line-height: 1.45; }
.assure li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 12px; }
.frow { counter-increment: f; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 12px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.frow::before { content: counter(f, decimal-leading-zero); grid-row: span 4; font-family: var(--f-display); font-weight: 700; font-size: 26px; line-height: 1; color: var(--dim); padding-top: 4px; }
.frow:focus-within::before { color: var(--blue); }
.frow > label, .frow > .flabel { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.frow .hint { font-size: 14px; color: var(--muted); margin: 0; }
.frow input[type=text], .frow input[type=email], .frow select, .frow textarea {
  width: 100%; border: 0; border-bottom: 2px solid var(--line); background: transparent; padding: 10px 0 8px; margin-top: 4px;
  font: inherit; font-size: clamp(18px, 1vw + 10px, 21px); color: var(--ink); border-radius: 0; transition: border-color .2s;
}
.frow select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23142b34' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 4px center / 18px; padding-right: 30px; }
.frow textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.frow input:focus, .frow select:focus, .frow textarea:focus { outline: none; border-bottom-color: var(--blue); }
.frow input::placeholder, .frow textarea::placeholder { color: #737f83; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 15px; font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s, color .2s; background: var(--card); }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.chip span:hover { border-color: var(--ink); }
.ref-box { display: none; align-items: center; gap: 12px; margin-top: 10px; padding: 10px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-soft); }
.ref-box.show { display: flex; }
.ref-box img { width: 40px; height: 56px; object-fit: cover; border-radius: 8px; }
.ref-box div { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.35; }
.ref-box button { border: 0; background: none; color: var(--orange); font-weight: 700; font-size: 14px; text-decoration: underline; padding: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; padding-block: 22px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-msg { margin: 16px 0 0; font-size: 15px; font-weight: 600; min-height: 1.5em; }
.form-msg.err { color: var(--orange); }
.form-msg.ok { color: #1d6b3a; }
.ready { margin-top: 22px; padding: clamp(18px, 2vw, 26px); border-radius: var(--radius); background: var(--card); border: 2px solid var(--blue); display: grid; gap: 14px; }
.ready[hidden] { display: none; }
.ready h3 { font-family: var(--f-display); font-size: 30px; text-transform: uppercase; line-height: 1; margin: 0; }
.ready p { margin: 0; font-size: 16px; }
.ready code { font-family: var(--f-body); font-weight: 700; user-select: all; }
.ready pre { margin: 0; max-height: 220px; overflow: auto; white-space: pre-wrap; word-break: break-word; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; line-height: 1.55; padding: 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line-soft); }
.ready .row { display: flex; flex-wrap: wrap; gap: 10px; }
.ready .btn { min-height: 48px; font-size: 15px; }
.aside { display: grid; gap: 22px; align-content: start; padding-top: 8px; }
.aside-card { padding: clamp(22px, 2.4vw, 30px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line-soft); }
.aside-card h3 { font-size: 15px; font-weight: 700; margin: 0 0 14px; line-height: 1.4; }
.aside-card ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: c; }
.aside-card ol li { counter-increment: c; display: grid; grid-template-columns: 26px 1fr; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.aside-card ol li::before { content: counter(c); font-weight: 700; color: var(--blue); }
.aside-card.health { background: var(--paper-2); border-color: transparent; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.direct { padding: clamp(22px, 2.4vw, 30px); border-radius: var(--radius); background: var(--dark); color: var(--on-dark); display: grid; gap: 10px; }
.direct span { font-size: 14px; color: var(--on-dark-muted); }
.direct .js-email { text-decoration: none;  font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: .01em; color: #fff; user-select: all; word-break: break-all; line-height: 1.1; }
.direct .btn { justify-self: start; min-height: 46px; font-size: 15px; }

/* ---------- Curso ---------- */
.course { padding-block: 0 clamp(80px, 11vw, 150px); }
.course-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(26px, 3.2vw, 48px); border-radius: var(--radius); border: 2px dashed var(--line); }
.course-card h3 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 3vw, 44px); line-height: 1; margin: 0 0 10px; }
.course-card p { margin: 0; color: var(--ink-soft); max-width: 50ch; }
.price { text-align: left; }
.price b { display: block; font-family: var(--f-display); font-size: clamp(56px, 5.4vw, 84px); line-height: .85; font-weight: 800; }
.price span { font-size: 13px; color: var(--muted); }
.course-card .eyebrow { margin-bottom: 14px; }
.course-card .small { margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 34px; gap: 16px; align-items: center; padding: 22px 0; font-size: clamp(18px, 1.1vw + 10px, 21px); font-weight: 600; line-height: 1.35; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .pm { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: transform .3s var(--ease), background .2s; }
.faq-list summary .pm::before, .faq-list summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.faq-list summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .2s; }
.faq-list details[open] summary .pm { background: var(--ink); border-color: var(--ink); }
.faq-list details[open] summary .pm::before { background: var(--paper); }
.faq-list details[open] summary .pm::after { opacity: 0; }
.faq-list details p { margin: 0 0 24px; color: var(--ink-soft); max-width: 62ch; padding-right: 50px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--on-dark); padding-top: clamp(64px, 8vw, 110px); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 56px; }
.footer h4 { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: var(--on-dark); font-size: 16px; }
.footer a:hover { color: var(--cyan); text-decoration: underline; text-underline-offset: 4px; }
.footer .tagline { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(28px, 2.8vw, 40px); line-height: 1; margin: 0 0 22px; max-width: 16ch; }
.footer .mail { font-weight: 600; font-size: 15px; color: var(--cyan); user-select: all; overflow-wrap: anywhere; }
.wordmark {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase; white-space: nowrap;
  font-size: 12vw; line-height: .8; letter-spacing: -.01em; margin: 0; padding: .04em var(--gutter) .06em; text-align: center; width: fit-content; max-width: 100%; margin-inline: auto; box-sizing: content-box;
  background: url("assets/journey-inside.jpg") center 42% / 120% auto repeat-x;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: pan 40s linear infinite alternate;
}
@keyframes pan { to { background-position: 100% 58%; } }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid rgba(238,243,242,.14); font-size: 14px; color: var(--on-dark-muted); }
.footer-base a { font-size: 14px; color: var(--on-dark-muted); }

/* ---------- CTA flotante en móvil + aviso ---------- */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); z-index: 40; display: none; transform: translateY(140%); transition: transform .35s var(--ease); }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; box-shadow: 0 18px 40px -16px rgba(16,44,57,.6); }
.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); z-index: 90; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 600; transition: opacity .25s, transform .3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Apariciones suaves (empiezan visibles si no hay JS) ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links, .nav .lang, .nav .nav-cta { display: none; }
  .burger { display: inline-flex; align-items: center; }
  .mega { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .lens-col { max-width: 360px; }
  .hero-chip { left: auto; right: -6%; bottom: 6%; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-yt { grid-column: 1 / -1; grid-row: auto; }
  .t-fb, .t-ig { grid-column: 1 / -1; }
  .t-tt, .t-since { grid-column: span 1; }
  .t-lang { grid-column: 1 / -1; }
  .reel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel.featured { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 5; min-height: 0; }
  .anatomy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .sectors-layout, .contact-layout, .faq-layout { grid-template-columns: 1fr; }
  .sector-preview, .aside { position: static; }
  .services-grid { grid-template-columns: 1fr; }
  .svc-plan { grid-template-columns: 1fr; }
  .course-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .sticky-cta { display: block; }
}
@media (max-width: 640px) {
  .brand span { font-size: 18px; }
  .brand img { width: 34px; height: 34px; }
  .hero h1 { font-size: clamp(54px, 15.5vw, 80px); }
  .cta-row .btn { flex: 1 1 100%; }
  .hero-chip { right: -4px; bottom: 4%; padding: 10px 14px 10px 10px; max-width: 230px; }
  .hero-chip b { font-size: 30px; }
  .bento { grid-template-columns: 1fr; }
  .t-tt, .t-since { grid-column: 1 / -1; }
  .t-ig .split { grid-template-columns: 1fr; }
  .reel-grid { gap: 10px; }
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .reel::after { background: linear-gradient(180deg, rgba(16,44,57,0) 30%, rgba(16,44,57,.95) 100%); }
  .reel-views { font-size: 34px; }
  .reel-views small { font-size: 10px; letter-spacing: .06em; line-height: 1.3; }
  .reel-title { font-size: 13.5px; }
  .reel:not(.featured) .reel-meta { padding: 12px; gap: 4px; }
  .reel-play { width: 38px; height: 38px; top: 10px; right: 10px; }
  .reel-n { display: none; }
  .anatomy-grid { grid-template-columns: 1fr; }
  .step-card { grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: start; }
  .step-media { grid-row: span 2; aspect-ratio: 9 / 13; }
  .about-grid { grid-template-columns: 1fr; }
  .frow { grid-template-columns: 1fr; }
  .frow::before { grid-row: auto; font-size: 18px; }
  .modal { padding: 0; place-items: stretch; }
  .modal-card { grid-template-columns: 1fr; border-radius: 0; gap: 16px; padding: 16px 16px 24px; overflow-y: auto; align-content: start; width: 100%; }
  .modal video { height: auto; width: 100%; max-height: 62vh; object-fit: contain; }
  .modal-info { padding: 0; }
  .modal-info .stat { font-size: 48px; }
  .faq-list details p { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
  .band .btn { flex: 1 1 100%; }
  .footer { padding-bottom: 80px; }
}
/* ---------- Responsive de la estructura compacta ---------- */
@media (max-width: 1080px) {
  .process { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .process::-webkit-scrollbar { display: none; }
  .pstep { flex: 0 0 min(78vw, 300px); scroll-snap-align: start; }
  .sector-list { display: flex; gap: 8px; overflow-x: auto; border-top: 0; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 10px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .sector-list::-webkit-scrollbar { display: none; }
  .sector-list li { border: 0; flex: 0 0 auto; }
  .sector-list button, .sector-list button:hover, .sector-list button[aria-pressed="true"] { display: inline-flex; width: auto; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 18px; white-space: nowrap; background: var(--card); }
  .sector-list button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
  .sector-list button .n, .sector-list button .go { display: none; }
  .sector-preview { justify-items: center; }
  .phone { width: min(100%, 380px, calc((100vh - 200px) * 9 / 16)); }
  .sector-preview .btn { justify-self: center; }
  .head-row { grid-template-columns: 1fr; align-items: start; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 0; }
  .pcell, .pcell + .pcell { padding: 18px 16px 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .pcell:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .phl { grid-column: 1 / -1; }
  .pcell.phl { padding-left: 0; border-left: 0; }
  .reel-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .reel-row::-webkit-scrollbar { display: none; }
  .reel-row .reel { flex: 0 0 clamp(170px, 42vw, 260px); scroll-snap-align: start; }
  .services-grid { grid-template-columns: 1fr; }
  .svc { grid-template-rows: none; }
}
@media (max-width: 640px) {
  .lens-col { max-width: 270px; }
  .lens-hint { display: none; }
  .hero h1 { margin-bottom: 20px; }
  .hero .lead { margin-bottom: 24px; font-size: 17.5px; }
  .fpair { grid-template-columns: 1fr; }
  .svc { gap: 14px; }
  .svc ul { gap: 8px; }
  .pnum { font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
