/* ═══════════════════════════════════════════════════════════
   FUTURE INSIGHT — style.css
   Paleta: #5D5C31 · #8C2B32 · #FFFFFF · #000000
   Tema: Claro · Profesional · Confianza
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Paleta oficial */
  --olive:      #5D5C31;
  --burgundy:   #8C2B32;
  --white:      #FFFFFF;
  --black:      #000000;

  /* Variantes */
  --olive-dark: #494828;
  --olive-soft: rgba(93,92,49,0.10);
  --burg-soft:  rgba(140,43,50,0.10);
  --burg-dark:  #721f25;

  /* Backgrounds — escala de blanco a gris muy sutil */
  --bg-body:    #FFFFFF;
  --bg-section: #F7F7F5;   /* gris cálido muy suave */
  --bg-alt:     #F0EFE9;   /* tono oliva desaturado */
  --bg-card:    #FFFFFF;

  /* Texto */
  --text-primary:   #0a0a0a;
  --text-secondary: #3d3d3a;
  --text-muted:     #7a7a70;

  /* Bordes */
  --border:     rgba(0,0,0,0.08);
  --border-mid: rgba(0,0,0,0.14);
  --border-olive: rgba(93,92,49,0.25);

  /* Utilidades */
  --verde:    #2d7a4f;
  --rojo:     #c0392b;
  --whatsapp: #25D366;

  /* Grises elegantes */
  --grey-1:    #F2F1ED;
  --grey-2:    #E4E3DC;
  --grey-3:    #C4C3BA;

  /* Sombras */
  --shadow-sm: 0 1px 6px rgba(0,0,0,0.07);
  --shadow:    0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.16);

  --radius:    8px;
  --radius-lg: 14px;
  --transition:.24s ease;
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --font:      'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-w:     1200px;
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text-secondary);
  background: var(--bg-body);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

.container {
  width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 0 24px;
}
section { padding: 88px 0; }

/* ─── TIPOGRAFÍA ─────────────────────────────────────────── */
h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.025em; color: var(--text-primary);
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; line-height: 1.18;
  letter-spacing: -.02em; color: var(--text-primary);
}
h3 {
  font-size: clamp(1rem, 2vw, 1.28rem);
  font-weight: 600; letter-spacing: -.01em;
  color: var(--text-primary);
}

/* ─── BOTONES ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius);
  font-size: .96rem; font-weight: 600; cursor: pointer;
  border: 1px solid transparent;
  transition: background .22s ease, color .22s ease, border-color .22s ease,
              transform .32s var(--ease-spring), box-shadow .28s ease;
  white-space: nowrap; letter-spacing: .01em;
}
.btn:active { transform: translateY(1px) scale(0.98) !important; transition-duration: .1s; }

/* Borgoña — CTA principal */
.btn-primary {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--burg-dark);
  border-color: var(--burg-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(140,43,50,0.28);
}

/* Outline negro — secundario */
.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-mid);
}
.btn-secondary:hover {
  color: var(--text-primary);
  border-color: var(--grey-3);
  background: var(--grey-1);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* Oliva — acción alternativa */
.btn-olive {
  background: var(--olive);
  color: var(--white);
  border-color: var(--olive);
  font-weight: 700;
}
.btn-olive:hover {
  background: var(--olive-dark);
  border-color: var(--olive-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* Oscuro / tarjetas */
.btn-dark {
  background: var(--bg-section);
  color: var(--text-secondary);
  border-color: var(--border-mid);
}
.btn-dark:hover {
  background: var(--bg-alt);
  color: var(--text-primary);
  border-color: var(--border-mid);
  transform: translateY(-1px);
}

.btn-lg { padding: 16px 32px; font-size: 1.02rem; }

/* ─── SECTION HEADER ─────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p  {
  max-width: 560px; margin: 0 auto;
  color: var(--text-muted); font-size: 1rem; line-height: 1.72;
}

.section-badge {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--burgundy);
  font-size: .7rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px;
}
.section-badge::before,
.section-badge::after {
  content: '';
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--grey-3);
  border-radius: 2px;
}

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .7s var(--ease-spring), transform .7s var(--ease-spring);
}
.reveal.reveal-from-left  { transform: translateX(-42px); }
.reveal.reveal-from-right { transform: translateX(42px); }
.reveal.reveal-scale      { transform: scale(0.93) translateY(12px); }

.reveal.visible                    { opacity: 1; transform: translateY(0); }
.reveal.reveal-from-left.visible   { opacity: 1; transform: translateX(0); }
.reveal.reveal-from-right.visible  { opacity: 1; transform: translateX(0); }
.reveal.reveal-scale.visible       { opacity: 1; transform: scale(1) translateY(0); }

.reveal-delay-1 { transition-delay: .10s; }
.reveal-delay-2 { transition-delay: .20s; }
.reveal-delay-3 { transition-delay: .30s; }
.reveal-delay-4 { transition-delay: .40s; }

/* ══════════════════════════════════════════════════════════
   1. HEADER / NAV
   ══════════════════════════════════════════════════════════ */
#header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition), border-color var(--transition);
}
#header.scrolled {
  box-shadow: var(--shadow);
  border-color: var(--border-mid);
}

.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 80px;
}

/* ── Logo — esquina superior izquierda ── */
.nav-logo {
  display: flex; align-items: center;
  flex-shrink: 0; margin-right: auto;
  transition: opacity .22s ease;
}
.nav-logo:hover { opacity: .82; }
.nav-logo-wrap {
  display: flex; align-items: center; justify-content: center;
  width: 72px; height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--grey-2);
  background: var(--white);
  flex-shrink: 0;
}
.nav-logo img {
  width: 70px; height: 70px;
  display: block;
  object-fit: contain;
}
.nav-logo-fallback {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.2rem;
  color: var(--text-primary); letter-spacing: -.01em;
}
.nav-logo-fallback .logo-icon {
  width: 36px; height: 36px; background: var(--olive);
  border-radius: 7px; display: flex; align-items: center; justify-content: center;
}
.nav-logo-fallback .logo-icon svg { width: 20px; height: 20px; fill: var(--white); }
.nav-logo-fallback span { color: var(--burgundy); }

.nav-links { display: none; gap: 32px; align-items: center; }
.nav-links a {
  font-weight: 500; color: var(--text-muted);
  font-size: .9rem; transition: color var(--transition); letter-spacing: .01em;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }

.nav-cta { display: none; margin-left: 24px; }

.nav-hamburger {
  display: flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-hamburger span {
  display: block; height: 1.5px;
  background: var(--text-muted); border-radius: 2px;
  transition: all var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none; flex-direction: column;
  background: var(--bg-section); border-top: 1px solid var(--border);
  padding: 20px 24px 28px; gap: 2px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 11px 8px; font-weight: 500; color: var(--text-muted);
  border-radius: 6px; transition: all var(--transition); font-size: .95rem;
}
.nav-mobile a:hover { color: var(--text-primary); background: var(--olive-soft); }
.nav-mobile .btn { margin-top: 14px; justify-content: center; }

@media (min-width: 768px) {
  .nav-links     { display: flex; }
  .nav-cta       { display: flex; }
  .nav-hamburger { display: none; }
}

/* ══════════════════════════════════════════════════════════
   2. HERO
   ══════════════════════════════════════════════════════════ */
#hero {
  min-height: 580px;
  display: flex; align-items: center;
  background: var(--bg-body);
  padding: 40px 0 72px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
/* Barra izquierda de identidad */
#hero::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--olive), var(--burgundy));
  pointer-events: none;
}
.hero-glow-bottom { display: none; }

.hero-inner {
  display: grid; grid-template-columns: 1fr;
  gap: 64px; align-items: center; position: relative; z-index: 1;
}
.hero-content { text-align: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text-muted);
  font-size: .7rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 24px;
}
.hero-badge-line {
  width: 20px; height: 1px; background: var(--border-mid); display: inline-block;
}

.hero-title { margin-bottom: 20px; }
.hero-title span { color: var(--burgundy); }

.hero-subtitle {
  font-size: 1.08rem; font-weight: 400;
  color: var(--text-secondary); margin-bottom: 14px; line-height: 1.6;
}
.hero-desc {
  color: var(--text-muted); font-size: .97rem;
  max-width: 500px; margin: 0 auto 36px; line-height: 1.78;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Mockup */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-mockup { position: relative; width: 100%; max-width: 460px; }

.mockup-laptop {
  width: 100%; border-radius: 12px;
  background: var(--bg-section);
  border: 1px solid var(--border-mid);
  aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); padding: 18px;
}
.mockup-screen {
  width: 100%; height: 100%;
  background: var(--white); border-radius: 6px;
  overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid var(--border);
}
.mockup-bar {
  height: 22px; background: var(--bg-alt);
  display: flex; align-items: center; gap: 5px; padding: 0 10px;
  border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.mockup-dot { width: 7px; height: 7px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #f59e0b; }
.mockup-dot:nth-child(3) { background: #22c55e; }
.mockup-content { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 7px; }
.mockup-line { height: 7px; background: var(--bg-alt); border-radius: 3px; }
.mockup-line.short { width: 55%; }
.mockup-line.accent { background: var(--olive); opacity: .7; }
.mockup-line.accent-sm { background: var(--burgundy); opacity: .55; width: 38%; }

.mockup-phone {
  position: absolute; bottom: -18px; right: -14px;
  width: 86px; background: var(--bg-section);
  border: 1px solid var(--border-mid);
  border-radius: 12px; padding: 7px; box-shadow: var(--shadow);
}
.mockup-phone-screen {
  background: var(--white); border-radius: 8px;
  aspect-ratio: 9/16; overflow: hidden;
  padding: 7px; display: flex; flex-direction: column; gap: 5px;
  border: 1px solid var(--border);
}
.mockup-phone-line { height: 4px; background: var(--bg-alt); border-radius: 2px; }
.mockup-phone-line.accent { background: var(--burgundy); opacity: .6; }

.hero-stats {
  display: flex; justify-content: center;
  gap: 40px; margin-top: 48px; flex-wrap: wrap;
  padding-top: 40px; border-top: 2px solid var(--grey-2);
}
.hero-stat { text-align: center; }
.hero-stat strong {
  display: block; font-size: 1.75rem; font-weight: 800;
  color: var(--olive); line-height: 1;
  margin-bottom: 5px; letter-spacing: -.02em;
}
.hero-stat span {
  font-size: .7rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .1em;
}

@media (min-width: 900px) {
  .hero-inner   { grid-template-columns: 1fr 1fr; }
  .hero-content { text-align: left; }
  .hero-desc    { margin: 0 0 36px; }
  .hero-btns    { justify-content: flex-start; }
  .hero-stats   { justify-content: flex-start; }
}

/* ══════════════════════════════════════════════════════════
   3. PROBLEMA + SOLUCIÓN
   ══════════════════════════════════════════════════════════ */
#problema-solucion { padding: 0; border-top: 3px solid var(--grey-2); border-bottom: 3px solid var(--grey-2); }
.ps-grid { display: grid; grid-template-columns: 1fr; }
.ps-col  { padding: 72px 40px; }
.ps-col-problem  { background: var(--grey-1); }
.ps-col-solution { background: var(--bg-alt); }

.ps-col-label {
  font-size: .67rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.ps-col-label::after { content: ''; flex: 1; height: 2px; background: var(--grey-2); max-width: 60px; border-radius: 2px; }
.ps-col-solution .ps-col-label { color: var(--olive); }

.ps-col h3 { margin-bottom: 22px; }
.ps-list { display: flex; flex-direction: column; gap: 14px; }
.ps-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .97rem; color: var(--text-secondary);
}
.ps-icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }

@media (min-width: 768px) {
  .ps-grid { grid-template-columns: 1fr 1fr; }
  .ps-col  { padding: 88px 64px; }
}

/* ══════════════════════════════════════════════════════════
   4. PAQUETES
   ══════════════════════════════════════════════════════════ */
#servicios { background: var(--grey-1); border-top: 1px solid var(--grey-2); border-bottom: 1px solid var(--grey-2); }

.cards-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-2);
  padding: 32px 26px;
  position: relative;
  transition: transform .45s var(--ease-spring),
              box-shadow .4s ease,
              border-color .25s ease;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--grey-3);
}
.card-featured {
  border-color: var(--burgundy);
  border-width: 1.5px;
}
.card-featured:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 56px rgba(140,43,50,0.14);
  border-color: var(--burgundy);
}

.card-badge {
  position: absolute; top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--burgundy); color: var(--white);
  font-size: .67rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 4px; white-space: nowrap;
}

.card-icon  { font-size: 2rem; margin-bottom: 12px; }
.card-tier  {
  font-size: .67rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; color: var(--text-muted); margin-bottom: 4px;
}
.card-title { margin-bottom: 20px; font-size: 1.15rem; }

.card-price { margin-bottom: 8px; }
.card-price-setup {
  font-size: 2rem; font-weight: 800;
  color: var(--text-primary); line-height: 1; letter-spacing: -.03em;
}
.card-price-setup .currency { font-size: 1.1rem; color: var(--burgundy); }
.card-featured .card-price-setup { font-size: 2.3rem; }
.price-usd {
  font-size: .85rem; font-weight: 600;
  color: var(--grey-3); letter-spacing: .04em;
  vertical-align: middle; margin-left: 2px;
}
.card-price-note {
  font-size: .78rem; color: var(--text-muted);
  margin-top: 6px; font-style: italic; letter-spacing: .01em;
}

.card-divider { height: 1px; background: var(--grey-2); margin: 18px 0; }

.card-delivery {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; color: var(--text-muted); margin-bottom: 18px;
}

.card-features { margin-bottom: 22px; flex: 1; }
.card-features h4 {
  font-size: .69rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-muted); margin-bottom: 14px;
}
.feature-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .88rem; color: var(--text-secondary); margin-bottom: 9px;
}
.feature-item .check { color: var(--verde); flex-shrink: 0; margin-top: 1px; }

.card-ideal {
  font-size: .82rem; color: var(--text-muted);
  margin-bottom: 22px; padding: 12px 14px;
  background: var(--grey-1); border-radius: 6px;
  border-left: 2px solid var(--grey-3); line-height: 1.65;
}
.card-ideal strong {
  color: var(--text-secondary); display: block; margin-bottom: 3px;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .09em;
}
.card .btn { width: 100%; justify-content: center; }

@media (min-width: 768px)  { .cards-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }

/* ══════════════════════════════════════════════════════════
   5. CTA SECUNDARIO
   ══════════════════════════════════════════════════════════ */
#cta-secundario {
  background: var(--grey-2);
  padding: 88px 0;
  border-top: 2px solid var(--grey-3);
  border-bottom: 2px solid var(--grey-3);
}
.cta-sec-box { max-width: 620px; margin: 0 auto; text-align: center; }
#cta-secundario h2 { margin-bottom: 14px; }
#cta-secundario p  { color: var(--text-muted); font-size: 1rem; margin-bottom: 32px; line-height: 1.7; }

/* ══════════════════════════════════════════════════════════
   6. PROCESO
   ══════════════════════════════════════════════════════════ */
#proceso { background: var(--bg-body); border-bottom: 2px solid var(--grey-2); }

.process-timeline { max-width: 640px; margin: 0 auto; position: relative; }
.process-timeline::before {
  content: ''; position: absolute;
  left: 31px; top: 8px; bottom: 8px;
  width: 1px; background: var(--grey-2);
}

.process-step { display: flex; gap: 28px; position: relative; padding-bottom: 44px; }
.process-step:last-child { padding-bottom: 0; }

.step-icon {
  width: 62px; height: 62px; flex-shrink: 0;
  background: var(--grey-1); border: 1px solid var(--grey-2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; z-index: 1;
  transition: transform .4s var(--ease-spring), border-color .25s ease, background .25s ease;
}
.process-step:hover .step-icon {
  transform: scale(1.12);
  border-color: var(--olive);
  background: var(--bg-alt);
}
.step-body { padding-top: 14px; }
.step-body h3 { margin-bottom: 8px; }
.step-body p  { color: var(--text-secondary); font-size: .95rem; margin-bottom: 10px; line-height: 1.65; }
.step-time {
  display: inline-block; font-size: .72rem; font-weight: 600;
  color: var(--olive); letter-spacing: .04em;
}

/* ══════════════════════════════════════════════════════════
   7. PORTAFOLIO
   ══════════════════════════════════════════════════════════ */
#portafolio { background: var(--bg-section); }

.portfolio-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }

.portfolio-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--border-mid);
}
.portfolio-img { aspect-ratio: 16/9; overflow: hidden; }
.img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; font-weight: 600; font-size: .88rem;
  color: rgba(255,255,255,.85);
}
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.portfolio-card:hover .portfolio-img img { transform: scale(1.04); }

.portfolio-info { padding: 20px; }
.portfolio-info h3 { margin-bottom: 6px; font-size: 1rem; }
.portfolio-pkg {
  font-size: .7rem; color: var(--burgundy); font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  display: inline-block; margin-bottom: 14px;
}
.portfolio-results { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.portfolio-result {
  display: flex; align-items: center; gap: 7px;
  font-size: .84rem; color: var(--text-secondary);
}
.portfolio-result::before { content: '✓'; color: var(--verde); font-weight: 700; }
.portfolio-card .btn { width: 100%; justify-content: center; font-size: .87rem; padding: 9px 18px; }

@media (min-width: 640px)  { .portfolio-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

/* ══════════════════════════════════════════════════════════
   8. FAQ
   ══════════════════════════════════════════════════════════ */
#faq { background: var(--grey-1); border-top: 2px solid var(--grey-2); border-bottom: 2px solid var(--grey-2); }

.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }

.faq-item {
  background: var(--bg-card); border: 1px solid var(--grey-2);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .25s ease, box-shadow .35s ease, transform .35s var(--ease-spring);
  box-shadow: var(--shadow-sm);
}
.faq-item:hover { border-color: var(--grey-3); transform: translateX(3px); }
.faq-item.open  { border-color: var(--border-olive); transform: translateX(0); }

.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 22px;
  cursor: pointer; font-weight: 600; font-size: .95rem;
  color: var(--text-primary); user-select: none;
  transition: color var(--transition);
}
.faq-item.open .faq-question { color: var(--olive); }

.faq-toggle {
  width: 24px; height: 24px; flex-shrink: 0;
  border: 1px solid var(--border-mid); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--text-muted);
  transition: transform var(--transition), border-color var(--transition), color var(--transition);
}
.faq-item.open .faq-toggle { border-color: var(--olive); color: var(--olive); transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease-spring); }
.faq-answer-inner {
  padding: 0 22px 18px; font-size: .93rem;
  color: var(--text-secondary); line-height: 1.75;
  border-top: 1px solid var(--border);
}

/* ══════════════════════════════════════════════════════════
   9. CTA FINAL
   ══════════════════════════════════════════════════════════ */
#cta-final {
  background: var(--olive);
  padding: 96px 0; text-align: center;
  position: relative; overflow: hidden;
}
#cta-final::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(0,0,0,0.03) 0px, rgba(0,0,0,0.03) 1px,
    transparent 1px, transparent 8px
  );
  pointer-events: none;
}
.cta-final-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
#cta-final h2 { color: var(--white); margin-bottom: 16px; }
#cta-final p  { color: rgba(255,255,255,0.78); font-size: 1rem; margin-bottom: 36px; line-height: 1.7; }
.cta-final-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
#cta-final .btn-primary {
  background: var(--white); color: var(--olive);
  border-color: var(--white); font-weight: 700;
}
#cta-final .btn-primary:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-1px); box-shadow: var(--shadow);
}
#cta-final .btn-secondary {
  border-color: rgba(255,255,255,0.45); color: rgba(255,255,255,0.85);
}
#cta-final .btn-secondary:hover {
  border-color: var(--white); color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* ══════════════════════════════════════════════════════════
   10. FOOTER
   ══════════════════════════════════════════════════════════ */
#footer {
  background: #111108;
  padding: 64px 0 0;
  border-top: 3px solid var(--olive);
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 56px; }
.footer-col h4 {
  color: rgba(255,255,255,0.5);
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em; margin-bottom: 20px;
}

.footer-logo { display: flex; align-items: center; margin-bottom: 16px; }
.footer-logo img {
  height: 46px; width: auto;
  /* Sobre fondo oscuro, screen funciona */
  mix-blend-mode: screen; filter: brightness(1.1);
}
.footer-logo-fallback {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.15rem; color: var(--white);
}
.footer-logo-icon {
  width: 34px; height: 34px; background: var(--olive);
  border-radius: 7px; display: flex; align-items: center; justify-content: center;
}
.footer-logo-icon svg { width: 19px; height: 19px; fill: var(--white); }

.footer-desc { color: rgba(255,255,255,0.35); font-size: .88rem; line-height: 1.75; margin-bottom: 22px; max-width: 280px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: rgba(255,255,255,0.38); font-size: .9rem; transition: color var(--transition); }
.footer-links a:hover { color: rgba(255,255,255,0.85); }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  color: rgba(255,255,255,0.38); font-size: .9rem; margin-bottom: 11px;
}
.footer-contact-item a { color: rgba(255,255,255,0.38); transition: color var(--transition); }
.footer-contact-item a:hover { color: rgba(255,255,255,0.85); }

.footer-social { display: flex; gap: 8px; margin-top: 12px; }
.social-link {
  height: 38px; padding: 0 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 7px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .22s ease, border-color .22s ease,
              color .22s ease, transform .35s var(--ease-spring);
  color: rgba(255,255,255,0.5);
  font-size: .82rem; font-weight: 500; white-space: nowrap;
}
.social-link:hover {
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.22);
  color: var(--white); transform: translateY(-3px);
}
.social-instagram:hover {
  background: rgba(193,53,132,0.18);
  border-color: rgba(193,53,132,0.4);
  color: #f8a8c8;
}

.newsletter-form { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.newsletter-input {
  flex: 1; min-width: 150px; padding: 10px 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); font-size: .88rem;
  color: var(--white); outline: none; transition: border-color var(--transition);
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-input:focus { border-color: rgba(93,92,49,0.7); }
.newsletter-btn {
  padding: 10px 16px; background: var(--burgundy);
  color: var(--white); border: none; border-radius: var(--radius);
  font-weight: 700; font-size: .88rem; cursor: pointer;
  transition: background var(--transition); white-space: nowrap;
}
.newsletter-btn:hover { background: var(--burg-dark); }
.newsletter-msg { font-size: .8rem; color: #6ee7a0; margin-top: 8px; display: none; }
.newsletter-msg.visible { display: block; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0;
  display: flex; flex-direction: column;
  align-items: center; gap: 6px; text-align: center;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,0.28); }
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-bottom a:hover { color: rgba(255,255,255,0.8); }

@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1.2fr; } }

/* ══════════════════════════════════════════════════════════
   11. WHATSAPP FLOAT
   ══════════════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 24px;
  width: 56px; height: 56px;
  background: var(--whatsapp); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35); cursor: pointer; z-index: 999;
  opacity: 0; transform: scale(0.75) translateY(12px);
  transition: opacity .45s var(--ease-spring), transform .45s var(--ease-spring);
}
.whatsapp-float.visible { opacity: 1; transform: scale(1) translateY(0); }
.whatsapp-float:hover   { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.45); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }
.whatsapp-pulse {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: pulse 2.5s ease infinite; opacity: 0;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: .35; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* ══════════════════════════════════════════════════════════
   PRIVACY PAGE
   ══════════════════════════════════════════════════════════ */
.privacy-hero {
  background: var(--bg-section); padding: 72px 0; text-align: center;
  border-bottom: 1px solid var(--border);
}
.privacy-hero h1 { margin-bottom: 10px; }
.privacy-hero p  { color: var(--text-muted); font-size: .9rem; }

.privacy-content { max-width: 780px; margin: 0 auto; padding: 64px 24px; }
.privacy-content h2 {
  font-size: 1.15rem; margin: 40px 0 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border); color: var(--text-primary);
}
.privacy-content p  { color: var(--text-secondary); margin-bottom: 12px; line-height: 1.78; font-size: .96rem; }
.privacy-content ul { list-style: none; margin-bottom: 16px; }
.privacy-content ul li {
  padding: 5px 0 5px 24px; position: relative;
  color: var(--text-secondary); font-size: .94rem;
}
.privacy-content ul li::before { content: '✓'; position: absolute; left: 0; color: var(--verde); font-weight: 700; }
.privacy-content a { color: var(--burgundy); }
.privacy-content a:hover { color: var(--olive); }

/* ══════════════════════════════════════════════════════════
   12. SECCIÓN ESTADÍSTICAS — PROBLEMA → SOLUCIÓN
   ══════════════════════════════════════════════════════════ */
.ps-section {
  padding: 96px 0;
  background: linear-gradient(160deg, var(--grey-1) 0%, var(--white) 60%);
  border-top: 2px solid var(--grey-2);
  border-bottom: 2px solid var(--grey-2);
}

.ps-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 14px;
  color: var(--text-primary);
  letter-spacing: -.025em;
  line-height: 1.12;
}
.ps-highlight {
  color: var(--burgundy);
  position: relative;
}

.ps-subtitle {
  font-size: 1.08rem;
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 64px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Grid de columnas — clase distinta para no pisar .ps-grid existente */
.ps-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 64px;
  align-items: start;
}
@media (max-width: 768px) {
  .ps-section-grid { grid-template-columns: 1fr; gap: 24px; }
}

.ps-column {
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--grey-2);
  box-shadow: var(--shadow);
}

.ps-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 3px solid;
}
.ps-header h3 { font-size: 1.35rem; margin: 0; font-weight: 700; }

.ps-header-problem { border-bottom-color: var(--burgundy); color: var(--burgundy); }
.ps-header-solution { border-bottom-color: var(--olive); color: var(--olive); }

/* Ícono de header — clase distinta para no pisar .ps-icon existente */
.ps-section-icon { width: 30px; height: 30px; flex-shrink: 0; }

/* ── Stats (columna problema) */
.ps-stat-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}
.ps-stat-item {
  padding: 18px 20px;
  background: var(--grey-1);
  border-left: 4px solid var(--burgundy);
  border-radius: 6px;
  transition: transform .3s var(--ease-spring), box-shadow .3s ease;
}
.ps-stat-item:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }

.ps-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--burgundy);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -.03em;
}
.ps-stat-text { font-size: .93rem; line-height: 1.55; color: var(--text-secondary); }
.ps-stat-text strong { color: var(--text-primary); }

.ps-source {
  display: block;
  margin-top: 8px;
  font-size: .75rem;
  color: var(--grey-3);
  font-style: italic;
}

.ps-consequences {
  background: rgba(140,43,50,0.05);
  border: 1px solid rgba(140,43,50,0.12);
  padding: 20px;
  border-radius: 8px;
}
.ps-consequences h4 {
  color: var(--burgundy);
  margin-bottom: 14px;
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.ps-section-list { list-style: none; padding: 0; margin: 0; }
.ps-section-list li {
  padding: 9px 0;
  line-height: 1.6;
  color: var(--text-secondary);
  font-size: .92rem;
  border-bottom: 1px solid rgba(140,43,50,0.08);
}
.ps-section-list li:last-child { border-bottom: none; }
.ps-section-list li strong { color: var(--text-primary); }

/* ── Benefits (columna solución) */
.ps-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}
.ps-benefit-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 8px;
  transition: background .22s ease, transform .3s var(--ease-spring);
}
.ps-benefit-item:hover { background: var(--grey-1); transform: translateX(4px); }

.ps-benefit-icon {
  font-size: .8rem;
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--olive);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin-top: 2px;
}
.ps-benefit-text { font-size: .93rem; line-height: 1.55; color: var(--text-secondary); }
.ps-benefit-text strong { color: var(--olive); }

.ps-cta-box {
  background: var(--olive);
  color: var(--white);
  padding: 28px;
  border-radius: 10px;
  text-align: center;
  border-top: 3px solid var(--olive-dark);
}
.ps-cta-box h4 { color: var(--white); margin-bottom: 10px; font-size: 1.08rem; font-weight: 700; }
.ps-cta-box p  { color: rgba(255,255,255,0.85); margin-bottom: 20px; font-size: .93rem; line-height: 1.65; }
.ps-cta-box .btn {
  background: var(--white);
  color: var(--olive);
  font-weight: 700;
  border: none;
}
.ps-cta-box .btn:hover {
  background: var(--grey-1);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ── Tabla comparativa */
.ps-comparison {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-2);
  box-shadow: var(--shadow);
}
.ps-comparison h3 {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 28px;
  letter-spacing: -.02em;
}
.ps-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
}
.ps-table thead { background: var(--grey-1); }
.ps-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 3px solid var(--grey-3);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.ps-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--grey-2);
  color: var(--text-secondary);
  line-height: 1.5;
}
.ps-table tbody tr { transition: background .18s ease; }
.ps-table tbody tr:hover { background: var(--grey-1); }
.ps-table-bad  { color: var(--burgundy) !important; font-weight: 600; }
.ps-table-good { color: var(--olive)    !important; font-weight: 600; }
.ps-table th.ps-table-bad  { color: var(--burgundy) !important; }
.ps-table th.ps-table-good { color: var(--olive)    !important; }

@media (max-width: 768px) {
  .ps-column { padding: 24px 20px; }
  .ps-comparison { padding: 24px 16px; overflow-x: auto; }
  .ps-table { font-size: .82rem; }
  .ps-table th,
  .ps-table td { padding: 10px 12px; }
}
