/* ══════════════════════════════════════════════
   FABIO VARGAS — LANDING V4
   Roboto · Alto contraste · Video-first
   ══════════════════════════════════════════════ */

:root {
  --brand-300: #d3b2d6;
  --brand-400: #b884bd;
  --brand-500: #9c56a3;
  --brand-600: #7e1888;
  --brand-700: #661370;
  --brand-800: #4d0f54;
  --brand-900: #340a38;

  --dark: #0f0a14;
  --dark-2: #1a0f24;
  --dark-3: #2a1f38;

  --text: #0f0a14;
  --text-soft: #3d3049;
  --text-muted: #5a4d6a;

  --bg: #ffffff;
  --bg-soft: #f7f4f9;
  --bg-alt: #efe8f2;
  --border: #e8dfec;

  --yellow: #ffd54a;
  --green: #22c55e;
  --wa: #25d366;

  --font: 'Roboto', system-ui, -apple-system, sans-serif;
  --font-mono: 'Roboto Mono', ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 12px;
  --radius-lg: 20px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; font-size: 16px; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }
img, video { max-width: 100%; display: block; }
::selection { background: var(--brand-600); color: white; }
*:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 3px; border-radius: 4px; }

/* Layout */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; position: relative; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
@media (min-width: 1100px) { .container { padding: 0 48px; } }

.section { padding: 80px 0; position: relative; }
@media (min-width: 768px) { .section { padding: 120px 0; } }

.section-light { background: var(--bg); color: var(--text); }
.section-dark { background: var(--dark); color: #f0edf3; }
.section-testimonials { background: linear-gradient(180deg, var(--dark) 0%, var(--brand-900) 100%); color: #f0edf3; }

/* ══════════════════════════════════════════════
   URGENCIA BAR
   ══════════════════════════════════════════════ */
.urgency-bar { background: var(--dark); color: #fff; padding: 10px 0; font-size: 13px; font-weight: 500; border-bottom: 2px solid var(--brand-600); }
.urgency-inner { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; text-align: center; }
.urgency-inner strong { color: var(--yellow); letter-spacing: 0.05em; }
.urgency-sep { color: rgba(255,255,255,0.3); }
.urgency-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); animation: pulse 1.5s infinite; display: inline-block; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 213, 74, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(255, 213, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 213, 74, 0); }
}
.urgency-cta { color: var(--yellow); font-weight: 700; text-decoration: underline; margin-left: 6px; }
.urgency-cta:hover { color: #fff; }

/* ══════════════════════════════════════════════
   NAV
   ══════════════════════════════════════════════ */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 14px 0; transition: box-shadow 250ms; }
.nav.scrolled { box-shadow: 0 4px 20px rgba(15, 10, 20, 0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, var(--brand-600), var(--brand-500)); color: #fff; font-weight: 900; font-size: 16px; letter-spacing: -0.02em; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(126, 24, 136, 0.3); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-weight: 700; font-size: 16px; color: var(--text); letter-spacing: -0.01em; }
.brand-text span { font-size: 11px; color: var(--text-muted); font-weight: 500; letter-spacing: 0.02em; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--text-soft); transition: color 200ms; }
.nav-links a:hover { color: var(--brand-600); }

/* Nav menu (contenedor de links + cta) */
.nav-menu { display: flex; align-items: center; gap: 20px; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 700; font-size: 14px; font-family: var(--font-mono); }
.nav-phone svg { color: var(--brand-600); }
.nav-phone:hover { color: var(--brand-600); }

/* Close button dentro del drawer (solo mobile) */
.nav-close { display: none; }

/* Overlay del drawer */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 20, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease);
  z-index: 99;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }

/* Hamburger fino y moderno */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  padding: 0;
  background: transparent;
  border-radius: 8px;
  z-index: 102;
  transition: background 200ms, opacity 200ms;
}
.nav-toggle:hover { background: rgba(126, 24, 136, 0.06); }
.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; width: 14px; margin-left: 6px; }
.nav-toggle span:nth-child(3) { top: 25px; }
/* Cuando el drawer abre, ocultamos la hamburguesa (evita duplicación con la X del drawer) */
.nav-toggle.open { opacity: 0; pointer-events: none; }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }

  /* Drawer lateral desde la derecha */
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 24px 24px 32px;
    transform: translateX(100%);
    transition: transform 350ms var(--ease);
    box-shadow: -20px 0 60px rgba(15, 10, 20, 0.2);
    z-index: 101;
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateX(0); }

  /* Close button visible dentro del drawer */
  .nav-close {
    display: flex;
    align-self: flex-end;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--text);
    padding: 0;
    margin-bottom: 20px;
    transition: background 200ms;
  }
  .nav-close:hover { background: var(--brand-600); color: #fff; }

  /* Links del drawer */
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    font-size: 17px;
    font-weight: 500;
    color: var(--text);
    border-radius: 10px;
    transition: background 200ms, color 200ms;
  }
  .nav-links a:hover, .nav-links a:focus-visible {
    background: var(--bg-soft);
    color: var(--brand-600);
  }
  .nav-links a::after {
    content: '→';
    color: var(--text-muted);
    font-size: 18px;
    opacity: 0.5;
    transition: transform 200ms, opacity 200ms;
  }
  .nav-links a:hover::after {
    color: var(--brand-600);
    opacity: 1;
    transform: translateX(4px);
  }

  /* CTA del drawer */
  .nav-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .nav-phone {
    display: inline-flex;
    justify-content: center;
    padding: 10px;
    background: var(--bg-soft);
    border-radius: 10px;
    font-size: 13px;
  }
  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* En mobile ocultamos completamente el header (nav) — se aprovecha todo el espacio */
@media (max-width: 900px) {
  .nav { display: none; }
}

@media (max-width: 640px) {
  .brand-text { display: none; }
  .nav { padding: 10px 0; }
  .nav.scrolled { padding: 8px 0; }
  .brand-mark-img { width: 36px !important; height: 36px !important; }
  .brand-mark { width: 36px; height: 36px; font-size: 14px; }
  .nav-toggle { width: 36px; height: 36px; }
  .nav-toggle span { left: 9px; right: 9px; }
  .nav-toggle span:nth-child(1) { top: 12px; }
  .nav-toggle span:nth-child(2) { top: 17px; width: 12px; margin-left: 6px; }
  .nav-toggle span:nth-child(3) { top: 22px; }
  .nav-toggle.open span:nth-child(1),
  .nav-toggle.open span:nth-child(3) { top: 17px; }
  .urgency-bar { padding: 7px 0; font-size: 11px; }
  .urgency-inner { gap: 6px; line-height: 1.3; }
  .urgency-inner strong { font-size: 11px; letter-spacing: 0.03em; }
  .urgency-sep { display: none; }
  .urgency-cta { margin-left: 4px; }
  .hero { padding: 32px 0 60px; }
}

/* Body scroll lock cuando drawer abierto */
body.nav-open { overflow: hidden; }

/* ══════════════════════════════════════════════
   LIGHTBOX / GALERÍA de sistemas
   ══════════════════════════════════════════════ */
.system-img { cursor: zoom-in; }
.system-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E") no-repeat right 12px top 12px;
  background-size: 24px;
  opacity: 0;
  transition: opacity 250ms;
  pointer-events: none;
}
.system-img:hover::after { opacity: 0.9; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 16, 0.96);
  backdrop-filter: blur(8px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 100px;
  animation: lightbox-in 200ms var(--ease);
}
.lightbox[hidden] { display: none; }
@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms;
  z-index: 2;
  padding: 0;
}
.lightbox-close:hover { background: var(--brand-600); }

.lightbox-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms, transform 200ms;
  flex-shrink: 0;
  padding: 0;
  z-index: 2;
}
.lightbox-nav:hover { background: var(--brand-600); transform: scale(1.1); }
.lightbox-prev { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.1); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.1); }

.lightbox-content {
  max-width: min(500px, 90vw);
  max-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(126, 24, 136, 0.35);
  animation: lightbox-img-in 300ms var(--ease);
}
@keyframes lightbox-img-in { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

.lightbox-meta {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  padding: 12px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  min-width: 220px;
}
.lightbox-title {
  display: block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  letter-spacing: -0.01em;
}
.lightbox-count {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--brand-300);
  margin-top: 4px;
  letter-spacing: 0.1em;
}

@media (max-width: 640px) {
  .lightbox { padding: 40px 60px 80px; }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-close { top: 16px; right: 16px; width: 40px; height: 40px; }
}

/* ══════════════════════════════════════════════
   TIPOGRAFÍA COMÚN
   ══════════════════════════════════════════════ */
.section-tag { display: inline-block; font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--brand-600); letter-spacing: 0.18em; text-transform: uppercase; padding: 6px 12px; background: var(--bg-alt); border-radius: 100px; border: 1px solid rgba(126, 24, 136, 0.15); }
.section-dark .section-tag, .section-testimonials .section-tag { color: var(--brand-300); background: rgba(184, 132, 189, 0.12); border-color: rgba(184, 132, 189, 0.25); }

.section-title { font-weight: 900; font-size: clamp(1.875rem, 4.5vw, 3rem); line-height: 1.1; letter-spacing: -0.03em; color: var(--text); margin-top: 18px; }
.section-dark .section-title, .section-testimonials .section-title { color: #fff; }

.section-sub { font-size: 1.125rem; color: var(--text-muted); margin-top: 16px; max-width: 640px; font-weight: 400; }
.section-dark .section-sub, .section-testimonials .section-sub { color: rgba(255,255,255,0.75); }

.section-head { max-width: 780px; margin-bottom: 60px; }
.section-head-center { text-align: center; margin-left: auto; margin-right: auto; }

.highlight-purple { color: var(--brand-600); }
.section-dark .highlight-purple, .section-testimonials .highlight-purple { color: var(--brand-300); }
.highlight-yellow { color: var(--yellow); }
.highlight-mark { background: linear-gradient(180deg, transparent 60%, rgba(255, 213, 74, 0.5) 60%); padding: 0 4px; }

/* ══════════════════════════════════════════════
   BOTONES
   ══════════════════════════════════════════════ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 10px; font-weight: 700; font-size: 15px; letter-spacing: 0.01em; transition: all 220ms var(--ease); white-space: nowrap; cursor: pointer; border: 2px solid transparent; text-align: center; line-height: 1.2; }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-xl { padding: 20px 34px; font-size: 17px; border-radius: 12px; }
.btn-full { width: 100%; }

.btn-primary { background: var(--brand-600); color: #fff; box-shadow: 0 6px 20px rgba(126, 24, 136, 0.35); }
.btn-primary:hover { background: var(--brand-700); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(126, 24, 136, 0.45); }

.btn-wa { background: var(--wa); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35); }
.btn-wa:hover { background: #1cb352; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45); }

.btn-secondary { background: transparent; color: var(--text); border-color: var(--text); }
.btn-secondary:hover { background: var(--text); color: #fff; transform: translateY(-2px); }
.section-dark .btn-secondary { color: #fff; border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.05); }
.section-dark .btn-secondary:hover { background: #fff; color: var(--text); }
/* Hero tiene fondo claro — botón secundario en morado con fondo blanco semi */
.hero .btn-secondary {
  color: var(--brand-700);
  border-color: var(--brand-600);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  font-weight: 700;
}
.hero .btn-secondary:hover { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }

.btn-secondary-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-secondary-dark:hover { background: #fff; color: var(--text); }

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
.hero { position: relative; padding: 60px 0 80px; overflow: hidden; background: linear-gradient(180deg, #ffffff, var(--bg-alt)); }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 20% -10%, rgba(126, 24, 136, 0.18), transparent 55%), radial-gradient(ellipse at 90% 100%, rgba(184, 132, 189, 0.15), transparent 55%); pointer-events: none; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-areas: "top video" "bottom video";
  gap: 30px 60px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.hero-content-top { grid-area: top; }
.hero-content-bottom { grid-area: bottom; }
.hero-video { grid-area: video; align-self: center; }
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "top" "video" "bottom";
    gap: 24px;
  }
  .hero-content-top { text-align: center; }
  .hero-content-top .hero-badge { margin: 0 auto; }
}

.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; background: #fff; border: 1px solid var(--brand-300); border-radius: 100px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.15em; color: var(--brand-600); box-shadow: 0 2px 10px rgba(126, 24, 136, 0.08); }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-600); animation: pulse-purple 2s infinite; }
@keyframes pulse-purple {
  0% { box-shadow: 0 0 0 0 rgba(126, 24, 136, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(126, 24, 136, 0); }
  100% { box-shadow: 0 0 0 0 rgba(126, 24, 136, 0); }
}
.badge-dot-green { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse-green 2s infinite; }
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title { font-weight: 900; font-size: clamp(2rem, 5.5vw, 4rem); line-height: 1.05; letter-spacing: -0.035em; color: var(--text); margin-top: 24px; }

.hero-sub { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--text-soft); margin-top: 20px; max-width: 560px; line-height: 1.6; }
.hero-sub strong { color: var(--text); font-weight: 700; }

.hero-bullets { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.hero-bullets li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-soft); font-weight: 500; }
.hero-bullets li span { width: 22px; height: 22px; border-radius: 50%; background: var(--brand-600); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; flex-shrink: 0; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

.hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); max-width: 500px; }
.trust-item strong { display: block; font-size: 1.75rem; font-weight: 900; color: var(--brand-600); letter-spacing: -0.02em; }
.trust-item span { display: block; font-size: 12px; color: var(--text-muted); font-weight: 500; margin-top: 4px; letter-spacing: 0.02em; }

/* Hero video */
.hero-video { position: relative; max-width: 380px; margin: 0 auto; width: 100%; }
@media (min-width: 900px) { .hero-video { margin: 0 0 0 auto; } }

.hero-video-caption { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 14px; background: var(--dark); color: #fff; border-radius: 100px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.02em; }
.hero-video-caption .caption-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse-green 2s infinite; }

/* ══════════════════════════════════════════════
   VIDEO PLAYER (hero + testimonios)
   ══════════════════════════════════════════════ */
.video-player {
  position: relative;
  aspect-ratio: 9/16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark);
  box-shadow: 0 30px 80px -20px rgba(126, 24, 136, 0.4), 0 10px 40px rgba(0,0,0,0.15);
  border: 2px solid rgba(184, 132, 189, 0.15);
}
.video-player video { width: 100%; height: 100%; object-fit: cover; display: block; }

.sound-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(126, 24, 136, 0.9);
  backdrop-filter: blur(10px);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: all 250ms var(--ease);
  z-index: 3;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 0 6px rgba(255,255,255,0.15);
  padding: 0;
}
.sound-btn:hover { transform: translate(-50%, -50%) scale(1.08); background: var(--brand-600); }
.sound-btn .icon-sound { display: none; }
.sound-btn.active { background: rgba(15, 10, 20, 0.85); }
.sound-btn.active .icon-muted { display: none; }
.sound-btn.active .icon-sound { display: block; }
.sound-btn-label { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }
.video-player-vertical .sound-btn { width: 60px; height: 60px; }
.video-player-vertical .sound-btn .sound-btn-label { display: none; }

.video-player.playing .sound-btn { opacity: 0.35; }
.video-player.playing:hover .sound-btn { opacity: 1; }
.video-player.playing.active .sound-btn { opacity: 1; }

/* ══════════════════════════════════════════════
   OFERTA
   ══════════════════════════════════════════════ */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }

.offer-card { position: relative; padding: 36px 32px; background: #fff; border: 2px solid var(--border); border-radius: var(--radius-lg); transition: all 300ms; display: flex; flex-direction: column; }
.offer-card:hover { border-color: var(--brand-400); transform: translateY(-4px); box-shadow: 0 24px 60px rgba(126, 24, 136, 0.12); }

.offer-featured { background: linear-gradient(180deg, #fff, var(--bg-soft)); border-color: var(--brand-600); box-shadow: 0 30px 80px -20px rgba(126, 24, 136, 0.3); position: relative; }

.offer-featured-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--brand-600); color: #fff; padding: 6px 16px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: 0.15em; box-shadow: 0 4px 12px rgba(126, 24, 136, 0.3); }

.offer-badge { font-family: var(--font-mono); font-size: 12px; color: var(--brand-600); letter-spacing: 0.15em; font-weight: 500; text-transform: uppercase; }

.offer-price { margin-top: 12px; display: flex; align-items: baseline; gap: 6px; }
.price-from { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.price-value { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 900; color: var(--text); letter-spacing: -0.03em; line-height: 1; }

.offer-title { font-size: 1.35rem; font-weight: 700; color: var(--text); margin-top: 16px; line-height: 1.25; }
.offer-desc { color: var(--text-muted); font-size: 15px; margin-top: 12px; line-height: 1.6; }

.offer-ideal { margin-top: 20px; padding: 16px; background: var(--bg-soft); border-radius: 10px; border-left: 3px solid var(--brand-600); }
.offer-ideal > span { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 8px; }
.offer-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.offer-tags span { padding: 4px 10px; background: #fff; border: 1px solid var(--border); border-radius: 100px; font-size: 12px; color: var(--text-soft); font-weight: 500; }

.offer-list { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.offer-list li { position: relative; padding-left: 24px; color: var(--text-soft); font-size: 14px; line-height: 1.5; }
.offer-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--brand-600);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px; background-position: center; background-repeat: no-repeat;
}

.offer-card .btn { margin-top: 24px; }

.offer-note { text-align: center; margin-top: 40px; color: var(--text-muted); font-size: 15px; }
.offer-note a { color: var(--brand-600); font-weight: 700; text-decoration: underline; }

/* ══════════════════════════════════════════════
   SISTEMAS REALIZADOS
   ══════════════════════════════════════════════ */
.system-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}
.system-block:last-child { margin-bottom: 0; }
.system-reverse .system-images { order: 2; }
.system-reverse .system-info { order: 1; }
@media (max-width: 900px) {
  .system-block, .system-reverse { grid-template-columns: 1fr; gap: 40px; margin-bottom: 80px; }
  .system-reverse .system-images { order: 0; }
  .system-reverse .system-info { order: 0; }
}

.system-images { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.system-img { position: relative; aspect-ratio: 9/16; border-radius: 16px; overflow: hidden; background: var(--dark-2); box-shadow: 0 20px 60px -15px rgba(126, 24, 136, 0.4); border: 1px solid rgba(184, 132, 189, 0.2); transition: transform 400ms var(--ease); }
.system-img:hover { transform: translateY(-6px) scale(1.02); }
.system-img img { width: 100%; height: 100%; object-fit: cover; }
.system-img-alt { margin-top: 24px; }

.system-country { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--brand-300); letter-spacing: 0.15em; text-transform: uppercase; font-weight: 500; }
.system-country .flag { font-size: 18px; }

.system-name { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 900; color: #fff; letter-spacing: -0.02em; margin-top: 12px; line-height: 1.1; }
.system-role { color: var(--brand-300); font-size: 15px; margin-top: 8px; font-weight: 500; font-style: italic; }
.system-desc { color: rgba(255,255,255,0.75); font-size: 15px; margin-top: 20px; line-height: 1.7; max-width: 560px; }

.system-features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.system-features span { padding: 6px 12px; background: rgba(184, 132, 189, 0.12); border: 1px solid rgba(184, 132, 189, 0.25); border-radius: 100px; font-size: 12px; color: var(--brand-300); font-family: var(--font-mono); letter-spacing: 0.03em; }

.system-info .btn { margin-top: 28px; }

/* ══════════════════════════════════════════════
   TESTIMONIOS
   ══════════════════════════════════════════════ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1000px; margin: 0 auto; }
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; gap: 40px; max-width: 380px; } }

.testimonial-card { display: flex; flex-direction: column; }
.testimonial-card .video-player { aspect-ratio: 9/16; margin: 0 auto; max-width: 300px; width: 100%; }

.testimonial-info { text-align: center; margin-top: 20px; }
.testimonial-info strong { display: block; font-size: 17px; font-weight: 700; color: #fff; }
.testimonial-info span { display: block; font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 4px; }
.testimonial-info .testimonial-country { font-family: var(--font-mono); font-size: 11px; color: var(--brand-300); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 8px; }

.testimonials-cta { text-align: center; margin-top: 60px; }
.testimonials-cta p { color: rgba(255,255,255,0.85); font-size: 1.15rem; font-weight: 500; margin-bottom: 20px; }

/* ══════════════════════════════════════════════
   POR QUÉ ELEGIRME
   ══════════════════════════════════════════════ */
.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
@media (max-width: 800px) { .reasons-grid { grid-template-columns: 1fr; } }

.reason-card { padding: 40px 32px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: all 300ms; text-align: left; }
.reason-card:hover { border-color: var(--brand-600); transform: translateY(-6px); box-shadow: 0 24px 60px rgba(126, 24, 136, 0.15); background: #fff; }

.reason-num { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--brand-600), var(--brand-500)); color: #fff; font-weight: 900; font-size: 20px; letter-spacing: -0.02em; margin-bottom: 24px; box-shadow: 0 8px 24px rgba(126, 24, 136, 0.35); }

.reason-card h3 { font-size: 1.375rem; font-weight: 700; color: var(--text); margin-bottom: 12px; line-height: 1.25; }
.reason-card p { color: var(--text-soft); font-size: 15px; line-height: 1.7; }
.reason-card p strong { color: var(--brand-600); font-weight: 700; }

.reasons-cta { text-align: center; margin-top: 60px; }

/* ══════════════════════════════════════════════
   ANTES vs DESPUÉS
   ══════════════════════════════════════════════ */
.compare-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: stretch; max-width: 1100px; margin: 0 auto; }
@media (max-width: 800px) { .compare-grid { grid-template-columns: 1fr; gap: 20px; } }

.compare-col { padding: 36px 32px; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.1); }
.compare-before { background: rgba(239, 68, 68, 0.08); border-color: rgba(239, 68, 68, 0.25); }
.compare-after { background: rgba(34, 197, 94, 0.08); border-color: rgba(34, 197, 94, 0.25); }

.compare-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.compare-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 900; flex-shrink: 0; }
.compare-before .compare-icon { background: #ef4444; color: #fff; }
.compare-after .compare-icon { background: var(--green); color: #fff; }
.compare-head h3 { font-size: 1rem; font-weight: 900; color: #fff; letter-spacing: 0.02em; text-transform: uppercase; }
.compare-head h3 span { font-weight: 400; opacity: 0.6; font-size: 13px; text-transform: none; letter-spacing: 0; margin-left: 6px; }

.compare-col ul { display: flex; flex-direction: column; gap: 14px; }
.compare-col li { color: rgba(255,255,255,0.9); font-size: 15px; line-height: 1.5; padding-left: 20px; position: relative; }
.compare-before li::before { content: '×'; position: absolute; left: 0; top: -2px; color: #ef4444; font-weight: 900; font-size: 20px; }
.compare-after li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 900; font-size: 16px; }

.compare-arrow { display: flex; align-items: center; justify-content: center; color: var(--brand-300); }
@media (max-width: 800px) { .compare-arrow { transform: rotate(90deg); } }

.compare-cta { text-align: center; margin-top: 60px; }

/* ══════════════════════════════════════════════
   SOBRE FABIO
   ══════════════════════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

.about-image { position: relative; }
.about-image-frame { position: relative; aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 80px -15px rgba(126, 24, 136, 0.35); background: linear-gradient(135deg, var(--brand-600), var(--brand-400)); padding: 4px; }
.about-image-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }

.about-badge { position: absolute; bottom: -20px; right: -10px; display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); color: var(--text); padding: 10px 18px; border-radius: 100px; font-size: 13px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,0.1); z-index: 3; }

.about-content .section-title { margin-top: 18px; }
.about-lead { font-size: 1.25rem; color: var(--text-soft); margin-top: 24px; line-height: 1.6; font-weight: 400; }
.about-lead strong { color: var(--text); font-weight: 700; }
.about-body { color: var(--text-muted); font-size: 16px; margin-top: 16px; line-height: 1.7; max-width: 540px; }
.about-body strong { color: var(--brand-600); font-weight: 700; }

.about-content .btn { margin-top: 32px; }

/* ══════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════ */
.faq-container { max-width: 900px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.faq-item { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: all 200ms; }
.faq-item[open] { background: #fff; border-color: var(--brand-600); box-shadow: 0 8px 24px rgba(126, 24, 136, 0.1); }
.faq-item summary { padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 700; font-size: 16px; color: var(--text); list-style: none; transition: color 200ms; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand-600); }
.faq-toggle { font-size: 24px; color: var(--brand-600); font-weight: 400; line-height: 1; flex-shrink: 0; transition: transform 250ms; }
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 24px; color: var(--text-soft); font-size: 15px; line-height: 1.7; }
.faq-answer strong { color: var(--text); font-weight: 700; }

.faq-cta { text-align: center; margin-top: 40px; }
.faq-cta p { color: var(--text-muted); margin-bottom: 16px; }

/* ══════════════════════════════════════════════
   CTA FINAL
   ══════════════════════════════════════════════ */
.section-final { background: linear-gradient(135deg, var(--dark), var(--brand-900)); padding: 100px 0; color: #fff; text-align: center; position: relative; overflow: hidden; }
.section-final::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(126, 24, 136, 0.4), transparent 40%), radial-gradient(circle at 80% 80%, rgba(184, 132, 189, 0.3), transparent 40%); pointer-events: none; }
.final-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }

.final-urgency { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; background: rgba(255, 213, 74, 0.15); border: 1px solid var(--yellow); border-radius: 100px; color: var(--yellow); font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.15em; }

.final-title { font-weight: 900; font-size: clamp(2rem, 5.5vw, 3.75rem); line-height: 1.1; letter-spacing: -0.03em; color: #fff; margin-top: 24px; }
.final-sub { font-size: 1.125rem; color: rgba(255,255,255,0.75); margin-top: 24px; max-width: 680px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.final-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.final-note { margin-top: 32px; font-family: var(--font-mono); font-size: 13px; color: rgba(255,255,255,0.55); letter-spacing: 0.02em; }

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 40px 0 24px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer .brand-text strong { color: #fff; }
.footer .brand-text span { color: rgba(255,255,255,0.5); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-contact { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.85); font-family: var(--font-mono); font-size: 13px; font-weight: 500; transition: color 200ms; }
.footer-contact a:hover { color: var(--brand-300); }
.footer-contact svg { color: var(--brand-400); }
.footer-bottom { padding-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); transition: all 200ms; }
.footer-social a:hover { background: var(--brand-600); color: #fff; }

/* ══════════════════════════════════════════════
   WHATSAPP FLOTANTE
   ══════════════════════════════════════════════ */
.wa-float { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5); z-index: 99; transition: transform 250ms; animation: wa-pulse 2.5s infinite; }
.wa-float:hover { transform: scale(1.1); }
@keyframes wa-pulse {
  0% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), 0 0 0 20px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ══════════════════════════════════════════════
   REVEAL
   ══════════════════════════════════════════════ */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════════════
   LOGO REAL (imagen)
   ══════════════════════════════════════════════ */
.brand-mark-img {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 8px;
  object-fit: contain;
  width: 44px;
  height: 44px;
}
.footer .brand-mark-img { filter: brightness(1.1); }

/* WhatsApp icon inyectado por JS — asegurar alineación */
.btn-wa-icon { display: inline-block; vertical-align: middle; }

/* ══════════════════════════════════════════════
   VIDEO CONTROLS (custom, injectados por JS)
   ══════════════════════════════════════════════ */
.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 4;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 250ms var(--ease), transform 250ms var(--ease);
  pointer-events: none;
}
.video-player:hover .video-controls,
.video-player.active .video-controls,
.video-player.paused .video-controls {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
@media (max-width: 900px) {
  .video-controls { opacity: 1; transform: none; pointer-events: auto; }
}

.video-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms;
  flex-shrink: 0;
  padding: 0;
}
.video-btn:hover { background: var(--brand-600); }
.video-btn svg { width: 14px; height: 14px; }
.video-btn .icon-pause { display: none; }
.video-player.playing .video-btn .icon-play { display: none; }
.video-player.playing .video-btn .icon-pause { display: block; }

.video-progress {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  transition: height 150ms;
}
.video-progress:hover { height: 6px; }
.video-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-400), var(--brand-300));
  border-radius: 2px;
  width: 0%;
  pointer-events: none;
  position: relative;
}
.video-progress-fill::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 150ms;
}
.video-progress:hover .video-progress-fill::after { opacity: 1; }

.video-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  min-width: 62px;
  text-align: right;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

/* Skip button (rewind 10s) */
.video-skip {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms;
  flex-shrink: 0;
  padding: 0;
}
.video-skip:hover { background: var(--brand-600); }
.video-skip svg { width: 14px; height: 14px; }

/* Cuando el usuario abre controles, el botón central de sonido queda más chico */
.video-player.playing.controls-shown .sound-btn { opacity: 0.6; transform: translate(-50%, -50%) scale(0.85); }
.video-player.playing.controls-shown:hover .sound-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }
