/* =========================================================
   BANDIDA DEL CARMEN — Design System
   Premium editorial · warm autumn palette · Bandi identity
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }

/* ---------- Tokens ---------- */
:root {
  /* Palette — drawn from Bandi's world */
  --paper:      #F3EDE1;   /* warm cream */
  --paper-2:    #EAE1D0;   /* deeper cream */
  --ink:        #17120D;   /* warm near-black */
  --ink-70:     rgba(23,18,13,.70);
  --ink-45:     rgba(23,18,13,.45);
  --line:       rgba(23,18,13,.14);
  --line-soft:  rgba(23,18,13,.08);

  --pink:       #FF3D97;   /* helmet */
  --pink-deep:  #DC1E78;
  --blue:       #1F5CFF;   /* blue eye */
  --hazel:      #C07C2C;   /* brown eye / fur */
  --green:      #2C7A57;   /* clover luck */
  --night:      #141019;   /* dark sections */
  --night-2:    #1E1826;

  /* Type */
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --serif:   "Instrument Serif", Georgia, serif;
  --sans:    "Inter", system-ui, sans-serif;

  /* Layout */
  --pad: clamp(20px, 5vw, 88px);
  --maxw: 1320px;
  --radius: 22px;
  --radius-sm: 14px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- Base ---------- */
html, body { background: var(--paper); color: var(--ink); }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Hide native cursor only when JS is active (custom cursor takes over) */
html.js body { cursor: none; }
@media (max-width: 900px) { html.js body { cursor: auto; } }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Custom cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; will-change: transform; }
.cursor__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ink);
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease), background .25s;
}
.cursor__ring {
  position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--ink); transform: translate(-50%, -50%);
  transition: width .3s var(--ease), height .3s var(--ease), border-color .3s, background .3s, opacity .3s;
}
body.cursor-hover .cursor__ring { width: 74px; height: 74px; background: var(--pink); border-color: var(--pink); mix-blend-mode: normal; opacity: .18; }
body.cursor-hover .cursor__dot { background: var(--pink); }
.cursor__label {
  position: absolute; top: 0; left: 0; transform: translate(-50%,-50%) scale(.6);
  color: #fff; font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: .04em;
  white-space: nowrap; opacity: 0; transition: opacity .25s, transform .25s var(--ease);
}
body.cursor-cta .cursor__ring { width: 92px; height: 92px; background: var(--ink); border-color: var(--ink); opacity: 1; }
body.cursor-cta .cursor__dot { opacity: 0; }
body.cursor-cta .cursor__label { opacity: 1; transform: translate(-50%,-50%) scale(1); }
@media (max-width: 900px) { .cursor { display: none; } }

/* Bandi en bici siguiendo el cursor */
.cursor-bandi {
  position: fixed; top: 0; left: 0; z-index: 9997; width: 52px; height: 52px;
  pointer-events: none; will-change: transform; opacity: 0;
  filter: drop-shadow(0 6px 10px rgba(23,18,13,.35));
  transition: opacity .4s var(--ease);
}
.cursor-bandi.on { opacity: 1; }
@media (max-width: 900px) { .cursor-bandi { display: none; } }
@media (prefers-reduced-motion: reduce) { .cursor-bandi { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s;
}
.nav.scrolled {
  background: rgba(243,237,225,.82); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 12px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.nav__brand img { width: 34px; height: 34px; border-radius: 50%; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-weight: 500; font-size: 15px; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--pink);
  transition: width .3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--paper); padding: 11px 20px; border-radius: 100px;
  font-weight: 600; font-size: 14px; letter-spacing: .01em;
  transition: transform .3s var(--ease), background .3s;
}
.nav__cta:hover { background: var(--pink-deep); transform: translateY(-2px); }
.nav__burger { display: none; }
@media (max-width: 900px) {
  .nav__links { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; position: relative;
  padding: 16px 30px; border-radius: 100px; font-weight: 600; font-size: 15px;
  letter-spacing: .01em; overflow: hidden; will-change: transform;
}
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--pink { background: var(--pink); color: #fff; }
.btn--ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn span { position: relative; z-index: 2; transition: color .35s; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit;
  background: var(--pink-deep); transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.btn--pink::before { background: var(--ink); }
.btn--ghost::before { background: var(--ink); }
.btn:hover::before { transform: translateY(0); }
.btn--ghost:hover span, .btn:hover span { color: #fff; }
.btn--dark:hover span { color: #fff; }
.btn__arrow { transition: transform .35s var(--ease); position: relative; z-index: 2; }
.btn:hover .btn__arrow { transform: translate(4px,-4px); }

/* ---------- Reveal animation (progressive enhancement) ----------
   Content is visible by default; only hidden/animated when JS is active
   (html.js). This guarantees the page renders even if JS never runs. */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: .08s; }
.js [data-reveal-delay="2"] { transition-delay: .16s; }
.js [data-reveal-delay="3"] { transition-delay: .24s; }
.js [data-reveal-delay="4"] { transition-delay: .32s; }
.js [data-reveal-delay="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto; }
}

/* Line-by-line mask reveal for big headings */
.mask { display: block; overflow: hidden; }
.mask > span { display: block; }
.js .mask > span { transform: translateY(110%); transition: transform 1s var(--ease-out); }
.js .mask.in > span { transform: none; }
.mask.d1 > span { transition-delay: .08s; }
.mask.d2 > span { transition-delay: .16s; }
.mask.d3 > span { transition-delay: .24s; }

/* ---------- Section heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-70);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--pink); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1.5px solid var(--ink); background: var(--ink); color: var(--paper); }
.marquee__track { display: flex; gap: 0; white-space: nowrap; will-change: transform; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: 26px; padding: 16px 0; font-family: var(--display); font-weight: 600; font-size: clamp(18px, 2.4vw, 30px); letter-spacing: -.01em; }
.marquee__track span::after { content: "✳"; color: var(--pink); margin-inline: 26px; font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ HERO (home) ============ */
.hero { position: relative; padding-top: 150px; padding-bottom: 60px; }
.hero__title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(64px, 15.5vw, 260px); line-height: .84; letter-spacing: -.04em;
}
.hero__title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--pink); }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-top: 26px; }
.hero__lead { max-width: 46ch; font-size: clamp(16px, 2vw, 20px); color: var(--ink-70); }
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero__media {
  position: relative; margin-top: 48px; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(23,18,13,.55);
}
.hero__media img { width: 100%; height: clamp(320px, 56vw, 640px); object-fit: cover; object-position: center 32%; will-change: transform; transform: scale(1.08); }
.hero__chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(243,237,225,.9); backdrop-filter: blur(8px);
  padding: 9px 15px; border-radius: 100px; font-weight: 600; font-size: 13px;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.4); will-change: transform;
}
.hero__chip i { width: 10px; height: 10px; border-radius: 50%; }
.hero__chip.blue { top: 22%; right: 12%; }
.hero__chip.blue i { background: var(--blue); }
.hero__chip.hazel { top: 40%; right: 6%; }
.hero__chip.hazel i { background: var(--hazel); }
.hero__chip.pink { top: 14%; right: 30%; }
.hero__chip.pink i { background: var(--pink); }
.hero__chip.luck { bottom: 8%; left: 6%; background: var(--green); color: #fff; }
.hero__chip.luck i { background: #fff; }
@media (max-width: 700px) { .hero__chip.pink, .hero__chip.hazel { display: none; } .hero__chip.blue { top: 6%; right: 6%; } }

.hero__scroll { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-45); }
.hero__scroll .dot { width: 20px; height: 32px; border: 1.5px solid var(--ink-45); border-radius: 12px; position: relative; }
.hero__scroll .dot::after { content: ""; position: absolute; top: 6px; left: 50%; width: 3px; height: 6px; border-radius: 3px; background: var(--ink); transform: translateX(-50%); animation: scrolldot 1.6s var(--ease) infinite; }
@keyframes scrolldot { 0% { opacity: 0; top: 5px; } 40% { opacity: 1; } 80% { opacity: 0; top: 16px; } 100% { opacity: 0; } }

/* ============ HUB grid ============ */
.section { padding-block: clamp(70px, 10vw, 140px); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 46px; }
.section__title { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 6vw, 76px); line-height: .95; letter-spacing: -.03em; max-width: 16ch; }
.section__title em { font-family: var(--serif); font-style: italic; font-weight: 400; }

.hub { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card {
  position: relative; grid-column: span 4; min-height: 300px; border-radius: var(--radius);
  padding: 26px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  border: 1.5px solid var(--line); background: var(--paper-2);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
  will-change: transform;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -34px rgba(23,18,13,.5); border-color: transparent; }
.card__num { font-family: var(--display); font-size: 14px; font-weight: 600; color: var(--ink-45); }
.card__body { margin-top: auto; }
.card__title { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.02em; line-height: 1; }
.card__desc { margin-top: 10px; font-size: 15px; color: var(--ink-70); max-width: 28ch; }
.card__go {
  position: absolute; top: 24px; right: 24px; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--line); display: grid; place-items: center;
  transition: background .4s, border-color .4s, transform .4s var(--ease);
}
.card:hover .card__go { transform: rotate(0) scale(1.05); }
.card__go svg { transition: transform .4s var(--ease); }
.card:hover .card__go svg { transform: translate(3px,-3px); }

/* card color themes */
.card--pink:hover  { background: var(--pink);  color: #fff; }
.card--blue:hover  { background: var(--blue);  color: #fff; }
.card--hazel:hover { background: var(--hazel); color: #fff; }
.card--green:hover { background: var(--green); color: #fff; }
.card--ink:hover   { background: var(--ink);   color: var(--paper); }
.card:hover .card__num, .card:hover .card__desc { color: rgba(255,255,255,.72); }
.card:hover .card__go { background: rgba(255,255,255,.16); border-color: transparent; }
.card--ink:hover .card__go { background: rgba(255,255,255,.14); }

/* spans */
.card.span-6 { grid-column: span 6; }
.card.span-8 { grid-column: span 8; }
.card.span-4 { grid-column: span 4; }
.card.tall { min-height: 420px; }
@media (max-width: 900px) { .card, .card.span-6, .card.span-8, .card.span-4 { grid-column: span 6; } .hub { gap: 12px; } }
@media (max-width: 620px) { .card, .card.span-6, .card.span-8, .card.span-4 { grid-column: span 12; min-height: 210px; } }

/* watermark emoji inside featured card */
.card__mark { position: absolute; right: -10px; bottom: -20px; font-size: 140px; opacity: .12; line-height: 1; transition: transform .6s var(--ease-out), opacity .4s; }
.card:hover .card__mark { transform: translateY(-8px) rotate(-6deg); opacity: .2; }

/* ============ Stats ============ */
.stats { background: var(--night); color: var(--paper); border-radius: var(--radius); padding: clamp(36px,6vw,72px); position: relative; overflow: hidden; }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.stat__num { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 8vw, 108px); line-height: 1; letter-spacing: -.04em; }
.stat__num .u { color: var(--pink); }
.stat__label { margin-top: 8px; color: rgba(243,237,225,.6); font-size: 15px; font-weight: 500; }
@media (max-width: 760px) { .stats__grid { grid-template-columns: 1fr; gap: 26px; } }

/* ============ Manifesto ============ */
.manifesto { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 5vw, 62px); line-height: 1.08; letter-spacing: -.025em; max-width: 20ch; }
.manifesto em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--pink); }
.manifesto .hl { color: var(--ink-45); }

/* ============ BandiTour map ============ */
.tour {
  background: var(--night); color: var(--paper); border-radius: var(--radius);
  padding: clamp(28px,5vw,64px); position: relative; overflow: hidden;
}
.eyebrow--light { color: rgba(243,237,225,.75); }
.tour__title { font-family: var(--display); font-weight: 800; font-size: clamp(30px,5vw,62px); line-height: .98; letter-spacing: -.03em; margin-top: 16px; max-width: 16ch; }
.tour__title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--pink); }
.tour__lead { margin-top: 16px; color: rgba(243,237,225,.68); max-width: 46ch; font-size: clamp(15px,1.6vw,18px); }

.tour__stage { display: grid; grid-template-columns: minmax(150px,230px) 1fr; gap: clamp(24px,4vw,56px); align-items: center; margin-top: clamp(28px,4vw,48px); }
.tour__map { display: flex; justify-content: center; position: relative; }
.tour__zoom { position: absolute; top: 4px; right: 4px; z-index: 3; display: flex; flex-direction: column; gap: 6px; }
.tour__zoom button { width: 38px; height: 38px; border-radius: 11px; background: rgba(243,237,225,.10); border: 1px solid rgba(243,237,225,.22); color: var(--paper); font-size: 19px; font-weight: 600; line-height: 1; display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .25s var(--ease), border-color .25s, transform .2s var(--ease); }
.tour__zoom button:hover { background: var(--pink); border-color: var(--pink); transform: translateY(-1px); }
.tour__svg { height: clamp(400px, 58vh, 620px); width: auto; overflow: visible; cursor: grab; touch-action: none; }
.tour__svg.is-grab { cursor: grabbing; }
.tour__land { fill: rgba(243,237,225,.05); stroke: rgba(243,237,225,.30); stroke-width: 1.1; stroke-linejoin: round; }
.tour__route { fill: none; stroke: var(--pink); stroke-width: 2.4; stroke-dasharray: 4 7; stroke-linecap: round; opacity: .9; }
.tour__pinpulse { fill: var(--pink); opacity: .0; transform-box: fill-box; transform-origin: center; }
.tour__pin.is-active + .tour__pinpulse, .tour__pinpulse.on { animation: tourpulse 2.4s ease-out infinite; }
@keyframes tourpulse { 0% { opacity: .5; transform: scale(.6); } 70% { opacity: 0; transform: scale(2.6); } 100% { opacity: 0; } }
.tour__pin { fill: var(--pink); stroke: var(--night); stroke-width: 1.5; transition: r .3s var(--ease), fill .3s; }
.tour__pin.is-active { fill: #fff; r: 8; }
.tour__hit { fill: transparent; cursor: pointer; }

.tour__side { display: flex; flex-direction: column; gap: 22px; }
.tour__list { display: flex; flex-wrap: wrap; gap: 8px; }
.tour__chip { border: 1px solid rgba(243,237,225,.2); color: rgba(243,237,225,.72); background: transparent; border-radius: 100px; padding: 8px 15px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease); }
.tour__chip:hover { border-color: var(--pink); color: #fff; transform: translateY(-2px); }
.tour__chip.is-active { background: var(--pink); border-color: var(--pink); color: #fff; }
.tour__panel { border: 1px solid rgba(243,237,225,.16); border-radius: var(--radius-sm); padding: 20px; background: rgba(243,237,225,.04); max-width: 420px; }
.tour__panel-media { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 9/16; max-height: 300px; margin: 0 auto 16px; background: linear-gradient(150deg, var(--pink), #7a1f52); display: grid; place-items: center; }
.tour__panel-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.tour__panel-ph { color: rgba(255,255,255,.9); font-weight: 700; font-size: 14px; letter-spacing: .02em; }
a.tour__panel-media { cursor: pointer; }
.tour__play { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(18,12,20,.42); backdrop-filter: blur(4px); border: 1.6px solid rgba(255,255,255,.78); pointer-events: none; transition: transform .35s var(--ease), background .35s, border-color .35s; }
.tour__play svg { width: 24px; height: 24px; margin-left: 3px; }
a.tour__panel-media:hover .tour__play { transform: translate(-50%,-50%) scale(1.12); background: var(--pink); border-color: var(--pink); }
a.tour__panel-media:hover img { transform: scale(1.05); }
.tour__panel-city { font-family: var(--display); font-weight: 700; font-size: clamp(24px,3vw,34px); letter-spacing: -.02em; line-height: 1; }
.tour__panel-sub { margin-top: 6px; color: rgba(243,237,225,.55); font-size: 14px; font-weight: 500; }
.tour__panel-link { margin-top: 18px; padding: 13px 24px; font-size: 14px; }
.tour__panel-soon { display: inline-block; margin-top: 18px; color: rgba(243,237,225,.5); font-weight: 600; font-size: 14px; }
@media (max-width: 820px) {
  .tour__stage { grid-template-columns: 1fr; gap: 30px; }
  .tour__svg { height: 460px; }
  .tour__panel { max-width: none; }
}

/* ============ Entrevistas ============ */
.iv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.iv-card { display: flex; flex-direction: column; }
.iv-card--feat { margin-bottom: 4px; margin-top: clamp(16px, 3vw, 36px); }
.iv-media {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: var(--night); cursor: pointer;
}
.iv-card--feat .iv-media { aspect-ratio: 21 / 9; }
.iv-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.iv-card:hover .iv-media img { transform: scale(1.04); }
.iv-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.iv-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(18,12,20,.4); backdrop-filter: blur(4px); border: 1.6px solid rgba(255,255,255,.8);
  pointer-events: none; transition: transform .35s var(--ease), background .35s, border-color .35s;
}
.iv-media:hover .iv-play { transform: translate(-50%,-50%) scale(1.12); background: var(--pink); border-color: var(--pink); }
.iv-play svg { width: 26px; height: 26px; margin-left: 3px; }
.iv-media.is-playing { cursor: default; }
.iv-media.is-playing .iv-play { display: none; }
.iv-tag { margin-top: 16px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); }
.iv-title { margin-top: 7px; font-family: var(--display); font-weight: 700; font-size: clamp(18px,2vw,24px); line-height: 1.18; letter-spacing: -.02em; }
.iv-card--feat .iv-title { font-size: clamp(26px,3.4vw,46px); }
@media (max-width: 860px) { .iv-grid { grid-template-columns: 1fr; } .iv-card--feat .iv-media { aspect-ratio: 16 / 9; } }

.iv-press {
  display: grid; grid-template-columns: minmax(240px, 360px) 1fr; align-items: stretch;
  border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper-2);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.iv-press:hover { transform: translateY(-5px); box-shadow: 0 34px 60px -34px rgba(23,18,13,.4); }
.iv-press__img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.iv-press__body { padding: clamp(26px,4vw,52px); display: flex; flex-direction: column; justify-content: center; }
.iv-press__title { font-family: var(--display); font-weight: 700; font-size: clamp(22px,3vw,38px); line-height: 1.12; letter-spacing: -.02em; margin: 8px 0 18px; }
.iv-press__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.iv-press:hover .iv-press__link .btn__arrow { transform: translate(3px,-3px); }
.iv-press__link .btn__arrow { transition: transform .35s var(--ease); }
@media (max-width: 720px) { .iv-press { grid-template-columns: 1fr; } .iv-press__img { min-height: 200px; max-height: 260px; } }

/* ============ Footer ============ */
.footer { background: var(--night); color: var(--paper); padding-top: clamp(60px,9vw,110px); padding-bottom: 30px; }
.footer__big { font-family: var(--display); font-weight: 800; font-size: clamp(52px, 15vw, 220px); line-height: .82; letter-spacing: -.04em; }
.footer__big em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--pink); }
.footer__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-top: 48px; padding-top: 30px; border-top: 1px solid rgba(243,237,225,.16); }
.footer__socials { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__socials a { font-weight: 600; position: relative; }
.footer__socials a::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0; background: var(--pink); transition: width .3s var(--ease); }
.footer__socials a:hover::after { width: 100%; }
.footer__meta { color: rgba(243,237,225,.5); font-size: 14px; }

/* ============ PUBLICIDAD page ============ */
.ad-hero { padding-top: 150px; }
.ad-hero__title { font-family: var(--display); font-weight: 800; font-size: clamp(52px, 11vw, 170px); line-height: .86; letter-spacing: -.04em; }
.ad-hero__title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--pink); }

.pill { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 100px; padding: 8px 16px; font-weight: 600; font-size: 13px; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(44,122,87,.5); } 70% { box-shadow: 0 0 0 10px rgba(44,122,87,0); } 100% { box-shadow: 0 0 0 0 rgba(44,122,87,0); } }

.reach { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.reach__item { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 30px; transition: background .4s, color .4s, transform .4s var(--ease); }
.reach__item:hover { transform: translateY(-6px); }
.reach__item .n { font-family: var(--display); font-weight: 800; font-size: clamp(40px,6vw,74px); line-height: 1; letter-spacing: -.03em; }
.reach__item .l { margin-top: 10px; color: var(--ink-70); font-weight: 500; }
@media (max-width: 760px) { .reach { grid-template-columns: 1fr; } }

/* platform cards */
.plat { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.plat__card { border-radius: var(--radius); padding: 30px; color: #fff; position: relative; overflow: hidden; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; }
.plat__card.ig { background: linear-gradient(135deg,#833AB4,#E1306C 55%,#F77737); }
.plat__card.tt { background: linear-gradient(135deg,#010101,#25F4EE 90%); }
.plat__card.fb { background: linear-gradient(135deg,#1877F2,#0a4bb3); }
.plat__name { font-weight: 700; font-size: 20px; }
.plat__stat { display: flex; justify-content: space-between; gap: 12px; }
.plat__stat .n { font-family: var(--display); font-weight: 800; font-size: clamp(28px,4vw,44px); line-height: 1; }
.plat__stat .l { font-size: 12px; opacity: .8; text-transform: uppercase; letter-spacing: .08em; align-self: flex-end; }
@media (max-width: 760px) { .plat { grid-template-columns: 1fr; } }

/* brand wall */
.brandwall { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; }
.brandwall__item {
  aspect-ratio: 1; background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); display: grid; place-items: center; padding: 16%;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.brandwall__item:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -22px rgba(23,18,13,.4); border-color: transparent; }
.brandwall__item img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 760px) { .brandwall { grid-template-columns: repeat(3,1fr); } }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.quote { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--paper-2); }
.quote__stars { color: var(--pink); letter-spacing: 2px; font-size: 15px; }
.quote__text { font-family: var(--display); font-weight: 500; font-size: clamp(19px,2.2vw,26px); line-height: 1.28; letter-spacing: -.01em; margin: 16px 0 22px; }
.quote__who { display: flex; align-items: center; gap: 13px; font-weight: 600; color: var(--ink-70); }
.quote__logo { width: 46px; height: 46px; flex: none; border-radius: 12px; object-fit: contain; background: #fff; padding: 5px; border: 1px solid var(--line); }
.quote__who strong { color: var(--ink); font-weight: 700; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

/* cases — reel showcase cards */
.cases { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.case {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--night); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; will-change: transform;
}
.case__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 26%;
  transition: transform .9s var(--ease-out);
}
.case:hover .case__img { transform: scale(1.06); }
.case::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(12,9,16,.94) 4%, rgba(12,9,16,.5) 34%, rgba(12,9,16,0) 62%);
}
.case > * { position: relative; z-index: 2; }
.case__brand {
  position: absolute; top: 18px; left: 18px;
  background: rgba(243,237,225,.94); color: var(--ink);
  padding: 8px 15px; border-radius: 100px; font-weight: 700; font-size: 13px;
  box-shadow: 0 6px 20px -8px rgba(0,0,0,.5);
}
.case__meta { padding: 32px; }
.case .n { font-family: var(--display); font-weight: 800; font-size: clamp(44px,6vw,82px); line-height: .9; letter-spacing: -.03em; }
.case .n .u { color: var(--pink); }
.case .l { margin-top: 8px; color: rgba(255,255,255,.82); font-weight: 500; font-size: 15px; max-width: 30ch; }
@media (max-width: 620px) { .cases { grid-template-columns: 1fr; } .case { aspect-ratio: 3 / 4; } }

/* CTA band */
.ctaband { background: var(--pink); color: #fff; border-radius: var(--radius); padding: clamp(40px,7vw,90px); text-align: center; }
.ctaband h2 { font-family: var(--display); font-weight: 800; font-size: clamp(36px,7vw,90px); line-height: .95; letter-spacing: -.03em; }
.ctaband h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.ctaband .btn--dark { margin-top: 30px; }

/* back link */
.backlink { position: fixed; top: 18px; z-index: 101; }

/* utility */
.center { text-align: center; }
.mt-s { margin-top: 18px; } .mt-m { margin-top: 34px; } .mt-l { margin-top: 60px; }
.lead { font-size: clamp(17px,2vw,21px); color: var(--ink-70); max-width: 60ch; }
