/* =========================================================
   index.css (layout + overrides)
   Objetivo: 2 columnas, imágenes iguales, embeds al ancho,
             y pisar lo que "luminosidad.css" haga en body/wrap.
========================================================= */

:root{
  --page-bg: #f6f7f9;
  --card-bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #e5e7eb;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(0,0,0,.08);
}

/* PISAMOS luminosidad.css (que mete body/ wrap) */
html, body{
  height: 100%;
}
body{
  margin: 0 !important;
  background: var(--page-bg) !important;
  color: var(--text) !important;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
}

.blnz-page,
.blnz-page *{
  box-sizing: border-box;
}

.blnz-page{
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 16px 40px;
}

/* Header */
.blnz-header{
  text-align: center;
  margin: 6px 0 16px;
}
.blnz-header h1{
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}
.blnz-header p{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

/* ===== Dual section wrapper ===== */
.blnz-dual-section{
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.blnz-dual-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.blnz-col{
  padding: 16px 18px 18px;
  min-width: 0; /* evita desbordes en grid */
}

.blnz-col + .blnz-col{
  border-left: 1px solid var(--line);
}

/* ===== Images (mismo tamaño en ambas columnas) ===== */
.blnz-imgbox{
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #0b1220;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
  aspect-ratio: 16 / 10;
}

.blnz-img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ===== Typography ===== */
.blnz-col h3{
  margin: 14px 0 8px;
  font-size: 16px;
  font-weight: 800;
}

.blnz-lead{
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* ===== List blocks ===== */
.blnz-list{
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.blnz-item{
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  background: #fff;
}

.blnz-item-title{
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 6px;
}

.blnz-item-body{
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.blnz-item-body a{
  color: #4f46e5;
  text-decoration: none;
  font-weight: 700;
}
.blnz-item-body a:hover{
  text-decoration: underline;
}

/* ===== Embeds ===== */
.blnz-embed{
  margin-top: 10px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.blnz-embed-head{
  display: grid;
  gap: 4px;
  margin-bottom: 8px;
}

.blnz-embed-title{
  font-weight: 900;
  font-size: 13px;
  color: var(--text);
}

.blnz-embed-sub{
  font-size: 12px;
  color: var(--muted);
}

.blnz-embed-foot{
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

/* ===== Importante: limitar carrusel de luminosidad al ancho de columna ===== */
.blnz-col .lumi-scroll{
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

/* Ajuste de tarjetas para que no “rompan” el layout */
.blnz-col .lumi-card{
  min-width: 140px;
  height: 210px;
}

/* ===== Comparador precios en iframe ===== */
.blnz-iframe-wrap{
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.blnz-iframe{
  width: 100%;
  height: 520px; /* JS lo reajusta si puede (same-origin) */
  border: 0;
  display: block;
}
/* =========================================
   AISLAMIENTO DE CARRUSELES POR COLUMNA
========================================= */

/* Carrusel precios (cards internas) */
.blnz-col .price-scroll,
.blnz-col .cards-wrapper,
.blnz-col .cards-container {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
}

/* Tarjetas: nunca usar viewport */
.blnz-col .card,
.blnz-col .lumi-card {
  max-width: 100%;
  box-sizing: border-box;
}
/* =========================================
   CARRUSEL IZQUIERDO · FORZAR SCROLL
========================================= */
/* cada tarjeta debe ser MÁS ancha que la columna */
.blnz-col .lumi-card {
  flex: 0 0 180px;   /* clave */
  max-width: 180px;
}

/* ===== CARRUSEL IZQUIERDO · SCROLL CONTINUO SIN BLOQUEOS ===== */

.blnz-col .lumi-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;

  /* clave: desactivar cualquier snap heredado */
  scroll-snap-type: none !important;
}

/* cada tarjeta fuerza ancho fijo */
.blnz-col .lumi-scroll > * {
  flex: 0 0 180px;
  min-width: 180px;
  scroll-snap-align: none !important;
}

/* =========================================
   CARRUSEL PRECIOS · ESCALADO EN COLUMNA
========================================= */

.blnz-col .cards-wrapper,
.blnz-col .cards-container {
  transform: scale(0.9);
  transform-origin: top left;
}

/* Ajuste fino para no cortar contenido */
.blnz-col .cards-wrapper {
  padding-bottom: 24px;
}

.blnz-col h3 {
  margin-top: 12px;
}

.blnz-col img {
  margin-bottom: 16px;
}
/* ===== CARRUSEL PRECIOS · MODO COMPACTO EDITORIAL ===== */

.blnz-price-compact .price-card {
  max-width: 220px;
  min-width: 220px;
  padding: 12px;
}

/* ocultar ruido */
.blnz-price-compact .ranking,
.blnz-price-compact .valoracion,
.blnz-price-compact .estrellas,
.blnz-price-compact .badge-ranking {
  display: none !important;
}

/* reducir imágenes */
.blnz-price-compact img.baliza {
  max-width: 80px;
  margin: 0 auto 6px;
}

.blnz-price-compact img.tienda {
  max-width: 70px;
  margin: 0 auto 6px;
}

/* jerarquía clara de precios */
.blnz-price-compact .precio-tienda {
  font-size: 16px;
  font-weight: 700;
}

.blnz-price-compact .pvp {
  font-size: 13px;
  opacity: 0.7;
}

.blnz-price-compact .precio-tco {
  font-size: 15px;
  font-weight: 600;
  color: #0b5ed7;
}
/* =========================
   ESTILOS PARA EL IFRAME DE PRECIOS
   (Añade esto en tu CSS existente)
========================== */

.blnz-embed-price {
  margin: 10px 0 !important;
}

.blnz-embed-foot {
  margin-top: 8px !important;
  padding-top: 8px;
  font-size: 0.85rem;
  color: #64748b;
  border-top: 1px solid #e5e7eb;
}
/* origen y actuación en una línea */
.blnz-price-compact .meta {
  font-size: 12px;
  opacity: 0.8;
}
.fuente-jef {
  font-size: 13px;
  color: #475569;
  margin: 8px 0 12px;
}
.fuente-jef a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}
.fuente-jef a:hover {
  text-decoration: underline;
}

.left-column,
.left-column * {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.left-column {
  display: block; /* o flex con wrap */
}

.left-column {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
/* === FIX TEXTOS QUE NO ROMPEN LINEA === */
.blnz-col, .blnz-col *{
  white-space:normal !important;
  overflow-wrap:anywhere !important;
  word-break:break-word !important;
}
/* ========= FIX ÚNICO CARRUSEL IZQUIERDO (LUMINOSIDAD) ========= */
.blnz-col{ overflow: visible !important; min-width:0; }

#lumiScroll{
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:12px !important;

  overflow-x:auto !important;
  overflow-y:hidden !important;

  -webkit-overflow-scrolling:touch;
  scroll-behavior:smooth;

  /* clave para trackpad/touch */
  touch-action: pan-x;
  overscroll-behavior-x: contain;

  width:100% !important;
  max-width:100% !important;

  padding:12px 8px !important;
}

#lumiScroll::-webkit-scrollbar{ display:none; }

#lumiScroll .lumi-card{
  flex:0 0 140px !important;   /* más fichas */
  min-width:140px !important;
}
/* ========= FIX WRAP TEXTOS EN COLUMNA ========= */
.blnz-item,
.blnz-item-body{
  min-width:0 !important;
}

.blnz-item-body,
.blnz-item-body *{
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}
.lumi-card .cd{
  margin-top: 6px;
  display: grid;
  gap: 2px;
  text-align: center;
}
.lumi-card .cd-label{
  font-size: 11px;
  font-weight: 900;
  opacity: .85;
}
.lumi-card .cd-val{
  font-size: 14px;
  font-weight: 900;
}
.lumi-card .cd-unit{
  font-size: 11px;
  font-weight: 900;
  opacity: .7;
}
.lumi-card .cd{
  margin-top:6px;
  font-size:14px;
  font-weight:900;
  text-align:center;
}
.lumi-card .cd-unit{
  font-size:12px;
  font-weight:800;
  opacity:.7;
}
/* === CARRUSEL PRECIOS · COMPACTAR BLOQUE ORIGEN / ACTUACIÓN === */

.blnz-col .meta,
.blnz-col .origen,
.blnz-col .actuacion {
  margin-bottom: 4px !important;
  padding-bottom: 0 !important;
  line-height: 1.2;
}

/* si Actuación es un <p> o <div> */
.blnz-col .actuacion {
  margin-top: 2px !important;
}
/* === CARRUSEL PRECIOS · PRECIO TIENDA DESTACADO EN ROJO === */

.blnz-col .precio-tienda,
.blnz-col .price-store,
.blnz-col .precio {
  color: #dc2626 !important;   /* rojo claro, no agresivo */
  font-weight: 800;
}
/* Compactar bloque inferior de cada tarjeta */
.blnz-col .price-card {
  padding-bottom: 10px;
}

/* Compactar el espacio alrededor del embed */
.blnz-embed-price {
  margin: 8px 0 10px 0 !important;
}

.blnz-embed-head {
  margin-bottom: 5px !important;
}

.blnz-embed-foot {
  margin-top: 8px !important;
  padding-top: 8px;
  font-size: 0.85rem;
  color: #64748b;
  border-top: 1px solid #e5e7eb;
}
/* REEMPLAZA TODO EL BLOQUE DEL IFRAME EN TU INDEX.CSS CON ESTO: */

/* =========================================
   IFRAME DE PRECIOS - ALTURA FIJA EXACTA
========================================= */
.blnz-iframe-wrap {
  width: 100% !important;
  height: 340px !important;
  min-height: 340px !important;
  max-height: 340px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #f8fafc !important;
  position: relative !important;
}

.blnz-iframe,
#priceFrame {
  width: 100% !important;
  height: 340px !important;
  min-height: 340px !important;
  max-height: 340px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  display: block !important;
}

/* ELIMINAR ESPACIO ALREDEDOR */
.blnz-embed-price {
  margin: 4px 0 6px 0 !important;
}

.blnz-embed-head {
  margin-bottom: 3px !important;
}

.blnz-embed-title {
  font-size: 11px !important;
  line-height: 1.1 !important;
}

.blnz-embed-sub {
  font-size: 10px !important;
  line-height: 1.1 !important;
}

.blnz-embed-foot {
  margin-top: 4px !important;
  padding-top: 4px;
  font-size: 10px !important;
  line-height: 1.1 !important;
}


/* =========================================================
   CAPA EDITORIAL FINAL · IMPACTO VISUAL
   (NO rompe funcionalidad existente)
========================================================= */

/* ===== CLAIM PRINCIPAL ===== */
.blnz-header h1{
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.3px;
  line-height: 1.15;
  margin-bottom: 6px;
}

.blnz-header .blnz-bridge{
  margin-top: 6px;
  font-size: 13px;
  font-style: italic;
  color: #64748b;
}

/* ===== TITULOS DE COLUMNA ===== */
.blnz-funciona h3{
  color: #ea580c; /* naranja calidad */
  text-transform: uppercase;
  letter-spacing: .6px;
}

.blnz-cuesta h3{
  color: #2563eb; /* azul precio */
  text-transform: uppercase;
  letter-spacing: .6px;
}

/* ===== LIST ITEMS · JERARQUÍA ===== */
.blnz-item{
  transition: 
    box-shadow .25s ease,
    transform .25s ease,
    border-color .25s ease;
}

/* título del bullet más fuerte */
.blnz-item-title{
  font-size: 14px;
  letter-spacing: .2px;
}

/* ===== CÓDIGO DE COLOR SEMÁNTICO ===== */

/* CALIDAD (izquierda) */
.blnz-funciona .blnz-item{
  border-left: 4px solid #fed7aa; /* naranja suave */
}

.blnz-funciona .blnz-item:hover{
  border-left-color: #f97316;
}

/* PRECIO (derecha) */
.blnz-cuesta .blnz-item{
  border-left: 4px solid #bfdbfe; /* azul suave */
}

.blnz-cuesta .blnz-item:hover{
  border-left-color: #2563eb;
}

/* ===== EMBEDS · MARCO EDITORIAL ===== */
.blnz-embed{
  background: linear-gradient(180deg,#ffffff,#f8fafc);
  border-radius: 14px;
  padding: 10px 12px;
}

.blnz-embed-title{
  text-transform: uppercase;
  letter-spacing: .4px;
  font-size: 12px;
}

/* ===== CARRUSEL LUMINOSIDAD · MÁS AUTORIDAD ===== */
#lumiScroll .lumi-card{
  transition: transform .2s ease, box-shadow .2s ease;
}

#lumiScroll .lumi-card:hover{
  transform: scale(1.04);
  box-shadow: 0 14px 32px rgba(0,0,0,.18);
}

/* ===== NOTA DE FUENTE (JEF) ===== */
.fuente-jef{
  background: #f1f5f9;
  border-left: 4px solid #94a3b8;
  padding: 6px 10px;
  border-radius: 8px;
}

/* ===== FRASE DE CIERRE (si la usas) ===== */
.blnz-closure{
  margin: 18px 0 6px;
  text-align: center;
  font-weight: 700;
  letter-spacing: .2px;
  color: #0f172a;
}
/* ======================================
   BULLET POINTS · ESTILO EDITORIAL
   Color solo en títulos, no en bloques
====================================== */

.blnz-item{
  background:#fff;
  border-radius:14px;
  padding:14px 16px;
  box-shadow:0 6px 20px rgba(0,0,0,.06);
  transition:box-shadow .2s ease, transform .2s ease;
}

.blnz-item:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(0,0,0,.1);
}

/* ===== TÍTULO DEL BULLET ===== */
.blnz-item-title{
  font-size:14px;
  font-weight:800;
  letter-spacing:.2px;
  margin-bottom:6px;
}

/* IZQUIERDA · CALIDAD */
.blnz-funciona .blnz-item-title{
  color:#f97316; /* naranja */
}

/* DERECHA · COSTE */
.blnz-cuesta .blnz-item-title{
  color:#2563eb; /* azul */
}

/* ===== TEXTO ===== */
.blnz-item-body{
  font-size:13px;
  color:#334155;
  line-height:1.45;
}


/* =========================================
   AJUSTE PARA MÓVIL
========================================= */
/* RESPONSIVE */
@media (max-width: 768px) {
    .blnz-iframe-wrap,
    .blnz-iframe,
    #priceFrame {
        height: 330px !important;
        min-height: 330px !important;
        max-height: 330px !important;
    }
}
/* ======================================
   BULLET POINTS · ESTILO EDITORIAL FINAL
   SIN FONDOS DE COLOR
====================================== */

.blnz-item{
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:14px 16px;
  box-shadow:0 6px 18px rgba(0,0,0,.05);
  transition:box-shadow .2s ease, transform .2s ease;
}

.blnz-item:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(0,0,0,.09);
}

/* ===== TÍTULO DEL BULLET ===== */
.blnz-item-title{
  font-size:14px;
  font-weight:800;
  letter-spacing:.2px;
  margin-bottom:6px;
}

/* IZQUIERDA · CALIDAD (SOLO TEXTO) */
.blnz-funciona .blnz-item-title{
  color:#ea580c;
}

/* DERECHA · COSTE (SOLO TEXTO) */
.blnz-cuesta .blnz-item-title{
  color:#2563eb;
}

/* ===== TEXTO ===== */
.blnz-item-body{
  font-size:13px;
  color:#334155;
  line-height:1.45;
}
/* =====================================================
   RESET TOTAL DE FONDOS DE SECCIONES
   (solo color en títulos, NUNCA en contenedores)
===================================================== */

/* 1. Quitar cualquier fondo de bloques */
.blnz-item,
.blnz-funciona .blnz-item,
.blnz-cuesta .blnz-item,
.blnz-item *,
.blnz-funciona,
.blnz-cuesta {
  background: #ffffff !important;
}

/* 2. Bordes neutros */
.blnz-item{
  border: 1px solid #e5e7eb !important;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}

/* 3. Hover limpio (sin color de fondo) */
.blnz-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,.09);
}

/* =====================================================
   COLOR SOLO EN TÍTULOS (SEMÁNTICO)
===================================================== */

/* Izquierda · CALIDAD */
.blnz-funciona .blnz-item-title{
  color: #ea580c !important; /* naranja texto */
}

/* Derecha · COSTE */
.blnz-cuesta .blnz-item-title{
  color: #2563eb !important; /* azul texto */
}

/* Texto normal */
.blnz-item-body{
  color: #334155;
  font-size: 13px;
  line-height: 1.45;
}

/* =====================================================
   POR SI QUEDARA ALGÚN FONDO COLADO
===================================================== */
[class*="orange"],
[class*="naranja"]{
  background: transparent !important;
}
/* =========================
   ENCABEZADOS DE COLUMNA
========================= */
.blnz-col-header{
  text-align: center;
  padding: 28px 24px;
  border-radius: 16px;
  margin-bottom: 26px;
}

.blnz-col-header h2{
  margin: 0 0 10px 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .2px;
}

.blnz-col-header p{
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  opacity: .95;
}
/* IZQUIERDA · FUNCIONE */
.blnz-header-funciona{
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
}
/* DERECHA · COSTE */
.blnz-header-coste{
  background: linear-gradient(135deg, #1e40af, #2563eb);
  color: #ffffff;
}
/* =========================
   INTRO DE COLUMNA (debajo imagen)
========================= */
.blnz-intro{
  margin: 14px 0 18px;
  padding: 12px 14px;
  border-left: 4px solid rgba(15, 23, 42, .18);
  background: #f8fafc;
  border-radius: 12px;
  color: #334155;
  font-size: 14px;
  line-height: 1.5;
}

/* Colores semánticos del intro */
.blnz-funciona .blnz-intro{
  border-left-color: rgba(234, 88, 12, .35);
}
.blnz-cuesta .blnz-intro{
  border-left-color: rgba(37, 99, 235, .35);
}

/* =========================
   DESKTOP: bullets más grandes
========================= */
.blnz-item-title{
  font-size: 16px;
}
.blnz-item-body{
  font-size: 14.5px;
  line-height: 1.55;
}



@media (max-width: 768px) {

  /* Contenedor principal de las dos secciones */
  .comparativa-grid,
  .dual-section,
  .blnz-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px;
  }

}
@media (max-width: 768px) {

  .bloque-titulo,
  .headline-overlay,
  .image-title {
    position: static !important;
    transform: none !important;
    margin-bottom: 16px;
    text-align: left;
  }

}
@media (max-width: 768px) {

  .bloque-titulo,
  .headline-overlay,
  .image-title {
    position: static !important;
    transform: none !important;
    margin-bottom: 16px;
    text-align: left;
  }

}
@media (max-width: 768px) {

  .bullets,
  .checklist,
  ul.puntos-clave li {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 10px;
  }

}
@media (max-width: 768px) {

  .blnz-dual-inner{
    display: flex !important;
    flex-direction: column !important;
  }

  .blnz-col + .blnz-col{
    border-left: none !important;
    border-top: 1px solid #e5e7eb;
  }

}
@media (max-width: 768px) {

  .blnz-col-header{
    padding: 20px 16px;
    margin-bottom: 18px;
    text-align: left;
  }

  .blnz-col-header h2{
    font-size: 22px;
    line-height: 1.2;
  }

  .blnz-col-header p{
    font-size: 14px;
    line-height: 1.45;
  }

}
@media (max-width: 768px) {

  .blnz-imgbox{
    margin-bottom: 20px;
    aspect-ratio: 16 / 9;
  }

}
@media (max-width: 768px) {

  .blnz-list{
    gap: 14px;
  }

  .blnz-item{
    padding: 16px 16px;
  }

  .blnz-item-title{
    font-size: 16px;
  }

  .blnz-item-body{
    font-size: 14.5px;
    line-height: 1.55;
  }

}
@media (max-width: 768px) {

  .blnz-embed{
    padding: 12px 12px;
  }

  #lumiScroll{
    padding: 8px 4px !important;
  }

  #lumiScroll .lumi-card{
    flex: 0 0 120px !important;
    min-width: 120px !important;
  }

}
/* =========================
   MÓVIL: jerarquía aún más clara
========================= */
@media (max-width: 768px){
  .blnz-col-header{
    padding: 18px 16px;
    margin-bottom: 14px;
    text-align: left;
  }
  .blnz-col-header h2{
    font-size: 20px;
    line-height: 1.2;
  }

  .blnz-intro{
    font-size: 14px;
    margin: 12px 0 16px;
    padding: 12px 12px;
  }

  .blnz-item-title{
    font-size: 16px;
  }
  .blnz-item-body{
    font-size: 14.5px;
  }
}
/* ===============================
   ESTADOS DE DECISIÓN
=============================== */

/* Secciones ocultas por defecto */
.decision-section {
  display: none;
  width: 100%;
}


/* Imágenes en gris */
.decision-img {
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.4s ease;
}

.decision-img.active {
  filter: grayscale(0%);
  opacity: 1;
}

/* En desktop: sección expandida a ancho completo */
@media (min-width: 900px) {
  .decision-section {
    grid-column: 1 / -1;
  }
}
/* ===============================
   GRID BASE
=============================== */

.blnz-dual-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* ===============================
   ESTADOS DE DECISIÓN
=============================== */

.decision-section {
  display: none;
  width: 100%;
}

/* Cuando una columna está activa,
   deja de actuar como columna */
.blnz-col.is-active {
  display: contents;
}

/* El contenido expandido ocupa todo el ancho */
.blnz-col.is-active .decision-section {
  display: block;
  grid-column: 1 / -1;
}

/* Botones */
.decision-btn {
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.decision-btn.active {
  opacity: 1;
}

/* Imágenes */
.decision-img {
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.4s ease;
}

.decision-img.active {
  filter: grayscale(0%);
  opacity: 1;
}

/* ===============================
   RESPONSIVE
=============================== */

@media (max-width: 900px) {
  .blnz-dual-inner {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   CONTENIDO EXPANDIDO
=============================== */

.decision-section {
  display: none;
  width: 100%;
}

/* SOLO el contenido ocupa todo el ancho */
.decision-section.full-width {
  grid-column: 1 / -1;
  display: block;
}

/* ===============================
   IMÁGENES ESTÁTICAS
=============================== */

.blnz-img {
  transition: opacity 0.3s ease, filter 0.3s ease;
}

/* ===============================
   RESPONSIVE
=============================== */

@media (max-width: 900px) {
  .blnz-dual-inner {
    grid-template-columns: 1fr;
  }
}
/* ===============================
   ESTADOS: BOTONES + IMÁGENES
=============================== */

/* Botón header */
.decision-btn{
  cursor:pointer;
  opacity:.35;
  transition:opacity .25s ease, transform .25s ease;
}
.decision-btn.active{
  opacity:1;
}

/* Imagen */
.decision-img{
  filter:grayscale(100%);
  opacity:.45;
  transition:filter .25s ease, opacity .25s ease;
}
.decision-img.active{
  filter:grayscale(0%);
  opacity:1;
}

/* ===============================
   CONTENIDO A ANCHO COMPLETO
=============================== */

.decision-section{
  display:none;
  width:100%;
}
.decision-section.full-width{
  display:block;
  grid-column:1 / -1;
}

/* Si tu grid está en .blnz-dual-inner, esto asegura el 2-col */
.blnz-dual-inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
}

@media (max-width:900px){
  .blnz-dual-inner{ grid-template-columns:1fr; }
}
/* ===============================
   EXPANSIÓN REAL A TODO EL ANCHO
=============================== */
/* Slot que ocupa todo el ancho del grid */
.blnz-expand{
  grid-column: 1 / -1;
  width: 100%;
}

/* La sección activa se muestra dentro del slot */
.blnz-expand .decision-section{
  display: block;
  width: 100%;
}

/* Estados de botones e imágenes (si ya los tienes, no dupliques) */
.decision-btn{ cursor:pointer; opacity:.35; transition:opacity .25s ease; }
.decision-btn.active{ opacity:1; }

.decision-img{ filter:grayscale(100%); opacity:.45; transition:filter .25s ease, opacity .25s ease; }
.decision-img.active{ filter:grayscale(0%); opacity:1; }
/* ===============================
   COLORES POR DECISIÓN ACTIVA
=============================== */

/* --- FUNCIONA (NARANJA) --- */
#btn-funciona.active,
#btn-funciona.active h2 {
  background: #ff6a00;
  color: #fff;
}

#section-funciona .blnz-item-title {
  color: #ff6a00;
}

#section-funciona .blnz-embed-title {
  color: #ff6a00;
}

#section-funciona .blnz-embed-sub strong {
  color: #ff6a00;
}

/* --- COSTE (AZUL) --- */
#btn-coste.active,
#btn-coste.active h2 {
  background: #1f4ed8;
  color: #fff;
}

#section-coste .blnz-item-title {
  color: #1f4ed8;
}

#section-coste .blnz-embed-title {
  color: #1f4ed8;
}

#section-coste .blnz-embed-sub strong {
  color: #1f4ed8;
}
/* =========================================
   ENLACES A MODALES · VISIBILIDAD CLARA
========================================= */

.ranking-more a{
  color:#0f172a;
  font-weight:700;
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:4px;
  cursor:pointer;
}

.editorial-a .ranking-more a{
  color:var(--color-calidad);
}

.editorial-b .ranking-more a{
  color:var(--color-coste);
}

.ranking-more a:hover{
  opacity:.85;
}
/* === CARD EDITORIAL === */
.blnz-card-editorial{
  position:relative;
  display:block;
  height:240px;
  border-radius:18px;
  overflow:hidden;
  text-decoration:none;
  cursor:pointer;
  box-shadow:0 18px 40px rgba(0,0,0,.18);
}

/* Fondo imagen */
.blnz-card-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
}

/* Activo: COSTE */
.blnz-col.active-coste .blnz-card-overlay{
  background:linear-gradient(
    180deg,
    rgba(0,70,180,.25),
    rgba(0,70,180,.85)
  );
}

/* Activo: FUNCIONA */
.blnz-col.active-funciona .blnz-card-overlay{
  background:linear-gradient(
    180deg,
    rgba(220,110,0,.25),
    rgba(220,110,0,.85)
  );
}
/* ================================
   ESTADO BASE – NADA VISIBLE
================================ */
#section-funciona,
#section-coste {
  display: none;
}

/* ACTIVO: se libera la imagen */
.blnz-col.active-coste .blnz-card-overlay,
.blnz-col.active-funciona .blnz-card-overlay{
  opacity: 0;
}
/* Refuerzo COSTE (muy sutil) */
.blnz-col.active-coste .blnz-card-editorial{
  box-shadow: 0 20px 42px rgba(0,70,180,.25);
}

/* Refuerzo FUNCIONA */
.blnz-col.active-funciona .blnz-card-editorial{
  box-shadow: 0 20px 42px rgba(220,110,0,.25);
}
/* ===============================
   ESTADO VISUAL DE DECISIÓN
=============================== */

/* Estado base: todo atenuado */
.blnz-col .decision-img{
  filter: grayscale(100%);
  opacity: .35;
  transition: filter .3s ease, opacity .3s ease;
}

.blnz-col .decision-btn{
  opacity: .35;
  transition: opacity .3s ease;
}

/* Estado seleccionado */
.blnz-col.is-selected .decision-img{
  filter: none;
  opacity: 1;
}

.blnz-col.is-selected .decision-btn{
  opacity: 1;
}

/* Overlay editorial */
.blnz-card-overlay{
  background: linear-gradient(
    180deg,
    rgba(20,20,20,.45),
    rgba(20,20,20,.85)
  );
  transition: opacity .3s ease;
}

/* Al seleccionar: se libera imagen */
.blnz-col.is-selected .blnz-card-overlay{
  opacity: 0;
}

/* =====================================================
   CTA SIMPLE Y CLARO SOBRE IMAGEN
   (2 botones, limpios, sin romper nada)
===================================================== */

.blnz-card-editorial{
  position: relative;
  height: 240px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
}

/* imagen de fondo */
.blnz-card-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

/* overlay suave para legibilidad */
.blnz-card-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.25);
}

/* BOTÓN CENTRAL */
.blnz-card-label{
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;

  padding: 6px 10px;
  border-radius: 8px;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;

  background: #ffffff;
  color: #0f172a;

  box-shadow:
    0 2px 0 rgba(0,0,0,.25),
    0 6px 14px rgba(0,0,0,.25);

  transform: translateZ(0);
}


/* Colores */
.blnz-funciona-label{
  color: #f97316;
  border: 2px solid #f97316;
}

.blnz-coste-label{
  background: #2563eb;
  color: #ffffff;
  border: 2px solid #2563eb;
}


/* Hover muy básico (no rompe móvil) */
@media (hover:hover){
  .blnz-card-editorial:hover .blnz-card-label{
    transform: translate(-50%, -50%) scale(1.06);
  }
}
/* Fondo tipo cielo */
.lumi-card{
  background: linear-gradient(
    180deg,
    #e8f2ff 0%,
    #f5faff 100%
  );
  border-radius: 16px;
  padding: 12px 10px 14px;
}
/* MUY apagadas */
.lumi-low .baliza-img{
  filter:
    brightness(0.55)
    saturate(0.45)
    contrast(0.85);
  box-shadow:
    0 0 4px rgba(255, 200, 80, 0.08),
    0 0 10px rgba(255, 200, 80, 0.04);
  opacity: 0.55;
}

/* Luz intensa */
/* FARO EXTREMO */
.lumi-high .baliza-img{
  filter:
    brightness(2.6)
    saturate(2.4)
    contrast(1.25);
  box-shadow:
    0 0 35px rgba(255, 230, 140, 1),
    0 0 80px rgba(255, 210, 90, 0.95),
    0 0 140px rgba(255, 190, 60, 0.75),
    0 0 220px rgba(255, 170, 30, 0.55);
}

/* Escala visual de candelas */
.lumi-scale{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 6px 0;
  font-size: 12px;
  font-weight: 800;
  color: #475569;
}

.lumi-line{
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(
    to right,
    rgba(255, 200, 80, 0.25),
    rgba(255, 170, 40, 0.95)
  );
}

.lumi-left{
  color: #64748b;
}

.lumi-right{
  color: #f59e0b;
}
.lumi-high .baliza-wrap::after{
  content:"";
  position:absolute;
  inset:-30%;
  background: radial-gradient(
    circle,
    rgba(255, 220, 120, 0.55) 0%,
    rgba(255, 200, 80, 0.35) 35%,
    rgba(255, 180, 40, 0.18) 55%,
    rgba(255, 160, 20, 0.08) 70%,
    rgba(255, 140, 10, 0.00) 100%
  );
  pointer-events:none;
}
.baliza-wrap{ position:relative; }
.lumi-card .baliza-img{
  filter:
    brightness(calc(1 + var(--intensity) * 1.6))
    saturate(calc(1 + var(--intensity) * 1.4));
}
.lumi-high{
  --intensity: 1;
}
.baliza-wrap{ position:relative; }

.lumi-high .baliza-wrap::after{
  content:"";
  position:absolute;
  inset:-60%;
  background: radial-gradient(
    circle,
    rgba(255,255,200,0.85) 0%,
    rgba(255,230,140,0.65) 20%,
    rgba(255,200,90,0.45) 38%,
    rgba(255,180,40,0.25) 55%,
    rgba(255,160,20,0.12) 70%,
    rgba(255,140,10,0.00) 100%
  );
  pointer-events:none;
}
.lumi-right{
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .4s ease, transform .4s ease;
}

.lumi-scale.is-end .lumi-right{
  opacity: 1;
  transform: translateX(0);
}
.blnz-card-editorial{
  position: relative;
  height: 240px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
}

@media (max-width: 768px){
  .blnz-card-editorial{
    height: 200px;
  }
}
.blnz-card-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.blnz-card-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.05),
    rgba(0,0,0,0.25)
  );
}
.blnz-card-label{
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;

  padding: 10px 14px;
  border-radius: 10px;

  font-size: 14px;
  font-weight: 800;
  letter-spacing: .2px;
  text-transform: uppercase;

  box-shadow: 0 8px 22px rgba(0,0,0,.18);
}
@media (max-width: 768px){
  .blnz-card-label{
    left: 12px;
    bottom: 12px;
    font-size: 13px;
    padding: 9px 12px;
  }
}
.blnz-funciona-label{
  background: #ffffff;
  color: #f97316;
  border: 2px solid #f97316;
}
.blnz-coste-label{
  background: #2563eb;
  color: #ffffff;
  border: 2px solid #2563eb;
}
@media (hover:hover){
  .blnz-card-editorial:hover .blnz-card-label{
    transform: translateY(-1px);
    box-shadow:
      0 3px 0 rgba(0,0,0,.25),
      0 10px 22px rgba(0,0,0,.35);
  }
}
}
/* =========================
   FLECHAS CARRUSEL LUMINOSIDAD
========================= */

.lumi-arrows{
  position: relative;
  margin-top: -140px; /* las sube sobre el carrusel */
  height: 0;
  pointer-events: none;
}

.lumi-arrow{
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 36px;
  height: 36px;
  border-radius: 50%;

  border: none;
  background: rgba(255,255,255,.85);
  color: #0f172a;

  font-size: 22px;
  font-weight: 900;
  line-height: 1;

  cursor: pointer;

  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transition: transform .2s ease, opacity .2s ease;
}

.lumi-arrow.left{ left: -12px; }
.lumi-arrow.right{ right: -12px; }

@media (hover:hover){
  .lumi-arrow:hover{
    transform: translateY(-50%) scale(1.1);
  }
}

/* Móvil: más discretas */
@media (max-width: 768px){
  .lumi-arrow{
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
}
/* =========================
   FLECHAS CARRUSEL PRECIOS
========================= */

.price-arrows{
  position: relative;
  margin-top: -190px; /* sube las flechas sobre el iframe */
  height: 0;
  pointer-events: none;
}

.price-arrow{
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 36px;
  height: 36px;
  border-radius: 50%;

  border: none;
  background: rgba(255,255,255,.9);
  color: #0f172a;

  font-size: 22px;
  font-weight: 900;
  line-height: 1;

  cursor: pointer;

  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transition: transform .2s ease;
}

.price-arrow.left{ left: -12px; }
.price-arrow.right{ right: -12px; }

@media (hover:hover){
  .price-arrow:hover{
    transform: translateY(-50%) scale(1.1);
  }
}

/* Móvil: más discretas */
@media (max-width: 768px){
  .price-arrow{
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
}
/* RECORTE SOLO DEL IFRAME, NO DEL LI */
.blnz-iframe-wrap {
  overflow: hidden !important;
}

.blnz-iframe,
#priceFrame {
  display: block;
}

/* =========================
   CONTENCIÓN REAL DEL CARRUSEL DE PRECIOS
========================= */

.blnz-item .blnz-iframe-wrap{
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}

/* El carrusel NO puede sobresalir verticalmente */
.blnz-item .blnz-iframe-wrap *{
  overflow-y: hidden !important;
}
/* El LI siempre crece según su contenido */
.blnz-item{
  position: relative;
  overflow: visible;
}
/* ===============================
   DECISIÓN BINARIA FUNCIONA / CUESTA
   =============================== */

/* Base de la tarjeta */
.blnz-card-editorial{
  position: relative;
  cursor: pointer;
}

/* Imagen de fondo */
.blnz-card-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  transition: filter .4s ease;
  filter: grayscale(100%);
}

/* Overlay NO oscurece, solo estructura */
.blnz-card-overlay{
  position:absolute;
  inset:0;
  background: transparent;
  pointer-events:none;
}

/* Texto SIEMPRE visible */
.blnz-card-label{
  position:absolute;
  bottom:20px;
  left:20px;
  z-index:3;
  font-weight:800;
  font-size:22px;
  text-transform:uppercase;
}

/* ACTIVA → COLOR */
.blnz-card-editorial.active .blnz-card-bg{
  filter: grayscale(0%);
}

/* INACTIVA → BLANCO Y NEGRO (explícito) */
.blnz-card-editorial:not(.active) .blnz-card-bg{
  filter: grayscale(100%);
}
/* ===============================
   ESTADOS BINARIOS FUNCIONA / CUESTA
=============================== */

/* Base: todo apagado */
.decision-img{
  filter: grayscale(100%);
  opacity: 0.4;
  transition: filter .3s ease, opacity .3s ease;
}

/* Activo: imagen en color */
.blnz-card-editorial.active .decision-img{
  filter: none;
  opacity: 1;
}

/* Botones */
.decision-btn{
  cursor: pointer;
  opacity: 0.4;
  transition: opacity .3s ease;
}

.decision-btn.active{
  opacity: 1;
}

/* Contenido */
.decision-section{
  display: none;
  width: 100%;
}

.decision-section.active{
  display: block;
}

/* Slot ancho completo */
.blnz-expand{
  grid-column: 1 / -1;
  width: 100%;
}
/* ===============================
   DECISIÓN FUNCIONA / COSTE
   SISTEMA ÚNICO
=============================== */

.decision-btn{
  cursor:pointer;
  opacity:0.4;
  transition:opacity .3s ease;
}

.decision-btn.active{
  opacity:1;
}

.decision-img{
  filter:grayscale(100%);
  opacity:0.45;
  transition:filter .3s ease, opacity .3s ease;
}

.decision-btn.active .decision-img{
  filter:none;
  opacity:1;
}

.decision-section{
  display:none;
  width:100%;
}

.blnz-expand{
  grid-column:1 / -1;
  width:100%;
}

