/* ==========================================================================
   BLOQUE 0: VARIABLES Y RESETEO GENERAL
   ========================================================================== */
:root {
  --bg: #050506;
  --bg-soft: #0a0a0c;
  --panel: #0d0d10;
  --panel-2: #111114;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --txt: #f4f4f5;
  --txt-dim: #a1a1aa;
  --txt-faint: #52525b;
  --accent: #6d5efc;
  --accent-2: #00FFFF;
  --accent-glow: rgba(0, 255, 255, 0.4);
  --lime: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.35);
  --danger: #ef4444;
  --danger-glow: rgba(239, 68, 68, 0.3);
  --yellow-hero: #FFFF00;
  --green-viral: #66FF33;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --maxw: 1220px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 75px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--accent-2);
  color: #050506;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #08080a;
}

::-webkit-scrollbar-thumb {
  background: #00FFFF;
  border-radius: 20px;
  border: none;
}

::-webkit-scrollbar-thumb:hover {
  background: #00FFFF;
}

.content-container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section-block {
  padding: 58px 0;
  position: relative;
}

.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  letter-spacing: -0.025em;
  font-weight: 800;
  line-height: 1.2;
  max-width: 960px;
  color: #fff;
}

/* CAJA EDITORIAL MAESTRA UNIFICADA (920px) CON PRETTY WRAP */
.section-lead {
  margin-top: 18px;
  max-width: 920px;
  color: #e2e8f0;
  font-size: 1.12rem;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.section-lead-strong {
  margin-top: 14px;
  max-width: 920px;
  color: #e2e8f0;
  font-size: 1.12rem;
  line-height: 1.7;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.section-lead-highlight {
  margin-top: 16px;
  max-width: 920px;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.6;
  text-wrap: pretty;
}


/* ==========================================================================
   BLOQUE 1: EFECTOS AMBIENTALES Y FONDOS
   ========================================================================== */
.ambient-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 30%, transparent 85%);
}

.glow-orb {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.45;
}

.orb-primary {
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 860px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.16), transparent 65%);
}

.orb-secondary {
  top: 35%;
  right: -240px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(109, 94, 252, 0.18), transparent 65%);
}

.orb-tertiary {
  bottom: -150px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 65%);
}

.noise-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page-wrapper {
  position: relative;
  z-index: 2;
}


/* ==========================================================================
   BLOQUE 2: CABECERA Y NAVEGACIÓN (NAVBAR)
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.25s ease;
}

.main-header.scrolled {
  background: rgba(5, 5, 6, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.header-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.brand-mark-img {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  max-width: 48px;
  max-height: 48px;
  border-radius: 0;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.brand-logo:hover .brand-mark-img {
  transform: scale(1.05);
  box-shadow: 0 0 24px rgba(0, 255, 255, 0.65);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 0.82rem;
  color: var(--txt-dim);
  font-weight: 600;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent-2);
}

.btn-nav {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 8px;
  background: #050506;
  color: #ffffff;
  border: 1.5px solid transparent;
  background-image: linear-gradient(#050506, #050506), linear-gradient(120deg, #00FFFF 0%, #66FF33 50%, #00FFFF 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 0 16px rgba(0, 255, 255, 0.3), inset 0 0 10px rgba(0, 255, 255, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.btn-nav::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 8px var(--accent-2);
  display: inline-block;
  flex-shrink: 0;
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(0, 255, 255, 0.55), 0 0 32px rgba(102, 255, 51, 0.35);
  color: #ffffff;
}

@media (max-width: 1080px) {
  .nav-menu {
    display: none;
  }
}

/* ==========================================================================
   BLOQUE 3: HERO (CABECERA PRINCIPAL Y BOTONES)
   ========================================================================== */
.hero-section {
  padding: 150px 0 85px;
  text-align: center;
  position: relative;
}

.hero-spotlight {
  position: fixed;
  pointer-events: none;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.1), transparent 65%);
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 0.4s;
  opacity: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-headline {
  margin: 0 auto;
  max-width: 1080px;
  font-size: clamp(1.95rem, 4.4vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 900;
  color: var(--yellow-hero);
  text-shadow: 0 0 35px rgba(255, 255, 0, 0.22);
  text-transform: uppercase;
}

.hero-subheadline {
  margin: 28px auto 0;
  max-width: 1040px;
  font-size: clamp(1.44rem, 3.2vw, 2.53rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--accent-2);
  text-shadow: 0 0 24px rgba(0, 255, 255, 0.28);
}

.hero-subheadline .txt-viral {
  color: var(--green-viral);
  text-shadow: 0 0 24px rgba(102, 255, 51, 0.35);
}

.hero-actions {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  cursor: pointer;
  border: none;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: 11px;
  position: relative;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s, background 0.25s;
}

.hero-actions .btn::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  position: relative;
  top: -0.5px;
}

.hero-actions .btn-primary {
  background: #050506;
  color: #ffffff;
  border: 2px solid transparent;
  background-image: linear-gradient(#050506, #050506), linear-gradient(120deg, #00FFFF 0%, #66FF33 50%, #00FFFF 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 0 24px rgba(0, 255, 255, 0.35), inset 0 0 16px rgba(0, 255, 255, 0.08);
}

.hero-actions .btn-primary::before {
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2);
  animation: radarBlinkCyan 1.5s infinite ease-in-out;
}

.hero-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 38px rgba(0, 255, 255, 0.6), 0 0 50px rgba(102, 255, 51, 0.4);
}

.hero-actions .btn-ghost {
  background: #050506;
  color: #ffffff;
  border: 2px solid transparent;
  background-image: linear-gradient(#050506, #050506), linear-gradient(120deg, #FF0099 0%, #0070FF 50%, #FF0099 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 0 24px rgba(255, 0, 153, 0.35), 0 0 32px rgba(0, 112, 255, 0.35), inset 0 0 16px rgba(255, 0, 153, 0.08);
}

.hero-actions .btn-ghost::before {
  background: #FF0099;
  box-shadow: 0 0 10px #FF0099;
  animation: radarBlinkMagenta 1.5s infinite ease-in-out;
  animation-delay: 0.43s;
}

.hero-actions .btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 38px rgba(255, 0, 153, 0.6), 0 0 50px rgba(0, 112, 255, 0.5);
}

@keyframes radarBlinkMagenta {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 10px #FF0099;
  }
  50% {
    opacity: 0.25;
    transform: scale(0.72);
    box-shadow: 0 0 2px #FF0099;
  }
}

@keyframes radarBlinkCyan {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 10px #00FFFF;
  }
  50% {
    opacity: 0.25;
    transform: scale(0.72);
    box-shadow: 0 0 2px #00FFFF;
  }
}

/* ==========================================================================
   BLOQUE 4: SECCIÓN 1 - EL PROBLEMA Y CÓMO FUNCIONA (PUNTOS A - F)
   ========================================================================== */
#como-funciona .section-title {
  color: var(--yellow-hero);
  text-shadow: 0 0 30px rgba(255, 255, 0, 0.22);
}

#como-funciona .section-lead-highlight {
  color: var(--accent-2);
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.28);
}

.puntos-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

@media (max-width: 820px) {
  .puntos-grid {
    grid-template-columns: 1fr;
  }
}

.punto-item {
  border-radius: 16px;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.punto-item:hover {
  transform: translateY(-4px);
}

.punto-full {
  grid-column: 1 / -1;
}

.punto-indice {
  display: none !important;
}

.punto-titulo {
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.015em;
  line-height: 1.35;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.punto-titulo::before {
  content: '✓';
  color: var(--green-viral);
  font-family: var(--mono);
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1;
  text-shadow: 0 0 14px rgba(102, 255, 51, 0.65);
  flex-shrink: 0;
}

.punto-texto {
  font-size: 1.05rem;
  color: #e2e8f0;
  line-height: 1.68;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

/* FONDOS (18-20%), BORDES 1.5px Y LUZ PERIMETRAL */
.puntos-grid .punto-item:nth-child(1) {
  background: linear-gradient(180deg, rgba(0, 255, 255, 0.20) 0%, rgba(0, 255, 255, 0.05) 55%, rgba(13, 13, 16, 0.85) 100%);
  border: 1.5px solid rgba(0, 255, 255, 0.75);
  box-shadow: 0 0 28px -3px rgba(0, 255, 255, 0.35), inset 0 0 25px -5px rgba(0, 255, 255, 0.22);
}
.puntos-grid .punto-item:nth-child(1):hover {
  border-color: #00ffff;
  box-shadow: 0 0 45px -2px rgba(0, 255, 255, 0.65), inset 0 0 32px -4px rgba(0, 255, 255, 0.35);
}

.puntos-grid .punto-item:nth-child(2) {
  background: linear-gradient(180deg, rgba(102, 255, 51, 0.19) 0%, rgba(102, 255, 51, 0.05) 55%, rgba(13, 13, 16, 0.85) 100%);
  border: 1.5px solid rgba(102, 255, 51, 0.75);
  box-shadow: 0 0 28px -3px rgba(102, 255, 51, 0.35), inset 0 0 25px -5px rgba(102, 255, 51, 0.22);
}
.puntos-grid .punto-item:nth-child(2):hover {
  border-color: #66ff33;
  box-shadow: 0 0 45px -2px rgba(102, 255, 51, 0.65), inset 0 0 32px -4px rgba(102, 255, 51, 0.35);
}

.puntos-grid .punto-item:nth-child(3) {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.20) 0%, rgba(56, 189, 248, 0.05) 55%, rgba(13, 13, 16, 0.85) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.75);
  box-shadow: 0 0 28px -3px rgba(56, 189, 248, 0.35), inset 0 0 25px -5px rgba(56, 189, 248, 0.22);
}
.puntos-grid .punto-item:nth-child(3):hover {
  border-color: #38bdf8;
  box-shadow: 0 0 45px -2px rgba(56, 189, 248, 0.65), inset 0 0 32px -4px rgba(56, 189, 248, 0.35);
}

.puntos-grid .punto-item:nth-child(4) {
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.20) 0%, rgba(168, 85, 247, 0.05) 55%, rgba(13, 13, 16, 0.85) 100%);
  border: 1.5px solid rgba(168, 85, 247, 0.75);
  box-shadow: 0 0 28px -3px rgba(168, 85, 247, 0.35), inset 0 0 25px -5px rgba(168, 85, 247, 0.22);
}
.puntos-grid .punto-item:nth-child(4):hover {
  border-color: #a855f7;
  box-shadow: 0 0 45px -2px rgba(168, 85, 247, 0.65), inset 0 0 32px -4px rgba(168, 85, 247, 0.35);
}

.puntos-grid .punto-item:nth-child(5) {
  background: linear-gradient(180deg, rgba(255, 255, 0, 0.18) 0%, rgba(255, 255, 0, 0.04) 55%, rgba(13, 13, 16, 0.85) 100%);
  border: 1.5px solid rgba(255, 255, 0, 0.75);
  box-shadow: 0 0 28px -3px rgba(255, 255, 0, 0.32), inset 0 0 25px -5px rgba(255, 255, 0, 0.20);
}
.puntos-grid .punto-item:nth-child(5):hover {
  border-color: #ffff00;
  box-shadow: 0 0 45px -2px rgba(255, 255, 0, 0.65), inset 0 0 32px -4px rgba(255, 255, 0, 0.32);
}

.puntos-grid .punto-item:nth-child(6) {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.19) 0%, rgba(245, 158, 11, 0.05) 55%, rgba(13, 13, 16, 0.85) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.75);
  box-shadow: 0 0 28px -3px rgba(245, 158, 11, 0.35), inset 0 0 25px -5px rgba(245, 158, 11, 0.22);
}
.puntos-grid .punto-item:nth-child(6):hover {
  border-color: #f59e0b;
  box-shadow: 0 0 45px -2px rgba(245, 158, 11, 0.65), inset 0 0 32px -4px rgba(245, 158, 11, 0.35);
}

/* ==========================================================================
   BLOQUE 5: SECCIÓN 2 - TU MARCA VIRAL (FICHAS PARALELAS: MÉTODO CLÁSICO VS AMBAXS)
   ========================================================================== */
#marca .section-title,
#viral .section-title,
section[id*="viral"] .section-title,
section[id*="marca"] .section-title {
  color: var(--accent-2);
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.28);
}

#marca .section-lead-highlight,
#viral .section-lead-highlight,
section[id*="viral"] .section-lead-highlight,
section[id*="marca"] .section-lead-highlight {
  color: var(--yellow-hero);
  text-shadow: 0 0 20px rgba(255, 255, 0, 0.25);
}

.fichas-comparativa {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 860px) {
  .fichas-comparativa {
    grid-template-columns: 1fr;
  }
}

.ficha-card {
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

.ficha-card:hover {
  transform: translateY(-3px);
}

.ficha-etiqueta {
  font-size: 0 !important;
  line-height: 0 !important;
  border: none !important;
  background: none !important;
  padding: 0 !important;
  margin-bottom: 6px !important;
  display: block !important;
  width: 100% !important;
}

.ficha-peligro .ficha-etiqueta::after {
  content: 'EL MÉTODO CLÁSICO';
  font-family: var(--sans);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: #f87171;
  text-shadow: 0 0 25px rgba(239, 68, 68, 0.55);
  display: block;
  line-height: 1.25;
}

.ficha-triunfo .ficha-etiqueta::after {
  content: 'CON AMBAXS';
  font-family: var(--sans);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--green-viral);
  text-shadow: 0 0 25px rgba(102, 255, 51, 0.6);
  display: block;
  line-height: 1.25;
}

.ficha-titulo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 26px;
  line-height: 1.35;
}

.ficha-peligro .ficha-titulo {
  color: #fee2e2;
}

.ficha-triunfo .ficha-titulo {
  color: #ecfdf5;
}

.ficha-peligro {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.24) 0%, rgba(239, 68, 68, 0.09) 55%, rgba(18, 8, 8, 0.9) 100%);
  border: 1.5px solid rgba(239, 68, 68, 0.7);
  box-shadow: 0 0 35px -5px rgba(239, 68, 68, 0.35), inset 0 0 28px -5px rgba(239, 68, 68, 0.22);
}

.ficha-peligro:hover {
  border-color: #ef4444;
  box-shadow: 0 0 48px -2px rgba(239, 68, 68, 0.55), inset 0 0 35px -4px rgba(239, 68, 68, 0.3);
}

.ficha-triunfo {
  background: linear-gradient(180deg, rgba(102, 255, 51, 0.22) 0%, rgba(16, 185, 129, 0.08) 55%, rgba(6, 24, 20, 0.9) 100%);
  border: 1.5px solid rgba(102, 255, 51, 0.7);
  box-shadow: 0 0 35px -5px rgba(102, 255, 51, 0.35), inset 0 0 28px -5px rgba(102, 255, 51, 0.22);
}

.ficha-triunfo:hover {
  border-color: var(--green-viral);
  box-shadow: 0 0 48px -2px rgba(102, 255, 51, 0.55), inset 0 0 35px -4px rgba(102, 255, 51, 0.3);
}

.ficha-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.ficha-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 1rem;
  line-height: 1.6;
}

.item-concepto {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
}

.ficha-peligro .item-concepto::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f87171;
  box-shadow: 0 0 10px #ef4444, 0 0 4px #f87171;
  margin-right: 10px;
  vertical-align: 2px;
}

.ficha-triunfo .item-concepto::before {
  content: '✓';
  display: inline-block;
  color: var(--green-viral);
  font-family: var(--mono);
  font-weight: 900;
  font-size: 1.15rem;
  line-height: 1;
  margin-right: 10px;
  text-shadow: 0 0 12px rgba(102, 255, 51, 0.65);
  vertical-align: 0px;
}

.item-descripcion {
  color: #e2e8f0;
  text-wrap: pretty;
}

.ficha-cierre {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.6;
  min-height: 74px;
  display: flex;
  align-items: center;
  text-wrap: pretty;
}

.ficha-peligro .ficha-cierre {
  border-top-color: rgba(239, 68, 68, 0.45);
  color: #f87171;
  text-shadow: 0 0 16px rgba(239, 68, 68, 0.35);
}

.ficha-triunfo .ficha-cierre {
  border-top-color: rgba(102, 255, 51, 0.45);
  color: var(--green-viral);
  text-shadow: 0 0 16px rgba(102, 255, 51, 0.35);
}

.nota-editorial {
  margin-top: 36px;
  padding: 30px 34px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow-hero);
  max-width: 920px;
}

.editorial-titulo {
  font-size: 1.2rem;
  color: var(--yellow-hero);
  margin-bottom: 12px;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(255, 255, 0, 0.22);
}

.nota-editorial p {
  font-size: 1.08rem;
  color: #e2e8f0;
  line-height: 1.7;
  margin-bottom: 14px;
  text-wrap: pretty;
}

.nota-editorial p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   BLOQUE 6: SECCIÓN 3 - LA JOYA DE LA CORONA (EL ACTA OFICIAL)
   ========================================================================== */
#acta .section-title {
  color: var(--yellow-hero);
  text-shadow: 0 0 30px rgba(255, 255, 0, 0.22);
}

#acta .section-lead-highlight {
  color: var(--accent-2);
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.28);
}

.cierre-comparativo {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 820px) {
  .cierre-comparativo {
    grid-template-columns: 1fr;
  }
}

.cierre-caja {
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

.cierre-caja:hover {
  transform: translateY(-3px);
}

.cierre-caja::before,
.cierre-caja::after,
.cierre-clasico::before,
.cierre-clasico::after,
.cierre-ambaxs::before,
.cierre-ambaxs::after {
  content: none !important;
  display: none !important;
}

.cierre-titulo {
  font-family: var(--sans);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 22px;
}

.cierre-texto {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #e2e8f0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  text-wrap: pretty;
}

.cierre-clasico {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.24) 0%, rgba(239, 68, 68, 0.09) 55%, rgba(18, 8, 8, 0.9) 100%);
  border: 1.5px solid rgba(239, 68, 68, 0.7);
  box-shadow: 0 0 35px -5px rgba(239, 68, 68, 0.35), inset 0 0 28px -5px rgba(239, 68, 68, 0.22);
}

.cierre-clasico:hover {
  border-color: #ef4444;
  box-shadow: 0 0 48px -2px rgba(239, 68, 68, 0.55), inset 0 0 35px -4px rgba(239, 68, 68, 0.3);
}

.cierre-clasico .cierre-titulo {
  color: #f87171;
  text-shadow: 0 0 25px rgba(239, 68, 68, 0.55);
}

.cierre-clasico .cierre-texto::before {
  content: '' !important;
  display: inline-block !important;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f87171;
  box-shadow: 0 0 10px #ef4444, 0 0 4px #f87171;
  margin-top: 9px;
  flex-shrink: 0;
}

.cierre-ambaxs {
  background: linear-gradient(180deg, rgba(102, 255, 51, 0.22) 0%, rgba(16, 185, 129, 0.08) 55%, rgba(6, 24, 20, 0.9) 100%);
  border: 1.5px solid rgba(102, 255, 51, 0.7);
  box-shadow: 0 0 35px -5px rgba(102, 255, 51, 0.35), inset 0 0 28px -5px rgba(102, 255, 51, 0.22);
}

.cierre-ambaxs:hover {
  border-color: var(--green-viral);
  box-shadow: 0 0 48px -2px rgba(102, 255, 51, 0.55), inset 0 0 35px -4px rgba(102, 255, 51, 0.3);
}

.cierre-ambaxs .cierre-titulo {
  color: var(--green-viral);
  text-shadow: 0 0 25px rgba(102, 255, 51, 0.6);
}

.cierre-ambaxs .cierre-texto::before {
  content: '✓' !important;
  display: inline-block !important;
  color: var(--green-viral);
  font-family: var(--mono);
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1;
  margin-top: 1px;
  text-shadow: 0 0 12px rgba(102, 255, 51, 0.65);
  flex-shrink: 0;
}

/* ==========================================================================
   BLOQUE 7: SECCIÓN 4 - DEMO INTERACTIVA (CONTENEDOR RESERVADO)
   ========================================================================== */
#demo .section-title {
  color: var(--accent-2);
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.28);
}

.demo-placeholder-card {
  border: 2px dashed rgba(0, 255, 255, 0.35);
  background: rgba(0, 255, 255, 0.03);
  border-radius: 18px;
  padding: 60px 24px;
  text-align: center;
}

.demo-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--yellow-hero);
  background: rgba(255, 255, 0, 0.1);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 0, 0.3);
  margin-bottom: 18px;
}

.demo-titulo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  max-width: 640px;
  margin: 0 auto 12px;
}

.demo-subtitulo {
  color: #e2e8f0;
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.demo-action {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   BLOQUE 8: SECCIÓN 5 - PLANES Y TARIFAS
   ========================================================================== */
#planes .section-title,
#precios .section-title {
  color: var(--yellow-hero);
  text-shadow: 0 0 30px rgba(255, 255, 0, 0.22);
}

/* COMPENSACIÓN DE CABECERA FIJA PARA ATERRIZAJE PERFECTO */
.tarifas-cabecera {
  margin-top: 48px;
  text-align: center;
  scroll-margin-top: 100px;
}

.tarifas-subtitulo {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 700;
}

.tarifas-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 920px) {
  .tarifas-grid {
    grid-template-columns: 1fr;
  }
}

.tarifa-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 28px;
  background: linear-gradient(180deg, var(--panel), rgba(8, 8, 10, 0.5));
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

.tarifa-card {
  transition: all 0.3s ease;
}

/* 1. Plan Prueba: Azul noche definido con marco nítido y sobrio */
.tarifas-grid .tarifa-card:first-child {
  background: linear-gradient(180deg, rgba(14, 23, 42, 0.5) 0%, rgba(6, 10, 20, 0.95) 100%);
  border: 1.5px solid rgba(59, 130, 246, 0.7);
  box-shadow: 0 0 22px rgba(37, 99, 235, 0.35), inset 0 0 20px rgba(59, 130, 246, 0.08);
}
.tarifas-grid .tarifa-card:first-child:hover {
  border-color: #60a5fa;
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(37, 99, 235, 0.55), inset 0 0 25px rgba(96, 165, 250, 0.15);
}

/* 2. Plan Pro: Cian eléctrico de alto impacto (máxima luz) */
.tarifa-destacada {
  background: linear-gradient(180deg, rgba(8, 85, 105, 0.75) 0%, rgba(4, 20, 26, 0.95) 100%);
  border: 1.5px solid rgba(34, 211, 238, 0.9);
  box-shadow: 0 0 65px -5px rgba(34, 211, 238, 0.6), inset 0 0 40px rgba(34, 211, 238, 0.25);
}
.tarifa-destacada:hover {
  border-color: #22d3ee;
  transform: translateY(-3px);
  box-shadow: 0 0 85px 5px rgba(34, 211, 238, 0.8), inset 0 0 45px rgba(34, 211, 238, 0.35);
}

/* 3. Plan Escala: Verde viral completo con marco neón a juego con los checks */
.tarifas-grid .tarifa-card:last-child {
  background: linear-gradient(180deg, rgba(102, 255, 51, 0.42) 0%, rgba(16, 185, 129, 0.22) 45%, rgba(4, 26, 18, 0.94) 100%);
  border: 2px solid #66FF33;
  box-shadow: 0 0 0 1px #66FF33, 0 0 18px rgba(102, 255, 51, 0.9), 0 0 50px rgba(102, 255, 51, 0.65), 0 0 95px rgba(16, 185, 129, 0.45);
}
.tarifas-grid .tarifa-card:last-child:hover {
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px #ffffff, 0 0 25px #ffffff, 0 0 70px rgba(102, 255, 51, 0.95), 0 0 120px rgba(16, 185, 129, 0.7);
}
.tarifas-grid .tarifa-card:last-child .feature-item::before {
  color: #66FF33;
  text-shadow: 0 0 14px rgba(102, 255, 51, 0.9);
}

.tarifa-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent-2);
  color: #050506;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 100px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.tarifa-nombre {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.tarifa-precio {
  margin: 20px 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.precio-cifra {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.precio-unidad {
  font-size: 0.82rem;
  color: #94a3b8;
  font-family: var(--mono);
}

.tarifa-descripcion {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-top: 8px;
  min-height: 42px;
  line-height: 1.55;
  text-wrap: pretty;
}

.tarifa-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}

.feature-item {
  font-size: 0.92rem;
  color: #e2e8f0;
  position: relative;
  padding-left: 22px;
  line-height: 1.45;
}

.feature-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-viral);
  font-weight: 800;
  font-family: var(--mono);
}

.btn-tarifa {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-solid,
.btn-outline {
  background: #050506;
  color: #ffffff;
  border: 2px solid transparent;
  background-image: linear-gradient(#050506, #050506), linear-gradient(128deg, #00FFFF 0%, #66FF33 50%, #00FFFF 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 0 24px rgba(0, 255, 255, 0.35), inset 0 0 16px rgba(0, 255, 255, 0.08);
  text-decoration: none;
}

.btn-solid:hover,
.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 38px rgba(0, 255, 255, 0.6), 0 0 50px rgba(102, 255, 51, 0.4);
  color: #ffffff;
}

.tarifas-cierre {
  margin-top: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cierre-linea-1 {
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 700;
}

.cierre-linea-2 {
  font-size: 1.15rem;
  color: var(--accent-2);
  font-weight: 700;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.25);
}

/* ==========================================================================
   BLOQUE 9: SECCIÓN 6 - PARA QUIÉN SÍ Y PARA QUIÉN NO (POLARIZACIÓN)
   ========================================================================== */
#criterio .section-title {
  color: var(--accent-2);
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.28);
}

/* --------------------------------------------------------------------------
   TITULARES NOBLES SUPERIORES (IZQUIERDA Y DERECHA)
   -------------------------------------------------------------------------- */
#criterio .ficha-etiqueta {
  font-size: 0 !important;
  line-height: 0 !important;
  border: none !important;
  background: none !important;
  padding: 0 !important;
  margin-bottom: 22px !important;
  display: block !important;
  width: 100% !important;
}

/* TITULAR VERDE: PARA QUIÉN ES AMBAXS */
#criterio .ficha-triunfo .ficha-etiqueta::after {
  content: 'PARA QUIÉN ES AMBAXS' !important;
  font-family: var(--sans);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--green-viral);
  text-shadow: 0 0 25px rgba(102, 255, 51, 0.6);
  display: block;
  line-height: 1.25;
}

/* TITULAR ROJO: PARA QUIÉN NO ES AMBAXS */
#criterio .ficha-neutra .ficha-etiqueta::after {
  content: 'PARA QUIÉN NO ES AMBAXS';
  font-family: var(--sans);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: #f87171;
  text-shadow: 0 0 25px rgba(239, 68, 68, 0.55);
  display: block;
  line-height: 1.25;
}

/* --------------------------------------------------------------------------
   FICHA DE DESCARTE (ZONA ROJA / EL FILTRO DE EXCLUSIÓN)
   -------------------------------------------------------------------------- */
.ficha-neutra {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.24) 0%, rgba(239, 68, 68, 0.09) 55%, rgba(18, 8, 8, 0.9) 100%);
  border: 1.5px solid rgba(239, 68, 68, 0.7);
  box-shadow: 0 0 35px -5px rgba(239, 68, 68, 0.35), inset 0 0 28px -5px rgba(239, 68, 68, 0.22);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.ficha-neutra:hover {
  border-color: #ef4444;
  box-shadow: 0 0 48px -2px rgba(239, 68, 68, 0.55), inset 0 0 35px -4px rgba(239, 68, 68, 0.3);
  transform: translateY(-3px);
}

/* TITULARES INTERNOS / CONCEPTOS */
.ficha-neutra .item-concepto,
.ficha-neutra .ficha-item strong {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-block;
}

/* PUNTITO ROJO LUMINOSO EN CADA UNO DE LOS PUNTOS */
.ficha-neutra .item-concepto::before,
.ficha-neutra .ficha-item strong::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f87171;
  box-shadow: 0 0 10px #ef4444, 0 0 4px #f87171;
  margin-right: 10px;
  vertical-align: 2px;
}

/* DESCRIPCIÓN EN BLANCO TITANIO */
.ficha-neutra .item-descripcion {
  color: #e2e8f0;
  font-size: 1rem;
  line-height: 1.6;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   CIERRE INFERIOR CON LÍNEA ROJA Y TEXTO LUMINOSO
   -------------------------------------------------------------------------- */
.ficha-neutra .ficha-cierre {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(239, 68, 68, 0.45);
  color: #f87171;
  text-shadow: 0 0 16px rgba(239, 68, 68, 0.35);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.6;
  min-height: 74px;
  display: flex;
  align-items: center;
  text-wrap: pretty;
}

/* CONCLUSIÓN FANGO EN ESPEJO: AMARILLO */
.editorial-fango .fango-conclusion {
  font-weight: 700;
  color: var(--yellow-hero);
  text-shadow: 0 0 20px rgba(255, 255, 0, 0.25);
  font-size: 1.12rem;
}

/* ==========================================================================
   BLOQUE 10: SECCIÓN 7 - LA FAQ (ACORDEÓN)
   ========================================================================== */
#faq .section-title {
  color: var(--yellow-hero);
  text-shadow: 0 0 30px rgba(255, 255, 0, 0.22);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 44px;
  max-width: 920px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--panel), transparent);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item:hover {
  border-color: rgba(0, 255, 255, 0.4);
  box-shadow: 0 0 20px -5px rgba(0, 255, 255, 0.15);
}

/* PREGUNTA: BLANCO TITANIO (#E2E8F0) PARA MÁXIMO CONFORT VISUAL */
.faq-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.faq-trigger:hover {
  color: #ffffff;
}

/* ICONO DE APERTURA EN CIAN */
.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--accent-2);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}

.faq-icon::before {
  top: 9px;
  left: 2px;
  width: 16px;
  height: 2px;
}

.faq-icon::after {
  left: 9px;
  top: 2px;
  width: 2px;
  height: 16px;
  transition: opacity 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(90deg);
}

.faq-item.open .faq-icon::after {
  opacity: 0;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* RESPUESTA INTERNA EN BLANCO TITANIO */
.faq-panel-inner {
  padding: 0 24px 24px;
  font-size: 1rem;
  color: #e2e8f0;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-wrap: pretty;
}
/* ==========================================================================
   BLOQUE 11: SECCIÓN 8 - CIERRE FINAL (LLAMADA A LA ACCIÓN)
   ========================================================================== */
.final-section {
  padding: 60px 0 80px;
  text-align: center;
}

.final-container {
  border-radius: 24px;
  padding: 60px 30px;
  border: 1px solid var(--line-strong);
  background: radial-gradient(ellipse 90% 120% at 50% 0%, rgba(0, 255, 255, 0.12), transparent 75%);
}

.final-title {
  font-size: clamp(1.85rem, 3.8vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  max-width: 920px;
  margin: 0 auto;
  letter-spacing: -0.025em;
  color: var(--accent-2);
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.28);
}

.final-lead {
  margin-top: 16px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  color: #e2e8f0;
  font-size: 1.12rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.final-lead-strong {
  margin-top: 14px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 700;
  color: #ffffff;
  font-size: 1.12rem;
  text-wrap: pretty;
}

.final-dilema {
  max-width: 920px;
  margin: 22px auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1.05rem;
  color: #e2e8f0;
  line-height: 1.7;
  text-wrap: pretty;
}

.final-dilema-conclusion {
  color: var(--yellow-hero);
  font-weight: 700;
  text-shadow: 0 0 20px rgba(255, 255, 0, 0.22);
}

.final-cta-wrap {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.btn-final {
  background: #050506;
  color: #ffffff;
  border: 2px solid transparent;
  background-image: linear-gradient(#050506, #050506), linear-gradient(120deg, #00FFFF 0%, #66FF33 50%, #00FFFF 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 0 26px rgba(0, 255, 255, 0.4), inset 0 0 16px rgba(0, 255, 255, 0.08);
  font-size: 1.1rem;
  padding: 18px 40px;
  line-height: 1.35;
  text-align: center;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.btn-final::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2);
  animation: radarBlinkCyan 1.5s infinite ease-in-out;
}

.btn-final:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 42px rgba(0, 255, 255, 0.65), 0 0 55px rgba(102, 255, 51, 0.45);
}

.final-meta {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-linea-2 {
  color: #38bdf8;
  font-weight: 700;
}

/* ==========================================================================
   BLOQUE 12: PIE DE PÁGINA (FOOTER)
   ========================================================================== */
.main-footer {
  border-top: 1px solid var(--line);
  padding: 38px 0;
  position: relative;
  z-index: 2;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}


/* ==========================================================================
   BLOQUE 13: ADAPTABILIDAD RESPONSIVE (MÓVIL, TABLET Y PANTALLAS PEQUEÑAS)
   ========================================================================== */

/* ESTILO BASE DE ESCRITORIO PARA ELEMENTOS EXCLUSIVOS DE MÓVIL */
.btn-menu-mobile,
.btn-entrar-mobile-notice {
  display: none;
}

/* --------------------------------------------------------------------------
   TABLETS Y PANTALLAS TÁCTILES (HASTA 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  /* 1. EL BOTÓN "ENTRAR" DESAPARECE EN MÓVILES Y TABLETS */
  .btn-nav-desktop {
    display: none !important;
  }

  /* Botón de retorno visible en móviles para Blog y Artículos */
  .header-action a[href*="index.html"],
  .header-action a[href*="blog.html"] {
    display: inline-flex !important;
    font-size: 0.78rem;
    padding: 6px 12px;
    white-space: nowrap;
  }

  /* 2. BOTÓN HAMBURGUESA VISIBLE CON BRILLO CIAN */
  .btn-menu-mobile {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.4);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    z-index: 10001;
  }

  .btn-menu-mobile span {
    display: block;
    width: 20px;
    height: 2px;
    background: #00ffff;
    border-radius: 2px;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .btn-menu-mobile:hover,
  .btn-menu-mobile:active {
    border-color: #00ffff;
    background: rgba(0, 255, 255, 0.16);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.35);
  }

  /* TRANSFORMACIÓN A "X" AL ABRIR */
  .btn-menu-mobile.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: #00ffff;
  }

  .btn-menu-mobile.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .btn-menu-mobile.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: #00ffff;
  }

  /* 3. CORTINA VERTICAL DEL MENÚ TÁCTIL (MÁXIMA PRIORIDAD Y VISIBILIDAD) */
  .nav-menu {
    display: none !important;
  }

  .nav-menu.open {
    display: flex !important;
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: calc(100vh - 58px);
    background: #050506;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 24px 20px 40px;
    gap: 8px;
    overflow-y: auto;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    z-index: 10000;
  }

  /* ENLACES TÁCTILES ERGONÓMICOS */
  .nav-menu .nav-link {
    width: 100%;
    max-width: 360px;
    text-align: center;
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 600;
    color: #e2e8f0;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.2s ease;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link:active {
    color: #00ffff;
    background: rgba(0, 255, 255, 0.08);
    border-color: rgba(0, 255, 255, 0.35);
  }

  /* BOTÓN ATENUADO INFORMATIVO AL PIE DEL MENÚ MÓVIL */
  .btn-entrar-mobile-notice {
    width: 100%;
    max-width: 360px;
    margin-top: 14px;
    padding: 13px 16px;
    border-radius: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.02);
    color: var(--txt-dim);
    font-family: var(--sans);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
  }

  .btn-entrar-mobile-notice::before {
    content: '💻';
    font-size: 0.95rem;
    opacity: 0.75;
  }

  .btn-entrar-mobile-notice:hover,
  .btn-entrar-mobile-notice:active {
    border-color: rgba(0, 255, 255, 0.35);
    background: rgba(0, 255, 255, 0.05);
    color: #cbd5e1;
  }

  body.menu-open {
    overflow: hidden;
  }

  .section-block {
    padding: 44px 0;
  }

  .hero-section {
    padding: 130px 0 65px;
  }
}

/* --------------------------------------------------------------------------
   TABLETS Y MÓVILES EN HORIZONTAL (HASTA 860px)
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .section-title {
    font-size: clamp(1.55rem, 5vw, 2.1rem);
  }

  .section-lead,
  .section-lead-strong,
  .section-lead-highlight {
    font-size: 1.02rem;
    line-height: 1.65;
  }

  .fichas-comparativa,
  .cierre-comparativo,
  .puntos-grid,
  .tarifas-grid,
  .demo-funcionalidades-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .ficha-cierre {
    min-height: auto;
  }
}

/* --------------------------------------------------------------------------
   MÓVILES (HASTA 640px)
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .content-container {
    padding: 0 16px;
  }

  /* Ajuste pericial de la maqueta demo en móvil */
  .demo-cta-overlay {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    padding: 24px 16px 20px !important;
    background: #090a0f !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .demo-cta-overlay .btn-nav {
    width: 100%;
    max-width: 290px;
    justify-content: center;
    font-size: 0.95rem !important;
    padding: 12px 20px !important;
  }

  #afiliados .btn-nav {
    font-size: 0.86rem !important;
    padding: 11px 20px !important;
    max-width: calc(100% - 24px) !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }

  .demo-cta-overlay p {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    color: #e2e8f0 !important;
    margin-top: 14px !important;
  }

  /* Bifurcación de texto barra maqueta demo */
  .txt-visor-desktop {
    display: none !important;
  }

  .txt-visor-mobile {
    display: inline-block !important;
  }

  .section-block {
    padding: 34px 0;
  }

  .hero-section {
    padding: 110px 0 45px;
  }

  .hero-headline {
    font-size: clamp(1.5rem, 6.8vw, 2.1rem);
    line-height: 1.2;
  }

  .hero-subheadline {
    font-size: clamp(1.1rem, 4.8vw, 1.45rem);
    margin-top: 18px;
    line-height: 1.3;
  }

  .hero-actions {
    margin-top: 30px;
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.92rem;
  }

  .punto-item {
    padding: 22px 18px;
    border-radius: 14px;
    gap: 10px;
  }

  .punto-titulo {
    font-size: 1.1rem;
    line-height: 1.35;
  }

  .punto-texto {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .ficha-card {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .ficha-peligro .ficha-etiqueta::after,
  .ficha-triunfo .ficha-etiqueta::after,
  #criterio .ficha-neutra .ficha-etiqueta::after {
    font-size: 1.28rem !important;
  }

  .ficha-titulo {
    font-size: 1.15rem;
    margin-bottom: 20px;
  }

  .ficha-items {
    gap: 14px;
  }

  .ficha-item {
    font-size: 0.95rem;
  }

  .ficha-cierre {
    margin-top: 24px;
    padding-top: 16px;
    font-size: 0.96rem;
  }

  .cierre-caja {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .cierre-titulo {
    font-size: 1.22rem;
    margin-bottom: 16px;
  }

  .cierre-texto {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .nota-editorial {
    padding: 20px 16px;
    border-radius: 14px;
    margin-top: 26px;
  }

  .editorial-titulo {
    font-size: 1.08rem;
  }

  .nota-editorial p {
    font-size: 0.98rem;
  }

  .tarifa-card {
    padding: 26px 18px;
    border-radius: 16px;
  }

  .precio-cifra {
    font-size: 2.3rem;
  }

  .faq-accordion {
    margin-top: 32px;
    gap: 10px;
  }

  .faq-trigger {
    padding: 18px 16px;
    font-size: 0.98rem;
    gap: 12px;
  }

  .faq-panel-inner {
    padding: 0 16px 20px;
    font-size: 0.95rem;
  }

  .final-section {
    padding: 60px 0 75px;
  }

  .final-container {
    padding: 36px 16px;
    border-radius: 18px;
  }

  .final-title {
    font-size: clamp(1.45rem, 5.8vw, 1.95rem);
  }

  .final-lead,
  .final-lead-strong,
  .final-dilema {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .final-cta-wrap {
    width: 100%;
  }

  .btn-final {
    width: 100%;
    padding: 15px 16px;
    font-size: 0.96rem;
    flex-direction: column;
    gap: 8px;
    line-height: 1.4;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .footer-container > div:last-child {
    flex-wrap: wrap;
    justify-content: center;
  }
}