/* ═══════════════════════════════════════════════════════════════════════
   Lazzo Bienestar · Cliente — Pantalla bienvenida (C2)
   Reglas: clases prefijo bcl-w-* para evitar colisiones con el CSS antiguo
   `bienestar-*` (que sigue cargado para compatibilidad con dashboard CTA).
   Variables: heredadas de cliente.css (--bcl-c1, --bcl-c2, etc.).
   ═══════════════════════════════════════════════════════════════════════ */

#bcl-welcome-root {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: var(--bcl-bg, #fdf6f0);
}

.bcl-welcome {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 0 32px;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--bcl-txt, #2a2a2a);
  max-width: 720px;
  margin: 0 auto;
}

/* ── Topbar ─────────────────────────────────────────────────────────────── */
.bcl-w-topbar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px 10px;
  background: linear-gradient(180deg, var(--bcl-bg) 60%, transparent 100%);
}
.bcl-w-back {
  width: 38px; height: 38px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  box-shadow: 0 1px 6px -2px rgba(0,0,0,.10);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--bcl-txt);
}
.bcl-w-back i { width: 18px; height: 18px; }
.bcl-w-back:active { transform: scale(.95); }
.bcl-w-tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 99px;
  background: rgba(155,127,212,.10);
  border: 1px solid rgba(155,127,212,.20);
  color: var(--bcl-c1-d, #7a5fb0);
  font-size: 12px; font-weight: 600;
  letter-spacing: .02em;
}
.bcl-w-tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--bcl-grad, linear-gradient(135deg,#9b7fd4,#f4956a));
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.bcl-w-hero { padding: 0 18px; }
.bcl-w-hero-img {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--bcl-r-lg, 22px);
  overflow: hidden;
  background: var(--bcl-bg-soft);
  margin-bottom: 16px;
  box-shadow: 0 12px 28px -16px rgba(46,25,55,.30);
}
.bcl-w-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.bcl-w-hero-text { padding: 0 4px; }
.bcl-w-hero-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(26px, 6vw, 34px);
  line-height: 1.15;
  margin: 0 0 8px;
  color: var(--bcl-txt);
}
.bcl-w-hero-title em {
  font-style: italic;
  background: var(--bcl-grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bcl-w-hero-sub {
  font-size: 15px;
  color: var(--bcl-muted, #5e5a52);
  line-height: 1.55;
  margin: 0;
}

/* ── Trust strip ───────────────────────────────────────────────────────── */
.bcl-w-trust {
  margin: 0 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px 12px;
  background: white;
  border: 1px solid var(--bcl-line);
  border-radius: var(--bcl-r-md);
  box-shadow: var(--bcl-shadow-sm);
}
.bcl-w-trust-cell {
  display: flex; flex-direction: column;
  align-items: center; gap: 4px;
  text-align: center;
}
.bcl-w-trust-cell .num {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--bcl-grad-soft);
  color: var(--bcl-c1-d);
}
.bcl-w-trust-cell .num i { width: 16px; height: 16px; }
.bcl-w-trust-cell .lab {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--bcl-muted);
  letter-spacing: .01em;
  line-height: 1.2;
}

/* ── Card profesional ──────────────────────────────────────────────────── */
.bcl-w-prof {
  position: relative;
  margin: 0 18px;
  padding: 18px;
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--bcl-c1) 7%, white) 0%,
      color-mix(in srgb, var(--bcl-c2) 7%, white) 100%),
    white;
  border: 1px solid color-mix(in srgb, var(--bcl-c1) 18%, var(--bcl-line));
  border-radius: var(--bcl-r-md);
  box-shadow: 0 8px 22px -14px rgba(155,127,212,.35);
  display: flex; flex-direction: column; gap: 12px;
  overflow: hidden;
}
.bcl-w-prof::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle,
    color-mix(in srgb, var(--bcl-c1) 18%, transparent) 0%,
    transparent 70%);
  pointer-events: none;
}
.bcl-w-prof-head { display: flex; gap: 14px; align-items: center; }
.bcl-w-prof-av {
  position: relative;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bcl-grad);
  color: white;
  font-weight: 700;
  font-size: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 10px -4px rgba(155,127,212,.5);
}
.bcl-w-prof-av-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.bcl-w-prof-av-ini {
  position: relative;
  z-index: 1;
}
.bcl-w-prof-info { flex: 1; min-width: 0; }
.bcl-w-prof-nombre {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 16px;
  color: var(--bcl-txt);
}
.bcl-w-prof-verified {
  width: 16px; height: 16px;
  color: var(--bcl-c1);
}
.bcl-w-prof-rol {
  font-size: 13.5px;
  color: var(--bcl-c1-d);
  font-weight: 600;
  margin-top: 2px;
}
.bcl-w-prof-col {
  font-size: 12px;
  color: var(--bcl-muted);
  margin-top: 2px;
}
.bcl-w-prof-rating {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--bcl-amber, #d49b3c);
}
.bcl-w-prof-rating i { width: 13px; height: 13px; fill: currentColor; }
.bcl-w-prof-rating-empty {
  color: var(--bcl-muted);
  font-weight: 500;
  font-style: italic;
}
.bcl-w-prof-web {
  display: inline-flex; align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.7);
  border: 1px solid color-mix(in srgb, var(--bcl-c1) 22%, white);
  color: var(--bcl-c1-d);
  font: inherit; font-size: 13px; font-weight: 600;
  padding: 8px 14px;
  border-radius: 99px;
  cursor: pointer;
  align-self: flex-start;
  transition: background .15s, transform .12s;
}
.bcl-w-prof-web:hover { background: white; }
.bcl-w-prof-web:active { transform: scale(.98); }
.bcl-w-prof-web i { width: 14px; height: 14px; }
.bcl-w-prof-web .ext { width: 11px; height: 11px; opacity: .55; margin-left: 2px; }
.bcl-w-prof-bio {
  font-size: 14px;
  color: var(--bcl-muted);
  line-height: 1.55;
  margin: 0;
}
.bcl-w-prof-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.bcl-w-prof-tag {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--bcl-c1) 10%, white);
  color: var(--bcl-c1-d);
  border: 1px solid color-mix(in srgb, var(--bcl-c1) 18%, white);
}

/* ── Features + pasos ──────────────────────────────────────────────────── */
.bcl-w-features, .bcl-w-pasos {
  margin: 0 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.bcl-w-h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: 20px;
  margin: 0 0 4px;
  color: var(--bcl-txt);
}
.bcl-w-feat {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px;
  background: white;
  border: 1px solid var(--bcl-line);
  border-radius: var(--bcl-r-md);
}
.bcl-w-feat-ico {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 12px;
  background: color-mix(in srgb, var(--bcl-c1) 10%, white);
  color: var(--bcl-c1-d);
  display: inline-flex; align-items: center; justify-content: center;
}
.bcl-w-feat-ico.c2 {
  background: color-mix(in srgb, var(--bcl-c2) 12%, white);
  color: var(--bcl-c2-d);
}
.bcl-w-feat-ico i { width: 19px; height: 19px; }
.bcl-w-feat-meta { flex: 1; min-width: 0; }
.bcl-w-feat-meta .nm {
  font-weight: 600; font-size: 14.5px; margin-bottom: 3px;
}
.bcl-w-feat-meta .sub {
  font-size: 13px; color: var(--bcl-muted); line-height: 1.5;
}

.bcl-w-paso {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px;
  background: white;
  border: 1px solid var(--bcl-line);
  border-radius: var(--bcl-r-md);
}
.bcl-w-paso .num {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bcl-grad);
  color: white;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.bcl-w-paso .meta { flex: 1; min-width: 0; }
.bcl-w-paso .meta .nm {
  font-weight: 600; font-size: 14.5px; margin-bottom: 3px;
}
.bcl-w-paso .meta .sub {
  font-size: 13px; color: var(--bcl-muted); line-height: 1.5;
}

/* ── Primera consulta gratuita ─────────────────────────────────────────── */
.bcl-w-pc {
  margin: 0 18px;
  padding: 14px;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--bcl-c2) 14%, white),
    color-mix(in srgb, var(--bcl-c2) 6%, white));
  border: 1px solid color-mix(in srgb, var(--bcl-c2) 28%, white);
  border-radius: var(--bcl-r-md);
  display: flex; gap: 14px; align-items: flex-start;
}
.bcl-w-pc-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--bcl-c2);
  color: white;
  display: inline-flex; align-items: center; justify-content: center;
}
.bcl-w-pc-icon i { width: 19px; height: 19px; }
.bcl-w-pc-meta .nm {
  font-weight: 700; font-size: 14.5px;
  color: var(--bcl-c2-d);
  margin-bottom: 3px;
}
.bcl-w-pc-meta .sub {
  font-size: 13px; color: var(--bcl-muted); line-height: 1.5;
}

/* ── Bloque video presentación destacado (clickable card) ─────────────── */
.bcl-w-video-block {
  margin: 0 18px;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 14px;
  background:
    linear-gradient(135deg, #2a1f3d 0%, #4a3268 100%);
  color: white;
  border: 0;
  border-radius: var(--bcl-r-md);
  cursor: pointer;
  transition: transform .14s, box-shadow .14s;
  box-shadow: 0 10px 24px -14px rgba(60,30,100,.55);
  text-align: left;
}
.bcl-w-video-block:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(60,30,100,.7); }
.bcl-w-video-block:active { transform: translateY(0); }
.bcl-w-video-thumb {
  position: relative;
  width: 64px; height: 64px;
  flex-shrink: 0;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 30%,
      color-mix(in srgb, var(--bcl-c2) 70%, white) 0%,
      var(--bcl-c1) 70%);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 30px rgba(0,0,0,.25);
}
.bcl-w-video-play {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: #2a1f3d;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
.bcl-w-video-play i { width: 18px; height: 18px; margin-left: 2px; fill: currentColor; }
.bcl-w-video-meta { flex: 1; min-width: 0; }
.bcl-w-video-meta .nm {
  font-weight: 600; font-size: 14.5px; margin-bottom: 3px;
}
.bcl-w-video-meta .sub {
  font-size: 12.5px;
  color: rgba(255,255,255,.7);
}
.bcl-w-video-chev {
  width: 18px; height: 18px;
  color: rgba(255,255,255,.55);
  flex-shrink: 0;
}

/* ── Sección reseñas ──────────────────────────────────────────────────── */
.bcl-w-resenas {
  margin: 0 18px;
}
.bcl-w-resenas-resumen {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14.5px;
  color: var(--bcl-amber);
  font-weight: 600;
  background: white;
  border: 1px solid var(--bcl-line);
  border-radius: var(--bcl-r-md);
  padding: 12px 16px;
}
.bcl-w-resenas-resumen .star { width: 16px; height: 16px; fill: currentColor; }

.bcl-w-resenas-empty {
  display: flex; gap: 14px; align-items: center;
  padding: 16px;
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--bcl-c2) 8%, white) 0%,
      color-mix(in srgb, var(--bcl-c1) 6%, white) 100%);
  border: 1px dashed color-mix(in srgb, var(--bcl-c1) 30%, white);
  border-radius: var(--bcl-r-md);
}
.bcl-w-resenas-empty-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--bcl-grad);
  color: white;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px -4px rgba(155,127,212,.45);
}
.bcl-w-resenas-empty-icon i { width: 22px; height: 22px; }
.bcl-w-resenas-empty-text {
  flex: 1; display: flex; flex-direction: column; gap: 3px;
}
.bcl-w-resenas-empty-text strong {
  font-size: 14.5px; color: var(--bcl-txt);
}
.bcl-w-resenas-empty-text span {
  font-size: 12.5px; color: var(--bcl-muted); line-height: 1.5;
}

/* ── Aviso RGPD ────────────────────────────────────────────────────────── */
.bcl-w-aviso {
  margin: 0 18px;
  padding: 14px;
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(155,127,212,.06);
  border: 1px solid rgba(155,127,212,.18);
  border-radius: var(--bcl-r-md);
}
.bcl-w-aviso i {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--bcl-c1-d);
}
.bcl-w-aviso-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--bcl-muted);
}
.bcl-w-aviso-text strong { color: var(--bcl-txt); }

/* ── CTA footer ────────────────────────────────────────────────────────── */
.bcl-w-cta {
  margin: 0 18px;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  background: white;
  border: 1px solid var(--bcl-line);
  border-radius: var(--bcl-r-md);
  box-shadow: var(--bcl-shadow-md);
}
/* Precio ocupa solo su contenido; el botón crece para llenar el espacio
   restante a la derecha. Sin esto, flex-wrap empujaba el botón debajo
   del precio dejando hueco vacío en el lateral. */
.bcl-w-precio {
  display: flex; flex-direction: column;
  flex: 0 0 auto; min-width: 0;
}
.bcl-w-precio .from {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--bcl-muted);
  font-weight: 700;
}
.bcl-w-precio .v {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 28px;
  line-height: 1;
  color: var(--bcl-txt);
  margin-top: 4px;
}
.bcl-w-precio small {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--bcl-muted);
  font-weight: 500;
}
.bcl-w-btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  flex: 1 1 auto; min-width: 0;
  padding: 13px 18px;
  border: 0;
  border-radius: 14px;
  background: var(--bcl-grad);
  color: white;
  font: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(155,127,212,.55);
  transition: transform .12s, box-shadow .12s;
  white-space: nowrap;
}
.bcl-w-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(155,127,212,.7);
}
.bcl-w-btn-primary:active { transform: translateY(0); }
.bcl-w-btn-primary i { width: 16px; height: 16px; }
.bcl-w-prox {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--bcl-amber) 10%, white);
  border: 1px dashed color-mix(in srgb, var(--bcl-amber) 35%, white);
  color: #8a6300;
  font-size: 13px; font-weight: 600;
}
.bcl-w-prox i { width: 14px; height: 14px; }

.bcl-w-btn-secondary {
  margin: 0 18px;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--bcl-line);
  border-radius: 14px;
  background: white;
  color: var(--bcl-txt);
  font: inherit; font-size: 14.5px; font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.bcl-w-btn-secondary:hover { background: var(--bcl-bg-soft); }
.bcl-w-btn-secondary i { width: 16px; height: 16px; color: var(--bcl-c1); }

.bcl-w-foot {
  margin: 4px 18px 0;
  font-size: 11.5px;
  color: var(--bcl-muted);
  text-align: center;
  line-height: 1.5;
}

/* ── Modal video presentación ──────────────────────────────────────────── */
.bcl-video-modal {
  position: fixed; inset: 0; z-index: 1000;
  pointer-events: none; opacity: 0;
  transition: opacity .22s ease;
}
.bcl-video-modal.open { opacity: 1; pointer-events: auto; }
.bcl-video-backdrop {
  position: absolute; inset: 0;
  background: rgba(20,15,25,.78);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.bcl-video-card {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -48%) scale(.95);
  width: min(560px, 92vw);
  max-height: 84vh;
  background: #0a0a0a;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  transition: transform .22s ease;
}
.bcl-video-modal.open .bcl-video-card {
  transform: translate(-50%, -50%) scale(1);
}
.bcl-video-close {
  position: absolute; top: 10px; right: 10px;
  width: 36px; height: 36px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: white;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2;
}
.bcl-video-close i { width: 18px; height: 18px; }
.bcl-video-frame {
  width: 100%;
  aspect-ratio: 16/9;
}
.bcl-video-frame iframe,
.bcl-video-frame video {
  width: 100%; height: 100%;
  border: 0; display: block;
  background: #000;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 360px) {
  .bcl-w-trust { grid-template-columns: 1fr; }
  .bcl-w-hero-title { font-size: 24px; }
  .bcl-w-cta { flex-direction: column; align-items: stretch; }
  .bcl-w-precio { align-items: flex-start; }
  .bcl-w-btn-primary { justify-content: center; width: 100%; }
}
