/* Fuentes propias (Archivo, Geist y Geist Mono, subconjunto latino, alojadas aquí). */
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/geist-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/geist-mono-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================================
   DPartners Estudios. Sistema visual.
   Bloques de color de la marca (navy, crema, naranja) como en Dentsu Creative,
   Omnicom y Ogilvy: cada sección es un bloque pleno. Radios: botones en píldora,
   medios y tarjetas 18 px, campos 12 px.
   ========================================================================= */
:root {
  --navy: #0c2139;
  --navy-deep: #081628;
  --navy-2: #13304f;
  --cream: #f6efe6;
  --peach: #f49a7a;
  --apricot: #f8c487;
  --orange: #ef6a3a;
  --orange-ink: #b4421a;
  --line-dark: rgba(246, 239, 230, 0.16);
  --line-light: rgba(12, 33, 57, 0.14);

  --f-display: "Archivo", "Arial Narrow", sans-serif;
  --f-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "Cascadia Mono", monospace;

  --r-media: 18px;
  --r-field: 12px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 68px;
}

/* Bloques de color. Cada sección declara su tema y los componentes leen --bg/--fg. */
.t-navy { --bg: var(--navy); --fg: var(--cream); --fg-2: rgba(246, 239, 230, 0.74); --line: var(--line-dark); --accent: var(--peach); --card: var(--navy-2); }
.t-deep { --bg: var(--navy-deep); --fg: var(--cream); --fg-2: rgba(246, 239, 230, 0.74); --line: var(--line-dark); --accent: var(--peach); --card: #0f243d; }
.t-paper { --bg: var(--cream); --fg: var(--navy); --fg-2: rgba(12, 33, 57, 0.72); --line: var(--line-light); --accent: var(--orange-ink); --card: #ffffff; }
.t-orange { --bg: var(--orange); --fg: var(--navy); --fg-2: rgba(12, 33, 57, 0.82); --line: rgba(12, 33, 57, 0.22); --accent: var(--navy); --card: #f6efe6; }

/* Los bloques de color son la identidad de la página (como en las referencias): se mantienen
   iguales en modo claro y oscuro. La página ya es mayoritariamente oscura; el bloque crema
   conserva su contraste AA en los dos modos. */
:root { color-scheme: dark; }
.t-paper, .t-orange, .form-card, .summary, .plan.is-featured, .compare-col.is-us { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cream); color: var(--navy); padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; border-radius: 6px; }

section, .block, main.page, main.buy { background: var(--bg); color: var(--fg); position: relative; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.icon { width: 1em; height: 1em; flex: none; }

/* --------------------------------------------------------------- tipografía */
.display {
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.display em, .h2 em, .h1 em {
  font-style: italic;
  font-weight: 800;
  color: var(--accent);
  padding-right: 0.06em;
}
.h1 {
  font-family: var(--f-display);
  font-stretch: 118%;
  font-weight: 850;
  font-size: clamp(2.6rem, 7.4vw, 7.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  padding-bottom: 0.06em;
}
.h2 {
  font-family: var(--f-display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  padding-bottom: 0.06em;
}
.h3 {
  font-family: var(--f-display);
  font-stretch: 108%;
  font-weight: 750;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.lead { font-size: clamp(1.08rem, 1.4vw, 1.3rem); line-height: 1.5; color: var(--fg-2); max-width: 60ch; }
.body { color: var(--fg-2); max-width: 62ch; }
.mono { font-family: var(--f-mono); font-size: 0.82rem; letter-spacing: 0.02em; }
.kicker { font-family: var(--f-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); display: inline-flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 34px; height: 3px; background: linear-gradient(90deg, var(--peach), var(--apricot)); border-radius: 2px; }
.t-orange .kicker::before, .t-paper .kicker::before { background: currentColor; }

/* ------------------------------------------------------------------ botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn .icon { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover .icon { transform: translate(3px, -1px); }
.btn--primary { background: var(--orange); color: var(--navy); }
.btn--primary:hover { background: var(--apricot); }
.btn--light { background: var(--cream); color: var(--navy); }
.btn--light:hover { background: #ffffff; }
.btn--dark { background: var(--navy); color: var(--cream); }
.btn--dark:hover { background: var(--navy-2); }
.btn--ghost { background: transparent; color: var(--fg); border-color: currentColor; }
.btn--ghost:hover { background: var(--fg); color: var(--bg); }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ------------------------------------------------------------------- header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  color: var(--cream);
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.4s var(--ease);
}
.site-header.is-solid { background: rgba(8, 22, 40, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-dark); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-stretch: 115%; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 28px; object-fit: contain; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 0.95rem; font-weight: 500; opacity: 0.86; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--peach); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); }
.site-header .btn { min-height: 42px; padding: 0 20px; font-size: 0.92rem; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-dark); background: transparent; color: var(--cream); align-items: center; justify-content: center; }
.menu-btn .icon { width: 22px; height: 22px; }
.mobile-nav { display: none; }

@media (max-width: 960px) {
  .nav, .site-header .btn--primary { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav { position: fixed; inset: 0; z-index: 60; background: var(--navy-deep); color: var(--cream); padding: 88px var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px; transform: translateY(-102%); transition: transform 0.5s var(--ease); }
  .mobile-nav.is-open { transform: translateY(0); }
  .mobile-nav a:not(.btn) { font-family: var(--f-display); font-stretch: 118%; font-weight: 800; font-size: 2.2rem; line-height: 1.25; text-decoration: none; text-transform: uppercase; }
  .mobile-nav .btn { margin-top: 28px; }
  .mobile-nav .menu-close { position: absolute; top: 12px; right: var(--gutter); width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-dark); background: transparent; color: var(--cream); display: inline-flex; align-items: center; justify-content: center; }
}

/* --------------------------------------------------------------------- hero */
.hero { padding-top: calc(var(--header-h) + clamp(28px, 6vh, 72px)); padding-bottom: clamp(36px, 6vh, 64px); overflow: hidden; }
.hero .h1 { max-width: 15ch; }
.hero .h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero .h1 .line > span { display: inline-block; }
.hero-foot { margin-top: clamp(24px, 4vh, 44px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.hero-foot .lead { max-width: 46ch; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero > .wrap { position: relative; z-index: 1; }
.hero-arcs { position: absolute; z-index: 0; right: -22vw; top: 9vw; width: 52vw; height: 52vw; pointer-events: none; opacity: 0.85; }

/* Video que crece hasta ocupar toda la pantalla al bajar (como los medios de Ogilvy) */
.film { padding-bottom: clamp(56px, 10vh, 120px); }
.film-stage { position: relative; height: 100dvh; display: flex; align-items: center; justify-content: center; }
.film-frame {
  position: relative;
  width: min(100%, 1280px);
  aspect-ratio: 16 / 9;
  border-radius: var(--r-media);
  overflow: hidden;
  background: #071322;
  box-shadow: 0 40px 120px rgba(2, 8, 18, 0.5);
  will-change: transform;
}
.film-frame video, .film-frame img { width: 100%; height: 100%; object-fit: cover; }
.film-toggle { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(8, 22, 40, 0.7); color: var(--cream); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(8px); }
.film-toggle .icon { width: 18px; height: 18px; }
.film-caption { margin-top: 20px; display: flex; justify-content: space-between; gap: 16px; color: var(--fg-2); }

/* ------------------------------------------------------------ dos estudios */
.doors { padding: clamp(72px, 12vh, 140px) 0; }
.doors-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vh, 56px); max-width: 980px; }
.doors-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 18px; }
.door {
  position: relative;
  min-height: clamp(520px, 74vh, 760px);
  border-radius: var(--r-media);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 3vw, 44px);
  text-decoration: none;
  color: var(--cream);
}
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.02); transition: transform 1.2s var(--ease); }
.door::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.door--drop::before { background: linear-gradient(180deg, rgba(8, 22, 40, 0.06) 18%, rgba(8, 22, 40, 0.9) 70%); }
.door--cont { color: var(--navy); }
.door--cont::before { background: linear-gradient(180deg, rgba(248, 196, 135, 0) 22%, rgba(248, 196, 135, 0.94) 66%); }
.door:hover img { transform: scale(1.08); }
.door-title { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 4.4vw, 4.4rem); line-height: 0.92; letter-spacing: -0.02em; }
.door-for { margin-top: 14px; font-size: 1.12rem; max-width: 34ch; }
.door-list { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.door-list li { font-family: var(--f-mono); font-size: 0.78rem; padding: 7px 12px; border-radius: 999px; border: 1px solid currentColor; opacity: 0.9; }
.door-go { margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.door-go .icon { width: 20px; height: 20px; transition: transform 0.35s var(--ease); }
.door:hover .door-go .icon { transform: translate(4px, -4px); }

/* --------------------------------------------------------- título gigante */
.mega { overflow: hidden; padding: clamp(64px, 10vh, 120px) 0 clamp(24px, 4vh, 40px); }
.mega-line { display: block; white-space: nowrap; font-size: clamp(3.6rem, 13.5vw, 15rem); will-change: transform; }
.mega-line + .mega-line { margin-top: -0.04em; }
.mega-line.is-outline { color: transparent; -webkit-text-stroke: 2px var(--fg); }

/* ----------------------------------------------------- estudio dropshipping */
.drop-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding-bottom: clamp(40px, 7vh, 80px); }
.drop-intro .h2 { max-width: 20ch; }

.pan { position: relative; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 6px; }
.pan::-webkit-scrollbar { display: none; }
.pan.is-pinned { overflow: visible; scroll-snap-type: none; height: 100dvh; display: flex; align-items: center; }
.pan-track { display: flex; gap: clamp(16px, 2vw, 28px); padding: 0 var(--gutter); width: max-content; }
.pan-item { scroll-snap-align: center; }
.pan-item {
  width: min(88vw, 1180px);
  min-height: min(72vh, 680px);
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  padding: clamp(22px, 3vw, 40px);
  border-radius: var(--r-media);
  background: var(--card);
  border: 1px solid var(--line);
}
.pan-copy { display: grid; gap: 16px; align-content: center; }
.pan-copy .num { font-family: var(--f-mono); color: var(--accent); font-size: 0.86rem; }
.pan-copy .h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
.pan-copy ul { display: grid; gap: 8px; margin-top: 6px; }
.pan-copy li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--fg-2); font-size: 0.98rem; }
.pan-copy li .icon { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.shot { border-radius: 14px; overflow: hidden; background: #121317; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35); aspect-ratio: 1600 / 1209; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }

.adwall { padding: clamp(64px, 11vh, 130px) 0 clamp(56px, 9vh, 110px); overflow: hidden; }
.adwall-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: end; margin-bottom: 34px; }
.adwall-head .h2 { max-width: 18ch; }
.adwall-head .body { max-width: 44ch; }
.marquee { display: flex; gap: 14px; width: max-content; }
.marquee + .marquee { margin-top: 14px; }
.marquee img { width: clamp(170px, 17vw, 250px); aspect-ratio: 4 / 5; height: auto; border-radius: 12px; object-fit: cover; }
.marquee[data-dir="left"] { animation: marquee-l 60s linear infinite; }
.marquee[data-dir="right"] { animation: marquee-r 64s linear infinite; }
@keyframes marquee-l { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.adwall:hover .marquee { animation-play-state: paused; }

/* ------------------------------------------------------ estudio de contenido */
.cont-intro { display: grid; gap: 22px; padding-bottom: clamp(36px, 6vh, 64px); }
.cont-intro .h2 { max-width: 19ch; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: 16px; padding-bottom: clamp(72px, 12vh, 140px); }
.cell { border-radius: var(--r-media); overflow: hidden; position: relative; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.cell-copy { padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 10px; }
.cell-copy .body { font-size: 0.98rem; }
.cell--editor { grid-column: span 8; }
.cell--editor .shot { margin: 0 clamp(20px, 2.4vw, 32px) clamp(20px, 2.4vw, 32px); border-radius: 12px; box-shadow: 0 18px 50px rgba(12, 33, 57, 0.22); }
.cell--reel { grid-column: span 4; background: var(--navy); color: var(--cream); border: 0; }
.cell--reel .cell-copy { --fg-2: rgba(246, 239, 230, 0.76); }
.reels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 clamp(20px, 2.4vw, 32px) clamp(44px, 4vw, 60px); margin: auto 0; }
.reel { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 9 / 16; background: #000; }
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; }
.reel:nth-child(2) { transform: translateY(28px); }
.cell--cal { grid-column: span 7; }
.cell--cal .shot { margin: auto clamp(20px, 2.4vw, 32px) clamp(20px, 2.4vw, 32px); border-radius: 12px; }
.cell--pieces { grid-column: span 5; background: var(--peach); color: var(--navy); border: 0; }
.cell--pieces .cell-copy { --fg-2: rgba(12, 33, 57, 0.8); }
.pieces { position: relative; height: 300px; margin-top: auto; max-width: 460px; width: 100%; align-self: center; }
.pieces img { position: absolute; width: 46%; aspect-ratio: 4 / 5; border-radius: 10px; object-fit: cover; box-shadow: 0 14px 34px rgba(12, 33, 57, 0.28); bottom: -18px; }
.pieces img:nth-child(1) { left: 6%; transform: rotate(-9deg); }
.pieces img:nth-child(2) { left: 27%; bottom: 8px; transform: rotate(-1deg); z-index: 1; }
.pieces img:nth-child(3) { left: 49%; transform: rotate(8deg); }
.cell--brand { grid-column: span 12; display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; }
.cell--brand > img { width: 100%; height: 100%; object-fit: cover; }
.cell--brand .cell-copy { align-content: center; padding: clamp(28px, 4vw, 64px); }
.cell--brand .h3 { font-size: clamp(1.7rem, 3vw, 2.8rem); }

/* ------------------------------------------------------------ cómo funciona */
.flow { padding: clamp(72px, 12vh, 140px) 0; }
.flow .h2 { max-width: 16ch; margin-bottom: clamp(36px, 6vh, 64px); }
.flow-line { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--fg); }
.flow-step { padding: 26px 28px 0 0; position: relative; display: grid; gap: 12px; align-content: start; }
.flow-step::before { content: ""; position: absolute; top: -9px; left: 0; width: 16px; height: 16px; border-radius: 999px; background: var(--orange); }
.flow-step .verb { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.7rem, 2.7vw, 2.7rem); line-height: 0.95; letter-spacing: -0.02em; }

/* ------------------------------------------------------------------ precios */
.pricing { padding: clamp(72px, 12vh, 140px) 0; }
.pricing-head { display: grid; gap: 18px; margin-bottom: 34px; }
.pricing-head .h2 { max-width: 18ch; }
.controls { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.seg { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(246, 239, 230, 0.08); border: 1px solid var(--line); gap: 4px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; cursor: pointer; color: var(--fg-2); white-space: nowrap; transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--cream); color: var(--navy); }
.seg button .tag { font-family: var(--f-mono); font-size: 0.72rem; margin-left: 6px; color: var(--orange-ink); }
.seg button:not([aria-pressed="true"]) .tag { color: var(--apricot); }
.cycle-note { color: var(--fg-2); font-size: 0.95rem; margin-bottom: 22px; min-height: 1.5em; }
.plans { display: grid; gap: 16px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.plan { position: relative; border-radius: var(--r-media); padding: clamp(22px, 2.4vw, 32px); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.plan.is-featured { background: var(--cream); color: var(--navy); border-color: transparent; --fg-2: rgba(12, 33, 57, 0.74); --accent: var(--orange-ink); }
.plan-badge { position: absolute; top: 18px; right: 18px; font-family: var(--f-mono); font-size: 0.72rem; padding: 6px 10px; border-radius: 999px; background: var(--orange); color: var(--navy); }
.plan-name { font-family: var(--f-display); font-stretch: 118%; font-weight: 850; font-size: 1.7rem; letter-spacing: -0.01em; text-transform: uppercase; }
.plan-for { color: var(--fg-2); font-size: 0.98rem; min-height: 3em; }
.plan-price { display: grid; gap: 4px; }
.plan-price .amount { font-family: var(--f-display); font-stretch: 110%; font-weight: 850; font-size: clamp(2.2rem, 3.4vw, 3rem); letter-spacing: -0.03em; line-height: 1; }
.plan-price .per { font-family: var(--f-mono); font-size: 0.8rem; color: var(--fg-2); }
.plan-price .was { font-family: var(--f-mono); font-size: 0.8rem; color: var(--fg-2); text-decoration: line-through; }
.plan ul { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 0.96rem; }
.plan li .icon { width: 17px; height: 17px; margin-top: 4px; color: var(--accent); }
.plan .btn { margin-top: auto; }
.duo { margin-top: 18px; border-radius: var(--r-media); padding: clamp(20px, 2.4vw, 30px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 30px; align-items: center; background: linear-gradient(100deg, var(--peach), var(--apricot)); color: var(--navy); }
.duo .h3 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); }
.duo .body { color: rgba(12, 33, 57, 0.8); }
.duo-price { font-family: var(--f-display); font-stretch: 110%; font-weight: 850; font-size: 1.6rem; white-space: nowrap; }
.founders { margin-top: 18px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; padding: 22px 26px; border-radius: var(--r-media); border: 1px dashed var(--line); }
.founders .seal { width: 64px; height: 64px; border-radius: 999px; display: grid; place-items: center; background: var(--orange); color: var(--navy); font-family: var(--f-display); font-stretch: 120%; font-weight: 900; font-size: 1.3rem; }
.founders p { color: var(--fg-2); }
.founders strong { color: var(--fg); }
.compare { margin-top: clamp(48px, 8vh, 90px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare-col { border-radius: var(--r-media); padding: clamp(22px, 2.6vw, 34px); border: 1px solid var(--line); }
.compare-col h3 { margin-bottom: 18px; }
.compare-col dl { margin: 0; display: grid; gap: 14px; }
.compare-col dl div { display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.compare-col dt { color: var(--fg-2); }
.compare-col dd { margin: 0; font-family: var(--f-mono); white-space: nowrap; }
.compare-col .total { border: 0; padding: 0; font-weight: 700; }
.compare-col .total dd { font-size: 1.15rem; }
.compare-col.is-us { background: var(--cream); color: var(--navy); border-color: transparent; --fg-2: rgba(12, 33, 57, 0.72); --line: rgba(12, 33, 57, 0.14); }
.fineprint { margin-top: 16px; font-size: 0.82rem; color: var(--fg-2); max-width: 90ch; }
.fineprint a { color: inherit; }

/* ----------------------------------------------------------------- asesoría */
.consult { padding: clamp(72px, 12vh, 140px) 0; }
.consult-top { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4vw, 64px); align-items: end; }
.consult-top .display { font-size: clamp(2.8rem, 7.2vw, 7.4rem); }
.consult-top img { border-radius: var(--r-media); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.consult-sub { margin-top: 22px; }
.steps3 { margin-top: clamp(48px, 8vh, 88px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { border-top: 2px solid var(--navy); padding-top: 20px; display: grid; gap: 10px; align-content: start; }
.step .price { font-family: var(--f-mono); font-size: 0.86rem; }
.step .body { color: var(--fg-2); font-size: 0.98rem; }
.niches { margin-top: clamp(40px, 7vh, 72px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.niche { background: rgba(12, 33, 57, 0.08); border-radius: 14px; padding: 18px; display: grid; gap: 8px; align-content: start; }
.niche b { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 1.12rem; }
.niche span { font-size: 0.95rem; color: var(--fg-2); }
.consult-grid { margin-top: clamp(48px, 8vh, 88px); display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 16px; align-items: stretch; }
.case { background: var(--navy); color: var(--cream); border-radius: var(--r-media); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; align-content: start; }
.case .kicker { color: var(--apricot); }
.case-row { display: grid; gap: 6px; border-top: 1px solid var(--line-dark); padding-top: 16px; }
.case-row b { font-family: var(--f-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--apricot); font-weight: 500; }
.case-row p { color: rgba(246, 239, 230, 0.82); }

/* ---------------------------------------------------------------- formularios */
.form-card { background: var(--cream); color: var(--navy); border-radius: var(--r-media); padding: clamp(24px, 3vw, 40px); }
.form-card .h3 { margin-bottom: 6px; }
.form-card > .body { color: rgba(12, 33, 57, 0.74); margin-bottom: 22px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field .hint { font-size: 0.82rem; color: rgba(12, 33, 57, 0.7); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: var(--r-field);
  border: 1.5px solid rgba(12, 33, 57, 0.34);
  background: #ffffff;
  color: var(--navy);
  font: inherit;
  font-size: 1rem;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(12, 33, 57, 0.56); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--navy); }
.field[data-invalid] input, .field[data-invalid] select, .field[data-invalid] textarea { border-color: #b3261e; }
.field .err { color: #b3261e; font-size: 0.85rem; font-weight: 500; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 0.9rem; grid-column: 1 / -1; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.check a { color: inherit; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 22px; display: grid; gap: 12px; }
.form-status { font-size: 0.92rem; min-height: 1.4em; }
.form-status[data-kind="error"] { color: #b3261e; font-weight: 600; }
.form-status[data-kind="ok"] { color: #1f6b3a; font-weight: 600; }

/* -------------------------------------------------------------- preguntas */
.faq { padding: clamp(72px, 12vh, 140px) 0; }
.faq .h2 { margin-bottom: clamp(32px, 5vh, 56px); max-width: 16ch; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.faq details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 16px; padding: 22px 0; font-family: var(--f-display); font-stretch: 106%; font-weight: 700; font-size: 1.14rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; margin-top: 2px; transition: transform 0.35s var(--ease); color: var(--accent); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--fg-2); max-width: 62ch; }

/* ------------------------------------------------------------------- cierre */
.closing { padding: clamp(88px, 16vh, 180px) 0 clamp(64px, 10vh, 110px); overflow: hidden; }
.closing .display { font-size: clamp(3rem, 11vw, 11.5rem); }
.closing-row { margin-top: clamp(28px, 5vh, 48px); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ------------------------------------------------------------------- footer */
.site-footer { background: var(--navy-deep); color: var(--cream); padding: 56px 0 40px; font-size: 0.94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-family: var(--f-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--apricot); margin-bottom: 14px; font-weight: 500; }
.footer-grid ul { display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; opacity: 0.86; }
.footer-grid a:hover { opacity: 1; text-decoration: underline; }
.footer-note { color: rgba(246, 239, 230, 0.7); margin-top: 14px; max-width: 42ch; }
.footer-legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(246, 239, 230, 0.72); font-size: 0.86rem; }
.footer-legal a { color: inherit; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #1f8f4e; color: #ffffff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); transition: transform 0.3s var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.wa-float .icon { width: 30px; height: 30px; }

/* ------------------------------------------------------- páginas internas */
.page { padding: calc(var(--header-h) + clamp(40px, 8vh, 90px)) 0 clamp(64px, 10vh, 120px); min-height: 70vh; }
.page .h2 { max-width: 20ch; }
.legal-doc { max-width: 76ch; }
.legal-doc h1 { font-family: var(--f-display); font-stretch: 112%; font-weight: 850; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 10px; }
.legal-doc h2 { font-family: var(--f-display); font-stretch: 106%; font-weight: 750; font-size: 1.35rem; margin: 34px 0 10px; }
.legal-doc p, .legal-doc li { color: var(--fg-2); }
.legal-doc ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.legal-doc a { color: var(--accent); }
.legal-meta { font-family: var(--f-mono); font-size: 0.82rem; }
.legal-doc table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 0.92rem; }
.legal-doc th, .legal-doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; color: var(--fg-2); }

/* ---------------------------------------------------------------- comprar */
.buy { padding: calc(var(--header-h) + clamp(32px, 6vh, 64px)) 0 clamp(64px, 10vh, 120px); }
.buy-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(20px, 3vw, 40px); align-items: start; margin-top: 30px; }
.buy-block { border-radius: var(--r-media); background: var(--card); border: 1px solid var(--line); padding: clamp(20px, 2.6vw, 32px); }
.buy-block + .buy-block { margin-top: 16px; }
.buy-block h2 { font-family: var(--f-display); font-stretch: 108%; font-weight: 750; font-size: 1.3rem; margin-bottom: 16px; }
.choices { display: grid; gap: 10px; }
.choices.cols-2 { grid-template-columns: 1fr 1fr; }
.choices.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); height: 100%; }
.choice b { font-family: var(--f-display); font-stretch: 108%; font-weight: 750; font-size: 1.05rem; }
.choice small { color: var(--fg-2); font-size: 0.86rem; line-height: 1.35; }
.choice input:checked + span { border-color: var(--peach); background: rgba(244, 154, 122, 0.12); }
.choice input:focus-visible + span { outline: 3px solid var(--apricot); outline-offset: 2px; }
.summary { position: sticky; top: calc(var(--header-h) + 16px); background: var(--cream); color: var(--navy); border-radius: var(--r-media); padding: clamp(22px, 2.6vw, 32px); --fg-2: rgba(12, 33, 57, 0.74); }
.summary h2 { font-family: var(--f-display); font-stretch: 112%; font-weight: 850; font-size: 1.5rem; text-transform: uppercase; }
.summary dl { margin: 18px 0; display: grid; gap: 10px; }
.summary dl div { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid rgba(12, 33, 57, 0.12); padding-bottom: 10px; }
.summary dt { color: var(--fg-2); }
.summary dd { margin: 0; font-weight: 600; text-align: right; }
.summary .today { font-family: var(--f-display); font-stretch: 110%; font-weight: 850; font-size: 2.4rem; letter-spacing: -0.03em; line-height: 1; }
.summary .note { font-size: 0.88rem; color: var(--fg-2); margin-top: 10px; }
.summary .secure { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--fg-2); margin-top: 14px; }
.summary .secure .icon { width: 16px; height: 16px; }
.buy-block .fields .field label { color: var(--fg); }
.buy-block .field input { border-color: rgba(246, 239, 230, 0.3); }
.t-navy .buy-block .field input, .t-navy .buy-block .field select { background: #ffffff; }
.buy-block .check { color: var(--fg-2); }
.buy-block .check input { accent-color: var(--peach); }

/* -------------------------------------------------------------- animación */
[data-reveal] { opacity: 0; transform: translateY(28px); }
.is-ready [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.no-js [data-reveal], .reduce [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee { animation: none !important; }
  .door img, .btn, .btn .icon { transition: none; }
}

/* ------------------------------------------------------------------ móvil */
@media (max-width: 1100px) {
  .pan-item { grid-template-columns: 1fr; width: min(86vw, 760px); }
  .cell--editor { grid-column: span 12; }
  .cell--reel { grid-column: span 6; grid-row: auto; }
  .cell--cal { grid-column: span 6; }
  .cell--pieces { grid-column: span 12; }
  .pieces { height: 240px; max-width: 520px; }
  .niches { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero-foot { grid-template-columns: 1fr; }
  .doors-grid, .consult-top, .consult-grid, .compare, .faq-grid, .buy-grid { grid-template-columns: 1fr; }
  .door { min-height: 520px; }
  .door-title { font-size: clamp(1.9rem, 9vw, 2.6rem); font-stretch: 110%; }
  .adwall-head { grid-template-columns: 1fr; }
  .flow-line { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--fg); padding-left: 22px; gap: 34px; }
  .flow-step { padding: 0; }
  .flow-step::before { top: 8px; left: -31px; }
  .plans { grid-template-columns: 1fr; }
  .steps3 { grid-template-columns: 1fr; }
  .duo, .founders { grid-template-columns: 1fr; }
  .cell--reel, .cell--cal { grid-column: span 12; }
  .cell--brand { grid-template-columns: 1fr; }
  .cell--brand > img { aspect-ratio: 1 / 1; }
  .summary { position: static; }
  .choices.cols-3 { grid-template-columns: 1fr; }
  .film-stage { height: auto; padding: 8px 0; }
  .film-caption { flex-direction: column; }
}
@media (max-width: 560px) {
  .fields, .choices.cols-2 { grid-template-columns: 1fr; }
  .niches { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .reel:nth-child(2) { transform: none; }
  .mega-line.is-outline { -webkit-text-stroke-width: 1.5px; }
}
fieldset { min-width: 0; }
.buy .field .hint { color: var(--fg-2); }
