/* HomEconomics · web con Bully (v4.1) · 18-oct-2026
   Crema, verde pino y oro mate. Cajas con borde grueso y sombra dura.
   Titulares en Big Shoulders Display, acentos en Ibarra Real Nova cursiva (la serif de la marca). */

/* Fuentes servidas desde la propia web (sin Google Fonts: no se envía la IP de nadie a terceros) */
@font-face { font-family: "Big Shoulders Display"; src: url("assets/fuentes/bigshoulders.woff") format("woff"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("assets/fuentes/hanken.woff") format("woff"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Ibarra Real Nova"; src: url("assets/fuentes/ibarra.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Ibarra Real Nova"; src: url("assets/fuentes/ibarra-it.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Kalam"; src: url("assets/fuentes/kalam.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --cream: #F2EDE1;
  --paper: #FAF7EF;
  --gold: #E6D7A3;
  --gold-2: #CDB878;
  --pine: #16302A;
  --pine-2: #1E3D33;
  --pine-3: #0F231E;
  --ink: #16302A;
  --muted: #4c5f57;
  --line: 3px solid var(--pine);
  --shadow: 6px 6px 0 var(--pine);
  --shadow-sm: 4px 4px 0 var(--pine);

  --display: "Big Shoulders Display", "Arial Narrow", "Impact", sans-serif;
  --serif: "Ibarra Real Nova", Georgia, serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hand: "Kalam", "Comic Sans MS", cursive;

  --max: 1180px;
  --gut: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
mark { background: none; color: inherit; }
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--gold); padding: 8px 14px; border: var(--line); }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; }

/* ---------- tipografía ---------- */
.display { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .98; letter-spacing: .01em; color: var(--pine); }
.display-xl { font-size: clamp(3rem, 7.4vw, 6rem); }
.display-lg { font-size: clamp(2.5rem, 5.6vw, 4.3rem); }
.display-md { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.center { text-align: center; }
.aside-serif { font: italic 400 clamp(1.35rem, 2.3vw, 1.8rem)/1.25 var(--serif); margin-top: 12px; }
.aside-center { text-align: center; }
.kicker-serif { font: italic 500 clamp(1.3rem, 2.4vw, 1.7rem)/1.1 var(--serif); margin-bottom: 12px; color: var(--muted); }
.serif-in { font: italic 400 .92em/1.05 var(--serif); text-transform: none; letter-spacing: -.01em; display: inline-block; }
.lede { font-size: 1.1rem; max-width: 33em; margin-top: 20px; }
.sec-sub { max-width: 40em; margin-top: 16px; color: var(--muted); }
.fine { font-size: .82rem; color: var(--muted); margin-top: 14px; }
.link { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* resaltado: trazo de marcador oro, recto, por la mitad baja de la palabra */
.hi { background: linear-gradient(transparent 50%, var(--gold-2) 50%, var(--gold-2) 90%, transparent 90%); padding: 0 .06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hl { background: var(--pine); color: var(--cream); padding: .08em .35em; box-decoration-break: clone; -webkit-box-decoration-break: clone; font-weight: 600; }
.box-ink { display: inline-block; background: var(--pine); color: var(--cream); padding: .05em .3em .08em; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 800 1.12rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em;
  padding: 15px 22px; border: var(--line); box-shadow: var(--shadow-sm);
  text-decoration: none; cursor: pointer; color: var(--pine);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--pine); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--pine); }
.btn-gold { background: var(--gold-2); }
.btn-paper { background: var(--paper); }
.btn-ink { background: var(--pine); color: var(--cream); box-shadow: 4px 4px 0 var(--gold-2); margin-top: 26px; }
.btn-ink:hover { box-shadow: 6px 6px 0 var(--gold-2); }
.btn-sm { padding: 10px 16px; font-size: 1rem; }
.btn-ic { width: 22px; height: 22px; }

/* ---------- cabecera ---------- */
.bar { position: sticky; top: 0; z-index: 20; background: var(--pine); border-bottom: var(--line); }
.bar-in { display: flex; align-items: center; gap: 28px; min-height: 66px; }
/* logo: cabeza de Bully + etiqueta HOMECONOMICS (como en marca/logo) */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.logo-head { width: auto; height: 50px; filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, .18)); }
.logo-tag {
  display: inline-block; font: 800 1.32rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em;
  background: var(--pine); border: 2px solid var(--cream); box-shadow: 3px 3px 0 var(--pine-3); padding: 6px 10px 5px;
}
.logo-h { color: #fff; }
.logo-e { color: var(--gold-2); }
.logo:hover .logo-tag { box-shadow: 4px 4px 0 var(--gold-2); }
.logo-lg .logo-head { height: 72px; }
.logo-lg .logo-tag { font-size: 1.7rem; padding: 8px 13px 7px; box-shadow: 4px 4px 0 var(--gold-2); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--cream); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--gold); }
.bar .btn { box-shadow: 3px 3px 0 var(--pine-3); border-color: var(--pine-3); }

/* ---------- misión ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { max-width: 11ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px 16px; margin-top: 30px; }
.hero-art { position: relative; }
.bully-board img { width: 100%; }
.bully img { filter: drop-shadow(6px 6px 0 rgba(22, 48, 42, .14)); }
.note { font: 700 1.15rem/1.15 var(--hand); color: var(--pine); }
.note-hero { position: absolute; left: -2%; bottom: 4%; max-width: 13em; background: var(--paper); border: 2px solid var(--pine); padding: 10px 14px; box-shadow: var(--shadow-sm); transform: rotate(-2deg); }

/* ---------- principios (franja fija, sin movimiento) ---------- */
.principles { border-block: var(--line); background: var(--paper); }
.pr-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pr-grid li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; padding: 22px 20px; align-items: start; }
.pr-grid li + li { border-left: 2px dashed rgba(22, 48, 42, .35); }
.pr-n { grid-row: 1 / 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--pine); color: var(--gold); font: 800 1.2rem/1 var(--display); }
.pr-grid b { font: 800 1.25rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.pr-grid span:last-child { font-size: .9rem; color: var(--muted); }

/* ---------- secciones ---------- */
.sec { padding: clamp(64px, 9vw, 112px) 0; }
.sec-head { margin-bottom: clamp(32px, 4vw, 48px); }
.statement { font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.45; text-align: center; max-width: 34em; margin: 0 auto; }

/* cómo lo hacemos */
.how-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(48px, 6vw, 80px); }
.sign-stage { position: relative; width: min(100%, 400px); margin-inline: auto; }
.bully-sign img { width: 100%; }
/* el cartel en blanco ocupa x 8–92 % e y 36–65 % de la imagen */
.sign-icons { position: absolute; left: 11%; right: 11%; top: 39%; height: 23.5%; display: flex; align-items: center; justify-content: space-evenly; gap: 4%; }
.social {
  display: grid; justify-items: center; gap: 4px; text-decoration: none; color: var(--pine);
  transition: transform .25s var(--ease);
}
.social svg {
  width: clamp(44px, 6vw, 64px); height: clamp(44px, 6vw, 64px); padding: 10px;
  background: var(--gold); border: 3px solid var(--pine); border-radius: 14px; box-shadow: 3px 3px 0 var(--pine);
  transition: box-shadow .25s var(--ease), background-color .2s;
}
.social span { font: 700 .72rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.social:hover, .social:focus-visible { transform: translateY(-14px) rotate(-4deg); }
.social:hover svg, .social:focus-visible svg { box-shadow: 5px 12px 0 rgba(22, 48, 42, .35); background: var(--gold-2); }
.social.is-pending:hover::after { content: "Enlace pendiente"; position: absolute; top: -26px; font: 700 .7rem/1 var(--sans); background: var(--pine); color: var(--cream); padding: 4px 6px; white-space: nowrap; }
.social { position: relative; }
.note-sign { text-align: center; transform: rotate(-2deg); font-size: 1.15rem; margin-top: 4px; }
.channels { display: grid; gap: 18px; margin-top: 28px; }
.channel { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; background: var(--paper); border: var(--line); box-shadow: var(--shadow); padding: 20px 22px; }
.channel h3 { font: 800 1.45rem/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.channel p { margin-top: 6px; font-size: .98rem; }
.channel .link { display: inline-block; margin-top: 10px; }
.channel-nl { background: var(--gold); }
.ch-ic { display: flex; gap: 6px; }
.ch-ic svg, .ch-ic-mail { width: 46px; height: 46px; padding: 9px; background: var(--pine); color: var(--gold); border-radius: 12px; }
.ch-ic-2 svg { width: 40px; height: 40px; padding: 8px; }
.ch-ic-mail { display: grid; place-items: center; font: 800 1.6rem/1 var(--display); }

/* Bully te lo explica (sin cambios de contenido) */
.bully-sec { background: var(--gold); border-block: var(--line); }
.bully-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.bully-portrait { background: var(--cream); border: var(--line); box-shadow: var(--shadow); border-radius: 50%; aspect-ratio: 1; display: grid; place-items: end center; overflow: hidden; max-width: 420px; width: 100%; margin-inline: auto; }
.bully-portrait img { width: 86%; filter: none; }
.bully-copy h2 { margin-bottom: 22px; }
.bully-copy p:not(.kicker-serif) { font-size: 1.08rem; margin-top: 16px; }
.bully-copy .kicker-serif { color: var(--pine); }

/* vídeos */
.videos { background: var(--paper); border-bottom: var(--line); }
.vid-head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.bully-point { width: clamp(150px, 18vw, 220px); margin-bottom: -6px; }
.vids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.vid { display: block; text-decoration: none; color: inherit; }
.vid h3 { font: 600 1.08rem/1.35 var(--sans); margin-top: 6px; }
.vid-th { position: relative; border: var(--line); box-shadow: var(--shadow); background: var(--gold); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.vid:hover .vid-th { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--pine); }
.vid-th img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.vid-d { position: absolute; right: 10px; bottom: 10px; background: var(--pine); color: var(--cream); font: 600 .78rem/1 var(--sans); padding: 5px 8px; }
.vid-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: var(--pine); border: 3px solid var(--cream); }
.vid-play::after { content: ""; position: absolute; left: 22px; top: 16px; border-left: 18px solid var(--gold); border-block: 11px solid transparent; }
.vid-k { margin-top: 16px; font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.vids-out { margin-top: 36px; text-align: center; }

/* newsletter */
.letter h2 { max-width: 19em; margin-inline: auto; }
.letter h2 .serif-in { font-size: 1em; margin: .08em 0; }
.letter-tag { text-align: center; margin-top: 18px; font-weight: 700; }
.letter-tag::before, .letter-tag::after { content: "—"; color: var(--gold-2); margin: 0 10px; }
.letter-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 56px); margin-top: clamp(40px, 5vw, 60px); align-items: start; }
.mail { background: #fff; border: var(--line); box-shadow: var(--shadow); }
.mail-head { display: grid; gap: 4px; padding: 14px 20px; border-bottom: var(--line); font-size: .86rem; background: var(--gold); }
.mail-body { padding: 22px 24px 26px; }
.mail-body h3 { font: 800 1.75rem/1.02 var(--display); text-transform: uppercase; margin: 6px 0 12px; }
.mail-body p { font-size: .98rem; }
.mail-k { font: 700 .7rem/1 var(--sans) !important; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.mail-af { margin-top: 12px; background: var(--cream); border-left: 4px solid var(--pine); padding: 10px 12px; }
.mail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px; padding-top: 18px; border-top: 2px dashed rgba(22, 48, 42, .35); }
.mail-row p + p { margin-top: 6px; }
.mail-bully { margin-top: 18px; font: 700 1.3rem/1 var(--hand) !important; }
.bully-cafe { width: min(100%, 330px); margin: -10px auto 22px; }
.incl { display: grid; gap: 12px; }
.incl li { padding-left: 30px; position: relative; font-size: 1.02rem; }
.incl li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; background: var(--gold-2); border: 2px solid var(--pine); border-radius: 50%; }

/* formulario */
.signup { margin-top: 26px; max-width: 520px; }
.signup-row { display: flex; border: var(--line); box-shadow: var(--shadow); background: var(--paper); }
.signup input[type="email"] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 16px; font: 400 1rem var(--sans); color: var(--ink); }
.signup input[type="email"]:focus { outline: none; background: #fff; }
.signup-row .btn { border: 0; border-left: var(--line); box-shadow: none; white-space: nowrap; }
.signup-row .btn:hover, .signup-row .btn:active { transform: none; box-shadow: none; background: var(--gold); }
.check { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .9rem; }
.check input { width: 18px; height: 18px; accent-color: var(--pine); }
.check a { font-weight: 600; }
.ticks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: .88rem; color: var(--muted); }
.ticks li::before { content: "✓ "; color: var(--pine); font-weight: 700; }
.signup-ok { margin-top: 14px; background: var(--pine); color: var(--cream); padding: 12px 14px; font-weight: 500; }
.signup-err { margin-top: 12px; color: #8a2b1a; font-weight: 600; font-size: .9rem; }

/* itinerario */
.itin { background: var(--paper); border-block: var(--line); }
.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.lvl { background: var(--cream); border: var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.lvl:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--pine); }
.lvl img { border-bottom: var(--line); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.lvl-b { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.lvl-n { font: 700 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lvl h3 { font: 800 1.45rem/1.02 var(--display); text-transform: uppercase; letter-spacing: .01em; margin-top: 8px; }
.lvl p { font-size: .92rem; margin-top: 8px; color: var(--muted); }
.lvl-m { margin-top: auto; padding-top: 14px; font-size: .82rem; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.lvl-m b { background: var(--gold); padding: 2px 8px; border: 2px solid var(--pine); border-radius: 999px; white-space: nowrap; }
.lvl-cta { background: var(--pine); color: var(--cream); justify-content: center; }
.lvl-cta .lvl-b { justify-content: center; gap: 20px; }
.lvl-cta-t { font: 800 2.1rem/1 var(--display); text-transform: uppercase; color: var(--gold) !important; }
.lvl-cta .btn { border-color: var(--cream); box-shadow: 4px 4px 0 var(--cream); }

/* calculadora */
.calc-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.calc-copy p:not(.aside-serif):not(.fine) { margin-top: 18px; font-size: 1.05rem; }
.calc-box { background: var(--paper); border: var(--line); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 34px); }
.calc-sentence { font-size: 1.1rem; }
.calc-sentence b { background: var(--gold); padding: 0 .25em; }
.calc-total { font: 800 clamp(3.2rem, 7.4vw, 5rem)/1 var(--display); margin-top: 10px; }
.calc-bar { display: flex; height: 26px; border: var(--line); margin-top: 18px; background: var(--cream); }
.calc-bar span { display: block; height: 100%; transition: width .35s var(--ease); }
.calc-bar-ap { background: var(--pine); width: 58%; }
.calc-bar-in { background: var(--gold-2); width: 42%; border-left: 2px solid var(--pine); }
.calc-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .9rem; margin-top: 10px; }
.calc-legend b { margin-right: 14px; }
.sw { width: 14px; height: 14px; border: 2px solid var(--pine); display: inline-block; }
.sw-ap { background: var(--pine); }
.sw-in { background: var(--gold-2); }
.calc-in { display: grid; gap: 16px; margin-top: 24px; }
.calc-in label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.calc-in input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
.calc-in input[type="range"]::-webkit-slider-runnable-track { height: 8px; background: var(--cream); border: 2px solid var(--pine); }
.calc-in input[type="range"]::-moz-range-track { height: 8px; background: var(--cream); border: 2px solid var(--pine); }
.calc-in input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; background: var(--gold-2); border: 3px solid var(--pine); border-radius: 50%; box-shadow: 2px 2px 0 var(--pine); }
.calc-in input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; background: var(--gold-2); border: 3px solid var(--pine); border-radius: 50%; box-shadow: 2px 2px 0 var(--pine); }

/* cierre */
.final { background: var(--pine-3); color: var(--cream); text-align: center; }
.final .display { color: var(--cream); max-width: 15em; margin-inline: auto; }
.final .hi { background: linear-gradient(transparent 55%, rgba(205, 184, 120, .55) 55%, rgba(205, 184, 120, .55) 92%, transparent 92%); }
.kicker-light { color: var(--gold); }
.final-sub { margin: 20px auto 30px; max-width: 32em; color: #d8dcd2; }

/* pie */
.foot { background: var(--pine-3); color: #c9cfc6; border-top: 1px solid rgba(242, 237, 225, .12); padding: 48px 0 40px; font-size: .9rem; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 28px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--gold); }
.foot-social { display: flex; gap: 12px; }
.social-sm svg { width: 40px; height: 40px; padding: 8px; border-color: var(--gold); box-shadow: 2px 2px 0 var(--gold-2); }
.social-sm:hover { transform: translateY(-6px); }
.foot-tag { margin-top: 22px; font: italic 400 1.25rem/1.3 var(--serif); color: var(--cream); }
.disclaimer { margin-top: 14px; color: var(--gold); }
.foot-legal { margin-top: 18px; display: grid; gap: 6px; font-size: .78rem; opacity: .8; }

/* ---------- aparición al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.lvl.reveal.is-in:hover { transform: translate(-3px, -3px); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .levels { grid-template-columns: repeat(3, 1fr); }
  .nav { gap: 16px; }
  .pr-grid { grid-template-columns: repeat(2, 1fr); }
  .pr-grid li:nth-child(3) { border-left: 0; }
  .pr-grid li:nth-child(n+3) { border-top: 2px dashed rgba(22, 48, 42, .35); }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .bar .btn { margin-left: auto; }
  .hero-grid, .how-grid, .bully-grid, .calc-grid, .letter-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .hero-art { max-width: 520px; margin-inline: auto; }
  .note-hero { top: auto; bottom: -10px; right: 0; font-size: 1rem; }
  .levels { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .vid-head { grid-template-columns: 1fr; }
  .bully-point { display: none; }
  .vids { grid-template-columns: 1fr; }
  .bully-portrait { max-width: 300px; }
  .sign-stage { width: min(100%, 340px); }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .logo-head { height: 40px; }
  .logo-tag { font-size: 1.08rem; padding: 5px 8px 4px; }
  .pr-grid { grid-template-columns: 1fr; }
  .pr-grid li + li { border-left: 0; border-top: 2px dashed rgba(22, 48, 42, .35); }
  .pr-grid li { padding: 16px 4px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .signup-row { flex-direction: column; }
  .signup-row .btn { border-left: 0; border-top: var(--line); padding: 15px; }
  .levels { grid-template-columns: 1fr; }
  .lvl { flex-direction: row; }
  .lvl img { width: 38%; aspect-ratio: 1; border-bottom: 0; border-right: var(--line); }
  .lvl-b { padding: 12px 14px; }
  .lvl h3 { font-size: 1.25rem; }
  .lvl p { display: none; }
  .lvl-cta { flex-direction: column; }
  .mail-row { grid-template-columns: 1fr; }
  .channel { grid-template-columns: 1fr; gap: 12px; }
  .social span { display: none; }
}

/* lanzamiento: itinerario oculto y vídeos que aún no existen */
.itin[hidden] { display: none !important; }
.vid-soon { cursor: default; opacity: .78; }
.vid-soon .vid-th img { filter: grayscale(.35); }
.foot-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* newsletter: aún no ha salido el primer número */
.mail-soon .soon { text-align: center; padding: 26px 24px 30px; }
.soon-bully { width: min(220px, 60%); height: auto; display: block; margin: 0 auto 12px; }
.mail-soon h3 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 6px 0 10px; }
.soon-t { font-size: 1.2rem; font-weight: 600; }
.trampa { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.signup-fail { color: #B5452F; font-weight: 600; }

/* pop-up de la newsletter */
.pop { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(15, 35, 30, .62); }
.pop[hidden] { display: none; }
.pop-card { position: relative; width: min(760px, 100%); max-height: calc(100dvh - 32px); overflow: auto; display: grid; grid-template-columns: 240px 1fr; gap: 8px 26px; align-items: center;
  background: var(--cream); border: var(--line); box-shadow: 10px 10px 0 var(--pine-3); padding: 26px 30px 26px 18px; }
.pop.is-in .pop-card { animation: popIn .45s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
.pop-x { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; border: 0; background: transparent; font-size: 30px; line-height: 1; color: var(--pine); cursor: pointer; }
.pop-x:hover { color: var(--gold-2); }
.pop-art img { width: 100%; height: auto; display: block; transform-origin: 50% 90%; animation: remover 2.6s ease-in-out infinite; }
@keyframes remover { 0%, 100% { transform: rotate(-2.5deg) translateY(0); } 50% { transform: rotate(2.5deg) translateY(-6px); } }
.pop-k { font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; color: var(--gold-2); font-weight: 700; margin: 0 0 4px; }
.pop-body h2 { margin: 0 0 10px; }
.pop-t { margin: 0 0 4px; }
.pop-form { margin-top: 16px; }
.pop-in { width: 100%; box-sizing: border-box; margin-bottom: 12px; border: var(--line); background: var(--paper); padding: 14px 16px; font: 400 1rem var(--sans); color: var(--ink); }
.pop-in:focus { outline: none; background: #fff; }
@media (max-width: 640px) {
  .pop-card { grid-template-columns: 1fr; padding: 22px 18px; text-align: left; }
  .pop-art { width: 150px; margin: 0 auto -6px; }
}
@media (prefers-reduced-motion: reduce) {
  .pop-art img, .pop.is-in .pop-card { animation: none; }
}

/* pizarra: dos toques con el puntero y baja el cartel «Sin filtros» */
.bully-board { position: relative; }
.board-stick { position: absolute; inset: 0; width: 100%; height: auto; transform-origin: 48% 42.2%; }
.board-tap { position: absolute; left: 63.4%; top: 25.2%; width: 0; height: 0; }
.board-tap i { position: absolute; left: 0; top: 0; width: 4px; height: 16px; margin: -26px 0 0 -2px; background: var(--cream); border-radius: 2px; transform-origin: 2px 26px; opacity: 0; }
.board-tap i:nth-child(1) { transform: rotate(-50deg); }
.board-tap i:nth-child(2) { transform: rotate(0deg); }
.board-tap i:nth-child(3) { transform: rotate(50deg); }
.board-sign { position: absolute; left: 54%; top: 11%; width: 38%; display: grid; justify-items: center; padding: 6% 4% 7%;
  background: #1A3426; border: 5px solid #A97B4B; box-shadow: 4px 4px 0 var(--pine-3); opacity: 0; transform: translateY(-140%); }
.board-sign::before, .board-sign::after { content: ""; position: absolute; bottom: 100%; width: 2px; height: 60px; background: var(--pine-3); }
.board-sign::before { left: 18%; } .board-sign::after { right: 18%; }
.board-sign-t { font: 700 clamp(1rem, 2.6vw, 2.1rem)/1 var(--hand); color: #F6F1E4; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; text-shadow: 0 0 1px rgba(246, 241, 228, .6); }
.board-chalk { width: 92%; height: 14px; margin-top: 4px; overflow: visible; }
.board-chalk path { fill: none; stroke: #F6F1E4; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; opacity: .9; }
.bully-board.play .board-stick { animation: toque 1s cubic-bezier(.3, 0, .3, 1) .2s both; }
.bully-board.play .board-tap i { animation: chispa 1s linear .2s both; }
.bully-board.play .board-sign { animation: cartel .75s cubic-bezier(.25, 1.5, .4, 1) 1.25s both; }
.bully-board.play .board-chalk path { animation: tiza .6s ease-out 2s both; }
@keyframes toque { 0% { transform: rotate(0); } 15% { transform: rotate(-6deg); } 30% { transform: rotate(0); } 55% { transform: rotate(-6deg); } 70%, 100% { transform: rotate(0); } }
@keyframes chispa { 0%, 25% { opacity: 0; } 30% { opacity: 1; } 42% { opacity: 0; } 70% { opacity: 1; } 82%, 100% { opacity: 0; } }
@keyframes cartel { from { opacity: 1; transform: translateY(-140%) rotate(-4deg); } to { opacity: 1; transform: none; } }
@keyframes tiza { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .bully-board.play .board-stick, .bully-board.play .board-tap i { animation: none; }
  .bully-board.play .board-sign { animation: none; opacity: 1; transform: none; }
  .bully-board.play .board-chalk path { animation: none; stroke-dashoffset: 0; }
}

/* principios escalonados: la sección se queda fija mientras aparecen de uno en uno */
.principles.steps-on { height: 230vh; }
.principles.steps-on .pr-sticky { position: sticky; top: calc(50vh - 90px); }
.principles.steps-on .pr-grid li { opacity: 0; transform: translateY(26px) scale(.97); transition: opacity .45s var(--ease), transform .55s cubic-bezier(.25, 1.4, .4, 1); }
.principles.steps-on .pr-grid li.on { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .principles.steps-on { height: 260vh; }
  .principles.steps-on .pr-sticky { top: 90px; }
}
.principles.steps-on { background: none; border: 0; }
.principles.steps-on .pr-sticky { isolation: isolate; }
.principles.steps-on .pr-sticky::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); background: var(--paper); border-block: var(--line); }

/* Bully con el cartel de las redes: da un saltito y guiña el ojo al llegar */
.bully-sign { position: relative; }
.bully-sign .sign-wink { position: absolute; inset: 0; width: 100%; opacity: 0; }
.bully-sign.play { animation: saltito .5s cubic-bezier(.3, 1.6, .5, 1) .15s both; }
.bully-sign.play .sign-wink { animation: guino 1.1s steps(1, end) .55s both; }
@keyframes saltito { 0% { transform: translateY(0); } 40% { transform: translateY(-14px); } 100% { transform: none; } }
@keyframes guino { 0% { opacity: 1; } 60%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bully-sign.play, .bully-sign.play .sign-wink { animation: none; } }

/* calculadora: cita y gráfica con ejes */
.calc-quote { margin: 14px 0 16px; padding: 12px 16px; border-left: 4px solid var(--gold-2); background: var(--paper); }
.calc-quote p { margin: 0; font: italic 400 1.15rem/1.4 var(--serif); color: var(--pine); }
.calc-quote footer { margin-top: 6px; font-size: .82rem; color: var(--muted); }
.calc-chart { display: block; width: 100%; height: auto; margin: 6px 0 10px; overflow: visible; }
.calc-chart .cg { stroke: rgba(22, 48, 42, .14); stroke-width: 1; }
.calc-chart .cax { stroke: var(--pine); stroke-width: 2; }
.calc-chart .ct { font: 600 11px var(--sans); fill: var(--muted); }
.calc-chart .ca-tot { fill: var(--gold-2); opacity: .55; }
.calc-chart .ca-ap { fill: var(--pine); opacity: .85; }
.calc-chart .cl-tot { fill: none; stroke: #A88F45; stroke-width: 3; stroke-linejoin: round; }
.calc-chart .cl-ap { fill: none; stroke: var(--pine); stroke-width: 2; }
.calc-chart .cd-tot { fill: var(--gold-2); stroke: var(--pine); stroke-width: 2; }
.calc-chart .cd-ap { fill: var(--pine); stroke: var(--cream); stroke-width: 2; }
/* el texto del cartel se adapta al tamaño de la ilustración */
.bully-board { container-type: inline-size; }
.board-sign { width: 40%; padding: 5% 3% 6%; }
.board-sign-t { font-size: 1.1rem; }
@container (min-width: 1px) { .board-sign-t { font-size: 4.4cqw; } }
.calc-bar[hidden] { display: none !important; }
p.calc-quote { margin: 12px 0 14px; padding: 0; border: 0; background: none; font: italic 400 1.15rem/1.45 var(--serif); color: var(--pine); }

/* pizarra v2: «SIN FILTROS» se escribe a tiza sobre la pizarra, se subraya y Bully da dos toques */
.board-sign { display: none !important; }
.board-chalk-box { position: absolute; left: 55%; top: 15.5%; width: 32%; height: 24%; display: grid; place-content: center; justify-items: center; }
.board-chalk-box .board-sign-t { display: block; font: 700 1.2rem/1 var(--hand); text-transform: uppercase; letter-spacing: .03em; color: #F6F1E4; white-space: nowrap; clip-path: inset(0 100% 0 0); }
@container (min-width: 1px) { .board-chalk-box .board-sign-t { font-size: 5.6cqw; } }
.board-chalk-box .board-chalk { width: 100%; height: 14px; margin-top: 6px; overflow: visible; }
.bully-board.play .board-chalk-box .board-sign-t { animation: escribe 1.1s linear .2s both; }
.bully-board.play .board-chalk-box .board-chalk path { animation: tiza .6s ease-out 1.3s both; }
.bully-board.play .board-stick { animation: toque 1s cubic-bezier(.3, 0, .3, 1) 2s both; }
.bully-board.play .board-tap i { animation: chispa 1s linear 2s both; }
@keyframes escribe { to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) {
  .bully-board.play .board-chalk-box .board-sign-t { animation: none; clip-path: none; }
  .bully-board.play .board-chalk-box .board-chalk path { animation: none; stroke-dashoffset: 0; }
}
.bully-board { width: 100%; }
.hero-art { width: 100%; }
/* el puntero de Bully siempre por encima de lo escrito en la pizarra */
.board-chalk-box { z-index: 1; }
.board-stick { z-index: 3; }
.board-tap { z-index: 4; }
.soon-chef { transform-origin: 50% 90%; animation: remover 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .soon-chef { animation: none; } }

/* Bully con el cartel: inclina la cabeza, guiña un instante y vuelve (sustituye al saltito) */
.bully-sign.play { animation: none; }
.bully-sign .sign-wink { display: none; }
.bully-sign .sign-body { display: block; width: 100%; height: auto; }
.sign-head { position: absolute; inset: 0; transform-origin: 49.9% 26.7%; }
.sign-head img { position: absolute; inset: 0; width: 100%; height: auto; }
.sign-head .sign-head-wink { opacity: 0; }
.bully-sign.play .sign-head { animation: ladea 1.3s cubic-bezier(.4, 0, .3, 1) .3s both; }
.bully-sign.play .sign-head-wink { animation: guinito 1.3s steps(1, end) .3s both; }
@keyframes ladea { 0% { transform: rotate(0); } 30%, 62% { transform: rotate(-5deg); } 100% { transform: rotate(0); } }
@keyframes guinito { 0%, 38% { opacity: 0; } 39% { opacity: 1; } 50%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bully-sign.play .sign-head, .bully-sign.play .sign-head-wink { animation: none; } }
