/* ==========================================================================
   SISMO SENSOR - LANDING PAGE GANADORA DE PRODUCTO FÍSICO (DTC / ALTA CONVERSIÓN)
   ==========================================================================
   ESTILO: Marca tecnológica premium, imágenes protagonistas, copy vendedor,
   degradados satinados nocturnos (sin negro plano), optimizado Core Web Vitals.
   ========================================================================== */

:root {
  /* Paleta satinada de producto físico de lujo */
  --color-principal: #0f172a;          /* Azul pizarra satinado ultra profundo */
  --color-principal-luz: #1e293b;      /* Slate profundo */
  --color-secundario: #182235;         /* Superficie de contraste */
  --color-superficie: #141e30;         /* Tarjeta / contenedor con reflejo satinado */
  --color-superficie-borde: rgba(255, 255, 255, 0.12);
  --color-superficie-hover: #1c2b44;

  /* Acentos de iluminación de seguridad */
  --color-acento: #f59e0b;             /* Oro ámbar lumínico */
  --color-acento-luz: #fbbf24;         /* Brillo 300 lúmenes */
  --color-acento-glow: rgba(245, 158, 11, 0.4);
  --color-exito: #10b981;              /* Verde confianza */
  --color-alerta: #ef4444;             /* Rojo emergencia sismo */

  /* Textos de alto contraste y legibilidad óptima */
  --color-texto: #f8fafc;
  --color-texto-muted: #94a3b8;
  --color-texto-oscuro: #090d16;

  /* Degradados satinados */
  --gradiente-hero: radial-gradient(circle at 50% 20%, #243552 0%, #0f172a 65%, #0a0f1d 100%);
  --gradiente-satin: linear-gradient(145deg, #162238 0%, #0f172a 100%);
  --gradiente-card: linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradiente-acento: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradiente-acento-hover: linear-gradient(135deg, #fbbf24 0%, #b45309 100%);

  /* Tipografía y radios */
  --fuente-principal: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radio-sm: 8px;
  --radio-md: 14px;
  --radio-lg: 24px;
  --radio-full: 9999px;

  /* Sombras y profundidad */
  --sombra-satin: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  --sombra-glow: 0 0 50px rgba(245, 158, 11, 0.3);
  --sombra-prod: 0 25px 60px -20px rgba(0, 0, 0, 0.8), 0 0 35px rgba(251, 191, 36, 0.2);

  /* Transiciones */
  --transicion-rapida: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transicion-suave: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & MOBILE FIRST BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: #0f172a !important;
}

body {
  font-family: var(--fuente-principal) !important;
  background-color: #0f172a !important;
  color: var(--color-texto);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Proteccion de la tipografia del sitio web (DM Sans) contra resets externos */
header:not(.chat-widget-wrapper *),
main:not(.chat-widget-wrapper *),
footer:not(.chat-widget-wrapper *),
section:not(.chat-widget-wrapper *),
.ed-container,
.ed-navbar,
.hero,
.ed-title-hero,
.ed-title-section,
.ed-title-sub,
.ed-lead-text,
.ed-btn-buy,
.ed-btn-demo,
.ed-brand,
.ed-nav-link,
.ed-quick-bullet-val,
.ed-quick-bullet-lbl,
.ed-dtc-spec-val,
.ed-dtc-spec-lbl,
.ed-editorial-kw,
.ed-step-num,
.ed-faq-trigger,
.ed-faq-text,
.ed-pack-title,
.ed-pack-desc,
.ed-pack-price,
.ed-contrast-tag,
.ed-contrast-item,
.ed-contrast-verdict,
.ed-feat-bullet-item {
  font-family: var(--fuente-principal) !important;
}

img, picture {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   CONTENEDORES ANTI-CLS (CLS = 0)
   ========================================================================== */
.ed-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
  min-height: 200px;
}

.ed-section {
  position: relative;
  padding-top: clamp(3.5rem, 7vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
  overflow: hidden;
}

/* ==========================================================================
   TIPOGRAFÍA DIRECTA Y VENDEDORA (TAMAÑOS CÓMODOS Y LEGIBLES)
   ========================================================================== */
.ed-badge-hot {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radio-full);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--color-acento-luz);
  font-size: 0.925rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.ed-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-acento-luz);
  box-shadow: 0 0 10px var(--color-acento);
  animation: pulseDot 1.8s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.ed-title-hero {
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 1.15rem;
}

.ed-title-section {
  font-size: clamp(1.85rem, 4.2vw, 3.1rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.ed-title-sub {
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
}

.ed-lead-text {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 650px;
}

.ed-highlight-gold {
  background: linear-gradient(135deg, #fef08a 0%, #fbbf24 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

/* ==========================================================================
   BOTONES DE COMPRA DIRECTA (DTC CRO)
   ========================================================================== */
.ed-btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: clamp(0.95rem, 2.2vw, 1.15rem) clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  font-size: clamp(1rem, 2vw, 1.125rem);
  border-radius: var(--radio-md);
  cursor: pointer;
  border: none;
  text-decoration: none;
  min-height: 52px;
  white-space: nowrap;
  transition: transform var(--transicion-rapida), box-shadow var(--transicion-rapida);
  text-align: center;
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5), 0 0 20px rgba(245, 158, 11, 0.3);
  background: var(--gradiente-acento);
  color: var(--color-texto-oscuro);
}

.ed-btn-buy:hover {
  transform: translateY(-3px) scale(1.02);
  background: var(--gradiente-acento-hover);
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.7);
}

.ed-btn-buy:active {
  transform: translateY(0) scale(0.99);
}

.ed-btn-pulse {
  position: relative;
}

.ed-btn-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: calc(var(--radio-md) + 4px);
  border: 2px solid var(--color-acento-luz);
  opacity: 0;
  animation: radarPulse 2.4s infinite ease-out;
  pointer-events: none;
}

@keyframes radarPulse {
  0% { transform: scale(0.95); opacity: 0.9; }
  100% { transform: scale(1.15); opacity: 0; }
}

.ed-btn-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: clamp(0.85rem, 2vw, 1rem) clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radio-md);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #f8fafc;
  min-height: 50px;
  white-space: nowrap;
  flex-shrink: 0;
  backdrop-filter: blur(8px);
  transition: background var(--transicion-rapida), border-color var(--transicion-rapida), transform var(--transicion-rapida);
}

.ed-btn-demo:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

/* ==========================================================================
   HEADER MÁS DELGADO Y ELEGANTE (52px ALTURA)
   ========================================================================== */
.ed-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800; /* < 999 para compatibilidad con chat */
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  transition: background-color var(--transicion-rapida), border-color var(--transicion-rapida);
}

.ed-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px; /* Más delgado pero cómodo */
    min-height: auto !important; 
}

.ed-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
}

.ed-brand-badge {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--gradiente-acento);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-texto-oscuro);
  box-shadow: 0 0 12px var(--color-acento-glow);
}

.ed-nav-menu {
  display: none;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.ed-nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--color-texto-muted);
  text-decoration: none;
  transition: color var(--transicion-rapida);
}

.ed-nav-link:hover {
  color: var(--color-acento-luz);
}

.ed-nav-cta-btn {
  padding: 0.45rem 1.15rem;
  font-size: 0.875rem;
  min-height: 38px;
  border-radius: 8px;
}

@media (min-width: 900px) {
  .ed-nav-menu { display: flex; }
}

/* ==========================================================================
   BARRA DE URGENCIA Y CONFIANZA INMEDIATA (AJUSTADA AL HEADER SLIM)
   ========================================================================== */
.ed-trust-strip {
  background: linear-gradient(90deg, #162238 0%, #1e2e4a 50%, #162238 100%);
  border-bottom: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.6rem 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f1f5f9;
  text-align: center;
}

.ed-trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.ed-trust-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* ==========================================================================
   SECCIÓN 1: HERO - SUBIDO Y OPTIMIZADO PARA APERTURA INMEDIATA
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradiente-hero);
  padding-top: calc(100px + 2rem);
  padding-bottom: 3.5rem;
  overflow: hidden;
}

.ed-hero-halo {
  position: absolute;
  top: 25%;
  right: 15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.25) 0%, rgba(245, 158, 11, 0.08) 40%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
  -webkit-filter: blur(40px);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  contain: paint;
  transition: all var(--transicion-suave);
}

.hero.is-simulating .ed-hero-halo {
  transform: scale(1.4);
  background: radial-gradient(circle, rgba(251, 191, 36, 0.5) 0%, rgba(245, 158, 11, 0.25) 45%, transparent 75%);
}

/* Helper classes para variaciones de texto móvil vs PC */
.mobile-only {
  display: none !important;
}

.desktop-only {
  display: inline !important;
}

@media (max-width: 991px) {
  .mobile-only {
    display: inline !important;
  }
  .desktop-only {
    display: none !important;
  }

  .ed-hero-grid {
    display: flex;
    flex-direction: column;
  }

  .ed-hero-left-col {
    display: contents;
  }

  .ed-hero-left-col .ed-title-hero {
    order: 1;
    margin-bottom: 1.25rem;
  }

  .ed-hero-visual-col {
    order: 2;
    margin-bottom: 1.5rem;
  }

  .ed-hero-rest-body {
    order: 3;
    width: 100%;
  }

  .ed-hero-main-photo-card {
    aspect-ratio: 1 / 1 !important;
    max-width: 100% !important;
    height: auto !important;
  }
}

.ed-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 992px) {
  .ed-hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.ed-hero-visual-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
}

/* Fotografía principal con protagonista absoluto */
.ed-hero-main-photo-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 100%;
  border-radius: var(--radio-lg);
  overflow: hidden;
  box-shadow: var(--sombra-prod);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #152238;
  aspect-ratio: 4 / 3;
}

@media (min-width: 992px) {
  .ed-hero-main-photo-card {
    aspect-ratio: unset;
    max-width: 100%;
    min-height: 100%;
  }
}

.ed-hero-main-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ed-hero-main-photo-card:hover img {
  transform: scale(1.03);
}

/* Badge flotante de encendido en el hero */
.ed-live-lamp-indicator {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: var(--radio-md);
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.ed-live-lamp-indicator .left-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ed-live-lamp-indicator .title {
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
}

.ed-live-lamp-indicator .subtitle {
  font-size: 0.875rem;
  color: var(--color-acento-luz);
}

.ed-hero-ctas-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 480px) {
  .ed-hero-ctas-group {
    flex-direction: row;
    align-items: center;
  }
}

.ed-hero-bullets-quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.ed-hero-bullets-quick > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ed-quick-bullet-val {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 900;
  color: var(--color-acento-luz);
  line-height: 1;
  text-align: center;
}

.ed-quick-bullet-lbl {
  font-size: 1.05rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-top: 0.45rem;
  line-height: 1.35;
  text-align: center;
}

/* ==========================================================================
   SECCIÓN 2: EL PROBLEMA VISUAL
   ========================================================================== */
.ed-problem-cinematic-sec {
  background: linear-gradient(180deg, #0a0f1d 0%, #152033 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 991px) {
  .ed-problem-visual-grid {
    display: flex;
    flex-direction: column;
  }

  .ed-problem-left-col {
    display: contents;
  }

  .ed-problem-left-col .ed-title-section {
    order: 1;
    margin-bottom: 1.25rem;
  }

  .ed-problem-photo-col {
    order: 2;
    margin-bottom: 1.5rem;
    width: 100%;
  }

  .ed-problem-photo-holder {
    aspect-ratio: 1 / 1 !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .ed-problem-rest-body {
    order: 3;
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .ed-problem-rest-body .ed-btn-buy {
    margin: 1.5rem auto 0 !important;
    align-self: center !important;
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
  }
}

.ed-problem-visual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 992px) {
  .ed-problem-visual-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: stretch;
  }

  .ed-problem-visual-grid > div:last-child {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
  }
}

.ed-problem-photo-holder {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radio-lg);
  overflow: hidden;
  box-shadow: var(--sombra-prod);
  border: 1px solid rgba(239, 68, 68, 0.3);
  aspect-ratio: 16 / 10;
  background: #0a0f1d;
}

@media (min-width: 992px) {
  .ed-problem-photo-holder {
    aspect-ratio: unset;
    min-height: 100%;
  }
}

.ed-problem-photo-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ed-problem-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.88) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.ed-danger-counter-box {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--radio-md);
  padding: 1.1rem 1.35rem;
  color: #fca5a5;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* ==========================================================================
   SECCIÓN 3: COMPARA LAS DOS REALIDADES (EMBELLECIDA CON SVGS PREMIUM)
   ========================================================================== */
.ed-contrast-sec {
  background: var(--gradiente-satin);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ed-contrast-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .ed-contrast-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.ed-card-contrast {
  border-radius: var(--radio-lg);
  padding: clamp(2rem, 4vw, 2.75rem);
  background: #141f33;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--sombra-satin);
  position: relative;
  overflow: hidden;
}

.ed-card-contrast.danger {
  border-top: 4px solid var(--color-alerta);
  background: linear-gradient(160deg, #18192c 0%, #121927 100%);
}

.ed-card-contrast.safe {
  border-top: 4px solid var(--color-acento-luz);
  background: linear-gradient(160deg, #1b2944 0%, #131d2f 100%);
  box-shadow: 0 0 45px rgba(245, 158, 11, 0.18);
}

.ed-contrast-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.ed-contrast-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.danger .ed-contrast-icon-badge {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.safe .ed-contrast-icon-badge {
  background: rgba(245, 158, 11, 0.18);
  color: var(--color-acento-luz);
  border: 1px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 0 20px var(--color-acento-glow);
}

.ed-contrast-tag {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radio-full);
}

.danger .ed-contrast-tag {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.safe .ed-contrast-tag {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.ed-contrast-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.ed-contrast-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 1.05rem;
  color: #e2e8f0;
  line-height: 1.55;
}

.ed-icon-bullet {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.ed-icon-bullet.danger {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.ed-icon-bullet.safe {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.ed-contrast-verdict {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 800;
  font-size: 0.975rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.danger .ed-contrast-verdict {
  color: #f87171;
}

.safe .ed-contrast-verdict {
  color: #34d399;
}

.mobile-only-block {
  display: none !important;
}

.desktop-only-block {
  display: block !important;
}

@media (max-width: 991px) {
  .mobile-only-block {
    display: block !important;
  }
  .desktop-only-block {
    display: none !important;
  }
}

/* ==========================================================================
   SECCIÓN 4: MACRO REVEAL DEL PRODUCTO FÍSICO
   ========================================================================== */
.ed-macro-reveal-sec {
  background: radial-gradient(circle at 50% 40%, #1f2f4c 0%, #0d1424 75%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 991px) {
  .ed-macro-grid {
    display: flex;
    flex-direction: column;
  }

  .ed-macro-text-col {
    display: contents;
  }

  .ed-macro-text-col .ed-title-section {
    order: 1;
    margin-bottom: 1.25rem;
  }

  .ed-macro-photo-col {
    order: 2;
    margin-bottom: 1.5rem;
    width: 100%;
  }

  .ed-macro-photo-container {
    aspect-ratio: 1 / 1 !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .ed-macro-rest-body {
    order: 3;
    width: 100%;
  }
}

.ed-macro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 992px) {
  .ed-macro-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .ed-macro-grid > div:first-child {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
  }
}

.ed-macro-photo-container {
  position: relative;
  border-radius: var(--radio-lg);
  overflow: hidden;
  box-shadow: var(--sombra-prod);
  border: 1px solid rgba(255, 255, 255, 0.2);
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 992px) {
  .ed-macro-photo-container {
    aspect-ratio: unset;
    max-width: 100%;
    height: 100%;
    min-height: 100%;
  }
}

.ed-macro-photo-container picture,
.ed-macro-photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.ed-macro-photo-container:hover img {
  transform: scale(1.04);
}

.ed-features-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ed-feat-bullet-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: var(--radio-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: all var(--transicion-rapida);
}

.ed-feat-bullet-item:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.35);
  transform: translateX(4px);
}

.ed-feat-icon-bullet {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--color-acento-luz);
  color: var(--color-texto-oscuro);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.05rem;
  flex-shrink: 0;
  box-shadow: 0 0 15px var(--color-acento-glow);
}

.ed-feat-bullet-item h4 {
  font-weight: 800;
  color: #fff;
  font-size: 1.1rem;
}

.ed-feat-bullet-item p {
  color: #94a3b8;
  font-size: 1.2rem;
  margin-top: 0.25rem;
  line-height: 1.55;
}

/* ==========================================================================
   SECCIÓN 5: CÓMO FUNCIONA (TODOS LOS NÚMEROS EN COLOR NARANJADO LUMINOSO)
   ========================================================================== */
.ed-steps-sec {
  background: var(--gradiente-hero);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ed-steps-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 3rem;
}

@media (min-width: 860px) {
  .ed-steps-track {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ed-step-box {
  background: #141f33;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radio-lg);
  padding: clamp(1.75rem, 3.5vw, 2.25rem);
  position: relative;
  transition: transform var(--transicion-rapida), border-color var(--transicion-rapida), box-shadow var(--transicion-rapida);
}

.ed-step-box:hover {
  transform: translateY(-5px);
  border-color: var(--color-acento-luz);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(245, 158, 11, 0.2);
}

/* REQUISITO: Todos los 3 números en color anaranjado */
.ed-step-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--color-acento-luz);
  text-shadow: 0 0 25px rgba(245, 158, 11, 0.45);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.ed-step-box p {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ==========================================================================
   SECCIÓN 6: BENEFICIOS EDITORIALES
   ========================================================================== */
.ed-benefits-editorial-sec {
  background: #0f1828;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ed-editorial-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radio-lg);
  border-left: 4px solid var(--color-acento-luz);
  margin-bottom: 1.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .ed-editorial-row {
    grid-template-columns: 260px 1fr;
    gap: 3rem;
  }
}

.ed-editorial-kw {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--color-acento-luz);
  line-height: 1.15;
}

/* ==========================================================================
   SECCIÓN 7: ESPACIOS COTIDIANOS
   ========================================================================== */
.ed-spaces-sec {
  background: var(--gradiente-satin);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Carrusel móvil para Sección 7 */
.ed-spaces-carousel-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0.5rem 1.5rem;
  scrollbar-width: none;
}

.ed-spaces-carousel-track::-webkit-scrollbar {
  display: none;
}

.ed-space-card-mobile {
  flex: 0 0 88%;
  max-width: 360px;
  scroll-snap-align: center;
  background: #141f33;
  border-radius: var(--radio-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.5rem;
  box-shadow: var(--sombra-prod);
  display: flex;
  flex-direction: column;
}

.ed-space-card-img-holder {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radio-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: #101a2d;
}

.ed-space-card-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ed-spaces-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 2rem 0;
  justify-content: center;
}

.ed-space-tab-btn {
  padding: 0.7rem 1.4rem;
  border-radius: var(--radio-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transicion-rapida);
}

.ed-space-tab-btn.active, .ed-space-tab-btn:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--color-acento-luz);
  color: #fff;
}

.ed-space-showcase-box {
  background: #141f33;
  border-radius: var(--radio-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--sombra-prod);
}

@media (min-width: 900px) {
  .ed-space-showcase-box {
    grid-template-columns: 1.1fr 1fr;
  }
}

.ed-space-photo-box {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radio-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: #101a2d;
}

.ed-space-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   SECCIÓN 8: DEMOSTRACIÓN ANTES / DESPUÉS
   ========================================================================== */
.ed-slider-sec {
  background: #0b111e;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ed-split-stage {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 2.5rem auto 0;
  aspect-ratio: 9 / 16;
  border-radius: var(--radio-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--sombra-prod);
  user-select: none;
}

@media (min-width: 768px) {
  .ed-split-stage {
    max-width: 960px;
    aspect-ratio: 16 / 9;
  }
}

.ed-split-view {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ed-split-dark-layer {
  background: #080c14;
}

.ed-split-light-layer {
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  will-change: clip-path;
}

.ed-split-dark-layer picture,
.ed-split-light-layer picture,
.ed-split-dark-layer img,
.ed-split-light-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ed-slider-drag-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--color-acento-luz);
  transform: translateX(-50%);
  cursor: ew-resize;
  box-shadow: 0 0 20px var(--color-acento);
}

.ed-slider-drag-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-texto-oscuro);
  border: 2px solid var(--color-acento-luz);
  color: var(--color-acento-luz);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.95rem;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   SECCIÓN 9: FICHA TÉCNICA VERIFICADA
   ========================================================================== */
.ed-tech-specs-sec {
  background: var(--gradiente-hero);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ed-specs-dtc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}

@media (min-width: 600px) {
  .ed-specs-dtc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.ed-dtc-spec-card {
  background: #141f33;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radio-md);
  padding: 1.5rem;
  transition: transform var(--transicion-rapida), border-color var(--transicion-rapida), box-shadow var(--transicion-rapida);
}

.ed-dtc-spec-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: var(--sombra-satin);
}

.ed-dtc-spec-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-acento-luz);
  margin-bottom: 1rem;
}

.ed-dtc-spec-val {
  font-size: 1.45rem;
  font-weight: 900;
  color: #fff;
}

.ed-dtc-spec-lbl {
  font-size: 1.05rem;
  font-weight: 500;
  color: #cbd5e1;
  margin-top: 0.45rem;
  line-height: 1.4;
}

/* ==========================================================================
   SECCIÓN 10: TRANQUILIDAD FAMILIAR
   ========================================================================== */
.ed-trust-emotional-sec {
  background: linear-gradient(180deg, #101a2c 0%, #17243c 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ed-emotional-box {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radio-lg);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: clamp(2.5rem, 5vw, 4rem);
}

/* ==========================================================================
   SECCIÓN 11: PREGUNTAS FRECUENTES
   ========================================================================== */
.ed-faq-sec {
  background: #0d1524;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ed-faq-stack {
  max-width: 820px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ed-faq-item {
  background: #141f33;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radio-md);
  overflow: hidden;
  transition: border-color var(--transicion-rapida);
}

.ed-faq-item.active {
  border-color: rgba(245, 158, 11, 0.45);
}

.ed-faq-trigger {
  width: 100%;
  padding: 1.35rem 1.6rem;
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.ed-faq-icon {
  width: 22px;
  height: 22px;
  transition: transform var(--transicion-rapida);
  flex-shrink: 0;
  color: var(--color-acento-luz);
}

.ed-faq-item.active .ed-faq-icon {
  transform: rotate(180deg);
}

.ed-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transicion-suave);
}

.ed-faq-text {
  padding: 0 1.6rem 1.35rem;
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Card especial todo anaranjado para consulta al Agente IA en FAQ */
.ed-faq-agent-card {
  background: var(--gradiente-acento) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
  transition: all var(--transicion-rapida);
}

.ed-faq-agent-card:hover {
  background: var(--gradiente-acento-hover) !important;
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.65);
  transform: translateY(-2px);
}

.ed-faq-agent-link {
  width: 100%;
  padding: 1.25rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-decoration: none;
  color: var(--color-texto-oscuro) !important;
}

.ed-faq-agent-title {
  font-weight: 900;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  color: var(--color-texto-oscuro) !important;
  margin: 0;
}

.ed-faq-agent-icon {
  width: 22px;
  height: 22px;
  color: var(--color-texto-oscuro) !important;
  flex-shrink: 0;
}

/* ==========================================================================
   SECCIÓN 12: CIERRE Y OFERTA DTC GANADORA
   ========================================================================== */
.ed-checkout-spotlight-sec {
  background: radial-gradient(circle at 50% 20%, #243657 0%, #0d1525 75%);
  border-top: 1px solid rgba(251, 191, 36, 0.3);
  position: relative;
}

.ed-offer-box-dtc {
  max-width: 980px;
  margin: 0 auto;
  background: #131e33;
  border-radius: var(--radio-lg);
  border: 1px solid rgba(251, 191, 36, 0.4);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), var(--sombra-glow);
}

.ed-carousel-wrapper-mobile {
  position: relative;
  width: 100%;
}

.ed-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid var(--color-acento-luz);
  color: var(--color-acento-luz);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.ed-carousel-arrow:active {
  transform: translateY(-50%) scale(0.92);
  background: var(--color-acento-luz);
  color: #0f172a;
}

.ed-carousel-arrow.prev {
  left: 2px;
}

.ed-carousel-arrow.next {
  right: 2px;
}

.ed-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.ed-carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.ed-carousel-dot.active {
  background: var(--color-acento-luz);
  width: 26px;
  border-radius: 12px;
}

.ed-unboxing-showcase {
  position: relative;
  border-radius: var(--radio-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 2.5rem;
  box-shadow: var(--sombra-prod);
  aspect-ratio: 4 / 3;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 991px) {
  .ed-unboxing-showcase {
    aspect-ratio: 1 / 1 !important;
    max-width: 100% !important;
  }
}

.ed-unboxing-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Paquetes de compra */
.ed-pricing-packages {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .ed-pricing-packages {
    grid-template-columns: 1fr 1.15fr;
  }
}

.ed-pack-card {
  border-radius: var(--radio-md);
  padding: 1.85rem;
  background: #18253d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.ed-pack-card.popular {
  border: 2px solid var(--color-acento-luz);
  background: linear-gradient(160deg, #1e2f4f 0%, #15223a 100%);
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.25);
}

.ed-popular-tag {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gradiente-acento);
  color: var(--color-texto-oscuro);
  font-size: 0.85rem;
  font-weight: 900;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radio-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.ed-popular-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--color-texto-oscuro);
}

.ed-pack-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

.ed-pack-desc {
  font-size: 1.05rem;
  font-weight: 500;
  color: #e2e8f0;
  line-height: 1.45;
  margin-top: 0.45rem;
}

.ed-pack-price {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--color-acento-luz);
  margin: 0.6rem 0;
  line-height: 1;
}

.ed-pack-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 1.25rem 0;
  font-size: 1rem;
  color: #e2e8f0;
}

.ed-pack-bullets li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   FOOTER PREMIUM MULTI-COLUMNA DTC REDISEÑADO
/* ==========================================================================
   PIE DE PÁGINA (ÚLTIMA FRANJA ÚNICA COMPACTA)
   ========================================================================== */
.ed-footer {
  background: #090e18;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  color: #64748b;
}

.ed-footer .ed-container {
  min-height: auto !important;
}

.ed-footer-bottom-bar {
  padding-top: 0 !important;
  border-top: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #64748b;
  text-align: center;
}

@media (min-width: 768px) {
  .ed-footer-bottom-bar {
    flex-direction: row;
    text-align: left;
  }
}

/* ==========================================================================
   SLOT EXTERNO AGENTE IA (COMPATIBILIDAD < 999)
   ========================================================================== */
.ed-agent-slot {
  position: relative;
  z-index: 950;
}
