/* ==================================================================
   AdWizards v3 — "Feed to Film", built from scratch.
   Tokens: .claude/skills/adwizards-design/DESIGN.md
   ================================================================== */

:root {
  --bg: #060608;
  --bg-elev: #0b0b0f;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --ink: #f2f2ef;
  --ink-2: rgba(242, 242, 239, 0.64);
  --ink-3: rgba(242, 242, 239, 0.4);
  --blue: #7c5cff;
  --pink: #c77dff;
  --silver: #c9cbd1;
  --grad: linear-gradient(90deg, var(--blue), var(--pink));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-d: "Poppins", sans-serif;
  --font-b: "Atkinson Hyperlegible", sans-serif;
  --font-m: "IBM Plex Mono", ui-monospace, monospace;
  --pad: clamp(20px, 4vw, 48px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--blue); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.14); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }

img, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* film grain */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(6) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-6%, 4%); }
  40% { transform: translate(4%, -6%); }
  60% { transform: translate(-4%, -4%); }
  80% { transform: translate(6%, 6%); }
}

/* preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: transform 0.75s cubic-bezier(0.7, 0, 0.2, 1);
}

.preloader.done { transform: translateY(-101%); pointer-events: none; }

#pre-count { font-size: 13px; letter-spacing: 0.3em; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* custom cursor (desktop pointer only; JS enables) */
.cursor {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 400;
}

body.has-cursor .cursor { display: block; }

/* global scroll progress hairline */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 200;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* ---------- primitives ---------- */

.mono {
  font-family: var(--font-m);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}

/* :not(.w-container) — el container del hero de Webflow se estila solo */
.container:not(.w-container) { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }

.section { padding: clamp(80px, 9vw, 130px) 0; position: relative; }

/* ritmo: aire entre el hero de produccion y la banda de marcas */
.hero-section { padding-bottom: 130px !important; }
.hero-section .large-button-block { margin-top: 44px !important; }

/* la seccion de work de produccion trae su propio padding enorme */
#community.section { padding: 40px 0 80px; }

.eyebrow { display: block; margin-bottom: 22px; }

h1, h2, h3 { font-family: var(--font-d); font-weight: 600; color: var(--ink); }

h2 {
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.h2-small { font-size: clamp(26px, 3.4vw, 40px); }

/* word-split reveal (JS wraps words) */
h2 .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
h2 .wi { display: inline-block; will-change: transform; }

.sec-head { margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head-center { text-align: center; }
.sec-head-center .sec-sub { margin-inline: auto; }

.sec-sub {
  margin-top: 20px;
  max-width: 560px;
  color: var(--ink-2);
}

.grad {
  background: linear-gradient(110deg, #9d7bff 0%, #cdb8ff 30%, #e2a6ff 50%, #9d7bff 80%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: grad-sheen 7s ease-in-out infinite;
}

@keyframes grad-sheen {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}

@media (prefers-reduced-motion: reduce) { .grad { animation: none; } }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-d);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 14px 26px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), filter 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.4); }

/* CTA primario: violeta con shimmer animado (mismo sistema que los textos) */
.btn-primary {
  background: linear-gradient(110deg, #8467ff 0%, #9d7bff 28%, #6a48f2 52%, #5d3ce8 74%, #8467ff 100%);
  background-size: 220% 100%;
  animation: grad-sheen 7s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 26px rgba(104, 72, 242, 0.35);
}

.btn-primary:hover {
  animation-duration: 2.4s;
  filter: brightness(1.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 10px 32px rgba(104, 72, 242, 0.52);
}

@media (prefers-reduced-motion: reduce) { .btn-primary { animation: none; } }

.btn-ghost { background: rgba(255,255,255,0.02); backdrop-filter: blur(6px); }
.btn-ghost .mono { color: var(--ink-3); letter-spacing: 0.08em; }

.btn-silver { border-color: rgba(201,203,209,0.4); color: var(--silver); }
.btn-silver:hover { border-color: rgba(201,203,209,0.85); }

/* hover-paint: los botones de planes/oferta se pintan con el gradiente animado */
.plan .btn-ghost:hover,
.enterprise .btn-silver:hover,
.agency-band .btn-silver:hover,
.cap .btn:hover {
  background: linear-gradient(110deg, #8467ff 0%, #9d7bff 28%, #6a48f2 52%, #5d3ce8 74%, #8467ff 100%);
  background-size: 220% 100%;
  animation: grad-sheen 2.4s ease-in-out infinite;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 26px rgba(104, 72, 242, 0.4);
}

.plan .btn-ghost:hover .mono { color: rgba(255, 255, 255, 0.75); }

@media (prefers-reduced-motion: reduce) {
  .plan .btn-ghost:hover, .enterprise .btn-silver:hover, .agency-band .btn-silver:hover, .cap .btn:hover { animation: none; }
}

.btn-block { width: 100%; }
.btn-lg { padding: 18px 34px; font-size: 17px; }

/* reveals (JS toggles .in) */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .grain { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==================================================================
   NAV
   ================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--pad);
  background: linear-gradient(rgba(6, 6, 8, 0.82), rgba(6, 6, 8, 0.55) 70%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.4s var(--ease);
}

.nav.nav-hidden { transform: translateY(-110%); }

.nav-brand { display: flex; align-items: baseline; gap: 12px; }

.nav-wordmark {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav-tag {
  font-size: 10px;
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
}

.nav-links { display: flex; gap: 34px; }

.nav-links a {
  font-family: var(--font-d);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta-wrap { display: flex; align-items: center; gap: 14px; }

.nav-burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  cursor: pointer;
}

.nav-burger span { width: 24px; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.3s; }

.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(6, 6, 8, 0.97);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a:not(.btn) {
  font-family: var(--font-d);
  font-size: 30px;
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta-wrap .btn { display: none; }
  .nav-burger { display: flex; }
}

/* ==================================================================
   HERO — Feed to Film
   ================================================================== */

.hero { height: 280vh; position: relative; }

.hero-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* the production hero, rebuilt: violet glow + straight row of 5 ads under
   the headline; columns parallax up and the phone catches the center one */
.hero-glow {
  position: absolute;
  left: 50%;
  top: -22vh;
  transform: translateX(-50%);
  width: 1300px;
  height: 900px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%,
      rgba(124, 58, 237, 0.34) 0%,
      rgba(92, 124, 255, 0.14) 45%,
      rgba(232, 75, 122, 0.06) 65%,
      transparent 78%);
}

.hero-fan {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(1300px, 90vw);
  height: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  padding-top: 62vh;
  z-index: 1;
}

.fan-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  will-change: transform;
}

.fan-col video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #0a0a0d;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 68% 58% at 50% 46%, rgba(6, 6, 8, 0.88) 0%, rgba(6, 6, 8, 0.62) 55%, rgba(6, 6, 8, 0.28) 100%),
    linear-gradient(rgba(6, 6, 8, 0.5), rgba(6, 6, 8, 0.28) 30%, rgba(6, 6, 8, 0.55) 100%);
}

/* headline above the row — production's single line with the rotating word */
.hero-copy {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 19vh var(--pad) 0;
  will-change: transform, opacity;
}

.hero-h1 {
  font-family: var(--font-d);
  font-size: clamp(34px, 5.2vw, 74px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
}

.rot-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  white-space: nowrap;
  transition: width 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rot-word {
  display: inline-block;
  padding-right: 0.06em;
  will-change: opacity, transform;
}

/* second act: appears when the phone catches the feed */
.hero-stage2 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 255px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
}

.hero-stage2.live { pointer-events: auto; }

.stage2-line {
  font-family: var(--font-d);
  font-size: clamp(16px, 1.8vw, 24px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: var(--ink-2);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 12px #4ade80;
  animation: pulse 2.4s ease infinite;
}

@keyframes pulse { 50% { opacity: 0.35; } }

.hero-title {
  font-size: clamp(36px, 6.2vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-line { display: block; overflow: hidden; }

.hero-line span, .hero-line em { display: inline-block; font-style: normal; }

.hero-line span { color: var(--ink-3); font-weight: 500; }

.hero-line em.grad { padding-right: 0.05em; }

.hero-sub {
  margin: 22px auto 28px;
  max-width: 620px;
  color: var(--ink-2);
  font-size: clamp(15px, 1.4vw, 17px);
}

.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* the phone that rides up and catches the feed (like production's mockup) */
.hero-film {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 272px;
  aspect-ratio: 9 / 18.5;
  transform: translate(-50%, 90%);
  border-radius: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.65);
  will-change: transform;
}

.hero-film video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- REEL BAND: feed -> film ---------- */

.reel-band {
  padding: clamp(80px, 9vw, 130px) 0 clamp(70px, 8vw, 110px);
  overflow: hidden;
}

.reel-head {
  text-align: center;
  margin-bottom: 56px;
  padding: 0 var(--pad);
}

.reel-head .sec-sub { margin: 18px auto 0; }

.reel-frame {
  position: relative;
  width: min(1400px, 96vw);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  clip-path: inset(0% 31.8% 0% 31.8% round 26px);
}

.reel-frame video { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 767px), (prefers-reduced-motion: reduce) {
  .reel-frame { clip-path: none; }
}

.film-hud {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
}

.film-hud .mono { color: rgba(255, 255, 255, 0.85); }

.btn-sound {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s;
}

.btn-sound:hover { background: rgba(0, 0, 0, 0.7); border-color: rgba(255,255,255,0.4); }

.hero-scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: var(--ink-3);
  animation: hint 2.6s ease infinite;
}

@keyframes hint { 50% { opacity: 0.3; transform: translateX(-50%) translateY(4px); } }

/* mobile hero: no pin, static composition */
@media (max-width: 767px), (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero-pin { position: relative; height: auto; min-height: 100vh; padding: 120px 0 60px; display: flex; flex-direction: column; justify-content: flex-start; gap: 44px; }
  .hero-fan { position: absolute; inset: 0; opacity: 0.4; grid-template-columns: repeat(3, 1fr); padding-top: 0; transform: translateX(-50%); }
  .fan-col:nth-child(n+4) { display: none; }
  .hero-copy { padding-top: 0; }
  .hero-veil { opacity: 1; }

  .hero-film {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: min(240px, 64vw);
    margin: 0 auto;
  }

  .hero-stage2 {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .hero-h1 { white-space: normal; }
  .hero-scroll-hint { display: none; }
}

/* ==================================================================
   MARQUEE
   ================================================================== */

.marquee-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  overflow: hidden;
  background: var(--bg-elev);
}

.marquee { overflow: hidden; }

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 38px;
  white-space: nowrap;
  will-change: transform;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--silver);
}

.marquee-track i { font-style: normal; color: var(--ink-3); font-size: 10px; }

/* ==================================================================
   CAPABILITIES
   ================================================================== */

.caps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 820px) { .caps-grid { grid-template-columns: 1fr; } }

.cap {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 34px 38px;
  overflow: hidden;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.cap:hover { background: var(--surface-2); border-color: var(--line-2); transform: translateY(-4px); }

.cap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.cap:hover::before { transform: scaleX(1); }

.cap-top { display: flex; justify-content: space-between; margin-bottom: 40px; }

.cap-meta { color: var(--ink-3); }

.cap h3 { font-size: 22px; margin-bottom: 12px; }

.cap p { color: var(--ink-2); font-size: 15.5px; max-width: 480px; }

.cap-cta { margin-top: 26px; padding: 12px 22px; font-size: 14px; }

.cap-arrow { transition: transform 0.3s var(--ease); display: inline-block; }

.cap-cta:hover .cap-arrow { transform: translateX(5px); }

/* banda agencias dentro de la oferta */
.agency-band {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 280px 1fr auto;
  align-items: center;
  gap: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 36px;
}

@media (max-width: 991px) { .agency-band { grid-template-columns: 1fr; gap: 18px; } }

.agency-band h3 { font-size: 22px; }

.agency-copy { color: var(--ink-2); font-size: 15px; max-width: 560px; }

/* ---------- STATS BAND ---------- */

.stats-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
  padding: clamp(48px, 6vw, 84px) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 820px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; } }

.stat { display: flex; flex-direction: column; gap: 10px; text-align: center; }

.stat-num {
  font-family: var(--font-d);
  font-size: clamp(36px, 4.6vw, 62px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stat-label { color: var(--ink-3); }

/* ==================================================================
   THE FEED — horizontal wall
   ================================================================== */

.feed-sec { position: relative; }

.feed-pin { padding: 84px 0 64px; overflow: hidden; }

.feed-pin .sec-head { margin-bottom: 44px; }

.feed-row {
  display: flex;
  gap: clamp(14px, 1.6vw, 24px);
  padding: 0 var(--pad);
  will-change: transform;
  width: max-content;
}

.feed-card {
  position: relative;
  width: clamp(190px, 19vw, 264px);
  flex-shrink: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.feed-card:hover { transform: translateY(-8px); border-color: var(--line-2); }

.feed-card video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }

.feed-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
}

.feed-card-last { border-style: dashed; border-color: var(--line-2); }

.feed-more {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  height: 100%;
  aspect-ratio: 9 / 16;
  padding: 24px;
  text-align: left;
}

.feed-more strong { font-family: var(--font-d); font-size: 22px; line-height: 1.25; font-weight: 600; }

.feed-more-arrow { font-size: 28px; transition: transform 0.3s var(--ease); }

.feed-card-last:hover .feed-more-arrow { transform: translateX(8px); }

/* feed HUD: progress bar + counter */
.feed-hud {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.feed-progress {
  flex: 1;
  height: 1.5px;
  background: var(--line);
  border-radius: 1px;
  overflow: hidden;
}

.feed-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
}

.feed-count { flex-shrink: 0; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* mobile: native swipe */
@media (max-width: 767px), (prefers-reduced-motion: reduce) {
  .feed-row { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 12px; }
  .feed-card { scroll-snap-align: start; }
  .feed-hud { display: none; }
}

/* ==================================================================
   THE FILMS
   ================================================================== */

.films-list {
  display: grid;
  gap: clamp(56px, 7vw, 96px);
  /* overflow must stay visible: sticky peel needs it — ghosts clip themselves */
}

@media (min-width: 768px) {
  .films-list .film {
    position: sticky;
    top: 9vh;
    transform-origin: center top;
    background: var(--bg); /* incoming film covers the pinned one */
  }
}

.film { position: relative; width: min(1400px, 94vw); margin: 0 auto; }

/* giant ghost client name parallaxing behind each film */
.film-ghost {
  position: absolute;
  top: -0.42em;
  left: 0;
  right: 0;
  overflow: hidden; /* outer box clips; the inner span carries the parallax */
  z-index: 0;
  pointer-events: none;
}

.film-ghost span {
  display: inline-block;
  will-change: transform;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(70px, 11vw, 170px);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.10);
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.film-frame { position: relative; z-index: 1; }

.film-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  cursor: pointer;
}

.film-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
}

.film.playing .film-frame video { transform: none; }

.film-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: fit-content;
  height: fit-content;
  font-family: var(--font-m);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 16px 30px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform 0.25s var(--ease), background 0.25s;
  z-index: 2;
}

.film-frame:hover .film-play { transform: scale(1.06); background: rgba(0, 0, 0, 0.68); }

.film.playing .film-play { display: none; }

/* peel shade: oscurece el film pinned sin transparentarlo */
.film-shade {
  position: absolute;
  inset: -2px;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  border-radius: 14px;
}

/* ---------- PLATFORM ---------- */

.platform-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  cursor: pointer;
  max-width: 1080px;
  margin: 0 auto;
}

.platform-frame video { width: 100%; height: 100%; object-fit: cover; }

.platform-frame.playing .film-play { display: none; }

.platform-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1080px;
  margin: 40px auto 0;
}

@media (max-width: 900px) { .platform-points { grid-template-columns: 1fr 1fr; } }

.ppoint {
  border-top: 1px solid var(--line-2);
  padding-top: 16px;
}

.ppoint .mono { color: var(--ink-2); }

.ppoint p { margin-top: 10px; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }

.film-credit {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 28px;
  padding: 18px 6px 0;
}

.film-client { color: var(--silver); font-size: 13px; letter-spacing: 0.1em; }

.film-meta { color: var(--ink-3); }

.film[data-lowres] .film-meta::after { content: " · MASTER PENDING"; }

.film-credit p { flex-basis: 100%; margin-top: 2px; color: var(--ink-2); font-size: 15px; max-width: 640px; }

/* photography */
/* la fotografia abre como capitulo nuevo: aire grande + hairline que marca
   el corte (el credito full-bleed del ultimo film ya no choca con el header) */
.container.photo-block {
  /* .container:not(.w-container) tiene (0,2,0) y pisaba margin/padding —
     esta regla empata especificidad y gana por orden de aparición */
  margin-top: clamp(140px, 16vw, 220px);
  border-top: 1px solid var(--line);
  padding-top: clamp(70px, 8vw, 110px);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px 14px;
  grid-auto-flow: dense;
}

.photo-grid figure { position: relative; margin: 0; grid-column: span 2; }

.photo-grid figure:first-child { grid-column: span 6; }

.photo-grid .ph-wide:not(:first-child) { grid-column: span 3; }

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
  transition: filter 0.5s var(--ease);
}

.photo-grid figure:first-child img { aspect-ratio: 21 / 9; }

.photo-grid .ph-wide:not(:first-child) img { aspect-ratio: 16 / 10; }

.photo-grid figure:hover img { filter: brightness(1.12); }

/* credito editorial debajo de la foto, no encima */
.photo-grid figcaption {
  padding: 12px 2px 0;
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}

.ph-soon {
  grid-column: span 3;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 21 / 5;
  border: 1px dashed var(--line-2);
  border-radius: 14px;
}

.ph-soon span { text-align: center; line-height: 2.1; }

@media (max-width: 900px) {
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid figure, .photo-grid figure:first-child, .photo-grid .ph-wide:not(:first-child), .ph-soon { grid-column: span 2; }
}

/* ==================================================================
   PLANS
   ================================================================== */

.plans { background: var(--bg-elev); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: -20px 0 52px;
}

.toggle-label { cursor: pointer; transition: color 0.2s; }
.toggle-label.active { color: var(--ink); }

.toggle {
  width: 54px;
  height: 29px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  position: relative;
  cursor: pointer;
}

.toggle-dot {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--grad);
  transition: transform 0.3s var(--ease);
}

.toggle[aria-checked="true"] .toggle-dot { transform: translateX(25px); }

.save-tag { color: #4ade80; }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 991px) { .plans-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 30px 30px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}

.plan:hover { border-color: var(--line-2); transform: translateY(-4px); }

.plan-featured {
  background: #0e0e14;
  border-color: rgba(255, 255, 255, 0.16);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(92, 124, 255, 0.07);
}

.plan-featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
}

.plan-tag {
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 10px;
  color: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 5px 10px;
}

.plan h3 { font-size: 23px; margin-bottom: 6px; }

.plan-tagline { color: var(--ink-2); font-size: 14px; margin-bottom: 24px; min-height: 42px; }

.price-row { display: flex; align-items: baseline; gap: 8px; }

.cur { color: var(--ink-3); }

.price {
  font-family: var(--font-d);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.per { color: var(--ink-3); font-size: 14px; }

.price-note { margin: 4px 0 22px; min-height: 15px; letter-spacing: 0.06em; }

.plan-meta {
  display: flex;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}

.plan-meta span { color: var(--ink-2); font-size: 11px; }

.plan ul { list-style: none; flex: 1; margin-bottom: 28px; }

.plan li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.5;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 9px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="11" viewBox="0 0 14 11" fill="none"><path d="M4.79 7.94 12.46.27a.9.9 0 0 1 1.27 0 .9.9 0 0 1 0 1.29L5.42 9.89a.88.88 0 0 1-1.27 0L.26 6a.92.92 0 0 1 .02-1.29.9.9 0 0 1 1.29 0l3.22 3.24Z" fill="%23c9cbd1"/></svg>') no-repeat center / contain;
}

.plan .li-studio { color: var(--ink); }

.plan .li-studio::before {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="11" viewBox="0 0 14 11" fill="none"><path d="M4.79 7.94 12.46.27a.9.9 0 0 1 1.27 0 .9.9 0 0 1 0 1.29L5.42 9.89a.88.88 0 0 1-1.27 0L.26 6a.92.92 0 0 1 .02-1.29.9.9 0 0 1 1.29 0l3.22 3.24Z" fill="%23e84b7a"/></svg>') no-repeat center / contain;
}

/* enterprise */
.enterprise {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 320px 1fr auto;
  align-items: center;
  gap: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 38px;
}

@media (max-width: 991px) { .enterprise { grid-template-columns: 1fr; gap: 22px; } }

.enterprise h3 { font-size: 24px; margin-bottom: 8px; }

.ent-price { color: var(--silver); }

.ent-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }

@media (max-width: 767px) { .ent-features { grid-template-columns: 1fr; } }

.ent-features span {
  position: relative;
  padding-left: 20px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.5;
}

.ent-features span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 11px;
  height: 8px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="11" viewBox="0 0 14 11" fill="none"><path d="M4.79 7.94 12.46.27a.9.9 0 0 1 1.27 0 .9.9 0 0 1 0 1.29L5.42 9.89a.88.88 0 0 1-1.27 0L.26 6a.92.92 0 0 1 .02-1.29.9.9 0 0 1 1.29 0l3.22 3.24Z" fill="%23c9cbd1"/></svg>') no-repeat center / contain;
}

.billing-note {
  display: block;
  text-align: center;
  margin-top: 34px;
  max-width: 640px;
  margin-inline: auto;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

/* ==================================================================
   PROCESS
   ================================================================== */

.steps-thread {
  height: 60px;
  margin-bottom: -38px;
  pointer-events: none;
}

.steps-thread svg { width: 100%; height: 100%; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step {
  border-top: 1px solid var(--line-2);
  padding-top: 22px;
}

.step-num {
  display: block;
  font-size: 13px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 46px;
}

.step h3 { font-size: 19px; margin-bottom: 8px; }

.step p { color: var(--ink-2); font-size: 14.5px; }

/* ==================================================================
   FAQ
   ================================================================== */

.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; }

@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 20px; } }

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-group {
  margin: 40px 0 12px;
  color: var(--ink-2);
  letter-spacing: 0.18em;
}

.faq-list .faq-group:first-child { margin-top: 0; }

.faq-list .faq-group + details { border-top: 1px solid var(--line); }

.faq-list details p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.billing-note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

.faq-list summary {
  display: flex;
  align-items: baseline;
  gap: 20px;
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  font-family: var(--font-d);
  font-size: 17px;
  font-weight: 500;
  transition: color 0.2s;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary:hover { color: #fff; }

.faq-list summary .mono { flex-shrink: 0; }

.faq-list summary i {
  margin-left: auto;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  position: relative;
}

.faq-list summary i::before, .faq-list summary i::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--ink-2);
  transition: transform 0.3s var(--ease);
}

.faq-list summary i::before { width: 12px; height: 1.5px; }
.faq-list summary i::after { width: 1.5px; height: 12px; }

.faq-list details[open] summary i::after { transform: rotate(90deg); }

.faq-list details p {
  padding: 0 4px 24px 44px;
  color: var(--ink-2);
  font-size: 15.5px;
  max-width: 620px;
}

/* ==================================================================
   CTA + FOOTER
   ================================================================== */

.cta {
  position: relative;
  padding: clamp(110px, 14vw, 190px) 0;
  text-align: center;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(92, 124, 255, 0.13), rgba(232, 75, 122, 0.07) 50%, transparent 75%);
  pointer-events: none;
}

.cta-inner { position: relative; }

.cta h2 { font-size: clamp(38px, 6vw, 76px); }

.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }

.footer { border-top: 1px solid var(--line); padding: 76px 0 44px; background: var(--bg-elev); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start !important; /* el .footer-grid de Webflow centra — pisarlo */
  margin-bottom: 76px !important;
  padding-bottom: 0 !important;
}

.footer-legal { padding-top: 30px !important; margin-top: 0 !important; }

.footer-grid > * { align-self: start !important; }

@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.footer-brand p { margin-top: 12px; line-height: 1.8; }

.footer-col { display: flex; flex-direction: column; gap: 12px; }

.footer-h { margin-bottom: 6px; }

.footer-col a { color: var(--ink-2); font-size: 14.5px; transition: color 0.2s; }

.footer-col a:hover { color: var(--ink); }

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.footer-legal .mono { font-size: 10.5px; line-height: 1.8; }
