/* ChistesVivos — hoja única. Sin preprocesador: se edita aquí. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque.woff2) format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans.woff2) format("woff2");
}

:root {
  /* marca: amarillo y navy muestreados del logo */
  --sun: #FBCE32;
  --sun-deep: #F0B90B;
  --ink: #0E2133;
  --ink-2: #3E4D5C;
  --ink-soft: #1C3348;
  --paper: #FFFCF2;
  --butter: #FFF0B3;
  --cream: #FFF7DA;
  --orange: #FF9F2E;
  --tomato: #FF5B36;

  /* familias de chiste: colores de caramelo */
  --pink: #FFA3C7;
  --mint: #94DDA6;
  --sky: #A5CFFF;
  --peach: #FFBE6B;
  --lilac: #CDBBFF;

  --line: rgba(14, 33, 51, .14);
  --shadow-s: 0 1px 0 rgba(14, 33, 51, .06), 0 6px 18px -8px rgba(14, 33, 51, .28);
  --shadow-m: 0 2px 0 rgba(14, 33, 51, .05), 0 22px 44px -18px rgba(14, 33, 51, .45);

  --r-xl: clamp(24px, 3vw, 40px);
  --r-l: 24px;
  --r-m: 16px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;

  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html, body { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 800; line-height: .98; letter-spacing: -.025em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--tomato); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--sun); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; display: flex; justify-content: center; }

/* ── Botones ──────────────────────────────────────────────────────────── */
.btn {
  --bg: var(--sun); --fg: var(--ink); --edge: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.35em;
  border: 2px solid var(--edge);
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--text); font-weight: 700; font-size: 1rem; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: 0 4px 0 var(--edge);
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background-color .18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--edge); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--edge); }
.btn--ink { --bg: var(--ink); --fg: var(--sun); --edge: var(--ink); box-shadow: 0 4px 0 rgba(14,33,51,.35); }
.btn--ink:hover { box-shadow: 0 6px 0 rgba(14,33,51,.35); }
.btn--paper { --bg: var(--paper); }
.btn--sun:hover { --bg: #FFD84F; }
.btn--sm { padding: .6em 1em; font-size: .9375rem; box-shadow: 0 3px 0 var(--edge); }
.btn--lg { padding: 1em 1.6em; font-size: 1.125rem; }
.btn--jiggle:hover { animation: jiggle .45s var(--ease-out); }
@keyframes jiggle {
  0% { transform: translateY(-2px) rotate(0); }
  25% { transform: translateY(-2px) rotate(-2.5deg) scale(1.03); }
  55% { transform: translateY(-2px) rotate(2deg) scale(1.03); }
  80% { transform: translateY(-2px) rotate(-1deg); }
  100% { transform: translateY(-2px) rotate(0); }
}

.round-btn {
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; border: 2px solid var(--ink); background: var(--paper);
  cursor: pointer; transition: background-color .15s, transform .15s var(--ease-spring);
}
.round-btn svg { width: 22px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.round-btn:hover { background: var(--sun); transform: scale(1.06); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .38em .9em; margin-bottom: 1.1rem;
  border-radius: 999px; background: var(--ink); color: var(--sun);
  font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.eyebrow--light { background: rgba(255, 252, 242, .75); color: var(--ink); }
.eyebrow--sun { background: var(--sun); color: var(--ink); }

.chip {
  display: inline-block; padding: .3em .7em;
  border-radius: 999px; background: rgba(255, 252, 242, .85);
  font-size: .75rem; font-weight: 700; letter-spacing: .01em; line-height: 1.1;
}

.h2 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4.4rem); }
.h2--xl { font-size: clamp(2.5rem, 1.3rem + 5vw, 6rem); }
.h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); margin-bottom: 1.25rem; }

.scribble { position: relative; white-space: nowrap; display: inline-block; }
.scribble::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.12em; height: .32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M3 16C60 6 120 4 175 9s90 9 122 1' fill='none' stroke='%23FF5B36' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  transform-origin: left; animation: draw .9s .5s var(--ease-out) both;
}
@keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ── Navegación ───────────────────────────────────────────────────────── */
.nav {
  position: fixed; z-index: 50; top: 12px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 24px), 1180px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 6px 8px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 252, 242, .82);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 0 0 1px var(--line), 0 10px 30px -18px rgba(14, 33, 51, .5);
  transition: box-shadow .25s, background-color .25s;
}
.nav.is-scrolled { background: rgba(255, 252, 242, .94); }
.nav-logo { flex: none; border-radius: 50%; transition: transform .35s var(--ease-spring); }
.nav-logo img { width: 52px; height: 52px; }
.nav-logo:hover { transform: rotate(-12deg) scale(1.06); }
.nav-links { display: none; gap: 4px; }
.nav-links a {
  padding: .55em .95em; border-radius: 999px;
  font-weight: 600; font-size: .9375rem; text-decoration: none;
  transition: background-color .15s;
}
.nav-links a:hover { background: var(--butter); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.nav-support { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 45;
  padding: 96px var(--gutter) 32px;
  background: var(--sun);
  display: flex; flex-direction: column; justify-content: space-between;
  animation: menu-in .3s var(--ease-out);
}
.menu[hidden] { display: none; }
@keyframes menu-in { from { clip-path: circle(0 at calc(100% - 50px) 40px); } to { clip-path: circle(150% at calc(100% - 50px) 40px); } }
.menu nav { display: grid; gap: .1em; }
.menu nav a {
  font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 11vw, 4rem);
  line-height: 1.08; letter-spacing: -.03em; text-decoration: none;
}
.menu nav a:active { color: var(--tomato); }
.socials--menu a { background: var(--paper); }
body.menu-open { overflow: hidden; }

@media (min-width: 1000px) {
  .nav-links { display: flex; }
  .nav-support { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  margin: 10px; border-radius: var(--r-xl);
  background: var(--sun);
  padding: 104px var(--gutter) 40px;
  isolation: isolate;
}
.blob { position: absolute; z-index: -1; aspect-ratio: 1; animation: morph 18s ease-in-out infinite alternate; }
.blob-a { width: max(62%, 360px); top: -18%; right: -16%; background: var(--orange); opacity: .5; border-radius: 58% 42% 36% 64% / 52% 38% 62% 48%; }
.blob-b { width: max(48%, 300px); bottom: -22%; left: -14%; background: var(--butter); opacity: .85; border-radius: 42% 58% 64% 36% / 44% 56% 44% 56%; animation-delay: -9s; }
@keyframes morph {
  0% { border-radius: 58% 42% 36% 64% / 52% 38% 62% 48%; rotate: 0deg; }
  50% { border-radius: 40% 60% 58% 42% / 36% 58% 42% 64%; rotate: 20deg; }
  100% { border-radius: 64% 36% 44% 56% / 60% 44% 56% 40%; rotate: -12deg; }
}
.hero-inner {
  max-width: var(--maxw); margin-inline: auto;
  display: grid; gap: 28px; align-items: center;
}
.hero-title { font-size: clamp(2.9rem, 1.2rem + 7.2vw, 7.2rem); letter-spacing: -.035em; line-height: .92; margin-bottom: 1.4rem; text-wrap: balance; }
.hero-lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); max-width: 34ch; margin-bottom: 1.75rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2rem; }
.hero-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px; margin: 0; }
.hero-stats div {
  display: flex; flex-direction: column-reverse;
  padding: .6rem .8rem .65rem; border-radius: 18px;
  background: rgba(255, 252, 242, .6);
  box-shadow: inset 0 0 0 1.5px rgba(14, 33, 51, .12);
}
.hero-stats dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.35rem, 1rem + 1.4vw, 2.2rem); line-height: 1; letter-spacing: -.02em; }
.hero-stats dt { font-size: clamp(.6875rem, .62rem + .3vw, .8125rem); font-weight: 600; color: var(--ink-2); margin-top: .25rem; }

.hero-stack { position: relative; height: clamp(420px, 104vw, 560px); max-width: 640px; width: 100%; margin-inline: auto; }
.hero-card { position: absolute; width: 46%; animation: float 7s ease-in-out infinite; }
.hero-card .card-hit { background: var(--paper); }
.hero-card--1 { left: 2%; top: 14%; --rot: -8deg; z-index: 1; animation-delay: -1s; }
.hero-card--2 { left: 28%; top: 0; --rot: 3deg; z-index: 3; width: 50%; animation-delay: -3.5s; }
.hero-card--3 { right: 0; top: 20%; --rot: 10deg; z-index: 2; animation-delay: -5s; }
.hero-card .card-hit { transform: rotate(var(--rot)); }
.hero-card:hover { z-index: 4; }
.hero-card:hover .card-hit { transform: rotate(0) translateY(-8px) scale(1.03); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.badge-spin {
  position: absolute; right: 0; top: -2%; z-index: 5;
  width: clamp(96px, 22vw, 128px); aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--ink); color: var(--sun);
  box-shadow: var(--shadow-m);
}
.badge-spin svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.badge-spin text { fill: var(--sun); font-family: var(--text); font-weight: 700; font-size: 11.2px; letter-spacing: .08em; }
.badge-spin span { font-size: clamp(1.6rem, 5vw, 2.2rem); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 960px) {
  .hero-stats div { padding: .7rem 1.1rem .75rem; }
  .hero { margin: 12px; padding: 128px var(--gutter) 72px; min-height: min(92svh, 900px); display: grid; align-items: center; }
  .hero-inner { grid-template-columns: 1.08fr .92fr; gap: 40px; width: 100%; }
  .hero-stack { height: 600px; }
}

/* ── Cinta ────────────────────────────────────────────────────────────── */
.band {
  position: relative; z-index: 2;
  margin: -6px -2vw 0; padding: .7rem 0;
  background: var(--ink); color: var(--sun);
  transform: rotate(-1.6deg);
  overflow: hidden;
}
.band-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.band span, .band i {
  font-family: var(--display); font-weight: 800; font-style: normal;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.6rem); letter-spacing: -.02em; text-transform: uppercase;
  white-space: nowrap; padding-inline: .5em; line-height: 1.1;
}
.band i { color: var(--tomato); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Secciones ────────────────────────────────────────────────────────── */
.section { padding-block: clamp(4.5rem, 3rem + 6vw, 8.5rem); }
.section--tight { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.section--butter { background: var(--butter); margin: 0 10px; border-radius: var(--r-xl); }
.section--ink { background: var(--ink); color: var(--paper); margin: 0 10px; border-radius: var(--r-xl); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.section-head .h2 { max-width: 16ch; text-wrap: balance; }
.section-head--tight { margin-top: clamp(4rem, 8vw, 7rem); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .h2 { max-width: 20ch; }
.carousel-nav { display: none; gap: 10px; }
@media (min-width: 720px) { .carousel-nav { display: flex; } }

/* ── Tarjetas ─────────────────────────────────────────────────────────── */
.card { --fam: var(--lilac); min-width: 0; }
.fam-palabras { --fam: var(--pink); }
.fam-absurdo { --fam: var(--mint); }
.fam-vida { --fam: var(--sky); }
.fam-malentendido { --fam: var(--peach); }
.fam-otros { --fam: var(--lilac); }

.card-hit {
  display: flex; flex-direction: column; height: 100%;
  color: var(--ink);
  padding: 8px 8px 14px;
  border-radius: 22px;
  background: var(--fam);
  text-decoration: none;
  box-shadow: var(--shadow-s);
  transition: transform .35s var(--ease-spring), box-shadow .3s;
}
.card-hit:hover { transform: translateY(-6px) rotate(-1.2deg); box-shadow: var(--shadow-m); }
.card:nth-child(even) .card-hit:hover { transform: translateY(-6px) rotate(1.2deg); }
.card-media {
  position: relative; overflow: hidden;
  aspect-ratio: 9 / 16; border-radius: 15px;
  background: var(--ink);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.card-hit:hover .card-media img { transform: scale(1.05); }
.card-media::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(8, 18, 28, .55)); pointer-events: none; }
.card-media--text { display: grid; place-items: center; padding: 18px; background: var(--cream); }
.card-media--text::after { display: none; }
.card-quote {
  font-family: var(--display); font-weight: 800; font-size: clamp(1.25rem, .9rem + 1.3vw, 1.9rem);
  line-height: 1; letter-spacing: -.02em; text-align: center; text-wrap: balance;
}
.card-quote::before { content: "“"; display: block; font-size: 2.4em; line-height: .6; color: var(--tomato); }
.card-play {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--sun);
  box-shadow: 0 0 0 3px var(--ink);
  opacity: 0; transform: scale(.6);
  transition: opacity .2s, transform .35s var(--ease-spring);
}
.card-play svg { width: 28px; fill: var(--ink); margin-left: 3px; }
.card-hit:hover .card-play, .card-hit:focus-visible .card-play { opacity: 1; transform: scale(1); }
.card-views {
  position: absolute; left: 10px; bottom: 10px; z-index: 1;
  padding: .28em .6em; border-radius: 999px;
  background: rgba(14, 33, 51, .72); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: .75rem; font-weight: 700; letter-spacing: .01em;
}
.card-views::before { content: "▶ "; font-size: .8em; }
.card-media--text .card-views { background: var(--ink); }
.card-body { padding: 12px 6px 0; display: grid; gap: 8px; justify-items: start; }
.card-title { font-size: clamp(1.05rem, .95rem + .35vw, 1.3rem); line-height: 1.05; letter-spacing: -.015em; text-wrap: balance; }

.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(210px, 62vw, 290px);
  gap: clamp(14px, 2vw, 22px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 14px max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))) 28px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel .card { scroll-snap-align: start; }
.carousel .card:nth-child(odd) .card-hit { transform: rotate(-1.5deg); }
.carousel .card:nth-child(even) .card-hit { transform: rotate(1.5deg) translateY(10px); }
.carousel .card .card-hit:hover { transform: rotate(0) translateY(-6px); }

.grid { display: grid; gap: clamp(12px, 2vw, 22px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .grid--feed { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .card-hit { padding: 6px 6px 12px; border-radius: 18px; }
  .card-media { border-radius: 13px; }
  .card-body { padding: 10px 4px 0; gap: 6px; }
  .chip { font-size: .6875rem; }
}
.grid + .center { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* ── Cómo funciona ────────────────────────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step {
  position: relative; padding: 30px 26px 30px;
  border-radius: var(--r-l); background: var(--paper);
  border: 2px solid var(--ink); box-shadow: 0 6px 0 var(--ink);
  transition: transform .35s var(--ease-spring);
}
.step--1 { rotate: -1.5deg; }
.step--2 { rotate: 1deg; }
.step--3 { rotate: -.6deg; }
.step:hover { rotate: 0deg; transform: translateY(-4px); }
.step-num {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px;
  border-radius: 50%; background: var(--sun); border: 2px solid var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 1.6rem;
}
.step--2 .step-num { background: var(--pink); }
.step--3 .step-num { background: var(--mint); }
.step-emoji { position: absolute; top: 22px; right: 22px; font-size: 2.5rem; transition: transform .4s var(--ease-spring); }
.step:hover .step-emoji { transform: rotate(-14deg) scale(1.15); }
.step h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: .6rem; }
.step p { color: var(--ink-2); }

/* ── Quiénes somos ────────────────────────────────────────────────────── */
.about { display: grid; gap: clamp(2rem, 5vw, 5rem); }
@media (min-width: 960px) { .about { grid-template-columns: 1.1fr .9fr; align-items: start; } .about-body { padding-top: 3.2rem; } }
.about-head .h2 { max-width: 12ch; margin-bottom: 1.4rem; }
.about-lead { font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem); line-height: 1.3; max-width: 26ch; font-weight: 500; }
.about-lead em { font-style: normal; background: linear-gradient(transparent 58%, var(--sun) 58%); padding-inline: .1em; }
.about-body { display: grid; gap: 1.1rem; font-size: 1.125rem; color: var(--ink-2); }
.not-list { margin-top: .6rem; padding: 20px 22px; border-radius: var(--r-l); background: var(--cream); color: var(--ink); }
.not-title { font-weight: 700; font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .8rem; }
.not-list ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.not-list li {
  padding: .45em .9em; border-radius: 999px; background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--line);
  font-weight: 600; font-size: .9375rem;
  text-decoration: line-through; text-decoration-color: var(--tomato); text-decoration-thickness: 2.5px;
}
.not-list li:nth-child(odd) { rotate: -1.5deg; }
.not-list li:nth-child(even) { rotate: 1.2deg; }
.ai-note { display: flex; gap: .6em; align-items: center; font-weight: 600; color: var(--ink); font-size: 1rem; }

/* ── Marcas ───────────────────────────────────────────────────────────── */
.section--ink .h2, .section--ink .h3, .section--ink h4 { color: var(--paper); }
.brands-head { max-width: 980px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.brands-head .h2 { margin-bottom: 1.4rem; max-width: 14ch; }
.brands-head .h2::first-line { color: var(--sun); }
.brands-lead { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); line-height: 1.4; max-width: 44ch; color: rgba(255, 252, 242, .82); }

.brand-stats { margin: 0 0 clamp(3.5rem, 6vw, 5.5rem); display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .brand-stats { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.brand-stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: clamp(16px, 3vw, 22px) clamp(14px, 3vw, 20px); border-radius: var(--r-l); background: var(--ink-soft); }
.brand-stats dd { margin: 0 0 .5rem; font-family: var(--display); font-weight: 800; font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3.2rem); line-height: 1; letter-spacing: -.03em; color: var(--sun); }
.brand-stats dt { font-size: .9375rem; line-height: 1.35; color: rgba(255, 252, 242, .75); }

.formats { display: grid; gap: 14px; margin-bottom: clamp(3.5rem, 6vw, 5.5rem); }
@media (min-width: 720px) { .formats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .formats { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.format {
  padding: 26px 22px; border-radius: var(--r-l);
  background: var(--paper); color: var(--ink);
  transition: transform .35s var(--ease-spring), background-color .2s;
}
.format:hover { transform: translateY(-6px) rotate(-1deg); background: var(--sun); }
.format-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 16px; background: var(--butter); font-size: 1.7rem; }
.format:hover .format-icon { background: var(--paper); }
.section--ink .format h4 { color: var(--ink); font-size: 1.45rem; margin-bottom: .55rem; }
.format p { color: var(--ink-2); font-size: 1rem; }

.brands-split { display: grid; gap: clamp(2.5rem, 5vw, 4rem); margin-bottom: clamp(3.5rem, 6vw, 5rem); }
@media (min-width: 960px) { .brands-split { grid-template-columns: 1fr 1fr; align-items: start; } }
.rules ol { list-style: none; counter-reset: r; margin: 0; padding: 0; display: grid; gap: 12px; }
.rules li {
  counter-increment: r; position: relative;
  padding: 18px 20px 18px 66px; border-radius: 18px;
  background: var(--ink-soft); color: rgba(255, 252, 242, .78); line-height: 1.4;
}
.rules li::before {
  content: counter(r); position: absolute; left: 16px; top: 16px;
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; background: var(--sun); color: var(--ink);
  font-family: var(--display); font-weight: 800;
}
.rules strong { color: var(--paper); display: block; margin-bottom: .15rem; font-size: 1.0625rem; }
.cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 520px; }
.case-card .card-hit { background: var(--sun); }

.brands-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(24px, 4vw, 44px); border-radius: var(--r-xl);
  background: var(--sun); color: var(--ink);
}
.brands-cta-title { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); line-height: 1; letter-spacing: -.03em; margin-bottom: .5rem; }
.brands-cta p:not(.brands-cta-title) { max-width: 42ch; font-size: 1.125rem; }
.brands-cta .btn { --bg: var(--ink); --fg: var(--sun); box-shadow: 0 5px 0 rgba(14,33,51,.35); white-space: normal; overflow-wrap: anywhere; }

/* ── Apóyanos ─────────────────────────────────────────────────────────── */
.support {
  position: relative; overflow: hidden;
  display: grid; gap: 22px; align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: var(--r-xl);
  background: var(--butter);
  border: 2px solid var(--ink); box-shadow: 0 8px 0 var(--ink);
}
@media (min-width: 900px) { .support { grid-template-columns: auto 1fr auto; gap: 40px; } }
.support-cup {
  width: clamp(96px, 14vw, 150px); aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 50%; background: var(--sun); border: 2px solid var(--ink);
  font-size: clamp(3rem, 6vw, 4.8rem); rotate: -8deg;
  animation: wobble 4s ease-in-out infinite;
}
@keyframes wobble { 0%, 100% { rotate: -8deg; } 50% { rotate: 6deg; } }
.support .eyebrow { margin-bottom: .8rem; }
.support .h2 { margin-bottom: .8rem; }
.support-copy p:not(.eyebrow) { max-width: 52ch; color: var(--ink-2); font-size: 1.125rem; }
.support .btn { white-space: normal; text-align: center; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: clamp(2rem, 4vw, 4rem); }
@media (min-width: 960px) { .faq { grid-template-columns: .8fr 1.2fr; align-items: start; } }
.faq .h2 { max-width: 12ch; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color .2s, box-shadow .2s; }
.faq-list details[open] { background: var(--cream); box-shadow: inset 0 0 0 2px var(--ink); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px;
  font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); letter-spacing: -.01em; line-height: 1.15;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: none; width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; background: var(--sun); font-family: var(--text); font-weight: 700; font-size: 1.4rem; line-height: 1;
  transition: transform .3s var(--ease-spring);
}
.faq-list details[open] summary::after { transform: rotate(135deg); }
.faq-list details p { padding: 0 22px 22px; color: var(--ink-2); max-width: 62ch; }
.faq-list a, .prose a, .empty a { text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--sun-deep); font-weight: 600; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer {
  margin: 10px; padding: clamp(40px, 6vw, 72px) var(--gutter) 24px;
  border-radius: var(--r-xl); background: var(--sun); overflow: hidden;
}
.footer-top { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 28px; }
@media (min-width: 960px) { .footer-top { grid-template-columns: 1fr auto; align-items: end; } }
.footer-kicker { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8125rem; margin-bottom: .6rem; }
.footer-big { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 1.3rem + 3vw, 3.8rem); line-height: 1; letter-spacing: -.03em; max-width: 18ch; }
.footer-big span { color: rgba(14, 33, 51, .55); }
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.socials a {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .65em 1em; border-radius: 999px;
  background: var(--paper); border: 2px solid var(--ink);
  font-weight: 700; font-size: .9375rem; text-decoration: none;
  transition: transform .25s var(--ease-spring), background-color .15s;
}
.socials a:hover { background: var(--ink); color: var(--sun); transform: translateY(-3px) rotate(-2deg); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.socials svg[fill="none"] { fill: none; }
.footer-wordmark { width: 100%; max-width: 960px; margin: clamp(2.5rem, 6vw, 4.5rem) auto clamp(1.5rem, 3vw, 2.5rem); color: var(--ink); }
.footer-bottom {
  max-width: var(--maxw); margin: 0 auto; padding-top: 18px;
  border-top: 2px solid rgba(14, 33, 51, .15);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: .875rem; font-weight: 600;
}
.footer-bottom a { text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* ── Feed ─────────────────────────────────────────────────────────────── */
.feed-hero {
  position: relative; margin: 10px; border-radius: var(--r-xl);
  background: var(--sun); padding: 112px 0 clamp(28px, 4vw, 44px);
}
.feed-title { font-size: clamp(2.6rem, 1.3rem + 5.6vw, 6rem); letter-spacing: -.035em; line-height: .95; margin-bottom: 1rem; text-wrap: balance; }
.feed-lead { font-size: 1.15rem; margin-bottom: 1.6rem; max-width: 46ch; }
.feed-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.search {
  flex: 1 1 280px; display: flex; align-items: center; gap: 10px;
  padding: 0 18px; min-height: 54px; border-radius: 999px;
  background: var(--paper); border: 2px solid var(--ink);
}
.search svg { width: 22px; flex: none; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1.0625rem; color: var(--ink); padding: 12px 0; }
.search input::placeholder { color: rgba(14, 33, 51, .5); }
.search:focus-within { box-shadow: 0 0 0 4px rgba(255, 91, 54, .35); }
.sort { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--ink); }
.sort-btn { border: 0; background: transparent; color: var(--paper); padding: .65em 1.1em; border-radius: 999px; font-weight: 700; cursor: pointer; }
.sort-btn[aria-pressed="true"] { background: var(--sun); color: var(--ink); }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 6px; }
.filters::-webkit-scrollbar { display: none; }
.filter-chip {
  flex: none; display: inline-flex; align-items: center; gap: .45em;
  padding: .55em 1em; border-radius: 999px;
  background: var(--fam); border: 2px solid var(--ink);
  font-weight: 700; font-size: .9375rem; cursor: pointer;
  transition: transform .2s var(--ease-spring), box-shadow .2s;
}
.filter-chip--all { background: var(--paper); }
.filter-chip span { font-size: .75rem; opacity: .7; }
.filter-chip:hover { transform: translateY(-2px); }
.filter-chip[aria-pressed="true"] { box-shadow: 0 3px 0 var(--ink); background: var(--ink); color: var(--sun); }
.section--feed { padding-top: clamp(1.75rem, 3vw, 2.5rem); }
.feed-count { font-weight: 600; color: var(--ink-2); margin-bottom: 16px; }
.card[hidden] { display: none; }
.empty { text-align: center; padding: 48px 16px; }
.empty-title { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); letter-spacing: -.02em; margin-bottom: .6rem; }
.feed-hero--404 { min-height: 70svh; display: grid; align-items: center; }
.feed-hero--404 .feed-lead { margin-inline: auto; }
.feed-hero--404 .wrap { flex-direction: column; align-items: center; }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 2.2rem 0 .7rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); font-size: 1.0625rem; }

/* ── Modal ────────────────────────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 12px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 18, 28, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fade .25s; }
.modal-panel {
  position: relative; z-index: 1;
  width: min(960px, 100%); max-height: calc(100svh - 24px); overflow: auto; overscroll-behavior: contain;
  display: grid; gap: 0;
  border-radius: var(--r-xl); background: var(--paper);
  animation: pop .38s var(--ease-spring);
}
@media (min-width: 820px) { .modal-panel { grid-template-columns: minmax(0, 420px) 1fr; } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; border: 2px solid var(--ink); background: var(--sun); cursor: pointer;
  transition: transform .3s var(--ease-spring);
}
.modal-close svg { width: 20px; fill: none; stroke: var(--ink); stroke-width: 2.8; stroke-linecap: round; }
.modal-close:hover { transform: rotate(90deg); }
.modal-video { position: relative; background: var(--ink); padding: 12px; display: grid; place-items: start center; min-height: 420px; }
@media (min-width: 820px) { .modal-video { border-radius: var(--r-xl) 0 0 var(--r-xl); } }
.modal-video .instagram-media { margin: 0 auto !important; min-width: 0 !important; width: 100% !important; max-width: 400px !important; border-radius: 16px !important; }
.modal-video iframe { border-radius: 16px !important; }
.modal-poster { position: absolute; inset: 12px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; }
.modal-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(3px) brightness(.7); transform: scale(1.05); }
.modal-poster span { position: relative; padding: .6em 1.1em; border-radius: 999px; background: var(--sun); font-weight: 700; font-size: .9375rem; box-shadow: var(--shadow-m); }
.modal-info { padding: 28px clamp(20px, 3vw, 36px) 28px; display: grid; gap: 12px; align-content: start; }
.modal-info .chip { justify-self: start; background: var(--fam, var(--lilac)); }
.modal-title { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); padding-right: 48px; text-wrap: balance; }
.modal-views { color: var(--ink-2); font-weight: 600; font-size: .9375rem; }
.modal-joke {
  margin: 6px 0 4px; padding: 18px 20px;
  border-radius: 18px; background: var(--cream);
  font-size: 1.0625rem; line-height: 1.5; white-space: pre-line;
}
.modal-also { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }
.modal-links { display: flex; flex-wrap: wrap; gap: 8px; }
.modal-links a { padding: .5em .9em; border-radius: 999px; border: 2px solid var(--ink); font-weight: 700; font-size: .875rem; text-decoration: none; transition: background-color .15s; }
.modal-links a:hover { background: var(--sun); }
.modal-note { font-size: .8125rem; color: var(--ink-2); }
body.modal-open { overflow: hidden; }

/* ── Aparición al hacer scroll ────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

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