/* aigrok — sitio web
   Tema negro y dorado. Dorado oficial del kit de identidad Enfoque v1.0 (#AD894B);
   los tonos claros y profundos derivan de él. */
:root {
  --black: #0A0A0A;
  --black-2: #101010;
  --surface: #151515;
  --surface-2: #1C1C1C;
  --ink: #242424;

  --gold: #AD894B;
  --gold-light: #D4B57A;
  --gold-pale: #EBDDBA;
  --gold-deep: #8A6A35;
  --gold-grad: linear-gradient(120deg, #EBDDBA 0%, #D4B57A 32%, #AD894B 68%, #8A6A35 100%);

  --ivory: #F5F1E8;
  --muted: #A39C8F;
  --line: rgba(212, 181, 122, .16);
  --line-strong: rgba(212, 181, 122, .4);

  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(88px, 12vw, 168px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--black); }
body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Grano sutil */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200; background: var(--gold); color: var(--black); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 16px; }

/* Texto con degradado dorado */
.display em, .h2 em {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-inline: .06em; margin-inline: -.06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Tipografía ---------- */
.eyebrow, .label {
  font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.label { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.label .num { color: var(--gold-light); letter-spacing: .08em; }
.label::after { content: ""; width: 48px; height: 1px; background: var(--gold); opacity: .6; order: 3; }
.label-light { color: var(--muted); }

.display {
  font-weight: 500;
  font-size: clamp(48px, 7.6vw, 112px);
  line-height: .98;
  letter-spacing: -.035em;
}
.display em { font-size: 1.08em; line-height: .9; }
.h2 {
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -.03em;
  max-width: 16ch;
}
.h2 em { font-size: 1.06em; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: rgba(245, 241, 232, .82); font-weight: 300; max-width: 34em; }
.body-light { color: var(--muted); font-weight: 300; font-size: 18px; max-width: 32em; }

/* ---------- Botones ---------- */
.btn {
  --h: 56px;
  display: inline-flex; align-items: center; gap: 12px;
  height: var(--h); padding: 0 28px;
  border-radius: 999px; border: 1px solid transparent;
  font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-position .6s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
}
.btn .arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-sm { --h: 44px; padding: 0 22px; font-size: 15px; }
.btn-ink, .btn-gold {
  color: var(--black);
  background: linear-gradient(120deg, #EBDDBA, #D4B57A 30%, #AD894B 60%, #D4B57A 85%, #EBDDBA);
  background-size: 220% 100%; background-position: 0 0;
  box-shadow: 0 10px 30px -12px rgba(173, 137, 75, .55);
}
.btn-ink:hover, .btn-gold:hover { background-position: 100% 0; box-shadow: 0 14px 36px -12px rgba(212, 181, 122, .7); }
.btn-ghost { border-color: var(--line-strong); color: var(--ivory); }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; }
/* El fondo vive en un pseudo-elemento: backdrop-filter en el propio header
   crearía un bloque contenedor y rompería el menú móvil (position: fixed). */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(10, 10, 10, .78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0; transition: opacity .4s var(--ease);
}
.site-header.scrolled::before { opacity: 1; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .4s var(--ease); }
.scrolled .header-inner { height: 68px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  font-size: 15px; text-decoration: none; position: relative; padding: 6px 0; color: rgba(245, 241, 232, .86);
  transition: color .3s var(--ease);
}
.nav a:not(.btn):hover { color: var(--gold-light); }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 36px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 900px; height: 900px; inset-inline-end: -220px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(173, 137, 75, .18), rgba(173, 137, 75, 0) 62%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(24px, 4vw, 64px); flex: 1; }
.hero-copy .eyebrow { margin-bottom: 28px; display: flex; align-items: center; gap: 12px; color: var(--gold-light); }
.hero-copy .eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-grad); flex: none; }
.hero-copy .display { margin-bottom: 32px; }
.hero-copy .lead { margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-mark { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: end; }
.mark-live { position: relative; width: 100%; height: 100%; overflow: visible; z-index: 1; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)); }
.mark-live .spin { transform-origin: 258px 262px; transform-box: view-box; }
.piece { transform-box: view-box; transform-origin: 258px 262px; transition: transform 1.6s var(--ease), opacity 1.2s var(--ease); }
/* Símbolo en tonos dorados, derivado de la versión de una tinta dorada del kit */
.piece-gold { fill: var(--gold); }
.piece-ink { fill: var(--gold-light); }
.piece-teal { fill: var(--gold-deep); }
.hero:not(.ready) .piece { opacity: 0; }
.hero:not(.ready) .piece-gold { transform: translate(-70px, -40px) rotate(-40deg); }
.hero:not(.ready) .piece-ink { transform: translate(70px, -50px) rotate(-40deg); }
.hero:not(.ready) .piece-teal { transform: translate(0, 80px) rotate(-40deg); }
.piece-ink { transition-delay: .12s; }
.piece-teal { transition-delay: .24s; }

.orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line); }
.orbit-1 { inset: -6%; }
.orbit-2 { inset: -18%; border-style: dashed; opacity: .7; animation: rot 90s linear infinite; }
.orbit-1::before {
  content: ""; position: absolute; top: 50%; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-light);
  box-shadow: 0 0 14px 2px rgba(212, 181, 122, .6);
}
.orbit-1 { animation: rot 40s linear infinite reverse; }
@keyframes rot { to { transform: rotate(360deg); } }

.hero-foot {
  position: relative; display: flex; align-items: center; gap: 18px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.hero-foot .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.scroll-cue { margin-inline-start: auto; width: 26px; height: 42px; border: 1px solid var(--line-strong); border-radius: 999px; position: relative; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--gold-light); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--gold-grad); color: var(--black); overflow: hidden; padding: 24px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.marquee span { font-size: clamp(22px, 2.6vw, 34px); font-weight: 400; letter-spacing: -.01em; white-space: nowrap; }
.marquee span:nth-of-type(even) { font-family: var(--serif); font-style: italic; }
.m-mark { width: 24px; height: 24px; color: var(--black); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { position: relative; padding: var(--section) 0; }
.section-head { display: grid; grid-template-columns: 1fr; margin-bottom: clamp(48px, 7vw, 96px); }
.head-split { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 32px 64px; }
.head-note { color: var(--muted); max-width: 30em; font-weight: 300; font-size: 18px; }

/* Manifiesto */
.manifesto .wrap { max-width: calc(1080px + var(--gutter) * 2); }
.definition { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 24px; row-gap: 8px; padding-bottom: 40px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.definition .word {
  font-family: var(--serif); font-style: italic; font-size: clamp(64px, 9vw, 128px); line-height: .95; grid-row: span 2;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline-end: .08em;
}
.definition .phon { font-size: 14px; letter-spacing: .12em; color: var(--muted); }
.definition p { font-size: clamp(20px, 2vw, 26px); font-weight: 300; line-height: 1.35; max-width: 22em; }
.statement { font-size: clamp(26px, 3.4vw, 46px); line-height: 1.22; letter-spacing: -.02em; font-weight: 400; }
.statement .w { color: rgba(245, 241, 232, .14); transition: color .5s var(--ease); }
.statement .w.on { color: var(--ivory); }

/* Servicios */
.services { background: var(--black-2); border-top: 1px solid var(--line); }
.service-list { border-top: 1px solid var(--line); }
.service {
  position: relative; display: grid; grid-template-columns: 80px 1fr 80px; gap: 24px; align-items: start;
  padding: 44px 0; border-bottom: 1px solid var(--line);
}
.service::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--surface); z-index: 0;
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.service > * { position: relative; z-index: 1; }
.s-num { font-size: 14px; color: var(--gold-light); letter-spacing: .1em; padding-top: 14px; }
.s-body h3 { font-size: clamp(28px, 3.4vw, 46px); font-weight: 400; letter-spacing: -.025em; line-height: 1.1; margin-bottom: 14px; transition: transform .6s var(--ease), color .6s var(--ease); }
.s-body p { color: var(--muted); max-width: 40em; margin-bottom: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: rgba(245, 241, 232, .78); }
.s-mark { width: 44px; height: 44px; justify-self: end; margin-top: 8px; color: rgba(212, 181, 122, .18); transition: color .5s var(--ease), transform 1s var(--ease); }
@media (hover: hover) {
  .service:hover::before { transform: scaleY(1); transform-origin: top; }
  .service:hover h3 { transform: translateX(8px); color: var(--gold-pale); }
  .service:hover .s-mark { color: var(--gold); transform: rotate(120deg); }
}

/* Canales */
.channels { background: var(--black-2); padding: 0 0 clamp(72px, 9vw, 120px); }
.channels-inner { display: grid; gap: 28px; padding-top: 48px; border-top: 1px solid var(--line); }
.channels-title { font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); text-align: center; }
.channel-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.channel-list li { font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; letter-spacing: -.02em; color: rgba(245, 241, 232, .3); transition: color .3s var(--ease); }
.channel-list li:hover { color: var(--gold-light); }

/* ---------- Publicidad de prestigio ---------- */
.prestige { overflow: hidden; background: var(--black); border-block: 1px solid var(--line); }
.prestige-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 78% 40%, rgba(173, 137, 75, .2), transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 100%, rgba(173, 137, 75, .08), transparent 70%);
}
.prestige-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(48px, 7vw, 112px); align-items: center; }
.prestige .h2 { margin-bottom: 28px; max-width: 14ch; }
.prestige .lead { margin-bottom: 40px; }
.prestige-features { border-top: 1px solid var(--line); margin-bottom: 44px; }
.pf { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pf-n { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1; color: var(--gold-light); }
.pf h3 { font-size: 20px; font-weight: 500; margin-bottom: 4px; }
.pf p { color: var(--muted); font-size: 15px; }

.prestige-visual { position: relative; display: flex; justify-content: center; align-items: flex-end; aspect-ratio: 5 / 5.4; width: 100%; max-width: 540px; justify-self: center; padding-bottom: 40px; }
.portrait {
  position: relative; display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
  border-radius: 999px 999px 26px 26px;
  background: linear-gradient(180deg, #1E1E1E 0%, #111 70%, #0C0C0C 100%);
  border: 1px solid var(--line-strong);
}
.portrait svg { width: 82%; height: auto; fill: none; stroke: var(--gold-light); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.portrait::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(212, 181, 122, .12), transparent 45%);
}
.portrait-main {
  z-index: 2; width: 56%; aspect-ratio: 3 / 4.3;
  border-color: var(--gold);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), 0 0 0 8px rgba(173, 137, 75, .06), 0 0 60px -10px rgba(173, 137, 75, .35);
}
.portrait-main svg { stroke: var(--gold-pale); stroke-width: 1.2; }
.portrait-side { position: absolute; bottom: 64px; width: 40%; aspect-ratio: 3 / 4.3; opacity: .5; }
.portrait-a { inset-inline-start: 0; transform: rotate(-5deg); }
.portrait-b { inset-inline-end: 0; transform: rotate(5deg); }
.portrait-mark { position: absolute; top: 22px; left: 50%; width: 30px; height: 30px; margin-left: -15px; color: var(--gold); z-index: 1; }
.portrait-mark svg { width: 100%; height: 100%; fill: currentColor; stroke: none; }
.portrait-caption {
  position: absolute; bottom: 0; left: 0; right: 0; text-align: center;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light);
}
.formats { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: clamp(56px, 7vw, 96px); }
.formats li {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light);
  padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(21, 21, 21, .6);
}

/* Método: tres fuerzas */
.forces { background: var(--black-2); }
.forces-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.forces .h2 { margin-bottom: 24px; }
.forces .body-light { margin-bottom: 40px; }
.force-list { display: grid; gap: 10px; }
.force {
  display: flex; align-items: center; gap: 20px; width: 100%; text-align: start; cursor: pointer;
  background: transparent; color: inherit; font: inherit; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: 16px;
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
}
.force:hover, .force.is-active { background: rgba(212, 181, 122, .06); border-color: var(--line-strong); }
.swatch { width: 18px; height: 18px; border-radius: 50%; flex: none; }
.swatch-gold { background: var(--gold); }
.swatch-ink { background: var(--gold-light); }
.swatch-teal { background: var(--gold-deep); }
.f-text { display: grid; gap: 2px; }
.f-text strong { font-weight: 500; font-size: 20px; }
.f-text span { color: var(--muted); font-size: 15px; font-weight: 300; }

.forces-mark { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.forces-mark::before {
  content: ""; position: absolute; inset: 4%; border-radius: 50%;
  background: radial-gradient(circle, rgba(173, 137, 75, .2), transparent 65%);
}
.forces-mark svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.fp { transform-box: view-box; transform-origin: 258px 262px; transition: opacity .5s var(--ease), transform .7s var(--ease); }
.fp-gold { fill: var(--gold); }
.fp-ink { fill: var(--gold-light); }
.fp-teal { fill: var(--gold-deep); }
#forceMark[data-active] .fp { opacity: .14; }
#forceMark[data-active="gold"] .fp-gold,
#forceMark[data-active="ink"] .fp-ink,
#forceMark[data-active="teal"] .fp-teal { opacity: 1; }
#forceMark[data-active="gold"] .fp-gold { transform: translate(-14px, -10px); }
#forceMark[data-active="ink"] .fp-ink { transform: translate(14px, -12px); }
#forceMark[data-active="teal"] .fp-teal { transform: translate(0, 16px); }

/* Resultados */
.results { background: var(--black); }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi {
  padding: 32px 28px 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.kpi:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 30px 60px -30px rgba(173, 137, 75, .35); }
.kpi-icon { display: grid; place-content: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 40px; }
.kpi-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.kpi-gold { background: rgba(173, 137, 75, .16); color: var(--gold-light); }
.kpi-ink { background: var(--gold-grad); color: var(--black); }
.kpi-teal { background: var(--surface-2); color: var(--gold-light); box-shadow: inset 0 0 0 1px var(--line-strong); }
.kpi h3 { font-size: 24px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 10px; }
.kpi p { color: var(--muted); font-size: 16px; }

/* Proceso */
.process { background: var(--black-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { position: relative; padding-block: 36px 8px; padding-inline: 0 28px; }
.step + .step { padding-inline-start: 28px; border-inline-start: 1px solid var(--line); }
.step::before {
  content: ""; position: absolute; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--black); border: 1px solid var(--gold);
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease);
}
.step + .step::before { inset-inline-start: -5px; }
.step:first-child::before { inset-inline-start: 0; }
.step.in::before { background: var(--gold-light); box-shadow: 0 0 12px rgba(212, 181, 122, .6); }
.step-n { display: block; font-family: var(--serif); font-style: italic; font-size: 64px; line-height: 1; color: var(--gold-light); margin-bottom: 28px; }
.step h3 { font-size: 26px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 16px; }

/* Cómo trabajamos */
.plans { background: var(--black); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; gap: 14px; padding: 36px 32px;
  background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.plan-tag { align-self: flex-start; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--gold-light); }
.plan h3 { font-size: 30px; font-weight: 500; letter-spacing: -.025em; line-height: 1.1; margin-top: 12px; }
.plan > p { color: var(--muted); }
.plan ul { display: grid; gap: 10px; margin: 12px 0 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.plan li { position: relative; padding-inline-start: 26px; }
.plan li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--gold); }
.plan-link { margin-top: auto; font-weight: 500; text-decoration: none; display: inline-flex; gap: 8px; color: var(--gold-light); }
.plan-link span { transition: transform .35s var(--ease); }
.plan-link:hover span { transform: translateX(5px); }
.plan-featured {
  border: 1px solid transparent;
  background: linear-gradient(180deg, #1C1A16, var(--surface)) padding-box, var(--gold-grad) border-box;
  box-shadow: 0 40px 80px -40px rgba(173, 137, 75, .45);
}
.plan-featured .plan-tag { background: var(--gold-grad); color: var(--black); border-color: transparent; }

/* Contacto */
.contact {
  position: relative; overflow: hidden; color: var(--ivory); padding: clamp(110px, 14vw, 200px) 0;
  background: radial-gradient(ellipse 70% 80% at 85% 50%, rgba(173, 137, 75, .24), transparent 70%), var(--black-2);
  border-top: 1px solid var(--line);
}
.contact-mark {
  position: absolute; width: clamp(420px, 60vw, 860px); height: clamp(420px, 60vw, 860px);
  inset-inline-end: -12%; top: 50%; transform: translateY(-50%); color: rgba(212, 181, 122, .08);
  animation: rot-c 120s linear infinite;
}
@keyframes rot-c { to { transform: translateY(-50%) rotate(360deg); } }
.contact-inner { position: relative; }
.display-light { margin-bottom: 28px; }
.contact .body-light { color: rgba(245, 241, 232, .78); margin-bottom: 48px; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.copy {
  display: inline-flex; align-items: center; gap: 14px; height: 56px; padding-block: 0; padding-inline: 24px 8px;
  background: transparent; color: var(--ivory); border: 1px solid var(--line-strong); border-radius: 999px;
  font: 400 16px/1 var(--sans); cursor: pointer; transition: border-color .3s var(--ease);
}
.copy:hover { border-color: var(--gold-light); }
.copy-hint { font-size: 13px; letter-spacing: .08em; padding: 10px 16px; border-radius: 999px; background: rgba(212, 181, 122, .14); color: var(--gold-light); }

/* Footer */
.site-footer { background: #060606; color: var(--ivory); padding: 88px 0 32px; border-top: 1px solid var(--line); }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.footer-brand img { width: clamp(220px, 28vw, 340px); height: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.footer-nav a { text-decoration: none; color: var(--muted); transition: color .3s; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-base { display: flex; justify-content: space-between; padding-top: 28px; font-size: 14px; color: var(--muted); }
.to-top { text-decoration: none; }
.to-top:hover { color: var(--gold-light); }

/* Tarjetas flotantes del hero */
.float-card {
  position: absolute; z-index: 2; display: grid; gap: 10px;
  padding: 16px 18px; min-width: 190px;
  background: rgba(21, 21, 21, .82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong); border-radius: 18px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8);
  font-size: 13px; color: var(--ivory);
  animation: bob 7s ease-in-out infinite;
  transition: opacity 1s var(--ease) .9s, translate 1s var(--ease) .9s;
}
.hero:not(.ready) .float-card { opacity: 0; translate: 0 16px; }
.fc-top { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.fc-sub { color: var(--muted); font-size: 12px; }
.fc-up { color: var(--gold-light); font-weight: 500; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 0 0 rgba(212, 181, 122, .55); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(212, 181, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 181, 122, 0); } }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 40px; }
.bars i { flex: 1; height: var(--h); border-radius: 3px; background: var(--gold); opacity: .35; }
.bars i:last-child { opacity: 1; background: var(--gold-light); }
.spark { width: 150px; height: 44px; overflow: visible; }
.spark path { fill: none; stroke: var(--gold-light); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 2.4s var(--ease) 1.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chips { display: flex; gap: 6px; }
.chips b { font-weight: 500; font-size: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(212, 181, 122, .14); color: var(--gold-light); }
.fc-campaign { top: 2%; inset-inline-start: -14%; }
.fc-growth { bottom: 8%; inset-inline-end: -6%; animation-delay: -2.5s; }
.fc-content { bottom: -4%; inset-inline-start: -2%; animation-delay: -5s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- Selector de idioma ---------- */
.header-tools { display: flex; align-items: center; gap: 10px; position: relative; z-index: 2; }
.lang-menu { position: relative; }
.lang-menu summary {
  list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 500;
  transition: border-color .3s var(--ease), color .3s var(--ease); user-select: none;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { border-color: var(--gold-light); color: var(--gold-light); }
.lang-menu summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang-menu ul {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 180px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 16px;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .8);
}
.lang-menu a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-size: 15px; }
.lang-menu a:hover { background: var(--surface-2); }
.lang-menu a[aria-current="page"] { color: var(--gold-light); font-weight: 500; }
.lang-menu a[aria-current="page"]::after { content: " ✓"; }

/* ---------- Escrituras: tailandés, chino y árabe ---------- */
:lang(th) { --sans: "Outfit", "Noto Sans Thai", system-ui, sans-serif; }
:lang(zh-Hans) { --sans: "Outfit", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
:lang(ar) { --sans: "IBM Plex Sans Arabic", "Outfit", system-ui, sans-serif; }
html:is(:lang(th), :lang(zh-Hans), :lang(ar)) em {
  font-family: inherit; font-style: normal; font-weight: inherit; font-size: 1em;
}
html:is(:lang(th), :lang(zh-Hans), :lang(ar)) :is(.display, .h2, .s-body h3, .step h3, .kpi h3, .plan h3, .pf h3, .statement, .marquee span, .channel-list li, .eyebrow, .label, .channels-title, .hero-foot, .plan-tag, .phon, .formats li, .portrait-caption) {
  letter-spacing: 0;
}
html:is(:lang(th), :lang(zh-Hans), :lang(ar)) .marquee span:nth-of-type(even) { font-family: inherit; font-style: normal; }
html:lang(th) .display { line-height: 1.22; font-size: clamp(42px, 6.2vw, 96px); }
html:lang(th) .display em { white-space: nowrap; }
html:lang(th) .h2 { line-height: 1.3; }
html:lang(th) :is(.s-body h3, .statement) { line-height: 1.4; }
html:lang(zh-Hans) .display { line-height: 1.12; }
html:lang(zh-Hans) .h2 { line-height: 1.2; }
html:lang(ar) .display { line-height: 1.2; }
html:lang(ar) .h2 { line-height: 1.3; }
html:lang(ar) :is(.s-body h3, .statement) { line-height: 1.45; }
html:lang(ar) body { line-height: 1.75; }

/* Derecha a izquierda */
[dir="rtl"] .btn:hover .arrow, [dir="rtl"] .plan-link:hover span { transform: translateX(-5px); }
[dir="rtl"] .nav a:not(.btn)::after { transform-origin: left; }
[dir="rtl"] .nav a:not(.btn):hover::after, [dir="rtl"] .nav a.active::after { transform-origin: right; }
[dir="rtl"] .marquee { direction: ltr; }
[dir="rtl"] .marquee span { unicode-bidi: isolate; direction: rtl; }
[dir="rtl"] .portrait-a { transform: rotate(5deg); }
[dir="rtl"] .portrait-b { transform: rotate(-5deg); }
@media (hover: hover) {
  [dir="rtl"] .service:hover h3 { transform: translateX(-8px); }
}

/* ---------- Revelado ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) and (min-width: 821px) {
  .nav { gap: 20px; }
  .nav a:not(.btn) { font-size: 14px; }
}
@media (max-width: 980px) {
  .head-split { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .plan-grid { grid-template-columns: 1fr; max-width: 560px; }
  .fc-campaign { inset-inline-start: auto; inset-inline-end: -40%; top: 4%; }
  .fc-growth { inset-inline-end: -40%; bottom: 10%; }
  .fc-content { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { order: -1; max-width: 300px; justify-self: start; margin-block: 8px 24px; margin-inline: 6% 0; }
  .forces-grid, .prestige-grid { grid-template-columns: 1fr; }
  .forces-mark { max-width: 380px; order: -1; }
  .prestige-visual { max-width: 440px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .step:nth-child(3)::before { inset-inline-start: 0; }
  .step:nth-child(n+3) { margin-top: 24px; border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .lang-menu summary { height: 48px; }
  .menu-toggle {
    display: inline-grid; place-content: center; gap: 7px; width: 48px; height: 48px; border-radius: 50%;
    background: var(--gold-grad); border: 0; cursor: pointer; position: relative; z-index: 2;
  }
  .menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--black); transition: transform .4s var(--ease); }
  .menu-open .menu-toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px;
    padding: 100px var(--gutter) 40px; background: var(--black);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav a:not(.btn) { font-size: 38px; font-weight: 400; letter-spacing: -.02em; color: var(--ivory); }
  .nav .btn { margin-top: 16px; --h: 56px; font-size: 16px; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .brand { position: relative; z-index: 2; }
}
@media (max-width: 640px) {
  .float-card { display: none; }
  .kpi-grid { grid-template-columns: 1fr; }
  .kpi-icon { margin-bottom: 24px; }
  .channel-list { gap: 10px 24px; }
  .plan { padding: 30px 24px; }
  body { font-size: 16px; }
  .hero { padding-top: 104px; }
  .hero::before { width: 520px; height: 520px; inset-inline-end: -200px; top: -80px; }
  .hero-mark { max-width: 150px; margin-block: 0 36px; margin-inline: 24px 0; }
  .hero-copy .display { margin-bottom: 24px; }
  .hero-foot { flex-wrap: wrap; gap: 10px 14px; font-size: 11px; }
  .scroll-cue { display: none; }
  .btn { --h: 52px; padding: 0 22px; }
  .prestige .btn { white-space: normal; text-align: start; height: auto; min-height: 52px; padding-block: 14px; }
  .definition { grid-template-columns: 1fr; }
  .definition .word { grid-row: auto; }
  .service { grid-template-columns: 1fr; gap: 8px; padding: 36px 0; }
  .s-num { padding-top: 0; }
  .s-mark { display: none; }
  .pf { grid-template-columns: 40px 1fr; }
  .portrait-side { bottom: 54px; }
  .formats li { font-size: 11px; padding: 8px 14px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding-block: 28px 8px; padding-inline: 28px 0; border-inline-start: 1px solid var(--line); }
  .step:nth-child(n) { margin-top: 0; border-top: 0; }
  .step::before, .step + .step::before, .step:nth-child(3)::before { inset-inline-start: -5px; top: 34px; }
  .steps { border-top: 0; }
  .step-n { font-size: 48px; margin-bottom: 16px; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .copy { padding-inline-start: 18px; }
  .copy-mail { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .statement .w { color: var(--ivory); }
  .spark path { stroke-dashoffset: 0; }
}
