/* ─── FUENTES ───────────────────────────────── */
@font-face {
  font-family: 'PP Editorial Old';
  src: url('Recursos/ppeditorialold-italic.otf') format('opentype');
  font-style: italic;
  font-weight: normal;
}

/* ─── RESET ─────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--text);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 80% 90% at 18% 70%, rgba(40,130,255,.16) 0%, transparent 70%),
    radial-gradient(ellipse 65% 65% at 80% 35%, rgba(40,130,255,.07) 0%, transparent 70%);
}

/* ─── VARIABLES ──────────────────────────────── */
:root {
  --blue: #2882ff;
  --blue-dim: #4A90E2;
  --black: #020305;
  --white: #FFFFFF;
  --gray: #888888;
  --text: #333333;
  --bg-subtle: #f8f8f8;
  --border: #e5e5e5;
  --border-dark: #1f2a3a;
  --muted: #555555;
  --whatsapp: #25D366;
  --green: #22c55e;
  --red: #ef4444;
  --hero-sub: #C7CED8;
}

/* ─── TIPOGRAFÍA BASE ────────────────────────── */
h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.editorial {
  font-family: 'PP Editorial Old', serif;
  font-style: italic;
  font-weight: normal;
  font-size: 1.12em;
  letter-spacing: 0.01em;
}

.text-red {
  color: var(--red);
  text-shadow:
    0 0 18px rgba(239,68,68,0.65),
    0 0 50px rgba(239,68,68,0.28),
    0 0 90px rgba(239,68,68,0.12);
}

.text-blue {
  color: var(--blue);
  text-shadow:
    0 0 18px rgba(40,130,255,0.65),
    0 0 50px rgba(40,130,255,0.28),
    0 0 90px rgba(40,130,255,0.12);
}

p { line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ─── NAVBAR FLOTANTE ────────────────────────── */
#navbar {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 20px;
}

#navbar.scrolled .nav-inner {
  background: rgba(8,12,20,0.92);
  box-shadow: 0 8px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(40,130,255,0.08) inset;
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(8,12,20,0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.03) inset;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  grid-column: 2;
  justify-self: center;
}

.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
  filter:
    brightness(0) invert(42%) sepia(95%) saturate(2500%) hue-rotate(200deg) brightness(1.1)
    drop-shadow(0 0 8px rgba(40,130,255,0.7))
    drop-shadow(0 0 20px rgba(40,130,255,0.35));
}

#navLeft,
#navRight {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

#navLeft { grid-column: 1; justify-self: end; padding-right: 24px; }
#navRight { grid-column: 3; justify-self: start; padding-left: 24px; }

#navLeft a,
#navRight a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

#navLeft a:hover,
#navRight a:hover { color: var(--white); }

.nav-cta {
  background: var(--white) !important;
  color: var(--black) !important;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 800 !important;
  font-size: 0.88rem !important;
  transition: opacity 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  white-space: nowrap;
}

.nav-cta:hover { opacity: 0.88; }

#hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  grid-column: 1;
  justify-self: start;
}

#nav-wa {
  display: none;
}

#hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* Mobile nav panel */
#mobile-nav {
  display: none;
}

@media (max-width: 768px) {
  #navbar { top: 10px; }

  .nav-inner {
    display: flex;
    padding: 0 16px;
  }

  #hamburger {
    display: flex;
    order: 1;
    flex-shrink: 0;
  }

  .nav-logo {
    flex: 1;
    justify-content: center;
    order: 2;
  }

  #nav-wa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    order: 3;
    flex-shrink: 0;
    background: var(--whatsapp);
    color: var(--white);
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 0 16px rgba(37,211,102,0.4);
  }

  #navLeft,
  #navRight { display: none; }

  #mobile-nav {
    position: absolute;
    top: calc(68px + 8px);
    left: 0;
    right: 0;
    margin: 0 4px;
    background: rgba(8, 12, 20, 0.97);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    padding: 8px 16px 16px;
    flex-direction: column;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    z-index: 10;
  }

  #mobile-nav.open { display: flex; }

  #mobile-nav a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    font-weight: 500;
    padding: 14px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: color 0.2s;
    display: block;
  }

  #mobile-nav a:last-child { border-bottom: none; }
  #mobile-nav a:hover { color: var(--white); }

  .mobile-nav-cta {
    margin-top: 8px;
    background: linear-gradient(135deg, #3d8bff 0%, #1a6fe8 100%) !important;
    color: var(--white) !important;
    padding: 14px 24px !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    text-align: center !important;
    border-bottom: none !important;
    box-shadow: 0 0 24px rgba(40, 130, 255, 0.4);
  }
}

/* ─── HERO ───────────────────────────────────── */
#hero {
  min-height: 100vh;
  padding-top: 100px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 60px 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero-label {
  display: block;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-text h1 {
  color: var(--white);
  font-size: clamp(56px, 5vw, 76px);
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin-bottom: 40px;
  max-width: 1060px;
  text-shadow: 0 2px 50px rgba(255,255,255,0.05);
}

.hero-sub {
  color: var(--hero-sub);
  font-size: 20px;
  line-height: 1.65;
  margin-bottom: 56px;
  max-width: 680px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #3d8bff 0%, #1a6fe8 100%);
  color: var(--white);
  padding: 18px 34px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 0.98rem;
  transition: box-shadow 0.25s, transform 0.2s;
  box-shadow:
    0 0 32px rgba(40,130,255,0.6),
    0 0 80px rgba(40,130,255,0.28),
    0 4px 20px rgba(0,0,0,0.3);
}

.btn-primary:hover {
  box-shadow:
    0 0 48px rgba(40,130,255,0.85),
    0 0 100px rgba(40,130,255,0.4),
    0 6px 24px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}

.hero-trust {
  color: rgba(255,255,255,0.3);
  font-size: 0.77rem;
  letter-spacing: 0.02em;
}

.hero-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 52px;
  justify-content: center;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid rgba(40,130,255,0.22);
  border-radius: 24px;
  color: rgba(255,255,255,0.62);
  font-size: 0.79rem;
  font-weight: 500;
  background: rgba(15,20,35,0.75);
  backdrop-filter: blur(10px);
}

.hero-chip svg { color: var(--blue); flex-shrink: 0; }

/* ─── DASHBOARD SECTION ─────────────────────── */
#dashboard-section {
  padding: 0 20px 120px;
  display: flex;
  justify-content: center;
  position: relative;
}


.dashboard-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  display: flex;
  justify-content: center;
}

/* ─── DASHBOARD ANIMATIONS ──────────────────── */
@keyframes dashRow {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes dashFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── DASHBOARD ──────────────────────────────── */
.dashboard-card {
  width: min(720px, 100%);
  position: relative;
  z-index: 1;
  background: rgba(13,16,24,0.88);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 18px;
  padding: 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 24px 64px rgba(0,0,0,0.55),
    0 4px 20px rgba(0,0,0,0.3);
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
  opacity: 0;
}

.dot-green {
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px rgba(34,197,94,0.9);
  animation: pulse-green 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px rgba(34,197,94,1); }
  50% { opacity: 0.55; box-shadow: 0 0 4px rgba(34,197,94,0.3); }
}

.dashboard-metrics {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.metric-row {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s, border-color 0.2s;
  opacity: 0;
}

.metric-row:hover {
  background: rgba(40,130,255,0.06);
  border-color: rgba(40,130,255,0.25);
}

.metric-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.metric-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(40,130,255,0.14);
  border: 1px solid rgba(40,130,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-icon {
  width: 16px;
  height: 16px;
  color: var(--blue);
}

.metric-label {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  font-weight: 500;
}

.metric-value {
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-shadow: 0 0 20px rgba(40,130,255,0.7);
}

.dashboard-notification {
  border: 1px solid rgba(40,130,255,0.35);
  border-radius: 12px;
  padding: 14px 16px;
  background: rgba(40,130,255,0.07);
  opacity: 0;
}

/* ─── DASHBOARD ACTIVE ANIMATIONS ──────────── */
.dashboard-card.active .dashboard-header {
  animation: dashFade 0.5s ease 0.2s forwards;
}
.dashboard-card.active .metric-row {
  animation: dashRow 0.45s ease forwards;
}
.dashboard-card.active .metric-row:nth-child(1) { animation-delay: 0.5s; }
.dashboard-card.active .metric-row:nth-child(2) { animation-delay: 0.75s; }
.dashboard-card.active .metric-row:nth-child(3) { animation-delay: 1.0s; }
.dashboard-card.active .metric-row:nth-child(4) { animation-delay: 1.25s; }
.dashboard-card.active .dashboard-notification {
  animation: dashRow 0.45s ease 1.55s forwards;
}

.notif-header {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 9px;
  text-shadow: 0 0 12px rgba(40,130,255,0.6);
}

.notif-item {
  color: rgba(255,255,255,0.78);
  font-size: 0.82rem;
  margin-bottom: 4px;
}

.notif-time {
  color: rgba(255,255,255,0.28);
  font-size: 0.7rem;
  margin-top: 7px;
}

/* ─── PORTFOLIO ───────────────────────────────── */
.portfolio-sub {
  text-align: center;
  color: rgba(255,255,255,0.45);
  font-size: 1rem;
  margin-top: -32px;
  margin-bottom: 56px;
}

.portfolio-device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: linear-gradient(160deg, #1a1f2e 0%, #0d1018 100%);
  border-radius: 44px;
  padding: 14px;
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.08),
    0 0 0 6px rgba(255,255,255,0.03),
    0 40px 100px rgba(0,0,0,0.7),
    0 0 60px rgba(40,130,255,0.12);
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 8px;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #080b12;
  position: relative;
}

.phone-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-slide.active { opacity: 1; }

.phone-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #0f1628 0%, #080b12 100%);
  color: rgba(255,255,255,0.2);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px dashed rgba(255,255,255,0.08);
  border-radius: 32px;
}

.portfolio-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.ptab {
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: rgba(255,255,255,0.4);
  border-radius: 100px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}

.ptab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: 0 0 20px rgba(40,130,255,0.4);
}

.ptab:hover:not(.active) {
  border-color: rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
  .phone-frame { width: 240px; height: 480px; }
  #portfolio { padding: 36px 0; }
}

/* ─── TRUST STRIP ────────────────────────────── */
.trust-bar {
  position: relative;
  z-index: 1;
  padding: 0 20px 28px;
}

.trust-bar-inner {
  max-width: 1320px;
  margin: 0 auto;
  background: rgba(8,12,20,0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-dark);
  border-radius: 18px;
  padding: 26px 40px;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.03) inset;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  justify-content: center;
  padding: 0 20px;
}

.trust-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.14);
  flex-shrink: 0;
}

.trust-avatars {
  display: flex;
  align-items: center;
}

.trust-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(8,12,20,0.9);
  margin-left: -10px;
  display: block;
  flex-shrink: 0;
}

.trust-avatar:first-child { margin-left: 0; }

.trust-avatar-plus {
  background: var(--blue) !important;
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 800;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(40,130,255,0.6);
}

.trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-label {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.trust-sub {
  color: rgba(255,255,255,0.35);
  font-size: 0.73rem;
}

/* Hero mobile */
@media (max-width: 768px) {
  #hero { padding-top: 88px; }

  .hero-inner { padding: 32px 16px 48px; }

  .hero-text h1 { font-size: clamp(30px, 8vw, 40px); line-height: 1.0; }
  .hero-sub { font-size: 15px; max-width: 100%; }
  .hero-inner { padding: 24px 20px 32px; }
  .hero-chips { gap: 8px; }

  #dashboard-section { padding: 0 16px 24px; }

  .hero-chips { display: none; }

  .section-pad { padding: 32px 0; }

  #problema { padding-bottom: 32px; }
  #portfolio { padding: 32px 0; }

  .section-title { margin-bottom: 24px; }

  .problema-card { filter: brightness(0.75); }
  .paso { filter: brightness(0.65); }

  .oferta-section { padding: 32px 0; }

  .problema-grid { margin-bottom: 0; }
  .problema-progress { display: none; }

  #como-funciona { padding-top: 32px; }
  #por-que { padding-top: 32px; padding-bottom: 32px; }

  .problema-rubros { margin-bottom: 1.2rem; }

  .oferta-bullets { margin-bottom: 24px; }

  .cta-final-sub { margin-bottom: 24px; }
}

/* ─── LAYOUT ─────────────────────────────────── */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-pad { padding: 64px 0; }

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.08em;
  color: var(--white);
  margin-bottom: 56px;
  max-width: 100%;
  text-align: center;
}

.inline-logo {
  height: 1.3em;
  width: auto;
  display: inline;
  vertical-align: middle;
  position: relative;
  top: -0.05em;
  filter:
    brightness(0) invert(42%) sepia(95%) saturate(2500%) hue-rotate(200deg) brightness(1.1)
    drop-shadow(0 0 8px rgba(40,130,255,0.7))
    drop-shadow(0 0 20px rgba(40,130,255,0.35));
}

/* ─── SECTION GLOWS — fixed al viewport, sin cortes entre secciones ── */
#problema { padding-top: 32px; padding-bottom: 48px; }

#portfolio {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 48px;
}


/* ─── PROBLEMA ───────────────────────────────── */
.problema-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 0;
}

.problema-card {
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 10px;
  padding: 28px;
  background: rgba(20,8,8,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px rgba(239,68,68,0.06) inset;
  position: relative;
  filter: brightness(0.5);
  transition: filter 0.3s, box-shadow 0.3s, background 0.3s;
}

.problema-card::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 13px;
  padding: 3px;
  background: rgba(239,68,68,0.85);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.problema-card.card-active {
  filter: brightness(1);
  background: rgba(30,8,8,0.95);
  box-shadow: 0 0 48px rgba(239,68,68,0.2), 0 0 100px rgba(239,68,68,0.08);
}

.problema-card.card-active::before {
  opacity: 1;
}

.problema-progress {
  margin-top: 20px;
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 56px;
}

.problema-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, rgba(239,68,68,0.5), rgba(239,68,68,1));
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(239,68,68,0.7), 0 0 20px rgba(239,68,68,0.3);
}

.problema-icon {
  display: block;
  width: 28px;
  height: 28px;
  color: var(--red);
  margin-bottom: 16px;
  filter: drop-shadow(0 0 8px rgba(239,68,68,0.5));
}

.problema-card h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.problema-card p {
  font-size: 1rem;
  color: rgba(255,255,255,0.62);
  font-weight: 500;
}

.problema-rubros {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 2.5rem;
}

.problema-cierre {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: var(--white);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.problema-cierre u {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

@media (max-width: 768px) {
  .problema-grid { grid-template-columns: 1fr; }
}

/* ─── SOLUCIÓN ───────────────────────────────── */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.servicio-card {
  background: rgba(13,16,24,0.88);
  border-radius: 10px;
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 2px solid rgba(40,130,255,0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.servicio-icon {
  display: block;
  width: 32px;
  height: 32px;
  color: var(--blue);
  margin-bottom: 18px;
}

.servicio-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 10px;
}

.servicio-card p {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .servicios-grid { grid-template-columns: 1fr; }
}

/* ─── POR QUÉ TEIKA ──────────────────────────── */
.comparison-table {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  max-width: 680px;
  margin: 0 auto;
}

.comparison-header,
.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.comparison-header {
  background: rgba(8, 12, 20, 0.9);
}

.comparison-row {
  border-top: 1px solid var(--border-dark);
}

.comparison-label {
  padding: 16px 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
}

.comparison-col {
  padding: 16px 24px;
  font-size: 0.88rem;
  text-align: center;
  border-left: 1px solid var(--border-dark);
}

.comparison-header .comparison-label {
  padding: 14px 24px;
  font-size: 0.72rem;
}

.comparison-header .comparison-col {
  padding: 14px 24px;
  font-size: 0.88rem;
  font-weight: 600;
}

.comparison-col--them {
  color: #999;
  font-weight: 700;
}

.comparison-col--us {
  color: var(--blue);
  border-left-color: rgba(40, 130, 255, 0.25);
  background: rgba(40, 130, 255, 0.07);
}

.comparison-row .comparison-col--them {
  color: #666;
  font-weight: 800;
}

.comparison-row .comparison-col--us {
  color: var(--white);
  font-weight: 700;
  border-left-color: rgba(40, 130, 255, 0.2);
  background: rgba(40, 130, 255, 0.05);
}

@media (max-width: 768px) {
  .comparison-header,
  .comparison-row {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .comparison-label,
  .comparison-col {
    padding: 14px 12px;
    font-size: 0.82rem;
  }

  .comparison-header .comparison-label,
  .comparison-header .comparison-col {
    padding: 12px 12px;
    font-size: 0.72rem;
  }
}

/* ─── CÓMO FUNCIONA ──────────────────────────── */
.pasos-grid {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.paso {
  flex: 1;
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(13,16,24,0.5);
  border-radius: 16px;
  filter: brightness(0.45);
  position: relative;
  transition:
    box-shadow   0.9s ease-in-out,
    background   0.9s ease-in-out,
    filter       0.9s ease-in-out;
}

.paso::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 19px;
  padding: 3px;
  background: rgba(40,130,255,0.85);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.paso.step-active {
  background: rgba(40,130,255,0.08);
  box-shadow:
    0 0 48px rgba(40,130,255,0.25),
    0 0 100px rgba(40,130,255,0.1);
  filter: brightness(1);
}

.paso.step-active::before {
  opacity: 1;
}

.paso-numero {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.1em;
  margin-bottom: 16px;
  line-height: 1;
  text-shadow:
    0 0 18px rgba(40,130,255,0.65),
    0 0 50px rgba(40,130,255,0.28),
    0 0 90px rgba(40,130,255,0.12);
}

.paso h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 10px;
}

.paso p { color: rgba(255,255,255,0.55); font-size: 0.95rem; line-height: 1.65; }

.pasos-progress {
  margin-top: 20px;
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}

.pasos-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, rgba(40,130,255,0.5), rgba(40,130,255,1));
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(40,130,255,0.7), 0 0 20px rgba(40,130,255,0.3);
}

@media (max-width: 768px) {
  .pasos-grid { flex-direction: column; gap: 12px; }
  .paso { padding: 24px; }
  .pasos-progress { display: none; }
}

/* ─── OFERTA ─────────────────────────────────── */
.oferta-section {
  padding: 64px 0;
}

.oferta-inner { text-align: center; max-width: 760px; margin: 0 auto; }

.oferta-texto {
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1.35;
  margin-bottom: 36px;
}

.oferta-texto em {
  font-family: 'PP Editorial Old', Georgia, serif;
  font-style: italic;
  font-weight: normal;
  color: var(--blue);
  letter-spacing: normal;
}

.oferta-bullets {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.oferta-bullets span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid rgba(40,130,255,0.25);
  border-radius: 100px;
  background: rgba(40,130,255,0.06);
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.oferta-bullets span svg { color: var(--blue); flex-shrink: 0; }

.btn-oferta {
  display: inline-block;
  background: linear-gradient(135deg, #3d8bff 0%, #1a6fe8 100%);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 1rem;
  transition: box-shadow 0.25s, transform 0.2s;
  box-shadow: 0 0 32px rgba(40,130,255,0.55), 0 0 80px rgba(40,130,255,0.25);
}

.btn-oferta:hover {
  box-shadow: 0 0 48px rgba(40,130,255,0.8), 0 0 100px rgba(40,130,255,0.35);
  transform: translateY(-2px);
}

/* ─── FAQ ────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
.faq-item:first-of-type { border-top: 1px solid rgba(255,255,255,0.1); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  letter-spacing: -0.02em;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--blue-dim);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-answer p { color: rgba(255,255,255,0.55); font-size: 0.95rem; line-height: 1.65; }

/* ─── CTA FINAL ──────────────────────────────── */
#contacto { padding: 80px 0 96px; }
.cta-final-inner { max-width: 600px; margin: 0 auto; text-align: center; }

.cta-final-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.08em;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-final-sub { color: rgba(255,255,255,0.45); font-size: 1rem; margin-bottom: 40px; }

.cta-form-wrap { display: flex; flex-direction: column; align-items: center; }

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  width: 100%;
}

.cta-form input {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
  color: var(--white);
  background: rgba(13,16,24,0.88);
  width: 100%;
}

.cta-form input::placeholder { color: rgba(255,255,255,0.3); }
.cta-form input:focus { border-color: var(--blue); }

.cta-form button {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  background: linear-gradient(135deg, #3d8bff 0%, #1a6fe8 100%);
  color: var(--white);
  padding: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: box-shadow 0.25s, transform 0.2s;
  width: 100%;
  box-shadow: 0 0 28px rgba(40,130,255,0.5), 0 0 60px rgba(40,130,255,0.2);
}

.cta-form button:hover {
  box-shadow: 0 0 44px rgba(40,130,255,0.75), 0 0 90px rgba(40,130,255,0.3);
  transform: translateY(-1px);
}

.cta-or { color: rgba(255,255,255,0.25); font-size: 0.85rem; margin: 16px 0; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.btn-whatsapp {
  box-shadow:
    0 0 24px rgba(37,211,102,0.5),
    0 0 60px rgba(37,211,102,0.2);
}

.btn-whatsapp:hover {
  opacity: 0.9;
  box-shadow:
    0 0 36px rgba(37,211,102,0.7),
    0 0 80px rgba(37,211,102,0.3);
}

.btn-whatsapp-primary {
  font-size: 1.05rem;
  padding: 18px 32px;
  font-weight: 700;
  width: 100%;
  justify-content: center;
}

/* ─── FOOTER ─────────────────────────────────── */
#footer { background: var(--black); padding: 40px 0; }

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo { font-weight: 800; font-size: 1rem; color: var(--white); letter-spacing: -0.08em; }
.footer-links { display: flex; gap: 24px; }

.footer-links a {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-copy { color: rgba(255,255,255,0.3); font-size: 0.8rem; }

@media (max-width: 768px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 768px) {
  .problema-cierre { margin-top: 56px; }
  #contacto { padding: 56px 0 72px; }
}

/* ─── SCROLL REVEAL ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

section[id] { scroll-margin-top: 80px; }
