/* Ali Moaied Solutions — misma identidad que el VSL: blanco, tinta, verde lima */
:root {
  --bg: #ffffff;
  --paper: #f6f4ef;
  --ink: #0b0b0c;
  --ink-2: #4a4a4f;
  --ink-3: #8b8a86;
  --line: #e8e5de;
  --accent: #d7ff3a;
  --accent-deep: #b8e000;
  --red: #e5484d;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(11, 11, 12, .04), 0 18px 50px -18px rgba(11, 11, 12, .22);
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--sans); overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
em.serif, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

/* ---------- fondo: guilloché + retícula ---------- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg__grid {
  position: absolute; inset: -10%;
  background-image:
    linear-gradient(to right, rgba(11, 11, 12, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 11, 12, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}
.bg__rosette { position: absolute; width: min(1100px, 120vw); aspect-ratio: 1; color: var(--ink); opacity: .085; }
.bg__rosette--a { top: -18vh; right: -22vw; }
.bg__rosette--b { bottom: -40vh; left: -30vw; width: min(900px, 110vw); opacity: .06; }
.bg__glow {
  position: absolute; width: 60vw; aspect-ratio: 1; left: 50%; top: 8vh; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(215, 255, 58, .32), transparent 70%); filter: blur(10px);
}

/* ---------- navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s;
}
.nav.is-scrolled { background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: baseline; gap: 6px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand .serif { font-size: 21px; color: var(--ink-2); }
.brand__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--ink); align-self: center; margin-right: 4px; }
.nav__links { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 15px; }
.nav__links a:not(.btn) { color: var(--ink-2); transition: color .15s; }
.nav__links a:not(.btn):hover, .nav__links a[aria-current] { color: var(--ink); }
@media (max-width: 760px) { .nav__links a:not(.btn) { display: none; } }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  padding: 12px 24px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 16px/1 var(--sans); letter-spacing: -.01em; transition: transform .18s, box-shadow .18s, background .18s;
}
.btn--accent { background: var(--accent); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(184, 224, 0, .9); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(184, 224, 0, 1); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { transform: translateY(-2px); background: #222; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.btn--lg { min-height: 60px; padding: 18px 32px; font-size: 18px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- héroe con VSL ---------- */
.hero { padding: 104px 0 72px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line);
  font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--ink); }
.hero h1 {
  margin: 18px auto 26px; max-width: 16ch;
  font: 800 clamp(34px, 5.4vw, 64px)/1.02 var(--sans); letter-spacing: -.035em;
}
.hero h1 .serif { font-size: 1.12em; }
.mark { background: linear-gradient(transparent 62%, var(--accent) 62% 92%, transparent 92%); padding: 0 .08em; }

.player {
  position: relative; width: min(1080px, 100%); margin: 0 auto; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow);
  outline: 1px solid rgba(11, 11, 12, .08); outline-offset: 6px;
}
.player video { width: 100%; height: 100%; object-fit: cover; }
.player__unmute {
  position: absolute; inset: 0; display: grid; place-items: center; border: 0; padding: 0; cursor: pointer;
  background: linear-gradient(to top, rgba(11, 11, 12, .55), rgba(11, 11, 12, .1) 55%);
  color: #fff; font: inherit;
}
.player__unmute span {
  display: inline-flex; align-items: center; gap: 14px; padding: 16px 26px 16px 16px; border-radius: 999px;
  background: var(--accent); color: var(--ink); font-weight: 800; font-size: clamp(15px, 2vw, 19px);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .5); transition: transform .2s;
}
.player__unmute:hover span { transform: scale(1.04); }
.player__unmute i { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.player__unmute i svg { width: 20px; height: 20px; color: var(--accent); }
.player.is-live .player__unmute { display: none; }
.hero__cta { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero__note { font-size: 14px; color: var(--ink-3); display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero__note b { color: var(--ink-2); font-weight: 600; }

/* ---------- secciones ---------- */
.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.section--paper { background: var(--paper); }
.kicker { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--ink); }
.h2 { font: 800 clamp(36px, 6vw, 78px)/1 var(--sans); letter-spacing: -.04em; margin: 16px 0 18px; }
.h2 .serif { font-size: 1.1em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 52ch; margin: 0; }
.head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(48px, 7vw, 88px); }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }

/* ---------- casos de éxito ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.cases__col { display: grid; gap: 24px; }
.cases__col:nth-child(2) { margin-top: 80px; }
@media (max-width: 960px) { .cases { grid-template-columns: 1fr 1fr; } .cases__col:nth-child(3) { display: none; } .cases__col:nth-child(2) { margin-top: 48px; } }
@media (max-width: 560px) { .cases { grid-template-columns: 1fr; } .cases__col:nth-child(2) { margin-top: 0; } .cases__col:nth-child(3) { display: grid; } }

.case { margin: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.case > img { width: 100%; height: auto; }        /* captura real del cliente */
.case__mock { padding: 22px 22px 24px; }
.case__top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--ink-3); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.case__tag { background: var(--paper); border: 1px dashed #cfcac0; color: var(--ink-2); padding: 4px 8px; border-radius: 6px; letter-spacing: .04em; text-transform: none; }
.gauge { position: relative; margin: 14px auto 0; width: 100%; max-width: 260px; }
.gauge [data-score] { position: relative; }
.gauge svg { width: 100%; height: auto; overflow: visible; }
.gauge__num { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font: 800 56px/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.gauge__label { text-align: center; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.case__delta { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); gap: 10px; }
.case__before { font-size: 14px; color: var(--ink-3); }
.case__before s { color: var(--red); font-weight: 700; text-decoration-thickness: 2px; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: var(--ink); font-weight: 800; font-size: 14px; padding: 7px 12px; border-radius: 999px; }
.case__who { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.case__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--accent); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.case__goal { margin-left: auto; font-size: 13px; padding: 5px 10px; border-radius: 999px; background: var(--paper); }
.disclaimer { margin-top: 48px; font-size: 13px; color: var(--ink-3); text-align: center; }

/* ---------- proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; position: relative; overflow: hidden; }
.step__n { font: 400 88px/1 var(--serif); font-style: italic; color: var(--ink); }
.step__n::after { content: ""; display: block; width: 44px; height: 6px; border-radius: 3px; background: var(--accent); margin-top: 8px; }
.step h3 { font: 800 26px/1.1 var(--sans); letter-spacing: -.02em; margin: 22px 0 10px; }
.step p { margin: 0; color: var(--ink-2); }

/* ---------- CTA final / enlace redes ---------- */
.cta-band { background: var(--ink); color: #fff; border-radius: calc(var(--radius) * 1.6); padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px); position: relative; overflow: hidden; }
.cta-band h2 { font: 800 clamp(34px, 5.5vw, 72px)/1 var(--sans); letter-spacing: -.04em; margin: 0 0 18px; max-width: 14ch; }
.cta-band h2 .serif { color: var(--accent); }
.cta-band p { color: rgba(255, 255, 255, .7); max-width: 46ch; margin: 0 0 32px; }
.cta-band__rosette { position: absolute; right: -180px; top: -160px; width: 620px; color: var(--accent); opacity: .22; }

.to-social { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.to-social__t { font: 800 clamp(30px, 6vw, 84px)/1 var(--sans); letter-spacing: -.04em; }
.to-social__arrow { flex: none; width: clamp(64px, 9vw, 110px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); display: grid; place-items: center; transition: transform .3s; }
.to-social:hover .to-social__arrow { transform: rotate(-45deg); }
.to-social__arrow svg { width: 40%; height: 40%; }

/* ---------- footer ---------- */
.foot { padding: 48px 0 40px; font-size: 14px; color: var(--ink-3); }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.foot__domain { color: var(--ink); font-weight: 700; }

/* ---------- redes sociales ---------- */
.social-hero { padding: 150px 0 40px; }
.social-hero h1 { font: 800 clamp(48px, 10vw, 150px)/.92 var(--sans); letter-spacing: -.05em; margin: 18px 0 24px; }
.social-hero h1 .serif { font-size: 1.08em; display: block; }
.handles { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.handle { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px 10px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; transition: border-color .15s, transform .15s; }
.handle:hover { border-color: var(--ink); transform: translateY(-2px); }
.handle i { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.handle svg { width: 16px; height: 16px; color: var(--accent); }

.hscroll { height: 100vh; overflow: hidden; display: flex; align-items: center; }
.hscroll__track { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: var(--gutter); will-change: transform; }
.reel { position: relative; flex: none; width: clamp(220px, 24vw, 340px); aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: #ddd; box-shadow: var(--shadow); }
.reel img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 11, 12, .75), transparent 45%); }
.reel__play { position: absolute; top: 16px; right: 16px; z-index: 1; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .9); display: grid; place-items: center; }
.reel__play svg { width: 16px; height: 16px; margin-left: 2px; }
.reel__cap { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; color: #fff; }
.reel__cap b { display: block; font: 800 21px/1.15 var(--sans); letter-spacing: -.02em; }
.reel__cap small { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 12px; background: var(--accent); color: var(--ink); padding: 4px 10px; border-radius: 999px; }
.reel--wide { width: clamp(300px, 34vw, 480px); }

.marquee { overflow: hidden; padding: 24px 0; border-block: 1px solid var(--line); background: #fff; }
.marquee__row { display: flex; gap: 48px; width: max-content; animation: slide 38s linear infinite; font: 800 clamp(28px, 4vw, 52px)/1 var(--sans); letter-spacing: -.03em; white-space: nowrap; }
.marquee__row span { display: inline-flex; align-items: center; gap: 48px; }
.marquee__row span::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--ink); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); }
.no-js .reveal, .reduced .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .marquee__row { animation: none; }
  .hscroll { height: auto; overflow-x: auto; padding: 40px 0; scroll-snap-type: x mandatory; }
  .reel { scroll-snap-align: start; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- ajustes móvil ---------- */
.brand, .btn { white-space: nowrap; }
@media (max-width: 480px) {
  .brand .serif { display: none; }
  .eyebrow { font-size: 10.5px; letter-spacing: .08em; padding: 7px 12px; }
  .hero { padding-top: 92px; }
  .player { outline-offset: 4px; }
  .player__unmute span { gap: 10px; padding: 10px 16px 10px 10px; font-size: 14px; }
  .player__unmute i { width: 34px; height: 34px; }
  .player__unmute i svg { width: 16px; height: 16px; }
  .hero__note { gap: 6px 14px; font-size: 13px; }
}

/* ---------- sección oscura (proceso) ---------- */
.section--ink { background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.section--ink .kicker { color: var(--accent); }
.section--ink .kicker::before { background: var(--accent); }
.section--ink .lead { color: rgba(255, 255, 255, .68); }
.section--ink .h2 .serif { color: var(--accent); }
.section__rosette { position: absolute; z-index: -1; width: min(980px, 130vw); aspect-ratio: 1; right: -24%; top: 50%; translate: 0 -50%; color: var(--accent); opacity: .14; pointer-events: none; }
.section--ink .step { background: #151517; border-color: rgba(255, 255, 255, .08); transition: border-color .25s, transform .25s; }
.section--ink .step:hover { border-color: rgba(215, 255, 58, .45); }
.section--ink .step__n { color: #fff; }
.section--ink .step h3 { color: #fff; }
.section--ink .step p { color: rgba(255, 255, 255, .66); }

/* ---------- agenda (Calendly) ---------- */
.booking { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.booking__copy, .booking__cal { position: relative; z-index: 1; }
.booking__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.booking__list li { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .86); font-weight: 500; }
.booking__list li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0b0c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.booking__cal { background: #fff; color: var(--ink); border-radius: calc(var(--radius) * 1.1); overflow: hidden; min-height: 660px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }
.booking__cal .calendly-inline-widget { width: 100%; height: 700px; min-width: 0 !important; }
.booking__placeholder { height: 660px; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 32px; color: var(--ink-2);
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px); background-size: 48px 48px; }
.booking__placeholder svg { width: 56px; height: 56px; color: var(--ink); background: var(--accent); border-radius: 16px; padding: 12px; margin-bottom: 6px; }
.booking__placeholder b { font-size: 20px; color: var(--ink); letter-spacing: -.01em; }
.booking__placeholder code { background: var(--paper); padding: 2px 6px; border-radius: 6px; font-size: 13px; }
@media (max-width: 900px) {
  .booking { grid-template-columns: 1fr; }
  .booking__cal, .booking__placeholder { min-height: 560px; height: auto; }
  .booking__cal .calendly-inline-widget { height: 1000px; }   /* en móvil Calendly apila día y horas */
}

/* ---------- casos reales: capturas de los 3 burós ---------- */
.cases { grid-template-columns: repeat(2, 1fr); gap: 28px; }
.cases__col { gap: 28px; }
.cases__col:nth-child(2) { margin-top: 120px; }
.case { padding: 0; }
.case__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.case__name { display: flex; flex-direction: column; font-weight: 700; line-height: 1.2; }
.case__name small { font-weight: 500; font-size: 13px; color: var(--ink-3); }
.case__gain { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.case__gain small { font-size: 12px; color: var(--ink-3); }
.case > img { display: block; width: 100%; height: auto; padding: 14px 10px 10px; background: #fff; }
@media (max-width: 960px) { .cases { grid-template-columns: 1fr 1fr; } .cases__col:nth-child(2) { margin-top: 64px; } .cases__col:nth-child(3) { display: grid; } }
@media (max-width: 640px) { .cases { grid-template-columns: 1fr; } .cases__col:nth-child(2) { margin-top: 0; } }
@media (max-width: 640px) {
  .cases { display: flex; flex-direction: column; }
  .cases__col { display: contents; }   /* en móvil: casos en orden 1→6 */
}

/* el botón de sonido solo aparece si el navegador bloqueó el audio */
.player:not(.is-ready) .player__unmute, .no-js .player__unmute { display: none; }

/* tarjetas con portada propia de cada post de Instagram */
.reel--post::after { display: none; }
.reel--post img { transform: scale(1.04); }
.reel--post .reel__play { top: 16px; right: 16px; width: 48px; height: 48px; background: rgba(215, 255, 58, .92); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5); transition: transform .25s; }
.reel--post .reel__play svg { width: 18px; height: 18px; }
.reel--post:hover .reel__play { transform: scale(1.1); }

/* ---------- indicador "desliza" ---------- */
.scroll-cue {
  position: fixed; left: 50%; bottom: 24px; z-index: 40; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); border: 1px solid var(--line);
  box-shadow: 0 14px 40px -16px rgba(11, 11, 12, .35);
  font: 700 13px/1 var(--sans); letter-spacing: .02em; color: var(--ink);
  transition: opacity .4s ease, transform .4s ease;
}
.scroll-cue:hover { border-color: var(--ink); }
.scroll-cue__label { white-space: nowrap; }
.scroll-cue__icon { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.scroll-cue__icon svg { width: 18px; height: 18px; animation: cue-bounce 1.6s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes cue-bounce { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }
.scroll-cue.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .scroll-cue__icon svg { animation: none; } }

/* ---------- redes dentro del home ---------- */
.section--social { padding-bottom: clamp(40px, 6vw, 72px); }
.section--social .handles { margin-top: 28px; }
