/* =====================================================================
   PROPUESTA TEMA CLARO (CLÍNICO / BIENESTAR) · RETO INITIA 2027
   Todos los estilos están aislados bajo body.tema-claro para permitir
   volver al diseño original oscuro al 100% sin alterar estilos.css.
   ===================================================================== */

.proceso-claro-wrapper {
    display: none;
}

body.tema-claro {
    --lc-bg: #ffffff;
    --lc-surface-soft: #f8fafc;
    --lc-surface-sky: #f0f9ff;
    --lc-ink: #0f172a;
    --lc-body: #475569;
    --lc-muted: #64748b;
    --lc-primary: #0284c7;
    --lc-primary-dark: #0369a1;
    --lc-primary-bright: #0ea5e9;
    --lc-coral: #e85940;
    --lc-border: #e2e8f0;
    --lc-border-sky: #bae6fd;

    background-color: var(--lc-bg);
    color: var(--lc-ink);
}

/* Intercambio automático de logos (blanco -> oscuro) */
body.tema-claro .logo-tema-oscuro {
    display: none !important;
}

body.tema-claro .logo-tema-claro {
    display: block !important;
}

/* =======================================================
   1. HERO PRINCIPAL
   ======================================================= */
body.tema-claro .hero-principal {
    background: radial-gradient(circle at 85% 20%, rgba(14, 165, 233, 0.14) 0%, transparent 45%),
                linear-gradient(160deg, #ffffff 0%, #f0f9ff 52%, #e0f2fe 100%);
    color: var(--lc-ink);
    padding: 64px 0 80px;
    min-height: auto;
    border-bottom: 1px solid var(--lc-border);
}

body.tema-claro .hero-principal > .container {
    margin-top: 0 !important;
}

body.tema-claro .texto-azul {
    color: var(--lc-primary);
    text-shadow: none;
}

body.tema-claro .titulo-destacado {
    color: var(--lc-ink);
    font-weight: 800;
    letter-spacing: -0.02em;
}

@media (min-width: 992px) {
    body.tema-claro .titulo-destacado,
    body.tema-claro .lead.texto-descripcion,
    body.tema-claro .texto-descripcion {
        text-align: left;
        margin-left: 0;
    }
}

body.tema-claro .texto-descripcion,
body.tema-claro .lead.texto-descripcion {
    color: var(--lc-body);
}

body.tema-claro .badge-cta {
    background: #e0f2fe;
    background-image: none;
    border: 1.5px solid #7dd3fc;
    color: var(--lc-primary-dark);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 8px 20px;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.1);
}

/* Botones Hero y Formulario */
body.tema-claro .btn-principal {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 13px 38px;
    font-weight: 700;
    box-shadow: 0 10px 24px -6px rgba(2, 132, 199, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

body.tema-claro .btn-principal:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -6px rgba(2, 132, 199, 0.55);
}

body.tema-claro .btn-secundario {
    background: #ffffff;
    background-image: none;
    border: 2px solid var(--lc-primary);
    color: var(--lc-primary-dark);
    border-radius: 999px;
    padding: 12px 34px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    transition: all 0.2s ease;
}

body.tema-claro .btn-secundario:hover {
    background: #f0f9ff;
    color: var(--lc-primary-dark);
    border-color: var(--lc-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -6px rgba(2, 132, 199, 0.22);
}

/* Estadísticas Hero */
body.tema-claro .area-stats {
    padding-top: 12px;
    border-top: 1px solid rgba(2, 132, 199, 0.16);
}

body.tema-claro .stat-numero {
    color: var(--lc-primary);
    font-weight: 800;
}

body.tema-claro .stat-texto {
    color: var(--lc-muted);
    opacity: 1;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.4px;
}

/* Video Hero */
body.tema-claro .video-wrapper {
    margin-top: 10px;
}

body.tema-claro .hero-video {
    border: 5px solid #ffffff;
    border-radius: 24px;
    box-shadow: 0 24px 60px -14px rgba(2, 132, 199, 0.32), 0 8px 20px -8px rgba(15, 23, 42, 0.12);
}

/* =======================================================
   2. SECCIÓN LOGROS (¿QUÉ VAS A LOGRAR?)
   ======================================================= */
body.tema-claro .seccion-logros {
    background-color: var(--lc-bg);
    color: var(--lc-ink);
    padding: 84px 0;
    margin-bottom: 0;
}

body.tema-claro .titulo-seccion {
    color: var(--lc-ink);
    font-weight: 800;
    letter-spacing: -0.02em;
}

body.tema-claro .caja-beneficio {
    background-color: #ffffff;
    border: 1.5px solid var(--lc-border);
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

body.tema-claro .caja-beneficio:hover {
    transform: translateY(-4px);
    border-color: #7dd3fc;
    box-shadow: 0 18px 38px -12px rgba(2, 132, 199, 0.18);
}

body.tema-claro .icono-beneficio {
    width: 56px;
    min-width: 56px;
    padding: 8px;
    border-radius: 14px;
    background: #f0f9ff;
}

body.tema-claro .titulo-beneficio {
    color: var(--lc-ink);
    font-size: 1.15rem;
    font-weight: 800;
}

body.tema-claro .descripcion-beneficio {
    color: var(--lc-body);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* =======================================================
   3. SECCIÓN FORMULARIO DE REGISTRO
   ======================================================= */
body.tema-claro .seccion-registro {
    background: linear-gradient(180deg, #f0f9ff 0%, #f8fafc 100%);
    color: var(--lc-ink);
    padding: 84px 0;
    margin-bottom: 0;
    border-top: 1px solid var(--lc-border);
    border-bottom: 1px solid var(--lc-border);
}

body.tema-claro .formulario-box {
    background-color: #ffffff;
    border: 1.5px solid var(--lc-border-sky);
    border-radius: 26px;
    box-shadow: 0 24px 60px -16px rgba(2, 132, 199, 0.18), 0 6px 18px -6px rgba(15, 23, 42, 0.06);
    color: var(--lc-ink);
}

body.tema-claro .titulo-registro {
    color: var(--lc-ink);
    font-weight: 800;
}

body.tema-claro .subtitulo-registro {
    color: var(--lc-body);
    opacity: 1;
}

body.tema-claro .formulario-box .form-label {
    color: var(--lc-primary-dark);
    font-weight: 700;
}

body.tema-claro .formulario-box .form-check-label,
body.tema-claro .formulario-box .text-white {
    color: #334155 !important;
}

body.tema-claro .formulario-box a.text-info {
    color: var(--lc-primary) !important;
    text-decoration: underline !important;
}

body.tema-claro .input-neón {
    background-color: #ffffff;
    color: var(--lc-ink);
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 11px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.tema-claro .input-neón:focus {
    background-color: #ffffff;
    color: var(--lc-ink);
    border-color: var(--lc-primary);
    box-shadow: 0 0 0 3.5px rgba(2, 132, 199, 0.18);
}

body.tema-claro .input-neón::placeholder {
    color: #94a3b8;
}

body.tema-claro .formulario-box .form-check-input {
    border-color: #94a3b8;
    background-color: #ffffff;
}

body.tema-claro .formulario-box .form-check-input:checked {
    background-color: var(--lc-primary);
    border-color: var(--lc-primary);
}

body.tema-claro .stepper-item {
    background: #f1f5f9;
    color: #64748b;
    padding: 6px 10px;
}

body.tema-claro .stepper-item .step-number {
    background: #e2e8f0;
    color: #475569;
}

body.tema-claro .stepper-item.active {
    background: #e0f2fe;
    color: var(--lc-primary-dark);
    font-weight: 700;
}

body.tema-claro .stepper-item.active .step-number {
    background: var(--lc-primary);
    color: #ffffff;
}

body.tema-claro .resumen-clasificacion h5 {
    color: var(--lc-primary-dark);
}

body.tema-claro .resumen-clasificacion > p {
    color: var(--lc-body);
}

body.tema-claro .resumen-caja {
    background: #f0f9ff;
    border: 1.5px dashed #7dd3fc;
    border-radius: 12px;
    padding: 14px 16px;
    color: #334155;
}

body.tema-claro .resumen-caja .text-white-50 {
    color: #475569 !important;
}

body.tema-claro .formulario-box .btn-outline-secondary {
    color: #334155;
    border-color: #cbd5e1;
    border-radius: 999px;
    font-weight: 600;
}

body.tema-claro .formulario-box .btn-outline-secondary:hover {
    background-color: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

body.tema-claro .texto-seguro {
    color: var(--lc-primary-dark);
}

/* =======================================================
   4. SECCIÓN RESULTADOS COMPROBADOS
   ======================================================= */
body.tema-claro .seccion-resultados {
    background-color: var(--lc-bg);
    color: var(--lc-ink);
    padding: 84px 0;
    margin-bottom: 0;
}

body.tema-claro .titulo-seccion-resultados {
    color: var(--lc-ink);
    font-size: 3.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    body.tema-claro .titulo-seccion-resultados {
        font-size: 2.1rem;
    }
}

body.tema-claro .tarjeta-resultado {
    border: 2px solid #e0f2fe;
    border-radius: 20px;
    box-shadow: 0 18px 40px -14px rgba(15, 23, 42, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.tema-claro .tarjeta-resultado:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 46px -14px rgba(2, 132, 199, 0.28);
}

body.tema-claro .imagen-resultado {
    filter: brightness(96%);
}

body.tema-claro .etiqueta-resultado {
    background: rgba(255, 255, 255, 0.95);
    background-image: none;
    border: 1.5px solid #bae6fd;
    color: var(--lc-ink);
    font-size: 0.84rem;
    letter-spacing: 0.4px;
    padding: 9px 16px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
}

body.tema-claro .slogan-resultados {
    color: var(--lc-ink);
    font-weight: 700;
}

body.tema-claro .texto-rojo {
    color: var(--lc-coral);
}

/* =======================================================
   5. SECCIÓN ¿CÓMO FUNCIONA? (DIAGRAMA NATIVO CLARO)
   ======================================================= */
body.tema-claro .seccion-proceso {
    background: linear-gradient(180deg, #f8fafc 0%, #f0f9ff 100%);
    color: var(--lc-ink);
    padding: 84px 0;
    margin-bottom: 0;
    border-top: 1px solid var(--lc-border);
    border-bottom: 1px solid var(--lc-border);
}

body.tema-claro .titulo-proceso {
    color: var(--lc-ink);
    font-weight: 800;
    letter-spacing: -0.02em;
}

body.tema-claro .diagrama-desktop,
body.tema-claro .diagrama-mobile {
    display: none !important;
}

body.tema-claro .proceso-claro-wrapper {
    display: block;
    max-width: 1060px;
    margin: 0 auto 36px;
}

.proceso-claro-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 22px;
    padding: 28px 22px 24px;
    height: 100%;
    position: relative;
    text-align: center;
    box-shadow: 0 12px 30px -14px rgba(15, 23, 42, 0.1);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.proceso-claro-card:hover {
    transform: translateY(-4px);
    border-color: #7dd3fc;
    box-shadow: 0 18px 38px -12px rgba(2, 132, 199, 0.18);
}

.proceso-claro-num {
    position: absolute;
    top: -14px;
    left: 20px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #0284c7;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(2, 132, 199, 0.35);
}

.proceso-claro-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    margin: 6px auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proceso-claro-icon.step-1 { background: #fdf2f8; color: #db2777; }
.proceso-claro-icon.step-2 { background: #e0f2fe; color: #0284c7; }
.proceso-claro-icon.step-3 { background: #ecfdf5; color: #059669; }
.proceso-claro-icon.step-4 { background: #fef3c7; color: #d97706; }

.proceso-claro-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.proceso-claro-desc {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 0;
    line-height: 1.45;
}

body.tema-claro .seccion-proceso .btn-cta-final {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 14px 40px;
    font-weight: 800;
    box-shadow: 0 12px 28px -6px rgba(2, 132, 199, 0.45);
}

body.tema-claro .seccion-proceso .btn-cta-final:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px -6px rgba(2, 132, 199, 0.55);
}

/* =======================================================
   6. SECCIÓN TESTIMONIOS
   ======================================================= */
body.tema-claro .seccion-testimonios {
    background-color: var(--lc-bg);
    color: var(--lc-ink);
    padding: 84px 0 96px !important;
}

body.tema-claro .titulo-testimonios {
    color: var(--lc-ink);
    font-size: 3.1rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

@media (max-width: 991.98px) {
    body.tema-claro .titulo-testimonios {
        font-size: 2rem;
    }
}

body.tema-claro .tarjeta-testimonio {
    background-color: #ffffff;
    border: 1.5px solid var(--lc-border);
    border-radius: 22px;
    box-shadow: 0 14px 36px -14px rgba(15, 23, 42, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.tema-claro .tarjeta-testimonio:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -14px rgba(2, 132, 199, 0.18);
}

body.tema-claro .testimonio-imagen {
    filter: none;
    border-radius: 20px 20px 0 0;
}

body.tema-claro .nombre-persona {
    color: var(--lc-ink);
    font-size: 1.15rem;
}

body.tema-claro .rating .star {
    color: #f59e0b !important;
    font-size: 1.08rem;
}

body.tema-claro .testimonio-cita {
    color: var(--lc-body);
    font-size: 0.92rem;
}

body.tema-claro .carousel-indicators.posicion-puntos [data-bs-target] {
    border-color: var(--lc-primary) !important;
}

body.tema-claro .carousel-indicators.posicion-puntos .active {
    background-color: var(--lc-primary) !important;
    box-shadow: 0 0 8px rgba(2, 132, 199, 0.45);
}

/* =======================================================
   7. SECCIÓN CTA FINAL (BANNER AZUL LUMINOSO)
   ======================================================= */
body.tema-claro .seccion-cta-final {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 52%, #0ea5e9 100%);
    color: #ffffff;
    padding: 84px 0;
    margin-bottom: 0;
}

body.tema-claro .seccion-cta-final .icono-cta-final {
    width: 112px;
    filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.2));
}

body.tema-claro .seccion-cta-final .titulo-cta-final {
    font-size: 2.9rem;
    letter-spacing: 0.5px;
}

@media (max-width: 991.98px) {
    body.tema-claro .seccion-cta-final .titulo-cta-final {
        font-size: 1.9rem;
    }
}

body.tema-claro .seccion-cta-final .texto-azul {
    color: #bae6fd;
    text-shadow: none;
}

body.tema-claro .seccion-cta-final .subtitulo-cta-final {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 400;
}

body.tema-claro .seccion-cta-final .btn-cta-final {
    background-color: #ffffff;
    color: var(--lc-primary-dark);
    border: none;
    border-radius: 999px;
    padding: 15px 44px;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.22);
}

body.tema-claro .seccion-cta-final .btn-cta-final:hover {
    background-color: #f0f9ff;
    color: #0c4a6e;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.28);
}

/* =======================================================
   8. FOOTER CLARO
   ======================================================= */
body.tema-claro .footer-bariatrica {
    background-color: #f1f5f9;
    color: var(--lc-body);
    border-top: 1px solid var(--lc-border);
    padding: 56px 5% 36px;
}

body.tema-claro .clinic-slogan {
    color: var(--lc-muted);
}

body.tema-claro .col-title {
    color: var(--lc-primary-dark);
}

body.tema-claro .footer-bariatrica a {
    color: #334155;
    font-weight: 500;
}

body.tema-claro .footer-bariatrica a:hover {
    color: var(--lc-primary);
}

body.tema-claro .social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: var(--lc-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

body.tema-claro .social-icons a:hover {
    background: var(--lc-primary-dark);
    transform: translateY(-2px);
}

body.tema-claro .social-icons a:hover .social-icon-img {
    filter: none;
    transform: none;
}

body.tema-claro .footer-divider {
    height: 1px;
    background-color: #cbd5e1;
    box-shadow: none;
}

body.tema-claro .footer-bottom,
body.tema-claro .copyright,
body.tema-claro .designer {
    color: var(--lc-muted);
}

body.tema-claro .designer a {
    color: var(--lc-primary-dark);
    font-weight: 600;
}

/* =======================================================
   BARRA FLOTANTE OPCIONAL DE COMPARACIÓN (?comparar=1)
   ======================================================= */
.tema-comparador-bar {
    position: fixed;
    bottom: 18px;
    left: 18px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.92);
    color: #ffffff;
    padding: 6px 8px;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(8px);
    font-size: 0.78rem;
    font-family: 'Poppins', sans-serif;
}

.tema-comparador-bar button {
    border: none;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    background: transparent;
    color: #cbd5e1;
    transition: all 0.15s ease;
}

.tema-comparador-bar button.active {
    background: #0ea5e9;
    color: #ffffff;
}
