/* ══════════════════════════════════════════════════════════════
   DANILO HURWITZ · TRILINGUAL CONTENT SPECIALIST
   Design System · Premium Agency × Portfolio × Funnel
   ══════════════════════════════════════════════════════════════ */

:root {
  --ink: #0d0d0d;
  --ink-2: #3a3a3a;
  --ink-3: #6b6b6b;
  --ink-4: #9a9a9a;
  --paper: #f8f6f2;
  --paper-2: #efecea;
  --paper-3: #e8e4df;
  --paper-4: #ddd8d2;
  --line: rgba(0,0,0,0.09);
  --line-strong: rgba(0,0,0,0.18);
  --accent: #1a4fd6;
  --accent-light: #e8eefb;
  --accent-2: #d4381e;
  --success: #14532d;
  --success-bg: #dcfce7;
  --warn: #78350f;
  --warn-bg: #fef3c7;
  --r: 6px;
  --r-lg: 12px;
  --r-xl: 20px;
  --ease: cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(.22,1,.36,1);
}

/* DARK MODE */
body.dark {
  --ink: #f8f6f2;
  --ink-2: #c8c4be;
  --ink-3: #8a8680;
  --ink-4: #5e5a55;
  --paper: #0a0a0a;
  --paper-2: #141414;
  --paper-3: #1d1d1d;
  --paper-4: #262626;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.16);
  --accent: #5e87f0;
  --accent-light: rgba(94,135,240,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}
h1,h2,h3,h4,h5 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
video { max-width: 100%; display: block; }

/* HEBREW RTL */
body.rtl { direction: rtl; text-align: right; }
body.rtl .hero-actions,
body.rtl .nav-inner,
body.rtl .hero-stats,
body.rtl .footer-inner { direction: rtl; }
body.rtl .nav-logo-dot { margin-left: 10px; margin-right: 0; }

/* ─── LAYOUT ─── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wrap-sm { max-width: 840px; margin: 0 auto; padding: 0 32px; }
.wrap-xs { max-width: 640px; margin: 0 auto; padding: 0 32px; }
section { padding: 100px 0; position: relative; }
@media(max-width:640px) { section { padding: 72px 0; } .wrap { padding: 0 22px; } }

/* ─── CUSTOM CURSOR (desktop only) ─── */
@media (hover: hover) and (pointer: fine) {
  .cursor-dot, .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
    will-change: transform;
  }
  .cursor-dot {
    width: 6px; height: 6px; background: #fff;
    border-radius: 50%;
    transform: translate(-50%,-50%);
    transition: width .2s, height .2s, background .2s;
  }
  .cursor-ring {
    width: 34px; height: 34px;
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 50%;
    transform: translate(-50%,-50%);
    transition: width .3s var(--ease-out), height .3s var(--ease-out), border-color .3s;
  }
  body.cursor-hover .cursor-dot { width: 4px; height: 4px; }
  body.cursor-hover .cursor-ring { width: 60px; height: 60px; border-color: rgba(255,255,255,0.85); }
  body:not(.dark) .cursor-dot { background: #fff; }
}

/* ─── NAV ─── */
nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,246,242,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease);
}
body.dark nav.site-nav { background: rgba(10,10,10,0.82); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; max-width: 1200px; margin: 0 auto;
  gap: 24px;
}
.nav-logo {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem;
  letter-spacing: -0.03em; display: flex; align-items: center; gap: 10px;
}
.nav-logo-dot {
  width: 8px; height: 8px; background: var(--accent);
  border-radius: 50%;
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 0 0 rgba(26,79,214,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(26,79,214,0); }
}
.nav-links { display: flex; gap: 34px; font-size: 0.875rem; font-weight: 500; }
.nav-links a {
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--ink);
  transition: width .3s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-tools { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: flex;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 3px;
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}
.lang-switch button {
  padding: 5px 10px;
  border-radius: 4px;
  color: var(--ink-3);
  transition: all .2s;
  font-weight: 600;
  text-transform: uppercase;
}
.lang-switch button.active {
  background: var(--ink);
  color: var(--paper);
}
.theme-toggle {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .4s var(--ease-out);
}
.theme-toggle:hover { background: var(--paper-3); transform: rotate(25deg); }
.theme-toggle svg { width: 16px; height: 16px; stroke: var(--ink-2); }

.nav-cta {
  background: var(--ink); color: var(--paper);
  padding: 11px 22px; border-radius: var(--r);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.01em; font-family: 'Syne', sans-serif;
  transition: opacity .2s, transform .25s var(--ease-out);
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-cta:hover { opacity: 0.86; transform: translateY(-1px); }

.mobile-menu-btn { display: none; }
@media(max-width:960px) {
  .nav-links { display: none; }
  .mobile-menu-btn {
    display: flex; flex-direction: column; gap: 4px;
    width: 34px; height: 34px;
    align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--paper-2);
    border: 1px solid var(--line);
  }
  .mobile-menu-btn span {
    width: 14px; height: 1.5px; background: var(--ink);
    transition: all .3s;
  }
  .mobile-menu-btn.open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
  .mobile-menu-btn.open span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

  .nav-links.mobile-open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); padding: 24px 32px;
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }
}
@media(max-width:480px) {
  .nav-cta { display: none; }
}

/* ─── SIGNAL BANNER ─── */
.signal-banner {
  background: var(--accent-2); color: white;
  padding: 12px 28px; text-align: center;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.01em;
  position: relative; overflow: hidden;
}
.signal-banner strong { font-family: 'Syne', sans-serif; font-weight: 700; }
.signal-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
  animation: shimmerBanner 6s ease-in-out infinite;
}
@keyframes shimmerBanner {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ─── HERO CINEMATIC ─── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  background: #0a0a0a;
  color: #f8f6f2;
  position: relative; overflow: hidden;
}
.hero-video-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-video-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: grayscale(0.15) contrast(1.05);
}
.hero-video-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, transparent 0%, rgba(13,13,13,0.6) 70%),
    linear-gradient(180deg, rgba(13,13,13,0.3) 0%, rgba(13,13,13,0.85) 100%);
}
.hero-texture {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.025) 39px, rgba(255,255,255,0.025) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,0.025) 39px, rgba(255,255,255,0.025) 40px);
  pointer-events: none;
}
.hero-accent-line {
  position: absolute; top: 0; right: 18%; z-index: 1;
  width: 1px; height: 100%; background: rgba(255,255,255,0.05);
}
.hero-content { position: relative; z-index: 2; padding: 100px 0 60px; width: 100%; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'DM Mono', monospace; font-size: 0.72rem;
  color: rgba(255,255,255,0.5); letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 40px;
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 100px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
}
.hero-eyebrow-dot { width: 6px; height: 6px; background: #4ade80; border-radius: 50%; animation: pulseGreen 1.8s infinite; }
@keyframes pulseGreen {
  0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  50% { box-shadow: 0 0 0 5px rgba(74,222,128,0); }
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 800; color: white;
  max-width: 900px; margin-bottom: 28px;
  letter-spacing: -0.035em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #93c5fd 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: rgba(255,255,255,0.6);
  max-width: 580px; margin-bottom: 48px;
  font-weight: 300; line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 12px; }
.btn-hero-primary {
  background: white; color: #0a0a0a;
  padding: 16px 32px; border-radius: var(--r);
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 0.9rem; letter-spacing: -0.01em;
  transition: opacity .2s, transform .25s var(--ease-out);
  display: inline-flex; align-items: center; gap: 10px;
  position: relative; overflow: hidden;
}
.btn-hero-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
  transform: translateX(-100%);
  transition: transform .6s var(--ease-out);
}
.btn-hero-primary:hover::before { transform: translateX(100%); }
.btn-hero-primary:hover { transform: translateY(-2px); }
.btn-hero-secondary {
  background: transparent; color: rgba(255,255,255,0.7);
  padding: 16px 28px; border-radius: var(--r);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.875rem; font-weight: 400;
  transition: border-color .2s, color .2s, background .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-hero-secondary:hover {
  border-color: rgba(255,255,255,0.42);
  color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.03);
}
.hero-fine {
  font-size: 0.76rem; color: rgba(255,255,255,0.3);
  font-family: 'DM Mono', monospace; margin-top: 10px;
  letter-spacing: 0.04em;
}
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 52px;
  margin-top: 80px; padding-top: 50px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat-n {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 2.2rem; color: white; display: block;
  letter-spacing: -0.02em;
}
.hero-stat-l {
  font-size: 0.74rem; color: rgba(255,255,255,0.38);
  font-family: 'DM Mono', monospace; margin-top: 4px;
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* ─── PROOF / AUTHORITY STRIP ─── */
.proof-strip {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
  overflow: hidden;
}
.proof-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.proof-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--ink-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
/* Logos ocupan TODO el ancho, distribuidos uniformemente */
.proof-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
  margin-left: 0;
}
.proof-badges {
  display: flex; gap: 28px; align-items: center; flex-wrap: wrap;
}
.proof-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Syne', sans-serif; font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-2);
}
.proof-badge strong { color: var(--ink); font-weight: 800; }
.proof-badge svg { width: 18px; height: 18px; }
.proof-badge.top-rated {
  background: var(--success-bg); color: var(--success);
  padding: 6px 14px; border-radius: var(--r);
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.proof-icuc {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  position: relative;
}
.proof-icuc::after {
  content: 'CLIENT';
  position: absolute;
  top: -10px; right: -36px;
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  color: var(--accent-2);
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ─── SECTION UTILS ─── */
.s-label {
  font-family: 'DM Mono', monospace; font-size: 0.7rem;
  color: var(--ink-3); letter-spacing: 0.14em;
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.s-label::before {
  content: ''; width: 24px; height: 1px; background: var(--ink-3);
}
.s-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 20px;
  max-width: 760px;
}
.s-sub { font-size: 1.05rem; color: var(--ink-2); max-width: 560px; line-height: 1.75; }

/* ─── SERVICES (NARRATIVE SCROLL) ─── */
.services-section { background: var(--paper); }
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 140px;
}
.service-block:last-child { margin-bottom: 0; }
.service-block.reverse .service-media { order: 2; }
.service-block.reverse .service-text { order: 1; }
.service-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 16/9;
  box-shadow:
    0 30px 60px -18px rgba(0,0,0,0.22),
    0 0 0 1px var(--line);
  transition: transform .6s var(--ease-out);
}
.service-media.vertical { aspect-ratio: 9/16; max-width: 380px; margin: 0 auto; }
.service-media video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.service-media-label {
  position: absolute; top: 16px; left: 16px;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  color: white;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  padding: 5px 11px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 3;
}
.service-media:hover { transform: scale(1.01); }
.service-play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.18);
  opacity: 0;
  transition: opacity .3s;
  z-index: 2;
  pointer-events: none;
}
.service-media:hover .service-play-overlay { opacity: 1; }
.service-play-icon {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: rgba(255,255,255,0.96);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  font-size: 1.1rem;
}

.service-text .s-label { margin-bottom: 16px; }
.service-text h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 18px;
  letter-spacing: -0.025em;
}
.service-text p {
  font-size: 1rem; color: var(--ink-2);
  line-height: 1.8; margin-bottom: 18px;
  max-width: 480px;
}
.service-text p:last-of-type { margin-bottom: 26px; }
.service-specs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 24px;
}
.spec-chip {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 5px 11px;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}
@media(max-width:900px) {
  .service-block { grid-template-columns: 1fr; gap: 32px; margin-bottom: 88px; }
  .service-block.reverse .service-media { order: 1; }
  .service-block.reverse .service-text { order: 2; }
}

/* ─── PORTFOLIO GRID ─── */
.portfolio-section { background: var(--paper-2); border-top: 1px solid var(--line); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 16px;
  margin-top: 56px;
}
.p-item {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
  transition: transform .5s var(--ease-out);
}
.p-item:hover { transform: translateY(-3px); }
.p-item video, .p-item img {
  width: 100%; height: 100%; object-fit: cover;
}
.p-item-info {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.75));
  color: white;
}
.p-item-info h4 {
  font-size: 0.95rem; margin-bottom: 4px;
  font-weight: 700;
}
.p-item-info .p-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.66rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.p-item.p-wide { grid-column: span 8; grid-row: span 2; }
.p-item.p-tall { grid-column: span 4; grid-row: span 2; }
.p-item.p-square { grid-column: span 4; grid-row: span 1; }
.p-item.p-med { grid-column: span 6; grid-row: span 1; }

@media(max-width:900px) {
  .portfolio-grid { grid-template-columns: repeat(6, 1fr); }
  .p-item.p-wide { grid-column: span 6; }
  .p-item.p-tall { grid-column: span 3; }
  .p-item.p-square { grid-column: span 3; }
  .p-item.p-med { grid-column: span 6; }
}
@media(max-width:560px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .p-item.p-wide, .p-item.p-tall, .p-item.p-square, .p-item.p-med {
    grid-column: span 1; grid-row: span 1;
  }
}

/* ─── BOOK ECOMMERCE (3D MOCKUP) ─── */
.book-section {
  background: var(--ink);
  color: #f8f6f2;
  position: relative;
  overflow: hidden;
}
.book-section::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(26,79,214,0.12) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}
.book-section .s-label { color: rgba(255,255,255,0.45); }
.book-section .s-label::before { background: rgba(255,255,255,0.35); }
.book-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 56px;
  position: relative;
  z-index: 2;
}
.book-section h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  color: white;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.book-kicker {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 480px;
}
.book-benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.book-benefit {
  display: flex; gap: 14px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
}
.bb-dot {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(74,222,128,0.16);
  color: #4ade80;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 3px;
}
.book-price-row {
  display: flex; align-items: baseline; gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.book-price {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--ink);
  letter-spacing: -0.04em;
}
.book-price-cur {
  font-size: 1rem;
  color: var(--ink-3);
  font-weight: 500;
  margin-right: 4px;
}
.book-price-note {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.book-cta-row {
  display: flex; flex-direction: column; gap: 10px;
}
.btn-book-buy {
  background: #0a0a0a; color: white;
  padding: 16px 28px;
  border-radius: var(--r);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform .25s var(--ease-out), opacity .2s;
}
body.dark .btn-book-buy { background: white; color: #0a0a0a; }
.btn-book-buy:hover { transform: translateY(-2px); opacity: 0.94; }
.btn-book-mp {
  background: #00b1ea; color: white;
  padding: 14px 28px;
  border-radius: var(--r);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: opacity .2s;
}
.btn-book-mp:hover { opacity: 0.88; }
.book-paypal {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: var(--ink-3);
  text-align: center;
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   3D BOOK MOCKUP · preserve-3d con 6 caras + imágenes reales
   ═══════════════════════════════════════════════════════════════ */
.book-mockup-stage {
  perspective: 1600px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  position: relative;
  padding: 20px 40px;
}
.book-3d {
  width: 220px;
  height: 310px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-25deg) rotateX(4deg);
  transition: transform .8s var(--ease-out);
  animation: bookFloat 7s ease-in-out infinite;
}
.book-mockup-stage:hover .book-3d {
  transform: rotateY(-10deg) rotateX(1deg) scale(1.04);
  animation-play-state: paused;
}
@keyframes bookFloat {
  0%,100% { transform: rotateY(-25deg) rotateX(4deg) translateY(0); }
  50%     { transform: rotateY(-30deg) rotateX(2deg) translateY(-8px); }
}

.book-face {
  position: absolute;
  overflow: hidden;
  backface-visibility: hidden;
}
.book-face img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* FRENTE · tapa_frontal.png */
.book-front {
  width: 220px; height: 310px;
  transform: translateZ(18px);
  border-radius: 1px 5px 5px 1px;
  box-shadow:
    inset -2px 0 6px rgba(255,255,255,0.06),
    inset 4px 0 10px rgba(0,0,0,0.25);
  background: #1a1a1a;
}

/* ATRÁS · tapa_trasera.png */
.book-back {
  width: 220px; height: 310px;
  transform: translateZ(-18px) rotateY(180deg);
  border-radius: 5px 1px 1px 5px;
  background: #1a1a1a;
}

/* LOMO · lomo_libro.png */
.book-spine {
  width: 36px; height: 310px;
  left: -18px; top: 0;
  transform: rotateY(-90deg) translateZ(18px);
  background: linear-gradient(90deg, #151515, #1e1e1e);
  display: flex; align-items: center; justify-content: center;
}

/* Páginas superiores */
.book-pages-top {
  width: 220px; height: 36px;
  top: -18px; left: 0;
  transform: rotateX(90deg) translateZ(18px);
  background: repeating-linear-gradient(
    90deg,
    #f5f2ed 0, #f5f2ed 1px,
    #e9e5de 1px, #e9e5de 2px
  );
  border-radius: 0;
}

/* Páginas inferiores */
.book-pages-bottom {
  width: 220px; height: 36px;
  bottom: -18px; left: 0;
  transform: rotateX(-90deg) translateZ(18px);
  background: repeating-linear-gradient(
    90deg,
    #f5f2ed 0, #f5f2ed 1px,
    #e9e5de 1px, #e9e5de 2px
  );
}

/* Páginas lado derecho */
.book-pages-right {
  width: 36px; height: 310px;
  right: -18px; top: 0;
  transform: rotateY(90deg) translateZ(18px);
  background: repeating-linear-gradient(
    0deg,
    #f5f2ed 0, #f5f2ed 1px,
    #e9e5de 1px, #e9e5de 2px
  );
}

/* Sombra */
.book-shadow {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.4), transparent 70%);
  filter: blur(12px);
  z-index: 0;
}
body.dark .book-shadow {
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.8), transparent 70%);
}

/* Dentro de res-book (card) */
.res-book .book-mockup-stage { min-height: 380px; }
.res-book .book-3d { width: 190px; height: 268px; }
.res-book .book-front,
.res-book .book-back { width: 190px; height: 268px; }
.res-book .book-spine { width: 30px; height: 268px; left: -15px; transform: rotateY(-90deg) translateZ(15px); }
.res-book .book-front { transform: translateZ(15px); }
.res-book .book-back { transform: translateZ(-15px) rotateY(180deg); }
.res-book .book-pages-top { width: 190px; height: 30px; top: -15px; transform: rotateX(90deg) translateZ(15px); }
.res-book .book-pages-bottom { width: 190px; height: 30px; bottom: -15px; transform: rotateX(-90deg) translateZ(15px); }
.res-book .book-pages-right { width: 30px; height: 268px; right: -15px; transform: rotateY(90deg) translateZ(15px); }

/* BOOK QUOTES */
.book-quotes {
  margin-top: 96px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 2;
}
.book-quote {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
}
.book-quote::before {
  content: '"';
  position: absolute;
  top: -8px; left: 18px;
  font-family: 'Syne', sans-serif;
  font-size: 4rem;
  color: rgba(255,255,255,0.12);
  line-height: 1;
}
.book-quote p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 12px;
  padding-top: 14px;
}
.book-quote .bq-chapter {
  font-family: 'DM Mono', monospace;
  font-size: 0.66rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media(max-width:900px) {
  .book-inner { grid-template-columns: 1fr; gap: 48px; }
  .book-mockup-stage { order: -1; min-height: 300px; }
}

/* ─── MENTORÍAS ─── */
.mentoria-section { background: var(--paper); }
.mentoria-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-top: 56px;
}
.mentoria-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--ink);
  box-shadow: 0 30px 60px -18px rgba(0,0,0,0.22);
}
.mentoria-media video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.mentoria-media::before {
  content: 'CONSULTORÍA 1:1';
  position: absolute; top: 16px; left: 16px;
  font-family: 'DM Mono', monospace;
  font-size: 0.66rem;
  color: white;
  background: rgba(0,0,0,0.55);
  padding: 5px 11px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  z-index: 2;
}
.mentoria-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.mentoria-ben {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  transition: border-color .25s, transform .25s var(--ease-out);
}
.mentoria-ben:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.mentoria-ben h5 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.mentoria-ben p {
  font-size: 0.82rem;
  color: var(--ink-3);
  line-height: 1.6;
}
.mentoria-form {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-top: 28px;
}
.mentoria-form h5 {
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.mentoria-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.mentoria-input, .mentoria-textarea, .mentoria-select {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px 14px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
}
.mentoria-textarea { resize: vertical; min-height: 90px; margin-bottom: 12px; }
.mentoria-input:focus, .mentoria-textarea:focus, .mentoria-select:focus {
  border-color: var(--accent);
}
.btn-whatsapp {
  width: 100%;
  background: #25D366;
  color: white;
  padding: 15px 24px;
  border-radius: var(--r);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .2s, transform .25s var(--ease-out);
}
.btn-whatsapp:hover {
  background: #1fb855;
  transform: translateY(-1px);
}
@media(max-width:900px) {
  .mentoria-inner { grid-template-columns: 1fr; gap: 48px; }
  .mentoria-benefits { grid-template-columns: 1fr; }
}

/* ─── TESTIMONIALS ─── */
.testimonials-section { background: var(--paper-2); border-top: 1px solid var(--line); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.testim-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column;
}
.testim-rating {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}
.testim-text {
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: 20px;
  flex-grow: 1;
}
.testim-meta {
  display: flex; align-items: center; gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.testim-initial {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 0.85rem;
}
.testim-info { flex: 1; }
.testim-info strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
}
.testim-info span {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
@media(max-width:900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ─── CALCULATOR ─── */
.calc-section { background: var(--paper); }
.calc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 56px;
  align-items: start;
}
.calc-form {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
}
.calc-group {
  margin-bottom: 26px;
}
.calc-group:last-child { margin-bottom: 0; }
.calc-label {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.calc-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.calc-opt {
  padding: 12px 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-size: 0.8rem;
  color: var(--ink-2);
  font-family: inherit;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
  font-weight: 500;
}
.calc-opt:hover {
  border-color: var(--line-strong);
}
.calc-opt.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.calc-opt-2col { grid-template-columns: repeat(2, 1fr); }

.calc-result {
  background: #0a0a0a;
  color: white;
  border-radius: var(--r-xl);
  padding: 40px;
  position: sticky;
  top: 100px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
body.dark .calc-result {
  background: #1a1a1a;
  border: 1px solid var(--line-strong);
}
.calc-result-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.calc-range {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: white;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
  margin-bottom: 6px;
}
.calc-range span {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
  margin: 0 8px;
}
.calc-range-cur {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.calc-tier-info {
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin-bottom: 20px;
}
.calc-tier-info strong {
  color: white;
  display: block;
  margin-bottom: 4px;
  font-family: 'Syne', sans-serif;
}
.btn-calc-cta {
  width: 100%;
  background: white;
  color: #0a0a0a;
  padding: 15px;
  border-radius: var(--r);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: opacity .2s, transform .25s var(--ease-out);
  margin-top: auto;
}
.btn-calc-cta:hover { opacity: 0.9; transform: translateY(-1px); }

@media(max-width:900px) {
  .calc-inner { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .calc-form { padding: 28px; }
}
@media(max-width:500px) {
  .calc-options { grid-template-columns: repeat(2, 1fr); }
}

/* ─── FINAL CTA ─── */
.final-cta {
  background: #0a0a0a; color: white;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(26,79,214,0.1) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.final-cta-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}
.final-cta h2 {
  font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  color: white;
  margin-bottom: 22px;
  letter-spacing: -0.035em;
}
.final-cta p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 44px;
  line-height: 1.75;
}
.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.btn-final-primary {
  background: white; color: #0a0a0a;
  padding: 18px 40px; border-radius: var(--r);
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem;
  display: inline-flex; align-items: center; gap: 10px;
  transition: opacity .2s, transform .25s var(--ease-out);
}
.btn-final-primary:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-final-secondary {
  background: transparent; color: rgba(255,255,255,0.8);
  padding: 18px 32px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r);
  font-size: 0.92rem;
  transition: all .2s;
}
.btn-final-secondary:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.04);
}

/* ─── FOOTER ─── */
footer {
  background: #0a0a0a; color: rgba(255,255,255,0.35);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 56px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  margin-bottom: 40px;
}
.footer-brand h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  color: white;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.75;
  max-width: 320px;
}
.footer-col h5 {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.5);
  transition: color .2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 32px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.04em;
}
@media(max-width:900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media(max-width:560px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ─── FLOATING WHATSAPP ─── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 98;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  box-shadow: 0 12px 30px rgba(37,211,102,0.4);
  transition: transform .3s var(--ease-out);
  animation: waFloat 3s ease-in-out infinite;
}
@keyframes waFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

body.rtl .wa-float { right: auto; left: 24px; }

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.shown { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: .08s; }
.rd2 { transition-delay: .16s; }
.rd3 { transition-delay: .24s; }
.rd4 { transition-delay: .32s; }

/* ─── TOAST ─── */
.toast-container {
  position: fixed; bottom: 24px; right: 24px;
  display: flex; flex-direction: column; gap: 10px; z-index: 99999;
}
.toast {
  background: var(--ink); color: var(--paper);
  padding: 14px 20px; border-radius: var(--r-lg);
  font-size: 0.85rem; max-width: 320px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  animation: slideToast .3s var(--ease);
  border-left: 3px solid rgba(255,255,255,0.2);
}
.toast.ok { border-left-color: #4ade80; }
.toast.err { border-left-color: #f87171; }
@keyframes slideToast {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ─── MODAL PAYMENT ─── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--paper);
  border-radius: var(--r-xl);
  max-width: 520px; width: 100%;
  padding: 40px;
  position: relative;
  max-height: 90vh; overflow-y: auto;
  transform: translateY(16px) scale(0.96);
  transition: transform .3s var(--ease-out);
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--ink-2);
  transition: background .15s;
}
.modal-close:hover { background: var(--paper-3); }
.modal-box h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.modal-sub {
  font-size: 0.9rem;
  color: var(--ink-3);
  margin-bottom: 28px;
}
.pay-options {
  display: flex; flex-direction: column; gap: 12px;
}
.pay-option {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  cursor: pointer;
  transition: border-color .2s, transform .2s var(--ease-out);
  text-align: left;
  width: 100%;
}
.pay-option:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}
.pay-option-icon {
  width: 44px; height: 44px;
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-2);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--ink);
  flex-shrink: 0;
}
.pay-option-icon.mp { background: #00b1ea; color: white; }
.pay-option-icon.pp { background: #0070ba; color: white; }
.pay-option-text { flex: 1; }
.pay-option-text strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.pay-option-text span {
  font-size: 0.78rem;
  color: var(--ink-3);
}
.pay-option-arrow {
  color: var(--ink-3);
  font-size: 1rem;
}
.modal-fine {
  font-size: 0.74rem;
  color: var(--ink-3);
  text-align: center;
  margin-top: 20px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   NEW COMPONENTS (v2 iteration · hero split, logos, resources, calc)
   ═══════════════════════════════════════════════════════════════ */

/* ─── NEW NAV LOGO ─── */
.nav-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Syne', sans-serif;
}
.nav-logo-mark {
  width: 34px; height: 34px;
  background: #0a0a0a;
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  border-radius: 7px;
  position: relative;
  overflow: hidden;
}
.nav-logo-mark::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent);
}
body.dark .nav-logo-mark { background: var(--accent); color: white; }
.nav-logo-text {
  display: flex; flex-direction: column;
  line-height: 1;
}
.nav-logo-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.nav-logo-role {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ─── HERO SPLIT LAYOUT ─── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}
.hero-text { max-width: 640px; }
.hero-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 600px;
  justify-self: end;
  border-radius: 14px;
  overflow: hidden;
  background: #141414;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.06),
    inset 0 0 0 1px rgba(255,255,255,0.03);
}
.hero-video-frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-video-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.5));
  pointer-events: none;
}
.hero-video-badge {
  position: absolute;
  bottom: 18px; left: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 14px;
  border-radius: 100px;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
}
.hvb-dot {
  width: 6px; height: 6px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulseRed 1.8s infinite;
}
@keyframes pulseRed {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  max-width: 640px;
}

/* ─── CLIENT LOGOS (proof strip v5 · altura unificada) ─── */
.proof-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 44px;
  margin-left: auto;
}
/* TODOS los logos al mismo ANCHO visual · 3 logos equidistantes */
.plogo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s, transform .2s var(--ease-out);
  opacity: 0.85;
  width: 240px;
  height: 60px;
  flex: 1;
}
.plogo:hover { opacity: 1; transform: translateY(-1px); }
.plogo img {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Upwork · su SVG ya viene con su color verde */
body.dark .plogo-upwork img {
  filter: brightness(1.25);
}

/* ICUC · PNG sobre blanco. En dark invertimos para visibilidad. */
body.dark .plogo-icuc img {
  filter: invert(1) brightness(1.15);
}

/* ElevenLabs · swap automático light/dark */
.plogo-eleven { position: relative; }
.plogo-eleven .plogo-img-dark { display: none; }
body.dark .plogo-eleven .plogo-img-light { display: none; }
body.dark .plogo-eleven .plogo-img-dark { display: block; }

/* Rating bloque */
.plogo-rating {
  font-size: 0.82rem;
  font-family: 'DM Mono', monospace;
  font-weight: 500;
  color: var(--ink-3);
  gap: 10px;
  height: auto;
}
.plogo-stars {
  color: #f59e0b;
  letter-spacing: 0.05em;
  font-size: 0.88rem;
}

/* ─── RESOURCES SECTION (libro + landing gancho) ─── */
.resources-section {
  padding: 120px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.resources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.res-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
}
.res-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}
body.dark .res-card:hover { box-shadow: 0 30px 60px rgba(0,0,0,0.4); }
.res-card-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: 'DM Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--paper-3);
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--line);
  font-weight: 600;
}
.res-card-tag-premium {
  background: linear-gradient(135deg, var(--accent), #8B5CF6);
  color: white;
  border-color: transparent;
}
.res-course {
  background: linear-gradient(170deg, var(--paper), var(--paper-2));
  border-color: var(--line-strong);
}
body.dark .res-course {
  background: linear-gradient(170deg, #141414, #0d0d0d);
}

/* Libro mockup inside res-card */
.res-book .book-mockup-stage {
  min-height: 380px;
  margin: -10px 0 10px;
}

/* Course visual (lado derecho) · ahora video 16:9 */
.res-course-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #0a0a0a;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
.res-course-visual video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.res-course-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.55));
  pointer-events: none;
}
.rcv-play-badge {
  position: absolute;
  bottom: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 7px 12px;
  border-radius: 100px;
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  z-index: 2;
}
.rcv-play-badge svg { color: var(--accent); }

.res-card-body { display: flex; flex-direction: column; gap: 16px; flex-grow: 1; }
.res-card-body h3 {
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.res-card-kicker {
  font-size: 0.94rem;
  color: var(--ink-2);
  line-height: 1.65;
}
.res-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 0;
}
.res-bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 0.88rem;
  color: var(--ink-2);
  line-height: 1.55;
}
.res-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 1px;
  color: var(--accent);
  font-weight: 700;
}
.res-bullets li strong { color: var(--ink); font-weight: 700; }
.res-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.res-course-price {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.res-course-price-value {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.btn-course-cta {
  background: var(--accent);
  color: white;
  padding: 14px 22px;
  border-radius: var(--r);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform .25s var(--ease-out), box-shadow .2s;
  white-space: nowrap;
}
.btn-course-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(26,79,214,0.3);
}

/* ─── CALCULATOR SLIDER ─── */
.calc-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.calc-qty-value {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--accent);
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: 0.82rem;
}
.calc-range-input {
  width: 100%;
  height: 6px;
  border-radius: 100px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--paper-3);
  outline: none;
  cursor: pointer;
}
.calc-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--paper);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(26,79,214,0.4);
  transition: transform .15s;
}
.calc-range-input::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc-range-input::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--paper);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(26,79,214,0.4);
}
.calc-range-hint {
  font-size: 0.74rem;
  color: var(--ink-3);
  margin-top: 8px;
}

/* Special: 5-col grid for calc tipo (es más largo ahora) */
.calc-group .calc-options {
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE (optimizado para no hacer scroll infinito)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  body { font-size: 15px; }

  /* NAV compacto */
  nav.site-nav { padding: 10px 0; }
  .nav-logo-text { display: none; }
  .nav-logo-mark { width: 38px; height: 38px; font-size: 0.8rem; }
  .nav-cta span:first-child { display: none; }
  .nav-cta { padding: 10px 14px; font-size: 0.72rem; }
  .lang-switch button { padding: 5px 8px; font-size: 0.66rem; }
  .theme-toggle { width: 32px; height: 32px; }

  /* HERO más compacto */
  .hero { min-height: auto; padding: 60px 0 40px; }
  .hero-content { padding: 60px 0 20px; }
  .hero-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-video-frame {
    max-width: 100%;
    aspect-ratio: 16 / 9;
    justify-self: stretch;
  }
  .hero h1 { font-size: 2rem; letter-spacing: -0.025em; margin-bottom: 18px; }
  .hero-sub { font-size: 0.95rem; margin-bottom: 28px; line-height: 1.6; }
  .hero-eyebrow { margin-bottom: 20px; font-size: 0.64rem; padding: 5px 11px; }
  .hero-fine { font-size: 0.68rem; }
  .btn-hero-primary, .btn-hero-secondary { padding: 13px 20px; font-size: 0.82rem; }
  .hero-stats { gap: 28px; margin-top: 44px; padding-top: 28px; }
  .hero-stat-n { font-size: 1.5rem; }
  .hero-stat-l { font-size: 0.62rem; }

  /* PROOF LOGOS: ocultar lenguajes, dejar los 3 principales */
  .proof-strip { padding: 24px 0; }
  .proof-inner { flex-direction: column; gap: 14px; align-items: flex-start; }
  .proof-logos { gap: 22px; }
  .plogo { font-size: 0.82rem; }
  .proof-label { font-size: 0.7rem; }

  /* SECCIONES: padding reducido y typography escalado */
  .services-section,
  .portfolio-section,
  .resources-section,
  .testimonials-section,
  .calc-section { padding: 60px 0; }
  .s-title { font-size: 1.6rem; line-height: 1.15; }
  .s-sub { font-size: 0.92rem; }
  .s-label { font-size: 0.66rem; }
  .wrap { padding: 0 20px; }

  /* SERVICES: stack vertical, video más chico */
  .service-block { grid-template-columns: 1fr !important; gap: 20px; margin-bottom: 56px; }
  .service-block.reverse > * { order: initial !important; }
  .service-media { aspect-ratio: 16 / 9; max-height: 240px; }
  .service-media.vertical { aspect-ratio: 9 / 12; max-height: 320px; }
  .service-text h3 { font-size: 1.4rem; }
  .service-text p { font-size: 0.9rem; }

  /* PORTFOLIO: single column compacto */
  .portfolio-grid {
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto !important;
    gap: 16px;
  }
  .portfolio-item {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    aspect-ratio: 16 / 9 !important;
  }
  /* Solo mostrar primeros 4 items en mobile para no hacer scroll interminable */
  .portfolio-item:nth-child(n+5) { display: none; }

  /* RESOURCES stack */
  .resources-grid { grid-template-columns: 1fr; gap: 18px; }
  .res-card { padding: 26px 20px; }
  .res-card-body h3 { font-size: 1.15rem; }
  .res-card-kicker { font-size: 0.86rem; }
  .res-bullets li { font-size: 0.82rem; }
  .res-book .book-mockup-stage { min-height: 300px; }
  .res-book .book-3d { width: 170px; height: 240px; }
  .res-book .book-front, .res-book .book-back { width: 170px; height: 240px; }
  .res-book .book-spine { height: 240px; }
  .res-book .book-top, .res-book .book-bottom { width: 170px; }
  .res-book .book-right-edge { height: 240px; }
  .res-course-visual { height: 260px; }
  .rcv-1 { width: 220px; height: 220px; }
  .rcv-2 { width: 150px; height: 150px; }
  .rcv-3 { width: 90px; height: 90px; }
  .res-card-footer { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn-course-cta { justify-content: center; }

  /* TESTIMONIALS single */
  .testimonials-grid { grid-template-columns: 1fr; gap: 14px; }
  .testim-card { padding: 22px 20px; }
  .testim-text { font-size: 0.9rem; }

  /* CALC stack */
  .calc-inner { grid-template-columns: 1fr !important; gap: 20px; }
  .calc-result { position: static !important; padding: 26px 22px; min-height: auto; }
  .calc-range { font-size: 2.2rem; }
  .calc-form { padding: 24px 20px; }
  .calc-opt { padding: 10px 6px; font-size: 0.75rem; }

  /* FINAL CTA */
  .final-cta { padding: 70px 20px; }
  .final-cta h2 { font-size: 1.8rem; }
  .final-cta p { font-size: 0.92rem; margin-bottom: 28px; }
  .btn-final-primary, .btn-final-secondary { padding: 14px 22px; font-size: 0.88rem; }

  /* FOOTER compacto */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 0 20px;
  }
  .footer-brand { grid-column: 1 / -1; }

  /* Ocultar cursor custom en mobile */
  .cursor-ring, .cursor-dot { display: none !important; }
  html { cursor: auto !important; }

  /* WhatsApp floating más chico */
  .wa-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .wa-float svg { width: 24px; height: 24px; }

  /* Modal mobile */
  .modal-content { padding: 28px 22px; max-width: 92%; }
  .modal-title { font-size: 1.3rem; }

  /* Book quotes mobile */
  .book-quotes { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem; }
  .s-title { font-size: 1.35rem; }
  .proof-logos { gap: 16px; }
  .plogo { font-size: 0.76rem; gap: 6px; }
  .plogo-mark { width: 18px; height: 18px; font-size: 0.6rem; }

  /* En móviles chicos achicar paddings aún más */
  .wrap { padding: 0 16px; }
  .res-card { padding: 22px 16px; }
  .service-text h3 { font-size: 1.2rem; }
  .calc-opt { font-size: 0.7rem; padding: 9px 4px; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE SCROLL REDUCTION (aggressive · menos repetido)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Servicios: mostrar solo 2 de los 4 en mobile */
  /* show all services on mobile */

  /* Testimonials: mostrar solo el primero */
  .testim-card:nth-child(n+2) { display: none; }

  /* Portfolio ya limita a 4 desde antes, ahora a 3 */
  .portfolio-item:nth-child(n+4) { display: none; }

  /* Proof strip: ocultar rating en mobile (queda el label + 3 logos) */
  .plogo-rating { display: none; }

  /* Book quotes en mobile: sólo 1 */
  .book-quote:nth-child(n+2) { display: none; }

  /* Ajustes finos libro v2 mobile */
  .res-book .book-mockup-stage { min-height: 220px; }

  /* Hero stats: solo 2 en mobile (proyectos + JSS) */
  .hero-stats > div:nth-child(n+3) { display: none; }

  /* Footer: colapsar columnas secundarias */
  .footer-col:nth-child(n+3) { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   CALCULATOR v4 · presets + input libre + lang multi-select
   ═══════════════════════════════════════════════════════════════ */

/* Presets row */
.calc-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.calc-preset {
  padding: 10px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-family: 'DM Mono', monospace;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .2s;
  min-width: 48px;
  text-align: center;
}
.calc-preset:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}
.calc-preset.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
#calcPresetCustom {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  padding: 10px 14px;
}

/* Custom input libre */
.calc-custom-input {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.calc-custom-input input {
  width: 120px;
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  font-family: 'DM Mono', monospace;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
}
.calc-custom-input input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,79,214,0.12);
}
.calc-custom-unit {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Lang multi-select (3 botones toggle) */
.calc-langs {
  display: flex;
  gap: 10px;
}
.calc-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--r);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .2s;
  flex: 1;
  justify-content: center;
}
.calc-lang:hover {
  border-color: var(--accent);
  color: var(--ink);
}
.calc-lang.active {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}
body.dark .calc-lang.active {
  background: rgba(94,135,240,0.15);
  color: #93b4ff;
}
.calc-lang-flag {
  font-size: 1.1rem;
  line-height: 1;
}

/* Override: esconder slider viejo (ahora se usa presets + input) */
.calc-range-input { display: none; }

@media (max-width: 768px) {
  .calc-presets { gap: 6px; }
  .calc-preset { padding: 9px 12px; font-size: 0.76rem; min-width: 40px; }
  .calc-langs { flex-direction: column; gap: 8px; }
  .calc-lang { justify-content: flex-start; }
  .calc-custom-input input { width: 100px; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO SOCIAL LINKS (Upwork + LinkedIn)
   ═══════════════════════════════════════════════════════════════ */
.hero-socials {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.btn-hero-social {
  padding: 14px 24px;
  border-radius: var(--r);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  transition: opacity .2s, transform .25s var(--ease-out);
  letter-spacing: -0.01em;
}
.btn-hero-social:hover { transform: translateY(-2px); opacity: 0.92; }
.btn-hero-social svg { width: 18px; height: 18px; }
.btn-upwork { background: #14a800; }
.btn-linkedin { background: #0a66c2; }

/* ═══════════════════════════════════════════════════════════════
   MOBILE: 3D BOOK + HERO SOCIALS
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-socials { gap: 8px; flex-wrap: wrap; }
  .hero-social-link { padding: 7px 12px; font-size: 0.66rem; }
  .hero-social-badge { font-size: 0.54rem; padding: 2px 6px; }

  .res-book .book-mockup-stage { min-height: 280px; }
  .res-book .book-3d { width: 150px; height: 210px; }
  .res-book .book-front,
  .res-book .book-back { width: 150px; height: 210px; }
  .res-book .book-spine { width: 24px; height: 210px; left: -12px; transform: rotateY(-90deg) translateZ(12px); }
  .res-book .book-front { transform: translateZ(12px); }
  .res-book .book-back { transform: translateZ(-12px) rotateY(180deg); }
  .res-book .book-pages-top { width: 150px; height: 24px; top: -12px; transform: rotateX(90deg) translateZ(12px); }
  .res-book .book-pages-bottom { width: 150px; height: 24px; bottom: -12px; transform: rotateX(-90deg) translateZ(12px); }
  .res-book .book-pages-right { width: 24px; height: 210px; right: -12px; transform: rotateY(90deg) translateZ(12px); }
}

/* ═══════════════════════════════════════════════════════════════
   VIDEO MUTE/UNMUTE BUTTON
   ═══════════════════════════════════════════════════════════════ */
.vid-mute-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background .2s, transform .15s;
  color: white;
  padding: 0;
}
.vid-mute-btn:hover {
  background: rgba(0,0,0,0.8);
  transform: scale(1.08);
}
.vid-mute-btn svg {
  width: 18px;
  height: 18px;
  stroke: white;
}
/* Ocultar el play overlay viejo si aún existe */
.service-play-overlay { display: none !important; }

@media (max-width: 768px) {
  .vid-mute-btn { width: 34px; height: 34px; bottom: 10px; right: 10px; }
  .vid-mute-btn svg { width: 15px; height: 15px; }
  .hero-socials { gap: 8px; }
  .btn-hero-social { padding: 12px 18px; font-size: 0.82rem; }
}

/* ═══════════════════════════════════════════════════════════════
   RESULTS STATS (números impactantes)
   ═══════════════════════════════════════════════════════════════ */
.results-section {
  padding: 100px 0;
  background: var(--paper);
}
.results-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 52px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.rstat {
  text-align: center;
  padding: 16px 0;
}
.rstat-n {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  color: var(--ink);
  display: block;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
}
.rstat-l {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE FIX · overflow-x, scroll length, overall tightening
   ═══════════════════════════════════════════════════════════════ */
/* Prevent ANY horizontal overflow */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

@media (max-width: 768px) {
  /* Stats: 2x2 grid instead of 4 columns */
  .results-stats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 32px 0;
  }
  .rstat-n { font-size: 2.2rem; }

  /* Hero socials smaller */
  .hero-socials { flex-wrap: wrap; gap: 8px; }
  .btn-hero-social { padding: 11px 16px; font-size: 0.8rem; gap: 6px; }
  .btn-hero-social svg { width: 15px; height: 15px; }

  /* Results section less padding */
  .results-section { padding: 50px 0; }

  /* Testimonials: max 2 on mobile */
  .testim-card:nth-child(n+3) { display: none; }

  /* Services: max 2, tighter spacing */
  /* show all services on mobile */
  .service-block { margin-bottom: 40px; }

  /* Ensure all grid children can't overflow */
  .service-media { max-width: 100%; }
  .hero-video-frame { max-width: 100%; }
  .proof-logos { overflow: hidden; }
  .calc-options { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Book 3D: smaller on mobile */
  .book-3d { width: 160px; height: 226px; }
  .book-front, .book-back { width: 160px; height: 226px; }
  .book-spine { width: 24px; height: 226px; }
  .book-pages-top, .book-pages-bottom { width: 160px; height: 24px; }
  .book-pages-right { width: 24px; height: 226px; }
  .book-mockup-stage { min-height: 280px; padding: 10px 20px; }

  /* Resources cards tighter */
  .resources-section { padding: 50px 0; }

  /* Final CTA tighter */
  .final-cta { padding: 50px 20px; }
}

@media (max-width: 480px) {
  /* Even tighter for very small screens */
  .results-stats { gap: 8px; padding: 24px 0; }
  .rstat-n { font-size: 1.8rem; }
  .rstat-l { font-size: 0.62rem; }
  .hero-socials { gap: 6px; }
  .btn-hero-social { padding: 10px 14px; font-size: 0.76rem; }
  .testim-card { padding: 18px 16px; }
  .book-3d { width: 130px; height: 184px; }
  .book-front, .book-back { width: 130px; height: 184px; }
}

/* ═══════════════════════════════════════════════════════════════
   PROCESS SECTION (Cómo trabajo · 4 pasos)
   ═══════════════════════════════════════════════════════════════ */
.process-section {
  padding: 80px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.proc-step {
  padding: 28px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  position: relative;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.proc-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.06);
}
body.dark .proc-step:hover { box-shadow: 0 16px 32px rgba(0,0,0,0.3); }
.proc-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  line-height: 1;
}
.proc-step h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--ink);
}
.proc-step p {
  font-size: 0.86rem;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT SECTION (Sobre mí)
   ═══════════════════════════════════════════════════════════════ */
.about-section {
  padding: 80px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}
.about-inner {
  max-width: 720px;
}
.about-text .s-title {
  margin-bottom: 18px;
}
.about-text p {
  font-size: 1rem;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 14px;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

/* ═══════════════════════════════════════════════════════════════
   MEDICAL BADGE (diferenciación)
   ═══════════════════════════════════════════════════════════════ */
.spec-chip-medical {
  background: linear-gradient(135deg, #0ea5e9, #06b6d4) !important;
  color: white !important;
  border-color: transparent !important;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE: nuevas secciones
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .process-section { padding: 50px 0; }
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .proc-step { padding: 20px 16px; }
  .proc-num { font-size: 1.5rem; }
  .proc-step h4 { font-size: 0.9rem; }
  .proc-step p { font-size: 0.8rem; }
  .about-section { padding: 50px 0; }
  .about-text p { font-size: 0.92rem; }
}
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO GRID (trabajos reales con hover play)
   ═══════════════════════════════════════════════════════════════ */
.portfolio-section {
  padding: 100px 0;
  background: var(--paper);
}
.port-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.port-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.port-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.1);
}
body.dark .port-card:hover { box-shadow: 0 24px 48px rgba(0,0,0,0.5); }
.port-wide { grid-column: span 2; }

.port-video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  overflow: hidden;
  cursor: pointer;
}
.port-video-vert {
  aspect-ratio: 9 / 14;
  max-height: 400px;
}
.port-video video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease-out);
}
.port-card:hover .port-video video {
  transform: scale(1.03);
}
.port-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.25);
  opacity: 1;
  transition: opacity .3s;
  pointer-events: none;
}
.port-card:hover .port-overlay { opacity: 0; }
.port-play {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  color: #0a0a0a;
  font-size: 1.2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.port-info {
  padding: 18px 22px;
}
.port-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.port-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.port-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink-3);
}
.port-tag-medical {
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  color: white;
  border-color: transparent;
}
.port-rating {
  font-size: 0.72rem;
  color: #f59e0b;
  font-weight: 700;
  margin-left: auto;
}

@media (max-width: 768px) {
  .portfolio-section { padding: 60px 0; }
  .port-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .port-wide { grid-column: 1; }
  .port-video-vert { max-height: 300px; }
  .port-info { padding: 14px 16px; }
  .port-info h4 { font-size: 0.9rem; }
  .port-play { width: 44px; height: 44px; font-size: 1rem; }
}

/* ═══════════════════════════════════════════════════════════════
   PSYCHOLOGY-DRIVEN CONVERSION IMPROVEMENTS
   ═══════════════════════════════════════════════════════════════ */

/* ─── STATS STRIP (compacto, elegante, no gigante) ─── */
.stats-strip {
  background: var(--paper);
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.sstrip {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}
.sstrip strong {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.sstrip span {
  font-family: 'DM Mono', monospace;
  font-size: 0.66rem;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sstrip-sep {
  width: 1px;
  height: 20px;
  background: var(--line-strong);
}

/* ─── LOGO FIX: TODOS a 32px de alto, punto ─── */
.plogo img {
  height: 32px !important;
  width: auto !important;
  display: block;
  object-fit: contain;
}

/* ─── ABOUT SECTION: con foto ─── */
.about-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
  max-width: 800px;
}
.about-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 3px solid var(--line-strong);
  flex-shrink: 0;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
}
.about-photo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: white;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.03em;
  z-index: 1;
}

/* ─── HERO CTA: accent color = MÁS clicks (Von Restorff effect) ─── */
.btn-hero-primary {
  background: var(--accent) !important;
  color: white !important;
  box-shadow: 0 8px 24px rgba(26,79,214,0.35);
}
.btn-hero-primary:hover {
  box-shadow: 0 12px 32px rgba(26,79,214,0.45);
}

/* ─── TESTIMONIALS: verified badge ─── */
.testim-verified {
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
  font-size: 0.72rem;
}

/* ─── CALC TRUST LINE ─── */
.calc-trust {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin-top: 14px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

/* ─── BOOK PROOF / GUARANTEE ─── */
.book-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.book-proof-item {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.02em;
  font-weight: 500;
}

/* ─── FINAL CTA: email alt ─── */
.final-alt {
  margin-top: 20px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}
.final-email {
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.final-email:hover { color: white; }

/* ─── MOBILE STICKY CTA BAR (siempre visible = más clicks) ─── */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 97;
  padding: 12px 20px;
  background: var(--accent);
  transform: translateY(100%);
  transition: transform .4s var(--ease-out);
}
.mobile-sticky-cta.visible { transform: translateY(0); }
.mobile-sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: white;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .mobile-sticky-cta { display: block; }
  /* Offset WhatsApp float so it doesn't overlap sticky bar */
  .wa-float { bottom: 72px; }

  /* Stats strip responsive */
  .stats-row { flex-wrap: wrap; gap: 14px 24px; justify-content: flex-start; }
  .sstrip-sep { display: none; }
  .sstrip strong { font-size: 1rem; }

  /* About photo + text stack */
  .about-inner { grid-template-columns: 1fr; gap: 20px; }
  .about-photo { width: 80px; height: 80px; }

  /* Logos smaller on mobile */
  .plogo img { height: 24px !important; }
  .proof-logos { gap: 20px; }

  /* Book proof stack */
  .book-proof { flex-direction: column; gap: 4px; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════
   IMPACT SECTION · Gráficos animados al scroll
   ═══════════════════════════════════════════════════════════════ */
.impact-section {
  padding: 100px 0;
  background: var(--paper);
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.impact-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.impact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
body.dark .impact-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.impact-card-wide { grid-column: span 2; display: flex; align-items: center; gap: 40px; }

/* COUNTER */
.impact-counter {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.impact-card-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--ink-2);
  margin-bottom: 16px;
  line-height: 1.4;
}
.impact-benchmark {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: var(--accent);
  margin-top: 10px;
  letter-spacing: 0.02em;
  font-weight: 600;
}

/* ANIMATED BAR */
.impact-bar-wrap {
  width: 100%;
  height: 8px;
  background: var(--paper-3);
  border-radius: 100px;
  overflow: hidden;
}
.impact-bar {
  height: 100%;
  width: 0;
  border-radius: 100px;
  background: var(--bar-color, var(--accent));
  transition: width 1.4s var(--ease-out);
}
.impact-card.animated .impact-bar {
  width: calc(var(--bar-width, 0) * 1%);
}

/* DONUT CHART */
.impact-donut-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  flex-shrink: 0;
}
.impact-donut {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.donut-seg {
  transition: stroke-dasharray 1.6s var(--ease-out);
  stroke-linecap: round;
}
.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.donut-center-n {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.donut-center-l {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* LEGEND */
.impact-legend {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
}
.impact-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-2);
}
.impact-legend-item strong {
  margin-left: auto;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.92rem;
}
.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .impact-section { padding: 60px 0; }
  .impact-grid { grid-template-columns: 1fr; gap: 14px; }
  .impact-card-wide {
    grid-column: 1;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .impact-donut-wrap { width: 160px; height: 160px; align-self: center; }
  .impact-counter { font-size: 2rem; }
  .impact-card { padding: 24px 20px; }
}
