/* ===== Tokens (colores muestreados del PDF — ver docs/reference/content.md) ===== */
:root {
  --bg: #0c0c0d;
  --bg-navy: #10131f;
  --surface: #101014;
  --border: rgba(255, 255, 255, 0.1);
  --accent: #aba5d3;
  --accent-strong: #a08ae6;
  --accent-border: rgba(171, 165, 211, 0.55);
  --grad-cases: linear-gradient(172deg, #303976 0%, #292d44 48%, #05090e 100%);
  --grad-about:
    radial-gradient(68% 60% at 25% 52%, rgba(184, 200, 184, 0.95), transparent 74%),
    radial-gradient(50% 60% at 100% 45%, rgba(96, 92, 150, 0.85), transparent 72%),
    linear-gradient(100deg, #383c41 0%, #4b5055 52%, #464874 100%);
  --grad-footer: linear-gradient(180deg, #2a2e53 0%, #1d2140 100%);
  --text: #fcf9f7;
  --text-muted: #b4b4bf;
  --font: 'Montserrat', system-ui, -apple-system, sans-serif;
  --container: 1320px;
  --radius: 14px;
}

@font-face { font-family: 'Montserrat'; src: url('/fonts/montserrat-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/fonts/montserrat-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/fonts/montserrat-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/fonts/montserrat-900.woff2') format('woff2'); font-weight: 900; font-display: swap; }

/* ===== Base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section-label { color: var(--text); font-size: 1.25rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.55em; margin-bottom: 48px; }
.section-label--light { color: #fff; }
.eyebrow { color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.45em; font-size: 0.85rem; text-align: center; }

/* ===== Botones ===== */
.btn { display: inline-block; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9rem; padding: 16px 34px; border-radius: 999px; transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: #fff; color: #0c0c0d; }
.btn--outline { border: 1.5px solid rgba(255, 255, 255, 0.75); color: #fff; }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { background: #fff; color: #0c0c0d; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; padding: 10px 26px; border-radius: 6px; align-self: flex-end; }

/* ===== Header ===== */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding-block: 14px; background: linear-gradient(180deg, rgba(10, 10, 14, 0.55), transparent); transition: background 0.3s, padding 0.3s, transform 0.35s ease; }
.header.is-scrolled { background: rgba(12, 12, 13, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding-block: 10px; }
.header__inner { display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
.header__logo { display: none; }
.header__logo img { height: 26px; width: auto; }
.header__toggle { display: none; background: none; border: 0; color: var(--text); padding: 10px; cursor: pointer; position: relative; z-index: 110; }
.header__toggle:hover { color: var(--accent); }
.nav { display: flex; gap: 38px; }
.nav__link { position: relative; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3em; color: var(--text-muted); padding-block: 6px; }
.nav__link::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

@media (max-width: 900px) {
  .header__logo { display: block; position: relative; z-index: 110; }
  .header__inner { justify-content: space-between; }
  .header__toggle { display: block; }
  .nav { position: fixed; inset: 0; background: rgba(12, 12, 13, 0.97); flex-direction: column; align-items: center; justify-content: center; gap: 34px; transform: translateY(-100%); visibility: hidden; transition: transform 0.3s ease, visibility 0.3s; }
  .nav.is-open { transform: translateY(0); visibility: visible; }
  .nav__link { font-size: 1rem; }
}

/* ===== Hero ===== */
/* Fondo original del PDF (degradado con textura de puntos), compartido por header + hero + franja */
.hero { background: #0d0e15 url('/assets/img/bg-hero.webp') no-repeat top center / cover; padding-top: 0; text-align: center; }
.hero__visual { display: block; width: 100%; height: auto; -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); }
.hero__content { max-width: 1408px; padding-block: 10px 56px; }
.hero__title { font-size: clamp(1.35rem, 3vw, 2.5rem); font-weight: 400; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text); line-height: 1.25; }
.hero__title strong { color: var(--accent); font-weight: 900; }
.hero__strip-label { margin-top: 44px; color: var(--text-muted); font-size: clamp(0.8rem, 1.4vw, 1rem); font-weight: 600; letter-spacing: 0.35em; text-transform: capitalize; }
/* Banda sutil full-bleed (como el PDF) con logos transparentes en marquee: sin costuras */
.hero__scroll { display: inline-flex; margin-top: 26px; color: var(--accent); animation: heroScroll 2.2s ease-in-out infinite; }
@keyframes heroScroll { 0%, 100% { transform: translateY(0); opacity: 0.65; } 50% { transform: translateY(9px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero__scroll { animation: none; } }
.hero__clients-band { margin-top: 26px; overflow: hidden; background: #1f2026; padding-block: 18px; }
.marquee { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee .hero__clients { width: auto; height: clamp(48px, 5.4vw, 84px); margin-right: 110px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Banda de laureles + logos de campañas (imagen completa del PDF, sin cortes) */
.awards-band { margin-top: 90px; background: #0b0c10; }
.awards-band .awards-band__full { width: 100%; }
.awards-band__mobile { display: none; }
@media (max-width: 700px) {
  .awards-band { padding-block: 34px; }
  .awards-band__full { display: none; }
  .awards-band__mobile { display: block; width: min(420px, 86%); margin-inline: auto; }
}

/* ===== Campañas ===== */
/* Mismo fondo original del PDF (con sus detalles de puntos al inicio) sobre el degradado */
.cases { background: var(--grad-cases); }
.cases__body { background: url('/assets/img/bg-hero.webp') no-repeat top center / cover; padding-bottom: 90px; }
.cases__head { background: #0c0c0d; padding-block: 30px 26px; }
.cases__head-inner { display: flex; align-items: center; gap: 44px; }
.cases__head .section-label { margin-bottom: 0; }
.cases__head-line { flex: 1; height: 1px; background: rgba(255, 255, 255, 0.45); }
.case { position: relative; display: grid; grid-template-columns: 1.55fr 1fr; gap: 36px; align-items: center; padding-block: 44px; }
.case__media { position: relative; border-radius: 4px; overflow: hidden; box-shadow: 0 22px 40px rgba(0, 0, 0, 0.45); }
.case__media img { width: 100%; height: auto; }
.case__media iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.case__media:has(iframe) { width: 100%; aspect-ratio: 16 / 9; }
.case__media--dim::before { content: ''; position: absolute; inset: 0; background: rgba(10, 16, 44, 0.62); z-index: 1; }
.case__slogan { position: absolute; right: 44px; top: 50%; transform: translateY(-50%); z-index: 2; font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 3.8vw, 3.6rem); line-height: 1.06; letter-spacing: 0.01em; color: #5b82d8; text-align: left; }
.play { position: absolute; left: 28px; bottom: 26px; z-index: 3; display: flex; align-items: center; gap: 16px; background: none; border: 0; color: #fff; font: 600 1.05rem var(--font); letter-spacing: 0.55em; text-transform: uppercase; cursor: pointer; padding: 0; }
.play svg { transition: transform 0.2s; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5)); animation: playPulse 2.6s ease-in-out infinite; }
.play:hover svg { animation-play-state: paused; transform: scale(1.12); }
@keyframes playPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.case__info { display: flex; flex-direction: column; gap: 18px; }
.case__banner { border-radius: 4px; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35); }
.case__info h3 { font-size: 1.35rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.case__info p { font-size: 0.88rem; line-height: 1.65; color: #e8e6f2; }
@media (max-width: 900px) {
  .case { grid-template-columns: 1fr; }
  }

/* ===== Quiénes Somos ===== */
@media (max-width: 900px) {
}

/* ===== Contacto ===== */
.contact { padding-block: 90px 80px; background: linear-gradient(180deg, #0c0c0d 0%, #101122 78%, #1a1e3c 100%); }
.contact__grid { display: grid; grid-template-columns: auto 1fr auto; gap: 60px; align-items: center; margin-top: 24px; }
.contact__brand { display: flex; align-items: center; gap: 60px; }
.contact__brand img { width: 310px; height: auto; }
.contact__brand::after { content: ''; width: 3px; height: 160px; background: #fff; border-radius: 2px; }
.contact__claim { font-size: clamp(1.35rem, 2.7vw, 2rem); font-weight: 800; letter-spacing: 0.06em; line-height: 1.45; max-width: 700px; }
.contact__sub { color: #d9d7e2; margin-top: 18px; font-size: 1.08rem; max-width: 540px; }
.btn--arrow { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; max-width: 280px; border-radius: 20px; padding: 24px 30px; line-height: 1.55; text-align: left; }
.btn--arrow__icon { align-self: flex-end; font-size: 1.35rem; margin-top: -6px; }
@media (max-width: 1000px) {
  .contact__grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .contact__brand::after { display: none; }
}

/* ===== Footer ===== */
.footer { background: var(--grad-footer); border-top: 1px solid rgba(255, 255, 255, 0.35); padding-block: 44px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.footer__copy { color: var(--text-muted); font-size: 0.95rem; }
.footer__brand { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer__brand img:first-child { width: 190px; height: auto; }
.footer__brand img:last-child { width: 210px; height: auto; }
.footer__email { display: flex; align-items: center; gap: 14px; font-size: 1.05rem; }
.footer__email a:hover { color: var(--accent); }
@media (max-width: 900px) {
  .footer { padding-block: 28px; }
  .footer__inner { flex-direction: column; text-align: center; gap: 16px; }
}
@media (max-width: 480px) {
  .contact__brand img { width: min(300px, 72vw); }
}

/* ===== Reveal on-scroll (JS añade .is-visible) ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* CTAs magnéticos (solo desktop con puntero fino; JS controla el transform) */
@media (pointer: fine) and (min-width: 901px) {
  .js-magnetic { transition: transform 0.25s ease; will-change: transform; }
  .js-magnetic:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal .caso__grito span { opacity: 1 !important; transform: none !important; transition: none !important; }
  .caso__wow { animation: none; background-position: 50% 0; }
  .reveal .caso__frame { opacity: 1 !important; transition: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .subpage__hero .reveal .eyebrow, .subpage__hero .reveal h1, .subpage__hero .reveal .subpage__slogan { opacity: 1; transform: none; }
  .marquee { animation: none !important; }
}

/* ===== Botón flotante de WhatsApp ===== */
.wa-fab { position: fixed; right: 22px; bottom: 22px; z-index: 95; }
.wa-fab__btn { width: 58px; height: 58px; border-radius: 50%; border: 0; background: #25d366; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45); transition: transform 0.2s; }
.wa-fab__btn:hover { transform: scale(1.07); }
.wa-fab__menu { position: absolute; right: 0; bottom: 72px; width: 256px; background: #14141d; border: 1px solid var(--border); border-radius: 14px; padding: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); }
.wa-fab__title { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 10px; }
.wa-fab__opt { display: block; padding: 11px 12px; border-radius: 9px; font-size: 0.92rem; font-weight: 600; }
.wa-fab__opt:hover { background: rgba(37, 211, 102, 0.13); color: #4ddb84; }
.hero__ctas { display: flex; justify-content: center; gap: 20px; margin-top: 30px; flex-wrap: wrap; }

@media (min-width: 900px) {
}

/* ===== Previews de campañas/gobierno (v2) ===== */
.cases__intro { max-width: 72ch; color: #e8e6f2; margin-bottom: 44px; }
.cases__intro strong { color: var(--text); display: block; font-size: 1.25rem; margin-bottom: 8px; }
.cases-preview { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.poster-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.poster-grid--3 { grid-template-columns: repeat(3, 1fr); }
.poster a { position: relative; display: block; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); background: #0e0e13; aspect-ratio: 16 / 9; }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.poster a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 6, 12, 0.05) 35%, rgba(5, 6, 12, 0.55) 68%, rgba(5, 6, 12, 0.92)); transition: background 0.4s ease; }
.poster a:hover img { transform: scale(1.06); }
.poster a:hover::after { background: linear-gradient(180deg, rgba(5, 6, 12, 0.18) 30%, rgba(5, 6, 12, 0.62) 66%, rgba(5, 6, 12, 0.95)); }
.poster__label { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; padding: 22px 24px; }
.poster__kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75); margin-bottom: 6px; }
.poster__label h3 { font-size: clamp(1.2rem, 2vw, 1.7rem); font-weight: 900; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.15; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55); }
.poster__stat { margin-top: 6px; font-weight: 900; font-size: clamp(1.3rem, 2.4vw, 2rem); color: #fff; font-variant-numeric: tabular-nums; }
.poster__stat span { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-left: 6px; }
.poster__stat--texto { font-size: clamp(0.95rem, 1.6vw, 1.2rem); font-weight: 700; font-style: italic; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75); }
@media (max-width: 900px) { .poster-grid, .poster-grid--3 { grid-template-columns: 1fr; } .poster a { aspect-ratio: 16 / 9; } }
@media (max-width: 760px) { .cases-preview { grid-template-columns: 1fr; } }
.gov { padding-block: 90px; background: var(--bg-navy); }
.gov__claim { max-width: 72ch; margin-bottom: 44px; color: var(--text-muted); }
.gov__claim strong { color: var(--text); display: block; font-size: 1.3rem; margin-bottom: 10px; }
@media (max-width: 800px) { .why__cols { grid-template-columns: 1fr; } }
.services__more { display: flex; justify-content: flex-end; margin-top: 34px; }
.services__more .btn { letter-spacing: 0.18em; font-size: 0.9rem; border-radius: 12px; padding: 15px 32px; }
.services__more .plus { color: var(--accent-strong); }

/* ===== Equipo y Manifiesto (v2) ===== */
@media (max-width: 900px) { .team__roles { columns: 2; } }
@media (max-width: 560px) { .team__roles { columns: 1; } }
@media (min-width: 1000px) {
}
.contact__people { margin-top: 22px; display: grid; gap: 8px; color: var(--text-muted); font-size: 0.95rem; }
.contact__people a:hover { color: var(--accent); }
.contact__wa { display: inline-block; margin-top: 14px; color: var(--text-muted); font-size: 0.9rem; letter-spacing: 0.08em; text-decoration: underline; }
.contact__wa:hover { color: #4ddb84; }
@media (max-width: 1280px) and (min-width: 901px) {
  .nav { gap: 24px; }
  .nav__link { letter-spacing: 0.2em; }
}
@media (max-width: 900px) and (max-height: 540px) {
  .nav { gap: 10px; justify-content: flex-start; padding-block: 48px 16px; overflow-y: auto; }
  .nav__link { font-size: 0.85rem; }
}

/* ===== Subpáginas (v2) ===== */
.subpage__hero { background: var(--grad-cases); padding: 124px 0 40px; }
.subpage__hero .eyebrow { text-align: left; margin-bottom: 12px; }
/* Cascada de entrada: label → título → eslogan (con el .reveal del contenedor) */
.subpage__hero .reveal .eyebrow, .subpage__hero .reveal h1, .subpage__hero .reveal .subpage__slogan {
  opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease;
}
.subpage__hero .reveal h1 { transition-delay: 0.12s; }
.subpage__hero .reveal .subpage__slogan { transition-delay: 0.24s; }
.subpage__hero .reveal.is-visible .eyebrow, .subpage__hero .reveal.is-visible h1, .subpage__hero .reveal.is-visible .subpage__slogan {
  opacity: 1; transform: none;
}
.subpage__hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; }
.subpage__slogan { color: var(--accent); font-weight: 800; font-size: clamp(1.1rem, 2.2vw, 1.55rem); margin-top: 6px; }
.subpage__body { padding-block: 48px 90px; background: var(--bg); }
.subpage__layout { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 52px; align-items: start; }
.subpage__main .case__media { margin-bottom: 36px; }
.subpage__copy { max-width: 68ch; display: grid; gap: 16px; }
.subpage__copy p { color: var(--text-muted); line-height: 1.75; }
.subpage__copy strong { color: var(--text); }
/* Ficha lateral tipo case-study */
.subpage__aside { position: sticky; top: 92px; display: grid; gap: 18px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.subpage__banner { width: 100%; max-width: 100%; border-radius: 6px; margin: 0; }
.subpage__role { color: var(--accent); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.82rem; line-height: 1.6; margin: 0; }
.subpage__result { font-weight: 800; font-size: 1.25rem; color: var(--text); margin: 0; padding-top: 4px; border-top: 1px solid var(--border); }
.subpage__aside .btn { text-align: center; }
.subpage__back { color: var(--text-muted); font-size: 0.88rem; letter-spacing: 0.06em; justify-self: start; }
.subpage__back:hover { color: var(--accent); }
@media (max-width: 980px) {
  .subpage__layout { grid-template-columns: 1fr; gap: 36px; }
  .subpage__aside { position: static; }
  .subpage__hero { padding: 108px 0 32px; }
}

/* ===== 404 ===== */
.notfound { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 22px; text-align: center; padding: 24px; background: var(--bg-navy); }
.notfound h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; }
.notfound p { color: var(--text-muted); }

/* ===== Dosier: el caso completo (v3) ===== */
.dossier { background: var(--bg-navy); padding-block: 80px 100px; border-top: 1px solid var(--border); }
.dossier__badge { display: inline-block; border: 1px solid var(--accent-border); color: var(--accent); border-radius: 999px; padding: 8px 18px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 26px; }
.dossier__body { max-width: 76ch; }
.dossier__chapter { margin-bottom: 46px; }
.dossier__chapter h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 800; margin-bottom: 18px; }
.dossier__chapter p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.dossier__chapter strong { color: var(--text); }
.dossier__list { margin: 0 0 16px 1.2em; list-style: disc; }
.dossier__list li { color: var(--text-muted); line-height: 1.7; padding-block: 3px; }
.dossier__table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 0.92rem; }
.dossier__table th { text-align: left; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; padding: 10px 14px; border-bottom: 1px solid var(--accent-border); }
.dossier__table td { color: var(--text-muted); padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.dossier__table td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }
.dossier__figure { margin: 46px 0 0; }
.dossier__figure img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4); }
.dossier__figure figcaption { color: var(--text-muted); font-size: 0.85rem; margin-top: 12px; letter-spacing: 0.04em; }
@media (max-width: 700px) { .dossier__table td:first-child { white-space: normal; } .dossier { padding-block: 56px 70px; } }

/* ===== Caso visual (subpáginas de campaña v3, réplica del dosier) ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.caso { --caso-accent: #8fc1ff; --caso-navy: #0a1026; background: var(--caso-navy); color: #fff; }
.caso__hero { display: block; }
.caso__hero img { display: block; width: 100%; height: auto; }

.caso__sec { position: relative; padding-block: clamp(64px, 9vw, 110px); overflow: hidden; }
.caso__sec--bg { background-size: cover; background-position: center; background-image: var(--bg-img); }
.caso__sec--bg::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 12, 30, 0.9), rgba(8, 12, 30, 0.72) 45%, rgba(8, 12, 30, 0.9)); }
.caso__sec--plain { background: var(--caso-navy); }
.caso__sec--plain:nth-of-type(even) { background: #0d1430; }
.caso__sec > .container { position: relative; z-index: 1; }

.caso__title { font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 800; text-transform: uppercase; line-height: 1.14; letter-spacing: 0.01em; margin-bottom: 28px; }
.caso__title--center { text-align: center; }
.caso__title--accent { color: var(--caso-accent); }
.caso__kicker { color: var(--caso-accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.35em; font-size: 0.82rem; margin-bottom: 14px; }
.caso__center { max-width: 76ch; margin-inline: auto; text-align: center; display: grid; gap: 16px; }
.caso__copy { display: grid; gap: 16px; }
.caso__copy p, .caso__center p { color: rgba(255, 255, 255, 0.92); font-size: clamp(1.02rem, 1.25vw, 1.14rem); line-height: 1.72; }
.caso__punch { font-weight: 800; color: #fff !important; font-size: clamp(1.15rem, 1.6vw, 1.4rem) !important; line-height: 1.5 !important; }
.caso__line-lg { font-weight: 800; font-size: clamp(1.6rem, 2.8vw, 2.4rem) !important; line-height: 1.2 !important; color: #fff !important; }
.caso__accent { color: var(--caso-accent); }

.caso__split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.caso__split--rev > :first-child { order: 2; }
.caso__split--mirror { grid-template-columns: 1.05fr 0.95fr; }
.caso__media img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45); }
.caso__collage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: center; }
.caso__collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4); }
.caso__collage--tall img:first-child { grid-row: span 2; }
.caso__collage--four img:first-child { grid-row: span 3; }
/* Collage natural: fotos completas sin recorte (masonry 2 columnas) */
.caso__collage--natural { columns: 2; gap: 12px; width: min(100%, 480px); justify-self: center; align-self: center; display: block; }
.caso__collage--natural img { width: 100%; height: auto; margin-bottom: 12px; border-radius: 6px; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4); display: block; }
/* El collage se ancla al alto exacto del texto: ni más alto ni más bajo */
.caso__split--stretch { align-items: stretch; }
.caso__split--stretch:not(:has(.caso__media--fill)) { grid-template-columns: 330px minmax(0, 1fr); }
.caso__media--fill { height: 100%; overflow: hidden; border-radius: 8px; }
.caso__media--fill img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.caso__split--rev.caso__split--stretch { grid-template-columns: minmax(0, 1fr) 330px; }
.caso__split--stretch .caso__collage--four { height: 100%; width: 100%; align-content: stretch; grid-template-rows: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .caso__split--stretch .caso__collage--four { height: auto; width: 100%; grid-template-rows: none; grid-auto-rows: 150px; }
  .caso__split--stretch .caso__collage--four img:first-child { grid-row: span 2; }
}

.caso__staccato { display: grid; gap: 8px; font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 800; line-height: 1.32; margin-bottom: 22px; }
.caso__climax { text-align: center; }
p.caso__climax-line, .caso__climax-line { font-size: clamp(2rem, 5.5vw, 4rem) !important; font-weight: 800; line-height: 1.1 !important; margin-block: 18px; }
.caso__climax-line--accent { color: var(--caso-accent); }
.caso__cara { position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: 112%; width: auto; opacity: 0.85; -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 100%); mask-image: linear-gradient(90deg, #000 55%, transparent 100%); pointer-events: none; }
.caso__fono { position: absolute; right: 0; top: 50%; transform: translateY(-50%); height: 112%; width: auto; opacity: 0.55; -webkit-mask-image: linear-gradient(270deg, #000 45%, transparent 100%); mask-image: linear-gradient(270deg, #000 45%, transparent 100%); pointer-events: none; }
.caso__climax > p:not([class]) { color: rgba(255, 255, 255, 0.9); font-size: clamp(1.02rem, 1.25vw, 1.14rem); }
@media (max-width: 900px) { .caso__fono { height: 70%; opacity: 0.35; } }

/* Récord: título arriba, texto a la derecha, número abajo a la izquierda (deja ver la cara del fondo) */
.caso__record-num { align-self: end; padding-top: clamp(140px, 24vw, 300px); }

.caso__big { font-size: clamp(3.4rem, 9vw, 6.5rem); font-weight: 800; line-height: 1; color: var(--caso-accent); letter-spacing: -0.01em; }
.caso__big-label { text-transform: uppercase; letter-spacing: 0.4em; font-weight: 700; font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); margin-top: 8px; }

.caso__strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 44px; }
.caso__strip img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; aspect-ratio: 4 / 3; }

.caso__stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; text-align: center; margin-block: 44px; }
.caso__stat-num { font-size: clamp(1.7rem, 3.2vw, 2.7rem); font-weight: 800; color: var(--caso-accent); }
.js-count { font-variant-numeric: tabular-nums; }
.caso__stat-label { color: rgba(255, 255, 255, 0.78); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 6px; }

/* Mosaico del jingle: collage superpuesto estilo dosier (6 fotos, tamaños mixtos) */
/* Collage del jingle: coordenadas exactas de la diapositiva 3 del dosier */
.caso__mosaic { position: relative; width: min(100%, 380px); aspect-ratio: 0.52; justify-self: end; align-self: center; }
.caso__mosaic img { position: absolute; display: block; height: auto; border-radius: 4px; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5); }
.caso__mosaic img:nth-of-type(1) { left: 0; top: 33.9%; width: 57.1%; z-index: 3; }    /* espalda micrófono */
.caso__mosaic img:nth-of-type(2) { left: 5.5%; top: 0; width: 37.8%; z-index: 1; }     /* coros en el campo */
.caso__mosaic img:nth-of-type(3) { left: 34.9%; top: 41.3%; width: 65.1%; z-index: 4; } /* Julio en cabina */
.caso__mosaic img:nth-of-type(4) { left: 34.5%; top: 1.7%; width: 58.9%; z-index: 2; }  /* teclados en estudio */
.caso__mosaic img:nth-of-type(5) { left: 59.1%; top: 69.8%; width: 38.4%; z-index: 6; } /* pareja con camarógrafo */
.caso__mosaic img:nth-of-type(6) { left: 9.8%; top: 68.2%; width: 27%; z-index: 5; }    /* pareja con acordeón */


/* ===== Variante clara y bandas de color (caso Bernardo) ===== */
.caso__sec--light { background: #f7f0dc; color: #24334f; }
.caso__sec--light .caso__copy p, .caso__sec--light .caso__center p { color: #33415e; }
.caso__sec--light .caso__punch { color: #17233f !important; }
.caso__sec--light .caso__title { color: #f04e23; }
.caso__sec--light .caso__kicker { color: #2e6fd8; }
.caso__sec--light .caso__big-label { color: #2e5db8; }
.caso__sec--azul .caso__kicker { color: #cfe0ff; }
.caso__sec--azul .caso__banda-line { margin-bottom: 10px; }
.caso__sec--naranja { background: #f04e23; }
.caso__sec--azul { background: #2f6fd9; }
p.caso__banda-line, .caso__banda-line { font-size: clamp(1.7rem, 3.6vw, 2.9rem) !important; font-weight: 800; line-height: 1.25 !important; max-width: 26ch; margin-inline: auto; text-align: center; color: #fff !important; }
.caso__sec--azul .caso__kicker, .caso__sec--naranja .caso__kicker { font-size: 0.95rem; }
.caso__decor--banda-izq { left: 2.5%; bottom: 4%; width: clamp(90px, 9vw, 160px); opacity: 0.55; }
.caso__decor--banda-der { right: 2.5%; bottom: 0; width: clamp(100px, 11vw, 190px); opacity: 0.55; }

/* Cierre Alcalde electo: dúo de fotos y tipografía XL */
.caso__duo { position: relative; align-self: center; min-height: clamp(420px, 40vw, 620px); }
.caso__duo img { position: absolute; border-radius: 10px; box-shadow: 0 24px 48px rgba(23, 35, 63, 0.35); }
.caso__duo-a { width: 56%; left: 2%; top: 0; transform: rotate(-2.4deg); z-index: 2; }
.caso__duo-b { width: 62%; right: 0; bottom: 0; transform: rotate(2deg); }
.caso__cierre { align-self: center; }
.caso__title--xl { font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.02; }
.caso__line-lg--azul { color: #2e5db8 !important; }
@media (max-width: 900px) {
  .caso__duo { min-height: 74vw; width: 100%; }
}
.caso__ficha { width: 100%; max-width: 880px; margin-inline: auto; border-collapse: separate; border-spacing: 8px; }
.caso__ficha th, .caso__ficha td { padding: 12px 20px; border-radius: 8px; text-align: left; font-size: 0.98rem; }
.caso__ficha thead th { background: #f04e23; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; }
.caso__ficha td { background: #fffdf4; color: #2e5db8; border: 2px solid #2e6fd8; }
.caso__ficha td:first-child { font-weight: 800; white-space: nowrap; }
.caso__ficha strong { color: #f04e23; }
.caso__filmstrip { display: grid; gap: 12px; width: min(100%, 300px); justify-self: center; align-self: center; }
.caso__filmstrip img { width: 100%; height: auto; border-radius: 6px; filter: saturate(0.5) brightness(0.88); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5); }
.caso__filmstrip img:nth-child(odd) { transform: rotate(-1.6deg); }
.caso__filmstrip img:nth-child(even) { transform: rotate(1.4deg); }
/* Mosaico de merchandising clonado del dosier (celdas de color, págs. 38-40) */
.merchb__board { display: grid; }
.merchb__board--a { grid-template-columns: 1fr 1.05fr; grid-template-areas: "arana valla" "arana pulsera"; }
.merchb__board--b { grid-template-columns: 1.15fr 1fr 1fr; grid-template-areas: "gorra mascota bandera" "gorra lentes lentes"; }
.merchb__board--c { grid-template-columns: 1fr 1fr; grid-template-areas: "postes sticker"; }
.merchb__cell { position: relative; display: flex; align-items: center; justify-content: center; padding: clamp(34px, 4.5vw, 70px); min-height: clamp(260px, 26vw, 420px); }
.merchb__cell img { max-width: 84%; max-height: 100%; height: auto; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.3)); }
.merchb__cell--arana { grid-area: arana; }
.merchb__cell--valla { grid-area: valla; }
.merchb__cell--pulsera { grid-area: pulsera; }
.merchb__cell--gorra { grid-area: gorra; }
.merchb__cell--mascota { grid-area: mascota; }
.merchb__cell--bandera { grid-area: bandera; }
.merchb__cell--lentes { grid-area: lentes; }
.merchb__cell--postes { grid-area: postes; }
.merchb__cell--sticker { grid-area: sticker; }
.merchb__cell--mascota img { width: 90%; max-width: 90%; }
/* Board de aplicaciones de Julio (paleta C101) */
.merchb__board--julio { grid-template-columns: 1.15fr 1fr 0.95fr; grid-template-areas: "jvalla jvalla jcelular" "jcrispetas jpantalla jcelular" "jtarjeton jtarjeton jmascota"; }
.merchb__cell--jvalla { grid-area: jvalla; }
.merchb__cell--jcelular { grid-area: jcelular; }
.merchb__cell--jcrispetas { grid-area: jcrispetas; }
.merchb__cell--jpantalla { grid-area: jpantalla; }
.merchb__cell--jtarjeton { grid-area: jtarjeton; }
.merchb__cell--jmascota { grid-area: jmascota; }
.merchb__cell--jazul { background: #1c3f97; }
.merchb__cell--jnavy { background: #0e1c42; }
.merchb__cell--jcel { background: #dce9fb; }
.merchb__label.merchb__label--jazul { color: #1c3f97; }
.merchb__cell--jcelular img { width: 74%; max-width: 74%; }
.merchb__cell--jpantalla img { width: 94%; max-width: 94%; }
.merchb__cell--jtarjeton img { max-width: 38%; }
.merchb__cell--jmascota img { width: 76%; max-width: 76%; }
.merchb__cell--naranja { background: #fc4200; }
.merchb__cell--azul { background: #1151a4; }
.merchb__cell--gris { background: #cfcfcf; }
.merchb__cell--blanco { background: #f2f2f2; }
.merchb__cell--full { padding: 0; }
.merchb__cell--full img { width: 100%; height: 100%; max-width: 100%; object-fit: cover; filter: none; }
.merchb__label { position: absolute; top: 20px; left: 26px; color: #f7f0dc; font-weight: 700; font-size: clamp(0.95rem, 1.3vw, 1.2rem); z-index: 1; }
.merchb__label--azul { color: #1151a4; }
@media (max-width: 900px) {
  .merchb__board--a { grid-template-columns: 1fr; grid-template-areas: "arana" "valla" "pulsera"; }
  .merchb__board--b { grid-template-columns: 1fr 1fr; grid-template-areas: "gorra mascota" "gorra bandera" "lentes lentes"; }
  .merchb__board--c { grid-template-columns: 1fr; grid-template-areas: "postes" "sticker"; }
  .merchb__board--julio { grid-template-columns: 1fr 1fr; grid-template-areas: "jvalla jvalla" "jcrispetas jcelular" "jpantalla jpantalla" "jtarjeton jtarjeton" "jmascota jmascota"; }
}
.caso__calle { columns: 2; gap: 14px; max-width: 1080px; margin-inline: auto; }
.caso__calle img { width: 100%; margin-bottom: 14px; border-radius: 8px; display: block; box-shadow: 0 14px 28px rgba(23, 35, 63, 0.25); }
.caso__decor--ladrillos { right: 2%; bottom: 0; width: clamp(110px, 13vw, 190px); opacity: 0.95; }
.caso__decor--muneca { left: 2%; bottom: 3%; width: clamp(84px, 8.5vw, 150px); }
.caso__tarjeton-b { justify-self: center; align-self: center; width: min(100%, 430px); }
.caso__tarjeton-b img { width: 100%; height: auto; border-radius: 10px; transform: rotate(2.2deg); box-shadow: 0 24px 48px rgba(23, 35, 63, 0.35), 0 4px 12px rgba(23, 35, 63, 0.2); border: 1px solid rgba(23, 35, 63, 0.08); }
p.caso__quote, .caso__quote { font-size: clamp(1.5rem, 3vw, 2.5rem) !important; font-weight: 800; line-height: 1.3 !important; font-style: italic; color: #fff !important; }
@media (max-width: 900px) {
  .caso__merch { grid-template-columns: repeat(2, 1fr); }
  .caso__merch--wide { grid-column: span 2; }
  .caso__calle { columns: 2; }
}


/* Video-hero: comercial en autoplay de fondo (cover) */
.caso__videohero { overflow: hidden; height: auto; min-height: 0; aspect-ratio: 16 / 9; max-height: 100svh; }
.caso__videohero::before { z-index: 1; }
.caso__videohero .jr-hero__inner { position: relative; z-index: 2; }
.caso__videohero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; container-type: size; }
.caso__videohero-bg iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@supports (width: 100cqw) {
  .caso__videohero-bg iframe { inset: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); }
}
@media (prefers-reduced-motion: reduce) { .caso__videohero-bg { display: none; } }
/* móvil/tablet: el contenido supera el alto 16/9 y el aspect-ratio ensanchaba la sección (overflow horizontal) */
@media (max-width: 900px) { .caso__videohero { aspect-ratio: auto; min-height: 100svh; } }
.caso__heroplay { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 12px; background: none; border: 0; color: #fff; cursor: pointer; font: 600 0.85rem var(--font); letter-spacing: 0.35em; text-transform: uppercase; text-shadow: 0 3px 14px rgba(0, 0, 0, 0.7); }
.caso__heroplay svg { width: 92px; height: 92px; filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.6)); transition: transform 0.25s; animation: playPulse 2.6s ease-in-out infinite; }
.caso__heroplay:hover svg { transform: scale(1.1); animation-play-state: paused; }
.caso__videohero.is-sound::before { display: none; }
.caso__videohero.is-sound .jr-hero__inner, .caso__videohero.is-sound .caso__heroplay { display: none; }
.caso__videohero.is-sound { background: #000; }
.caso__videohero.is-sound .caso__videohero-bg { pointer-events: auto; }
.caso__videohero.is-sound .caso__videohero-bg iframe { inset: 0; top: 0; left: 0; transform: none; width: 100%; height: 100%; }

/* ===== Tricolor del caso Jorge Rey ===== */
.jr-hero { min-height: clamp(460px, 66vh, 700px); display: flex; align-items: flex-end; padding-top: 90px; padding-bottom: clamp(36px, 5vw, 64px); }
.jr-hero::before { background: linear-gradient(90deg, rgba(8, 12, 30, 0.12) 0%, rgba(8, 12, 30, 0.5) 52%, rgba(8, 12, 30, 0.72) 100%) !important; }
.jr-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: linear-gradient(90deg, #005896 0 33.3%, #e7b810 33.3% 66.6%, #ac1b14 66.6% 100%); }
.jr-hero .container { max-width: none; width: 100%; }
.jr-hero__inner { text-align: right; padding-inline: clamp(24px, 3.5vw, 56px); }
.jr-hero__title { font-size: clamp(2.1rem, 5vw, 4rem); font-weight: 800; line-height: 1.05; text-shadow: 0 6px 24px rgba(0, 0, 0, 0.55); }
.jr-hero__sub { color: #ffd34d; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 12px; font-size: clamp(0.92rem, 1.5vw, 1.25rem); text-shadow: 0 3px 14px rgba(0, 0, 0, 0.6); }
.caso__sec--jr-amarillo { background-color: #e7b810; color: #142a52; }
.caso__sec--jr-amarillo .caso__copy p, .caso__sec--jr-amarillo .caso__center p { color: #1d3157; }
.caso__sec--jr-amarillo .caso__punch { color: #142a52 !important; }
.caso__sec--jr-amarillo .caso__title { color: #ac1b14; }
.caso__sec--jr-amarillo .caso__kicker { color: #005896; }
.caso__sec--jr-azul { background: #005896; }
.caso__sec--jr-rojo { background: #ac1b14; }
.caso__sec--bg-amarillo::before { background: linear-gradient(180deg, rgba(231, 184, 16, 0.87), rgba(231, 184, 16, 0.74)) !important; }
.caso__sec--bg-amarillo { color: #142a52; }
.caso__sec--bg-amarillo .caso__copy p, .caso__sec--bg-amarillo .caso__center p { color: #1d3157; }
.caso__sec--bg-amarillo .caso__punch { color: #142a52 !important; }
.caso__sec--bg-amarillo .caso__title { color: #ac1b14; }
.caso__sec--bg-azul::before { background: linear-gradient(180deg, rgba(0, 88, 150, 0.93), rgba(0, 62, 110, 0.88)) !important; }
.caso__sec--bg-rojo::before { background: linear-gradient(180deg, rgba(172, 27, 20, 0.92), rgba(130, 16, 12, 0.86)) !important; }
.caso__spotgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 30px); margin-top: 44px; counter-reset: frame; }
.caso__spotgrid--exp { grid-template-columns: repeat(2, 1fr); max-width: 1100px; margin-inline: auto; gap: 16px; }
.caso__spotgrid--exp img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; border-radius: 8px; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45); }
.caso__frame { margin: 0; position: relative; background: #fdfcf7; padding: 8px 8px 12px; border-radius: 4px; box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4); }
.caso__frame:nth-child(odd) { transform: rotate(-1.3deg); }
.caso__frame:nth-child(even) { transform: rotate(1.1deg); }
.caso__frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; border-radius: 2px; display: block; }
.caso__frame::after { counter-increment: frame; content: counter(frame); position: absolute; top: -12px; left: -12px; width: 34px; height: 34px; border-radius: 50%; background: #e7b810; color: #142a52; font-weight: 800; font-size: 1rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35); }
.reveal .caso__frame { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible .caso__frame { opacity: 1; }
.reveal.is-visible .caso__frame:nth-child(odd) { transform: rotate(-1.3deg) translateY(0); }
.reveal.is-visible .caso__frame:nth-child(even) { transform: rotate(1.1deg) translateY(0); }
.reveal.is-visible .caso__frame:nth-child(1) { transition-delay: 0.05s; }
.reveal.is-visible .caso__frame:nth-child(2) { transition-delay: 0.2s; }
.reveal.is-visible .caso__frame:nth-child(3) { transition-delay: 0.35s; }
.reveal.is-visible .caso__frame:nth-child(4) { transition-delay: 0.5s; }
.reveal.is-visible .caso__frame:nth-child(5) { transition-delay: 0.65s; }
.reveal.is-visible .caso__frame:nth-child(6) { transition-delay: 0.8s; }
.caso__escenas { list-style: none; padding-left: 0; display: grid; gap: 14px; max-width: 76ch; margin-inline: auto; counter-reset: esc; }
.caso__escenas li { position: relative; padding-left: 54px; color: rgba(255, 255, 255, 0.92); line-height: 1.65; font-size: clamp(1rem, 1.2vw, 1.1rem); }
.caso__escenas li::before { counter-increment: esc; content: counter(esc); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: #e7b810; color: #142a52; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.caso__grito { display: grid; gap: 4px; text-align: center; font-weight: 800; font-style: italic; }
.reveal .caso__grito span { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible .caso__grito span:nth-child(1) { transition-delay: 0.1s; }
.reveal.is-visible .caso__grito span:nth-child(2) { transition-delay: 0.45s; }
.reveal.is-visible .caso__grito span:nth-child(3) { transition-delay: 0.8s; }
.reveal.is-visible .caso__grito span:nth-child(4) { transition-delay: 1.15s; }
.reveal.is-visible .caso__grito span:nth-child(5) { transition-delay: 1.5s; }
.caso__grito span { line-height: 1.15; }
.reveal.is-visible .caso__grito span { transform: translateY(0); }
.reveal.is-visible .caso__grito span:nth-child(1) { opacity: 0.65; }
.caso__grito span:nth-child(1) { font-size: clamp(1.1rem, 2vw, 1.6rem); }
.reveal.is-visible .caso__grito span:nth-child(2) { opacity: 0.75; }
.caso__grito span:nth-child(2) { font-size: clamp(1.35rem, 2.6vw, 2.1rem); }
.reveal.is-visible .caso__grito span:nth-child(3) { opacity: 0.85; }
.caso__grito span:nth-child(3) { font-size: clamp(1.7rem, 3.4vw, 2.8rem); }
.reveal.is-visible .caso__grito span:nth-child(4) { opacity: 0.95; }
.caso__grito span:nth-child(4) { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.reveal.is-visible .caso__grito span:nth-child(5) { opacity: 1; }
.caso__grito span:nth-child(5) { font-size: clamp(2.6rem, 5.6vw, 4.6rem); color: #ac1b14; }
.caso__podio { display: grid; gap: 14px; max-width: 560px; }
.caso__podio li { position: relative; display: flex; justify-content: space-between; gap: 18px; padding: 9px 12px 9px 14px; color: rgba(255, 255, 255, 0.94); font-size: 0.98rem; overflow: hidden; border-radius: 6px; }
.caso__podio li::before { content: ''; position: absolute; inset: 0; width: var(--w, 100%); background: rgba(255, 255, 255, 0.16); border-radius: 6px; transform-origin: left; transform: scaleX(0); transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s; }
.caso__podio li:first-child::before { background: #e7b810; }
.caso__podio li:first-child { color: #142a52; font-weight: 800; }
.caso__podio li:first-child strong { color: #ac1b14; }
.reveal.is-visible .caso__podio li::before { transform: scaleX(1); }
.caso__podio li span, .caso__podio li strong { position: relative; }
.caso__podio li strong { color: #ffd34d; white-space: nowrap; }
.caso__kicker--center { text-align: center; display: block; }
.caso__escenas--mt { margin-top: 28px; }
.caso__podio--mt { margin-top: 26px; }
.caso__center--mt { margin-top: 34px; }
.caso__stats--jr { grid-template-columns: repeat(5, 1fr); }
.caso__stat-num--jr { color: #ac1b14; }
.caso__stat-label--jr { color: #1d3157; }
.caso__laureles { margin: 26px auto; max-width: min(70%, 520px); }
.caso__laureles--solo { max-width: min(60%, 300px); }
@media (max-width: 900px) { .caso__spotgrid { grid-template-columns: repeat(2, 1fr); } .caso__stats--jr { grid-template-columns: repeat(2, 1fr); } .caso__stats--jr > :first-child { grid-column: 1 / -1; } }


/* Hero que cabe completo en la pantalla (bandas del color del cielo) */
.caso__hero--fit { height: 100svh; min-height: 480px; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #5a98ce, #5291cd); }
.caso__hero--fit-am { background: linear-gradient(180deg, #5f5f6d, #201303); }
.caso__hero--fit img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }

/* ===== Scroll horizontal guiado (.js-hscroll) ===== */
.hscroll { position: relative; height: 300vh; }
.hscroll__viewport { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-block: 90px 40px; }
.hscroll__head { text-align: center; margin-bottom: 40px; }
.hscroll__track { display: flex; gap: clamp(22px, 3vw, 44px); will-change: transform; padding-inline: max(6vw, calc((100vw - 1320px) / 2 + 24px)); }
.hscroll__track::after { content: ''; flex: 0 0 max(10vw, 120px); }
.hscroll__lead { max-width: 74ch; margin: 14px auto 0; color: rgba(255, 255, 255, 0.85); line-height: 1.65; font-size: clamp(0.96rem, 1.1vw, 1.05rem); }
.hscroll__card.hscroll__card--am { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 154, 94, 0.45); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35); }
.hscroll__card.hscroll__card--am p { color: #efeaf6; }
.hscroll__card.hscroll__card--am .hscroll__num { color: #ff9a5e; font-family: var(--font); }
.hscroll__card.hscroll__card--am strong { color: #ffd34d; }
.hscroll__fixed { display: block; width: min(92%, 1100px); margin: 34px auto 0; border-radius: 8px; box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5); }

/* Carrusel manual con flechas (.js-carrusel) */
.carrusel { position: relative; margin-top: 38px; padding-inline: clamp(54px, 6vw, 76px); }
.carrusel__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-block: 6px; }
.carrusel__track::-webkit-scrollbar { display: none; }
.carrusel__track img { flex: 0 0 auto; width: min(78vw, 400px); height: auto; scroll-snap-align: center; border-radius: 8px; box-shadow: 0 14px 30px rgba(74, 49, 22, 0.2); }
.carrusel__btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; background: rgba(255, 253, 244, 0.85); border: 1.5px solid #8a6a1d; color: #6d5316; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(74, 49, 22, 0.25); transition: transform 0.2s, background 0.2s, color 0.2s; }
.carrusel__btn svg { width: 22px; height: 22px; }
.carrusel__btn:hover { background: #8a6a1d; color: #fff; transform: translateY(-50%) scale(1.08); }
.carrusel__btn--prev { left: 0; }
.carrusel__btn--next { right: 0; }
.hscroll__card { flex: 0 0 min(86vw, 610px); display: flex; flex-direction: column; justify-content: center; background: rgba(255, 253, 244, 0.72); border: 1px solid rgba(138, 106, 29, 0.4); border-radius: 10px; padding: clamp(20px, 2.4vw, 30px); box-shadow: 0 14px 30px rgba(74, 49, 22, 0.14); }
.hscroll__card p { color: #57401f; line-height: 1.6; font-size: clamp(0.94rem, 1.05vw, 1.02rem); }
.hscroll__num { display: block; font-family: Georgia, serif; font-size: 1.6rem; color: #b8912f; font-weight: 700; margin-bottom: 8px; }
.hscroll__frame { flex: 0 0 auto; height: clamp(300px, 54vh, 470px); width: auto; border-radius: 8px; box-shadow: 0 14px 30px rgba(74, 49, 22, 0.18); }
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .hscroll { height: auto; }
  .hscroll__viewport { position: static; min-height: 0; overflow: visible; padding-block: 56px; }
  .hscroll__track { display: grid; transform: none !important; padding-inline: 24px; gap: 18px; }
  .hscroll__card { flex: none; }
  .hscroll__frame { height: auto; width: 100%; }
}
@media (max-width: 900px) { .caso__pares { grid-template-columns: repeat(2, 1fr); max-width: none; } }

/* ===== Caso Himno: pergamino y dorado ===== */
.caso__sec--pergamino { background: #f2e7cd url('/assets/img/caso-himno/pergamino.webp'); color: #4a3116; }
.caso__sec--pergamino .caso__copy p, .caso__sec--pergamino .caso__center p { color: #57401f; }
.caso__sec--pergamino .caso__punch { color: #4a3116 !important; }
.caso__sec--pergamino .caso__title { color: #8a6a1d; font-family: Georgia, 'Times New Roman', serif; letter-spacing: 0.06em; }
.caso__sec--pergamino .caso__kicker { color: #8a6a1d; }
.caso__sec--pergamino .caso__stat-num { color: #8a6a1d; font-family: Georgia, serif; }
.caso__sec--pergamino .caso__stat-label { color: #57401f; }
.caso__pares { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 34px; max-width: 1100px; margin-inline: auto; }
.caso__pares img { width: 100%; height: auto; display: block; }
.caso__decor--sello { right: 3%; top: 6%; width: clamp(80px, 8vw, 140px); }
.caso__media--mapa { width: min(100%, 360px); justify-self: center; align-self: center; }
/* La obra: video enmarcado + ficha lateral */
.caso__obra-video .case__media { border: 1px solid rgba(229, 192, 91, 0.55); box-shadow: 0 0 0 6px rgba(229, 192, 91, 0.08), 0 26px 52px rgba(0, 0, 0, 0.55); }
.caso__ficha-obra--lado { margin-inline: 0; align-self: center; }
/* El cortometraje en modo sala de cine */
.caso__cine { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 100px 70px; }
.caso__cine-frame { max-width: 980px; margin-inline: auto; padding: 5px; border-radius: 14px; background: linear-gradient(110deg, #ff9a5e, #ffd34d, #ff6b81, #ff9a5e); background-size: 280% 100%; animation: amanecerShift 8s linear infinite; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6); }
.caso__cine-frame .case__media { border-radius: 10px; }
@media (prefers-reduced-motion: reduce) { .caso__cine-frame { animation: none; } }

/* Making of como split con botón */
.caso__making--lado { margin: 0; max-width: none; }
.btn--dorado { border: 1.5px solid #8a6a1d; color: #6d5316; font-weight: 800; }
.btn--dorado:hover { background: #8a6a1d; color: #fff; }
.caso__ficha-obra { max-width: 620px; margin-inline: auto; display: grid; gap: 10px; }
.caso__ficha-obra li { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); padding-bottom: 8px; color: rgba(255, 255, 255, 0.9); font-size: 0.97rem; }
.caso__ficha-obra li strong { color: var(--caso-accent); text-align: right; }
.caso__making { display: block; max-width: 560px; margin: 34px auto 0; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 42px rgba(74, 49, 22, 0.35); transition: transform 0.25s ease; }
.caso__making:hover { transform: translateY(-4px); }
.caso__making img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .caso__pares { grid-template-columns: repeat(2, 1fr); } }


/* ===== Caso Otro Amanecer: noche morada y amanecer ===== */
.caso__sec--am { background: #171123; }
.caso__sec--am:nth-of-type(even) { background: #1c1530; }
.caso__ficha--am thead th { background: linear-gradient(90deg, #b3283a, #e8703f); }
.caso__ficha--am td { background: rgba(255, 255, 255, 0.04); color: rgba(255, 255, 255, 0.92); border: 1.5px solid rgba(232, 112, 63, 0.45); }
.caso__ficha--am td:first-child { color: #ff9a5e; }
.caso__strip-img { display: block; width: min(100%, 1100px); margin: 36px auto 0; border-radius: 8px; box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5); }
.caso__wow { background: linear-gradient(90deg, #ff9a5e, #ffd34d, #ff6b81, #ff9a5e); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: amanecerShift 7s linear infinite; }
@keyframes amanecerShift { to { background-position: -300% 0; } }


/* ===== Caso Cundinamarca Fest: negro y verde menta ===== */
.caso__sec--cf { background: #0c110d; }
.caso__sec--cf:nth-of-type(even) { background: #101711; }
.caso__tabla-cf { width: 100%; max-width: 880px; margin: 36px auto 0; border-collapse: separate; border-spacing: 8px; }
.caso__tabla-cf th, .caso__tabla-cf td { padding: 12px 20px; border-radius: 8px; text-align: left; font-size: 0.97rem; }
.caso__tabla-cf thead th { background: #7ce3a4; color: #0c110d; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; }
.caso__tabla-cf td { background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.92); border: 1.5px solid rgba(124, 227, 164, 0.4); }
.caso__tabla-cf td:first-child { color: #7ce3a4; font-weight: 800; white-space: nowrap; }
.caso__fase { border-left: 3px solid #7ce3a4; padding-left: 22px; }
.caso__duo-video { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 1100px; margin-inline: auto; }
@media (max-width: 900px) { .caso__duo-video { grid-template-columns: 1fr; } .caso__tabla-cf td:first-child { white-space: normal; } }


/* ===== CFest: cinta de prensa (breaking news) ===== */
.prensa { overflow: hidden; display: grid; gap: 18px; margin-top: 40px; }
.prensa__row { display: flex; gap: 16px; width: max-content; animation: marquee 44s linear infinite; }
.prensa__row--rev { animation-direction: reverse; animation-duration: 52s; }
.prensa__row img { height: clamp(150px, 17vw, 210px); width: auto; border-radius: 10px; box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45); border: 1px solid rgba(124, 227, 164, 0.25); }
.prensa:hover .prensa__row { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .prensa__row { animation: none; } }

/* ===== CFest: timeline zig-zag de embajadores ===== */
.tline { position: relative; max-width: 1100px; margin: 44px auto 0; }
.tline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, transparent, #7ce3a4 8%, #7ce3a4 92%, transparent); transform: translateX(-50%); }
.tline__item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); margin-bottom: clamp(44px, 6vw, 80px); align-items: center; }
.tline__item:last-child { margin-bottom: 0; }
.tline__dot { position: absolute; left: 50%; top: 24px; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; background: #7ce3a4; color: #0c110d; font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px rgba(124, 227, 164, 0.18); z-index: 1; }
.tline__copy h3 { font-size: clamp(1.2rem, 1.8vw, 1.55rem); font-weight: 800; text-transform: uppercase; color: #7ce3a4; margin-bottom: 10px; }
.tline__copy p { color: rgba(255, 255, 255, 0.9); line-height: 1.68; font-size: clamp(0.96rem, 1.1vw, 1.04rem); }
.tline__copy img { margin-top: 16px; border-radius: 8px; box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4); }
.tline__item--rev .tline__copy { order: 2; }
.tline__item--rev .tline__media { order: 1; }
@media (max-width: 900px) {
  .tline::before { left: 20px; }
  .tline__dot { left: 20px; }
  .tline__item, .tline__item--rev { grid-template-columns: 1fr; gap: 18px; padding-left: 54px; }
  .tline__item--rev .tline__copy { order: 1; }
  .tline__item--rev .tline__media { order: 2; }
}

/* Boards de producto y decorativos (caso Santiago) */
.caso__decor { position: absolute; pointer-events: none; z-index: 1; }
.caso__decor--hilo-reto { right: 0; bottom: -4%; width: min(34%, 420px); opacity: 0.9; }
.caso__decor--escudo { left: 4%; top: 7%; width: clamp(90px, 10vw, 150px); filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.5)); }
.caso__decor--hilo-cierre { left: -4%; bottom: -6%; width: min(44%, 560px); opacity: 0.85; }
.caso__prods { display: flex; align-items: flex-end; justify-content: center; gap: clamp(14px, 3vw, 44px); }
.caso__prods img { height: auto; filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.45)); }
.caso__prod--espalda { width: 24%; }
.caso__prod--frente { width: 29%; }
.caso__prod--camisetas { width: 37%; }
.caso__pieza { display: block; width: 100%; border-radius: 8px; box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45); }
.caso__pieza + .caso__pieza { margin-top: 22px; }
.caso__ruta { position: relative; justify-self: center; width: min(100%, 460px); }
.caso__ruta-mapa { width: 100%; height: auto; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.5)); }
.caso__ruta-moto { position: absolute; left: -14%; bottom: 2%; width: 58%; filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.55)); }
.caso__logos { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 4vw, 56px); margin-bottom: 26px; flex-wrap: wrap; }
.caso__logos img { width: min(44%, 360px); height: auto; }
@media (max-width: 900px) {
  .caso__prods { flex-wrap: wrap; }
  .caso__prod--espalda, .caso__prod--frente { width: 44%; }
  .caso__prod--camisetas { width: 80%; }
  .caso__decor--hilo-reto { width: 50%; opacity: 0.55; }
  .caso__logos img { width: 70%; }
}

/* Jingle: la foto del reto se hace secundaria (abajo a la derecha, pequeña y tenue) */
.caso__media--soft { align-self: center; justify-self: start; width: min(62%, 350px); opacity: 0.45; filter: saturate(0.5) brightness(0.82); }
.caso__media--soft img { box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3); }

/* Jingle: prefijo del título y sub-bloque del reto */
.caso__title-pre { display: block; font-size: 0.5em; letter-spacing: 0.3em; color: var(--caso-accent); margin-bottom: 4px; }
.caso__sub { display: grid; gap: 12px; border-left: 3px solid var(--caso-accent); padding-left: 20px; margin-block: 6px 8px; }
.caso__sub h3 { font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; }
.caso__sub p { font-size: clamp(0.95rem, 1.1vw, 1.02rem) !important; }

.caso__video { width: 100%; max-width: 860px; margin-inline: auto; }
.caso__logo { max-width: 300px; margin-top: 26px; }
.caso__mascota { position: absolute; right: 4%; bottom: 0; width: clamp(120px, 14vw, 210px); z-index: 1; }

.caso__cta { text-align: center; padding-block: clamp(70px, 9vw, 110px); background: var(--bg); }
.caso__cta .btn { margin-top: 26px; }
.caso__cta .subpage__back { display: inline-block; margin-top: 22px; }

@media (max-width: 900px) {
  .caso__split, .caso__split--rev { grid-template-columns: 1fr; }
  .caso__split--rev > :first-child { order: 0; }
  .caso__strip { grid-template-columns: repeat(3, 1fr); }
  .caso__stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .caso__stats > :first-child { grid-column: 1 / -1; }
  .caso__mascota { position: static; width: 150px; margin: 26px auto 0; display: block; }
  .caso__cara { height: 70%; opacity: 0.4; }
  .caso__record-num { padding-top: clamp(90px, 30vw, 160px); }
  .caso__mosaic { width: min(100%, 340px); justify-self: center; }
}

/* ===== Más piezas: videos adicionales al final del caso ===== */
.extras { background: var(--bg); padding-block: 72px 96px; border-top: 1px solid var(--border); }
.extras__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; max-width: 960px; }
.extras__grid--single { grid-template-columns: minmax(0, 620px); }
.extras__item { margin: 0; }
.extras__item .case__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.extras__item figcaption { color: var(--text-muted); font-size: 0.85rem; margin-top: 12px; letter-spacing: 0.04em; line-height: 1.6; }
@media (max-width: 760px) { .extras { padding-block: 56px 70px; } .extras__grid { grid-template-columns: 1fr; } }
.footer__legal { font-size: 0.78rem; text-decoration: underline; opacity: 0.8; }
.footer__legal:hover { color: var(--accent); }
.eyebrow--left { text-align: left; }


.contact--cierre { background: radial-gradient(90% 80% at 50% 100%, rgba(160, 138, 230, 0.14), transparent 70%), var(--bg); }

/* ===== Home: banda dorada, Sebastián y metodología ===== */
.goldband { padding-top: 90px; background: linear-gradient(180deg, var(--bg), #14110a); border-bottom: 1px solid rgba(202, 165, 74, 0.35); }
.goldband__claim { text-align: center; font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 400; margin-bottom: 12px; }
.goldband__claim strong { color: #caa54a; font-weight: 900; }
.goldband .awards-band { margin-top: 44px; }

.sebhome { background: linear-gradient(180deg, #0a0a0c, #17122a 60%, #0a0a0c); padding-block: 100px; }
.sebhome__grid { display: grid; grid-template-columns: minmax(280px, 460px) 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.sebhome__foto { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65); }
.sebhome__nombre { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.05; }
.sebhome__nombre strong { background: linear-gradient(100deg, #e8e2fa, #cfc2f5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sebhome__rol { color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.85rem; margin-block: 14px 28px; }
.sebhome__hitos { list-style: none; display: grid; gap: 12px; margin-bottom: 34px; }
.sebhome__hitos li { padding-left: 26px; position: relative; line-height: 1.55; color: var(--text); }
.sebhome__hitos li::before { content: '✦'; position: absolute; left: 0; color: #caa54a; }
.sebhome__hitos strong { color: #fff; }
.btn--xl { font-size: 1.05rem; padding: 18px 40px; letter-spacing: 0.08em; }
.sebhome__fotos { display: flex; gap: 18px; margin-top: 34px; }
.sebhome__fotos img { width: min(46%, 320px); height: auto; border-radius: 10px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55); }
.sebhome__fotos img:first-child { transform: rotate(-1.4deg); }
.sebhome__fotos img:last-child { transform: rotate(1.4deg); }
@media (max-width: 900px) { .sebhome__grid { grid-template-columns: 1fr; } .sebhome__foto { max-width: 420px; margin-inline: auto; } }

.metodo { padding-block: 90px; background: var(--bg); }
.metodo__title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 40px; }
.metodo__pasos { list-style: none; counter-reset: paso; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 44px; }
.metodo__pasos li { counter-increment: paso; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; line-height: 1.55; color: var(--text-muted); }
.metodo__pasos li::before { content: counter(paso, decimal-leading-zero); display: block; font-weight: 900; font-size: 1.9rem; color: var(--accent-strong); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.metodo__pasos strong { display: block; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.metodo__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.metodo__chips li { border: 1px solid var(--accent-border); border-radius: 999px; padding: 9px 18px; font-size: 0.85rem; letter-spacing: 0.06em; color: var(--text); }
.metodo__equipo { color: var(--text-muted); font-weight: 600; }
@media (max-width: 900px) { .metodo__pasos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .metodo__pasos { grid-template-columns: 1fr; } }

.caso__hero--scrim { position: relative; }
.caso__hero--scrim::before { content: ''; position: absolute; inset: 0 0 auto; height: 130px; background: linear-gradient(180deg, rgba(10, 10, 14, 0.62), transparent); z-index: 1; pointer-events: none; }

/* ===== SEBASTIAN (--seb): perfil + Cumbre Montevideo ===== */
.caso--seb { --seb-lila: #cfc2f5; --seb-oro: #caa54a; background: #0a0a0c; }
.seb-hero, .seb-intro { position: relative; height: 100svh; min-height: 520px; overflow: hidden; display: flex; align-items: flex-end; }
.seb-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.seb-hero__mundo { position: absolute; top: clamp(84px, 12vh, 130px); font-weight: 600; letter-spacing: 0.55em; text-transform: uppercase; font-size: clamp(0.8rem, 1.4vw, 1.15rem); color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8); }
.seb-hero__mundo--izq { left: 6%; }
.seb-hero__mundo--der { right: 6%; }
.seb-hero__titulos { position: relative; width: 100%; text-align: center; padding: 120px 16px clamp(96px, 13vh, 132px); background: linear-gradient(180deg, transparent, rgba(5, 5, 8, 0.82) 70%); }
.seb-hero__titulos h1 { font-size: clamp(2.4rem, 6.5vw, 5.4rem); font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; line-height: 1.05; }
.seb-hero__titulos h1 strong { background: linear-gradient(100deg, #e8e2fa, var(--seb-lila)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.seb-hero__claim { margin-top: 10px; font-weight: 800; letter-spacing: 0.28em; text-transform: uppercase; font-size: clamp(0.72rem, 1.5vw, 1.05rem); color: #fff; }
.seb-hero__roles { margin-top: 8px; letter-spacing: 0.16em; text-transform: uppercase; font-size: clamp(0.6rem, 1.1vw, 0.8rem); color: var(--text-muted); }
.seb-hero__badges { position: absolute; right: 104px; bottom: 22px; width: clamp(170px, 18vw, 250px); height: auto; }
@media (max-width: 700px) { .seb-hero__badges { display: none; } .seb-hero__mundo { top: 84px; } }

.seb-lila { font-weight: 800; font-size: clamp(1.35rem, 2.6vw, 2rem) !important; line-height: 1.35 !important; color: var(--seb-lila) !important; }
.seb-lila--punch { font-size: clamp(1.5rem, 3vw, 2.4rem) !important; }
.seb-premisa { background-position: center 8%; }
.seb-cine { background-position: center 5%; }
.seb-premisa::before { background: linear-gradient(180deg, rgba(6, 6, 10, 0.94), rgba(6, 6, 10, 0.86) 45%, rgba(6, 6, 10, 0.94)); }

.seb-num .container { position: relative; }
.seb-num__title { font-size: clamp(3rem, 9vw, 7.5rem); font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1; }
.seb-num__roman { color: #fff; }
.seb-num__word { color: var(--seb-lila); }
.seb-num__sub { font-weight: 800; font-style: italic; color: #fff; font-size: clamp(1.1rem, 2vw, 1.7rem); margin-top: 4px; }
.seb-num__body { max-width: 60ch; margin-top: 26px; color: var(--text); line-height: 1.75; }
.seb-num__grid { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.seb-collage { display: grid; gap: 12px; max-width: 330px; justify-self: end; width: 100%; }
.seb-collage img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55); }
.seb-collage img:nth-child(1) { transform: rotate(-1.6deg); }
.seb-collage img:nth-child(2) { transform: rotate(1.3deg); width: 86%; justify-self: end; }
.seb-collage img:nth-child(3) { transform: rotate(-1deg); width: 92%; }
@media (max-width: 900px) { .seb-num__grid { grid-template-columns: 1fr; } }

.seb-bullets p { margin-bottom: 18px; line-height: 1.75; }
.seb-filmo { background-position: left center; }
.seb-filmo__copy { max-width: 600px; margin-left: auto; }
.seb-filmo__copy p { padding-left: 20px; border-left: 3px solid var(--seb-lila); font-size: 1.06rem; }
.seb-filmo__copy strong { display: block; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
@media (max-width: 900px) { .seb-filmo__copy { max-width: none; } }
.seb-bullets strong { color: var(--seb-lila); }
.seb-resultados { background: #0a0a0c; }
.seb-posters { display: flex; gap: 16px; justify-content: center; height: clamp(460px, 44vw, 620px); }
.seb-posters__col { display: flex; flex-direction: column; gap: 16px; width: min(44%, 225px); }
.seb-posters__col a { position: relative; display: block; flex: var(--f, 1) 1 0; min-height: 0; overflow: hidden; border-radius: 8px; box-shadow: 0 20px 44px rgba(0, 0, 0, 0.6); transition: transform 0.35s ease; }
.seb-posters__col a:hover { transform: translateY(-5px) scale(1.03); }
.seb-posters__col a > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.seb-cell__brand { position: absolute; inset-inline: 0; bottom: 0; padding: 26px 12px 12px; background: linear-gradient(180deg, transparent, rgba(5, 6, 12, 0.9) 78%); display: grid; gap: 3px; justify-items: center; text-align: center; }
.seb-cell__brand em { font-style: italic; font-weight: 800; color: #fff; font-size: clamp(0.9rem, 1.3vw, 1.1rem); line-height: 1.2; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8); }
.seb-cell__brand small { color: #ccd1e4; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; }
.seb-cell__brand img { width: min(62%, 132px); height: auto; }
@media (max-width: 560px) { .seb-posters { height: 400px; } }

.seb-premios { background: linear-gradient(180deg, #0a0a0c, #14101c 55%, #0a0a0c); }
.seb-premios__title { text-align: center; font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 900; margin-bottom: 44px; }
.seb-premios__grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: clamp(18px, 3vw, 40px); align-items: center; }
.seb-premios__grid > img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6); }
.seb-premios__centro { text-align: center; }
.seb-premios__centro img { width: min(78%, 330px); height: auto; border-radius: 10px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55); }
.seb-premios__hitos { list-style: none; margin-top: 26px; display: grid; gap: 16px; text-align: center; }
.seb-premios__hitos li { line-height: 1.6; color: var(--text); }
.seb-premios__hitos li::before { content: '✦'; display: block; color: var(--seb-oro); margin-bottom: 4px; }
@media (max-width: 900px) { .seb-premios__grid { grid-template-columns: 1fr 1fr; } .seb-premios__centro { grid-column: 1 / -1; order: 3; } }

.seb-metodo::before { background: linear-gradient(180deg, rgba(5, 5, 8, 0.88), rgba(5, 5, 8, 0.78) 45%, rgba(5, 5, 8, 0.92)); }
.seb-metodo__title { font-size: clamp(1.8rem, 4.2vw, 3.2rem); font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; }
.seb-metodo .caso__center > p { max-width: 68ch; margin-inline: auto; }
.seb-metodo__pasos { list-style: none; counter-reset: paso; max-width: 640px; margin: 36px auto 0; text-align: left; display: grid; gap: 14px; }
.seb-metodo__pasos li { counter-increment: paso; position: relative; padding: 14px 18px 14px 58px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(207, 194, 245, 0.25); border-radius: 10px; line-height: 1.6; }
.seb-metodo__pasos li::before { content: counter(paso); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 900; font-size: 1.5rem; color: var(--seb-lila); }
.seb-metodo__pasos strong { color: var(--seb-lila); }

/* — Capítulo Cumbre — */
.seb-intro { align-items: flex-end; }
.seb-intro .seb-hero__bg { object-position: center 30%; }
.seb-intro__titulos { position: relative; width: 100%; text-align: center; padding: 140px 16px clamp(44px, 8vh, 90px); background: linear-gradient(180deg, transparent, rgba(5, 5, 8, 0.85) 72%); }
.seb-intro__titulos h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.2rem, 5.5vw, 4.4rem); letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }
.seb-intro__titulos .eyebrow { color: var(--seb-oro); }

.seb-tarima { background: #050508; }
.seb-tarima__main { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 26px 60px rgba(0, 0, 0, 0.65); }
.seb-tarima__strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.seb-tarima__strip img { width: 100%; height: auto; border-radius: 8px; }
@media (max-width: 700px) { .seb-tarima__strip { grid-template-columns: repeat(2, 1fr); } }
.galeria__thumb { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 8px; overflow: hidden; }
.galeria__thumb img { transition: transform 0.4s ease, filter 0.4s ease; }
.galeria__thumb:hover img, .galeria__thumb:focus-visible img { transform: scale(1.07); filter: brightness(1.12); }
.galeria__thumb:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
.galeria__main.is-swap { animation: galSwap 0.5s ease; }
@keyframes galSwap { from { opacity: 0.2; transform: scale(0.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .galeria__main.is-swap { animation: none; } .galeria__thumb img { transition: none; } }

.seb-charla { background: #050508; }
.seb-serif { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.4rem, 3vw, 2.3rem); line-height: 1.4; color: #fff; text-align: center; max-width: 24ch; margin-inline: auto; margin-bottom: 40px; }
.seb-serif--left { text-align: left; margin-inline: 0; margin-bottom: 0; }
.seb-charla__fila4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); align-items: center; }
.seb-charla__fila4 img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6); transition: transform 0.35s ease; }
.seb-charla__fila4 img:hover { transform: scale(1.04) rotate(-0.6deg); }
.seb-charla__fila4--marcos img { border: 10px solid #6d5231; outline: 2px solid #3c2c17; border-radius: 2px; background: #6d5231; }
.seb-charla__nota { text-align: center; margin-top: 30px; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; }
@media (max-width: 700px) { .seb-charla__fila4 { grid-template-columns: repeat(2, 1fr); } }

.seb-split { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; justify-content: center; }
.seb-split img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 24px 55px rgba(0, 0, 0, 0.65); }
@media (max-width: 700px) { .seb-split { grid-template-columns: 1fr; } .seb-serif--left { text-align: center; margin-inline: auto; } }

.seb-casting__formula { display: grid; grid-template-columns: 1fr auto 1.35fr auto 0.8fr; gap: clamp(10px, 2vw, 24px); align-items: center; margin-bottom: 44px; }
.seb-casting__formula img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 16px 38px rgba(0, 0, 0, 0.55); }
.seb-casting__mas { font-size: clamp(1.8rem, 4vw, 3.4rem); font-weight: 900; color: #fff; }
.seb-casting__escenas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 700px) { .seb-casting__formula { grid-template-columns: 1fr; justify-items: center; } .seb-casting__formula > img { max-width: 320px; } }

.seb-xray { background: #030305; }
.seb-xray__grid { display: grid; grid-template-columns: 1fr minmax(280px, 640px) 1fr; gap: clamp(18px, 3vw, 44px); align-items: center; margin-bottom: 40px; }
.seb-xray__cara { width: 100%; height: auto; }
.seb-xray__col { display: grid; gap: 34px; justify-items: center; }
.seb-xray__col figure { text-align: center; }
.seb-xray__col img { width: clamp(64px, 7vw, 108px); height: auto; }
.seb-xray__col figcaption { margin-top: 10px; font-family: Georgia, 'Times New Roman', serif; letter-spacing: 0.14em; text-transform: uppercase; font-size: clamp(0.7rem, 1.1vw, 0.95rem); color: #fff; }
@media (max-width: 700px) { .seb-xray__grid { grid-template-columns: 1fr 1fr; } .seb-xray__cara { grid-column: 1 / -1; order: -1; } }

.seb-streaming { background: #050508; }
.seb-streaming__ui { background: #0b0b10; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 14px; padding: clamp(16px, 2.5vw, 30px); max-width: 1080px; margin: 0 auto 44px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6); }
.seb-streaming__bar { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding-bottom: 14px; margin-bottom: 18px; }
.seb-streaming__brand { font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8rem; color: var(--text-muted); }
.seb-streaming__brand strong { color: #fff; text-transform: lowercase; letter-spacing: 0; font-size: 1rem; }
.seb-streaming__menu { display: flex; gap: 20px; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.seb-streaming__menu .is-on { color: #0b0b10; background: #fff; padding: 3px 10px; border-radius: 5px; font-weight: 700; }
.seb-streaming__banner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 16px; align-items: center; }
.seb-streaming__banner img { width: 100%; height: auto; border-radius: 8px; }
.seb-streaming__season { margin: 20px 0 12px; font-weight: 800; color: #fff; }
.seb-streaming__season span { color: var(--text-muted); font-weight: 600; font-size: 0.85rem; }
.seb-streaming__eps { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.seb-streaming__eps li { display: grid; gap: 6px; }
.seb-streaming__eps img { width: 100%; height: auto; border-radius: 6px; }
.seb-streaming__eps strong { font-size: 0.72rem; line-height: 1.3; color: #fff; }
.seb-streaming__eps span { font-size: 0.66rem; color: var(--text-muted); }
@media (max-width: 900px) { .seb-streaming__eps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .seb-streaming__eps { grid-template-columns: repeat(2, 1fr); } .seb-streaming__banner { grid-template-columns: 1fr; } .seb-streaming__menu { display: none; } }

.seb-equipo__fotos { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; margin-bottom: 44px; }
.seb-equipo__fotos img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
@media (max-width: 700px) { .seb-equipo__fotos { grid-template-columns: 1fr; } }

.seb-sala { min-height: 88svh; display: flex; align-items: center; }
.seb-sala::before { background: linear-gradient(180deg, rgba(3, 3, 5, 0.55), rgba(3, 3, 5, 0.35) 45%, rgba(3, 3, 5, 0.75)); }
.seb-sala__line { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.1rem, 6vw, 5rem); letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.35; color: #fff !important; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9); }
