/* =============================================================
   Luis Barrios — Especialista en adquisición de clientes
   Editorial Dark Warm · Anton + Playfair Display + Inter
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:       #0D0A08;
  --bg-2:     #14100C;
  --bg-3:     #1C1611;
  --cream:    #F1EAD9;
  --cream-2:  #D9CDB6;
  --mute:     #9A8E7A;
  --accent:   #D33A22;
  --accent-2: #A82B18;
  --gold:     #C49A5B;
  --line:     rgba(241, 234, 217, 0.12);

  --display: "Anton", "Arial Narrow", sans-serif;
  --serif:   "Playfair Display", Georgia, serif;
  --sans:    "Inter", -apple-system, "Segoe UI", sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 76px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--cream);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; }
strong { font-weight: 600; color: var(--cream); }
::selection { background: var(--accent); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--cream); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(100% - 2 * var(--gutter), 1180px);
  margin-inline: auto;
}
.container-narrow { max-width: 780px; }

.kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.kicker-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: dotPulse 2.4s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.75); }
}

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              background 0.35s var(--ease-out), color 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out);
  will-change: transform;
}
.btn-primary {
  background: var(--accent);
  color: var(--cream);
  box-shadow: 0 10px 30px -12px rgba(211, 58, 34, 0.55);
}
.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-3px);
  box-shadow: 0 18px 42px -14px rgba(211, 58, 34, 0.7);
}
.btn-primary:active { transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--cream-2);
  background: rgba(241, 234, 217, 0.02);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--cream);
  transform: translateY(-3px);
}
.btn-lg { padding: 1.05rem 2.4rem; font-size: 0.88rem; }

/* =============================================================
   5. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
  animation: splashSafety 0.01s 1.9s forwards;
}
.splash-mark {
  width: clamp(150px, 26vw, 240px);
  height: auto;
  animation: splashIn 0.7s var(--ease-out) both;
}
.splash.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes splashIn {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}
@keyframes splashSafety {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.45s var(--ease-out), border-color 0.45s var(--ease-out),
              backdrop-filter 0.45s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(13, 10, 8, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: min(100% - 2 * var(--gutter), 1280px);
  margin-inline: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.7rem; }
.nav-mark {
  height: 32px;
  width: auto;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.nav-logo:hover .nav-mark { opacity: 0.8; transform: scale(0.96); }
.nav-name {
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links {
  display: none;
  margin-left: auto;
  gap: 1.9rem;
}
.nav-links a {
  position: relative;
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-2);
  padding-block: 0.4rem;
  transition: color 0.3s var(--ease-out);
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; margin-left: 0.5rem; }

.nav-burger {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px; height: 44px;
  padding: 10px;
}
.nav-burger span {
  display: block; height: 2px; width: 100%;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

.menu-mobile {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center;
  background: rgba(13, 10, 8, 0.97);
  opacity: 0; visibility: hidden;
  transition: opacity 0.45s var(--ease-out), visibility 0.45s;
}
.menu-mobile.is-open { opacity: 1; visibility: visible; }
.menu-mobile nav { display: grid; gap: 1.6rem; text-align: center; }
.menu-mobile nav a:not(.btn) {
  font-family: var(--display);
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--cream);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
}
.menu-mobile nav a:not(.btn):hover { color: var(--accent); }
.menu-mobile.is-open nav a:not(.btn) { opacity: 1; transform: none; }
.menu-mobile.is-open nav a:nth-child(1) { transition-delay: 0.06s; }
.menu-mobile.is-open nav a:nth-child(2) { transition-delay: 0.12s; }
.menu-mobile.is-open nav a:nth-child(3) { transition-delay: 0.18s; }
.menu-mobile.is-open nav a:nth-child(4) { transition-delay: 0.24s; }
.menu-mobile.is-open nav a:nth-child(5) { transition-delay: 0.3s; }
.menu-mobile .btn { justify-self: center; margin-top: 0.5rem; }

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: calc(var(--nav-h) + 6rem) 0 clamp(5.5rem, 10vh, 8rem);
  overflow: clip;
}
/* Una sola foto de fondo cubriendo todo el hero */
.hero-bg {
  position: absolute; inset: 0 0 -12% 0; z-index: 0;
  animation: heroIn 1s var(--ease-soft) both;
}
@keyframes heroIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero-ph {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 40% 15%;
  filter: saturate(0.92) contrast(1.05) brightness(0.99);
}
.hero-tint {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(13,10,8,0.55) 0%, rgba(13,10,8,0.28) 32%, rgba(13,10,8,0.48) 66%, rgba(13,10,8,0.94) 100%),
    radial-gradient(100% 80% at 40% 20%, rgba(13,10,8,0) 0%, rgba(13,10,8,0.28) 55%, rgba(13,10,8,0.7) 100%);
}
.hero-mesh {
  position: absolute; inset: -20%; z-index: 2;
  background:
    radial-gradient(38% 30% at 30% 62%, rgba(211, 58, 34, 0.16) 0%, transparent 70%),
    radial-gradient(30% 26% at 72% 30%, rgba(196, 154, 91, 0.12) 0%, transparent 70%);
  filter: blur(70px);
  animation: meshBreath 12s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes meshBreath {
  from { opacity: 0.7; transform: translateY(-2%) scale(1); }
  to   { opacity: 1;   transform: translateY(2%) scale(1.06); }
}
.hero-grain {
  position: absolute; inset: 0; z-index: 3;
  opacity: 0.5;
  mix-blend-mode: overlay;
  pointer-events: none;
  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='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E");
}

.hero-inner {
  position: relative; z-index: 5;
  width: min(100% - 2 * var(--gutter), 1000px);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1.6rem;
}
.hero-kicker {
  justify-content: center;
  animation: riseIn 0.8s var(--ease-out) 0.3s both;
}
.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.2rem, 11.5vw, 8.6rem);
  line-height: 0.98;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--cream);
  max-width: 14ch;
}
.hero-line { display: block; overflow: hidden; padding-top: 0.1em; margin-bottom: -0.1em; }
.hero-line > span { display: inline-block; animation: lineUp 0.85s var(--ease-out) both; }
.hero-line:nth-child(2) > span { animation-delay: 0.12s; }
@keyframes lineUp {
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

.brush-wrap { position: relative; display: inline-block; }
.brush {
  position: absolute;
  left: -2%; right: -2%; bottom: -0.12em;
  width: 104%; height: 0.22em;
  color: var(--accent);
  pointer-events: none;
}
.brush path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: brushDraw 0.8s var(--ease-soft) 0.8s forwards;
}
.brush-static path { animation: none; stroke-dashoffset: 100; }
.is-revealed .brush-static path,
.reveal.is-visible .brush-static path { animation: brushDraw 0.9s var(--ease-soft) 0.35s forwards; }
@keyframes brushDraw { to { stroke-dashoffset: 0; } }

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.55;
  color: var(--cream-2);
  max-width: 34rem;
  animation: riseIn 0.8s var(--ease-out) 0.45s both;
}
.hero-sub em { font-style: italic; color: var(--cream); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 0.4rem;
  animation: riseIn 0.8s var(--ease-out) 0.6s both;
}
.hero-byline {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  animation: riseIn 0.8s var(--ease-out) 0.75s both;
}
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; z-index: 5;
  width: 1px; height: 56px;
  transform: translateX(-50%);
  background: var(--line);
  overflow: hidden;
}
.hero-scroll span {
  position: absolute; top: -40%; left: 0;
  width: 100%; height: 40%;
  background: var(--accent);
  animation: scrollHint 2.2s var(--ease-soft) infinite;
}
@keyframes scrollHint {
  0%   { top: -40%; }
  100% { top: 110%; }
}

/* =============================================================
   8. Marquee
   ============================================================= */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: clip;
  padding-block: 1.1rem;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: marqueeMove 30s linear infinite;
}
.marquee-track span {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-2);
  white-space: nowrap;
}
.marquee-track i { font-style: normal; color: var(--accent); font-size: 1.2rem; }
@keyframes marqueeMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================================
   9. Sections — shared
   ============================================================= */
.section { padding-block: clamp(5rem, 11vw, 8.5rem); position: relative; }
.section-head { margin-bottom: clamp(2.6rem, 6vw, 4.2rem); max-width: 720px; display: grid; gap: 1.1rem; }
.section-head-center { margin-inline: auto; text-align: center; justify-items: center; }
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  line-height: 1.12;
  color: var(--cream);
}
.section-title em { font-style: italic; color: var(--gold); }

/* Single-column grids: never let content max-width inflate the track */
.cards-3, .pillars, .steps, .proof-grid, .faq,
.footer-inner, .personal-copy, .fstep-inner, .foptions, .cta-inner {
  grid-template-columns: minmax(0, 1fr);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Defensive: split-text elements must never inherit the hidden state */
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   10. Cards (Para quién)
   ============================================================= */
.cards-3 {
  display: grid;
  gap: 1.2rem;
}
.card {
  position: relative;
  padding: 2.4rem 2rem 2.6rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  gap: 1rem;
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out),
              box-shadow 0.5s var(--ease-out);
  transform-style: preserve-3d;
}
.card:hover {
  border-color: rgba(211, 58, 34, 0.45);
  box-shadow: 0 24px 60px -28px rgba(211, 58, 34, 0.35);
}
.card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--hx, 50%) var(--hy, 50%), rgba(211, 58, 34, 0.09), transparent 65%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}
.card:hover::after { opacity: 1; }
.card-icon {
  width: 54px; height: 54px;
  color: var(--accent);
}
.card-icon svg { width: 100%; height: 100%; }
.card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
}
.card p { color: var(--cream-2); font-size: 0.98rem; }

/* =============================================================
   11. Editorial
   ============================================================= */
.section-editorial {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
  text-align: center;
}
.editorial-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1.6rem;
}
.editorial-title em { font-style: italic; color: var(--accent); }
.editorial-copy {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--cream-2);
  max-width: 44rem;
  margin-inline: auto;
}

/* =============================================================
   12. Pillars (Servicios)
   ============================================================= */
.pillars {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.pillar {
  display: grid;
  gap: 0.8rem;
  padding: 2.4rem 0.4rem;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.5s var(--ease-out), background 0.5s var(--ease-out);
}
.pillar:hover { padding-left: 1.2rem; background: rgba(241, 234, 217, 0.02); }
.pillar-num {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.pillar h3 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 600;
}
.pillar p { color: var(--cream-2); max-width: 52rem; }

/* =============================================================
   13. Personal (No soy una agencia)
   ============================================================= */
.section-personal { background: var(--bg-2); border-block: 1px solid var(--line); }
.personal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}
.personal-figure { display: grid; gap: 0.9rem; min-width: 0; max-width: 100%; overflow: clip; }
.personal-portrait {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: clip;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg-3) 0%, #241B13 55%, var(--bg-3) 100%);
  transform-style: preserve-3d;
}
.personal-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  opacity: 0.92;
  filter: sepia(0.12) saturate(0.92) contrast(1.06) brightness(0.96);
  transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out), filter 0.6s var(--ease-out);
}
.personal-figure:hover .personal-photo {
  opacity: 1;
  transform: scale(1.04);
  filter: sepia(0.06) saturate(1) contrast(1.06) brightness(1.02);
}
/* Escena: viñeta cálida + base oscura para que el logo respire */
.personal-portrait::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(13, 10, 8, 0.2) 0%, rgba(13, 10, 8, 0) 30%, rgba(13, 10, 8, 0.05) 55%, rgba(13, 10, 8, 0.72) 100%),
    radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(13, 10, 8, 0.4) 100%);
  pointer-events: none;
}
.personal-mono {
  position: absolute; z-index: 2;
  left: 50%; bottom: 7%;
  transform: translateX(-50%);
  width: 38%;
  height: auto;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.75));
  transition: transform 0.6s var(--ease-out);
}
.personal-figure:hover .personal-mono { transform: translateX(-50%) translateY(-6px); }
.personal-figure figcaption {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
.personal-copy { display: grid; gap: 1.3rem; justify-items: start; }
.personal-copy > p:not(.kicker) { color: var(--cream-2); font-size: 1.02rem; }
.personal-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.personal-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--cream-2);
}
.personal-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.52em;
  width: 0.85rem; height: 2px;
  background: var(--accent);
}

/* =============================================================
   14. Steps (Proceso)
   ============================================================= */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.2rem;
  counter-reset: step;
}
.step-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: start;
  padding: 1.8rem 1.6rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.step-item:hover { border-color: rgba(196, 154, 91, 0.4); transform: translateX(6px); }
.step-num {
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1;
  color: var(--accent);
  padding-top: 0.15rem;
}
.step-item h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.step-item p { color: var(--cream-2); font-size: 0.98rem; }

/* =============================================================
   15. Results
   ============================================================= */
.section-results { background: var(--bg-2); border-block: 1px solid var(--line); }
.results-title {
  position: relative;
  display: inline-block;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--cream);
}
.results-title .brush {
  bottom: -0.18em;
  height: 0.2em;
}
.results-sub {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--cream-2);
}
.proof-grid {
  display: grid;
  gap: 1.3rem;
  max-width: 540px;
  margin-inline: auto;
}
.proof-card {
  display: grid;
  align-content: start;
  gap: 1.1rem;
  padding: 1.6rem 1.4rem 1.5rem;
  background: var(--bg-3);
  border: 1px solid rgba(196, 154, 91, 0.32);
  border-radius: 18px;
  text-align: left;
  transform-style: preserve-3d;
  transition: border-color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out),
              transform 0.5s var(--ease-out);
}
.proof-card:hover {
  border-color: rgba(196, 154, 91, 0.62);
  box-shadow: 0 26px 60px -30px rgba(196, 154, 91, 0.3);
}
.proof-stat { display: grid; gap: 0.3rem; justify-items: start; }
.proof-num {
  font-family: var(--display);
  font-size: clamp(2.7rem, 6vw, 3.5rem);
  line-height: 1;
  color: var(--accent);
}
.proof-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.proof-shot {
  border-radius: 12px;
  overflow: clip;
  border: 1px solid var(--line);
}
.proof-shot img {
  width: 100%; height: auto;
  transition: transform 0.7s var(--ease-out);
}
.proof-card:hover .proof-shot img { transform: scale(1.025); }
.proof-card figcaption {
  font-size: 0.92rem;
  color: var(--cream-2);
  line-height: 1.55;
}
.proof-note {
  margin-top: 2.4rem;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--mute);
}
.proof-cta { margin-top: 1.5rem; text-align: center; }

/* =============================================================
   16. FAQ
   ============================================================= */
.faq { display: grid; gap: 0.9rem; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-3);
  overflow: clip;
  transition: border-color 0.4s var(--ease-out);
}
.faq-item[open] { border-color: rgba(211, 58, 34, 0.4); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold); }
.faq-mark {
  position: relative;
  flex: 0 0 auto;
  width: 16px; height: 16px;
}
.faq-mark::before, .faq-mark::after {
  content: "";
  position: absolute; top: 50%; left: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transition: transform 0.4s var(--ease-out);
}
.faq-mark::after { transform: rotate(90deg); }
.faq-item[open] .faq-mark::after { transform: rotate(0deg); }
.faq-item p {
  padding: 0 1.5rem 1.4rem;
  color: var(--cream-2);
  font-size: 0.97rem;
  max-width: 60ch;
}

/* =============================================================
   17. CTA final
   ============================================================= */
.cta-final {
  position: relative;
  padding-block: clamp(6rem, 14vw, 10rem);
  overflow: clip;
  text-align: center;
}
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.1);
}
.cta-tint {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(13,10,8,0.72) 30%, rgba(13,10,8,0.72) 70%, var(--bg) 100%),
    radial-gradient(60% 50% at 50% 50%, rgba(211,58,34,0.14) 0%, transparent 70%);
}
.cta-inner {
  position: relative; z-index: 2;
  display: grid;
  justify-items: center;
  gap: 1.4rem;
}
.cta-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
}
.cta-title em { font-style: italic; color: var(--gold); }
.cta-sub { color: var(--cream-2); max-width: 36rem; font-size: 1.05rem; }
.cta-note {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

/* =============================================================
   18. Footer
   ============================================================= */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: 3.5rem 2rem;
}
.footer-inner {
  display: grid;
  gap: 2.2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand { display: flex; gap: 1rem; align-items: center; }
.footer-mono {
  height: 26px;
  width: auto;
  flex: 0 0 auto;
}
.footer-brand p { font-weight: 500; line-height: 1.4; }
.footer-brand span { font-size: 0.82rem; font-weight: 300; color: var(--mute); }
.footer-nav { display: grid; gap: 0.7rem; }
.footer-nav a, .footer-contact a {
  font-size: 0.92rem;
  color: var(--cream-2);
  transition: color 0.3s;
  width: fit-content;
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  padding-top: 1.6rem;
  font-size: 0.78rem;
  color: var(--mute);
}

/* =============================================================
   19. Funnel (aplicar.html)
   ============================================================= */
.page-funnel {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.funnel-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; z-index: 110;
  background: rgba(241, 234, 217, 0.08);
}
.funnel-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transition: width 0.6s var(--ease-out);
}
.funnel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--gutter);
}
.funnel-counter {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--mute);
}
.funnel-close {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cream-2);
  font-size: 0.85rem;
  transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease-out);
}
.funnel-close:hover { border-color: var(--accent); color: var(--accent); transform: rotate(90deg); }

.funnel {
  position: relative;
  flex: 1;
  display: grid;
  overflow: clip;
}
.funnel-mesh {
  position: absolute; inset: -20%;
  background:
    radial-gradient(34% 30% at 22% 70%, rgba(211, 58, 34, 0.1) 0%, transparent 70%),
    radial-gradient(30% 26% at 78% 24%, rgba(196, 154, 91, 0.08) 0%, transparent 70%);
  filter: blur(70px);
  animation: meshBreath 12s ease-in-out infinite alternate;
  pointer-events: none;
}
.fstep {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  padding: 2rem var(--gutter) 6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(46px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out), visibility 0.55s;
}
.fstep.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0.12s;
}
.fstep.is-leaving {
  opacity: 0;
  transform: translateY(-40px);
}
.fstep-inner {
  width: min(100%, 640px);
  display: grid;
  gap: 1.4rem;
  justify-items: start;
}
.fstep-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.12;
}
.fstep-title em { font-style: italic; color: var(--gold); }
.fstep-sub { color: var(--cream-2); font-size: 1.05rem; max-width: 34rem; }
.fstep-q {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3.6vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
}
.fstep-note { color: var(--mute); font-size: 0.92rem; margin-top: -0.6rem; }
.fstep-hint { font-size: 0.8rem; color: var(--mute); }
.fstep-hint kbd {
  font-family: var(--sans);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.1rem 0.45rem;
  font-size: 0.75rem;
}
.fstep-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }

.finput {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--line);
  padding: 0.7rem 0.1rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  color: var(--cream);
  transition: border-color 0.4s var(--ease-out);
  border-radius: 0;
}
.finput::placeholder { color: rgba(154, 142, 122, 0.55); }
.finput:focus { outline: none; border-bottom-color: var(--accent); }
.finput.is-error { border-bottom-color: var(--accent); animation: shake 0.4s var(--ease-out); }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-7px); }
  75% { transform: translateX(7px); }
}

.foptions { display: grid; gap: 0.8rem; width: 100%; }
.foption {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 1.3rem;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-3);
  font-size: 1.02rem;
  font-weight: 400;
  color: var(--cream);
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out),
              transform 0.3s var(--ease-out);
}
.foption span {
  display: grid; place-items: center;
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.foption:hover {
  border-color: rgba(211, 58, 34, 0.5);
  transform: translateX(6px);
}
.foption:hover span { border-color: var(--accent); }
.foption.is-selected {
  border-color: var(--accent);
  background: rgba(211, 58, 34, 0.09);
}
.foption.is-selected span {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--cream);
}

.funnel-back {
  position: fixed;
  bottom: 1.6rem;
  left: var(--gutter);
  z-index: 20;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 10, 8, 0.7);
  backdrop-filter: blur(8px);
  transition: color 0.3s, border-color 0.3s;
}
.funnel-back:hover { color: var(--cream); border-color: var(--gold); }

.fcheck { width: 74px; height: 74px; color: var(--accent); }
.fcheck-circle, .fcheck-tick {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}
.fstep.is-active .fcheck-circle { animation: brushDraw 0.9s var(--ease-soft) 0.25s forwards; }
.fstep.is-active .fcheck-tick { animation: brushDraw 0.5s var(--ease-soft) 0.95s forwards; }

.fsummary {
  display: grid;
  gap: 0.45rem;
  width: 100%;
  padding: 1.3rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-3);
  font-size: 0.92rem;
  color: var(--cream-2);
}
.fsummary strong { color: var(--gold); font-weight: 500; }

/* =============================================================
   20. Responsive
   ============================================================= */
@media (max-width: 539px) {
  .hero-kicker .kicker-dot { display: none; }
}

/* Rendimiento móvil: fuera efectos de GPU costosos (blur gigante, grano, backdrop) */
@media (max-width: 719px) {
  .hero-mesh, .funnel-mesh, .hero-grain { display: none; }
  /* En pantallas estrechas la foto ocupa la parte alta con plano abierto
     (se ven Luis y el celular) y se funde hacia el fondo oscuro */
  .hero-ph {
    height: 58%;
    object-position: 47% 10%;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  }
  .nav.is-solid {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(13, 10, 8, 0.96);
  }
}

@media (min-width: 540px) {
  .foptions { gap: 0.9rem; }
}

@media (min-width: 720px) {
  .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); }
  .footer-nav { justify-self: center; }
  .footer-contact { justify-self: end; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
  .menu-mobile { display: none; }
  .personal-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 4.5rem; }
  .proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
  .pillar {
    grid-template-columns: 110px 320px 1fr;
    align-items: start;
    gap: 2rem;
  }
  .pillar p { margin-top: 0.3rem; }
}

@media (min-width: 1280px) {
  .steps { gap: 1.4rem; }
}

/* =============================================================
   21. Reduced motion — only truly intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; transform: scale(1.06); }
  .hero-mesh, .funnel-mesh { animation: none; }
  .kicker-dot { animation: none; }
  .marquee-track { animation-duration: 70s; }
  /* Micro-interactions (hover, reveals, brush, funnel steps) stay active */
}
