/* =====================================================================
   claro.css — «entrada oscura, cuerpo claro, cierre oscuro» (método aprobado el 01-11)
   Solo actúa con <body class="... claro">. Dos familias de páginas:
   A) las de paginas.css (ct-main / sc): Brico Depôt, Casos de éxito…
   B) las de servicio (service-hero / model-section): Amazon, Leroy Merlin, Wallapop.
   ===================================================================== */
body.claro { background: #f2f7f7 !important; color: #0b1720; }
body.claro #hero-canvas { display: none; }
/* ---------- entrada oscura ---------- */
body.claro main > .ct-main:first-child { color: #fff; background: #06121a; box-shadow: 0 0 0 100vmax #06121a; clip-path: inset(0 -100vmax); padding-bottom: 60px !important; }
body.claro .service-hero { background: radial-gradient(ellipse at 50% 0%, #0b3140 0%, #050a10 65%) !important; color: #fff; }
/* ---------- cuerpo claro: textos ---------- */
body.claro .sc .ct-eyebrow, body.claro .model-section .ct-eyebrow { color: #0e7490; }
body.claro .sc-cab h2 { color: #0b1720; }
body.claro .sc-cab h2 span { color: #0e7490 !important; text-shadow: none !important; }
body.claro .sc-cab p, body.claro .sc-nota, body.claro .sc-tarjeta p { color: #4b5a65 !important; }
body.claro .sc-nota a, body.claro .sc a:not(.sc-btn):not(.btn-cta) { color: #0e7490 !important; }
/* textos con color blanco escrito dentro de la propia etiqueta */
body.claro .model-section [style*="color: white"], body.claro .model-section [style*="color:white"],
body.claro section:has(> .hub-grid) [style*="color: white"], body.claro .highlight-box [style*="color: white"],
body.claro .feature-box [style*="color: white"] { color: #0b1720 !important; -webkit-text-fill-color: currentColor !important; }
body.claro .model-section [style*="rgba(255,255,255"], body.claro section:has(> .hub-grid) [style*="rgba(255,255,255"],
body.claro .highlight-box [style*="rgba(255,255,255"], body.claro .feature-box [style*="rgba(255,255,255"] { color: #4b5a65 !important; }
body.claro .model-section h2 { color: #0b1720 !important; -webkit-text-fill-color: currentColor !important; background: none !important; }
/* ---------- cuerpo claro: tarjetas ---------- */
body.claro .sc-tarjeta, body.claro .ct-card.sc-caso, body.claro .sc-cifra, body.claro .model-card, body.claro .hub-card {
    background: #fff !important; border: 1px solid #dbe6e6 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
    box-shadow: 0 8px 24px rgba(6, 18, 26, .06) !important; }
body.claro .sc-tarjeta:hover, body.claro .model-card:hover, body.claro .hub-card:hover { border-color: #0e7490 !important; box-shadow: 0 18px 40px rgba(6, 18, 26, .12) !important; }
body.claro .sc-tarjeta h3, body.claro .hub-card h3 { color: #0b1720 !important; }
body.claro .sc-icono { background: #e6f6f8 !important; color: #0e7490 !important; border-color: #b5e3ea !important; box-shadow: none !important; }
body.claro .sc-num { color: #0e7490 !important; text-shadow: none !important; }
body.claro .sc-cifra strong, body.claro .sc-caso .grande { color: #0e7490 !important; text-shadow: none !important; }
body.claro .sc-cifra span, body.claro .sc-caso .sub, body.claro .sc-caso p { color: #4b5a65 !important; }
body.claro .sc-caso h2, body.claro .sc-caso h3, body.claro .sc-caso li { color: #0b1720 !important; }
body.claro .sc-caso li::before { color: #0e7490 !important; }
body.claro .sc-etiquetas span { background: #f2f7f7 !important; color: #0b1720 !important; border-color: #dbe6e6 !important; }
body.claro .model-card h3.h4x, body.claro .model-card h4 { color: #0e7490 !important; }
body.claro .price-tag { color: #0b1720 !important; }
body.claro .model-card p { color: #4b5a65 !important; }
body.claro .highlight-box, body.claro .feature-box { background: #fff !important; border: 1px solid #dbe6e6; border-left: 4px solid #0e7490 !important; box-shadow: 0 8px 24px rgba(6, 18, 26, .06); }
body.claro .highlight-box h3, body.claro .feature-box h3, body.claro .feature-box strong { color: #0b1720 !important; }
body.claro .highlight-box p, body.claro .feature-box p, body.claro .feature-box li { color: #4b5a65 !important; }
body.claro .sc .sc-btn.sec { color: #0b1720 !important; border-color: #b9caca !important; }
body.claro .sc-faq details { background: #fff !important; border: 1px solid #dbe6e6 !important; }
body.claro .sc-faq summary { color: #0b1720 !important; }
body.claro .sc-faq summary::after { color: #0e7490 !important; }
body.claro .sc-faq details p { color: #4b5a65 !important; }
/* ---------- bandas blancas alternas ---------- */
body.claro main > section.sc:nth-of-type(even):not(:has(.sc-final)),
body.claro section:has(> .hub-grid) { background: #fff !important; box-shadow: 0 0 0 100vmax #fff; clip-path: inset(0 -100vmax); }
/* ---------- cierre oscuro ---------- */
body.claro .sc-final { background: radial-gradient(600px 260px at 50% 0%, #0b3140, transparent 70%), #050a10 !important; border: 0 !important; color: #fff; }
body.claro .sc-final h2 { color: #fff; }
body.claro .sc-final p { color: #c3ced6 !important; }
body.claro .sc .sc-final .sc-btn.sec { color: #fff !important; border-color: rgba(255, 255, 255, .35) !important; }
body.claro .sc-final a:not(.sc-btn) { color: #00f2ff !important; }
body.claro section:has(> .btn-cta) { background: radial-gradient(ellipse at 50% 0%, #0b3140 0%, #050a10 62%) !important; color: #fff;
    box-shadow: 0 0 0 100vmax #050a10; clip-path: inset(0 -100vmax); }
/* ---------- Contacto: entrada oscura + formulario en tarjeta blanca ---------- */
body.claro main.ct-main > .ct-hero { color: #fff; background: #06121a; box-shadow: 0 0 0 100vmax #06121a; clip-path: inset(-220px -100vmax 0 -100vmax); padding-bottom: 50px; margin-bottom: 50px; }
body.claro main.ct-main > .ct-hero p { color: #c3ced6; }
body.claro .ct-grid .ct-card { background: #fff !important; border: 1px solid #dbe6e6 !important; box-shadow: 0 18px 50px rgba(6, 18, 26, .10) !important; backdrop-filter: none !important; color: #0b1720; }
body.claro .ct-grid .ct-card h2 { color: #0b1720; }
body.claro .ct-card .ct-sub, body.claro .ct-nota, body.claro .ct-acepto, body.claro .ct-campo label small { color: #4b5a65 !important; }
body.claro .ct-acepto a { color: #0e7490; }
body.claro .ct-opcion span { background: #f7fafa !important; border-color: #dbe6e6 !important; color: #0b1720 !important; }
body.claro .ct-opcion span i { color: #4b5a65 !important; }
body.claro .ct-opcion:hover span { border-color: #0e7490 !important; color: #0b1720 !important; }
body.claro .ct-opcion input:checked + span { background: #e6f6f8 !important; border-color: #0e7490 !important; color: #0b1720 !important; box-shadow: none !important; }
body.claro .ct-opcion input:checked + span i { color: #0e7490 !important; }
body.claro .ct-campo label { color: #0b1720 !important; }
body.claro .ct-campo input, body.claro .ct-campo textarea { background: #fff !important; border: 1px solid #c9d8d8 !important; color: #0b1720 !important; }
body.claro .ct-campo input::placeholder, body.claro .ct-campo textarea::placeholder { color: #7b8b93 !important; }
body.claro .ct-campo input:focus, body.claro .ct-campo textarea:focus { border-color: #0e7490 !important; box-shadow: 0 0 0 3px rgba(14, 116, 144, .15) !important; }
body.claro .ct-resultado.ok { background: #ecfdf3 !important; border-color: #86efac !important; color: #14532d !important; }
body.claro .ct-resultado.error { background: #fef2f2 !important; border-color: #fca5a5 !important; color: #7f1d1d !important; }
body.claro .ct-resultado.enviando { color: #4b5a65 !important; }
body.claro .ct-whatsapp { background: #ecfdf3 !important; border-color: #86efac !important; color: #0b1720 !important; }
body.claro .ct-whatsapp small { color: #3f5b4a !important; }
body.claro .ct-dato { border-bottom-color: #e3ecec !important; }
body.claro .ct-dato h3, body.claro .ct-dato .ct-mini { color: #4b5a65 !important; }
body.claro .ct-dato p, body.claro .ct-dato a { color: #0b1720 !important; }
body.claro .ct-dato .ct-enlace { color: #0e7490 !important; }
/* ---------- 01-11: Marketplaces (lo de la propuesta aprobada) ---------- */
body.claro .market-header { background: radial-gradient(ellipse at 50% 0%, #0b3140 0%, #050a10 65%) !important; padding: 150px 20px 70px !important; margin-bottom: 50px; }
body.claro .market-grid { padding-bottom: 70px !important; }
body.claro .market-card { background: #fff !important; border: 1px solid #dbe6e6 !important; color: #0b1720 !important; backdrop-filter: none !important; box-shadow: 0 8px 24px rgba(6, 18, 26, .06); }
body.claro .market-card::before { display: none; }
body.claro .market-card:hover { border-color: #0e7490 !important; box-shadow: 0 18px 40px rgba(6, 18, 26, .12) !important; }
body.claro .market-card .logo-container { border: 1px solid #e3ecec; }
body.claro .market-card h3 { color: #0b1720 !important; text-shadow: none !important; }
body.claro .market-card p { color: #4b5a65 !important; }
body.claro .market-badge { background: #e6f6f8 !important; color: #0e5f73 !important; border-color: #b5e3ea !important; }
body.claro .seo-content { background: #fff; box-shadow: 0 0 0 100vmax #fff; clip-path: inset(0 -100vmax); color: #4b5a65 !important; }
body.claro .seo-content h2 { color: #0b1720 !important; }
body.claro .seo-content h3 { color: #0e7490 !important; }
body.claro .seo-content strong { color: #0b1720; }
body.claro .sc { color: #0b1720; }
body.claro .sc-tarjeta h3 { color: #0b1720 !important; }
body.claro .sc-faq details a { color: #0e7490 !important; }
body.claro .mk-cierre { background: radial-gradient(ellipse at 50% 0%, #0b3140 0%, #050a10 62%); color: #fff; text-align: center; padding: 80px 24px; box-shadow: 0 0 0 100vmax #050a10; clip-path: inset(0 -100vmax); }
body.claro .mk-cierre h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0 0 12px; color: #fff; }
body.claro .mk-cierre h2 span { color: #00f2ff; font-size: inherit !important; }
body.claro .mk-cierre p { color: #c3ced6; max-width: 640px; margin: 0 auto 26px; font-size: 1.1rem; }
body.claro .mk-cierre .sc-botones { justify-content: center; }
/* ---------- 01-11: páginas legales (texto en tarjeta blanca) ---------- */
body.claro .ct-card.lg-texto { background: #fff !important; border: 1px solid #dbe6e6 !important; box-shadow: 0 18px 50px rgba(6, 18, 26, .08) !important; backdrop-filter: none !important; color: #2c3b45; }
body.claro .lg-texto h2, body.claro .lg-texto h3, body.claro .lg-texto h4, body.claro .lg-texto strong { color: #0b1720 !important; }
body.claro .lg-texto p, body.claro .lg-texto li, body.claro .lg-texto td, body.claro .lg-texto th, body.claro .lg-texto span { color: #2c3b45 !important; }
body.claro .lg-texto a { color: #0e7490 !important; }
body.claro .lg-texto table, body.claro .lg-texto td, body.claro .lg-texto th { border-color: #dbe6e6 !important; }
body.claro .lg-texto th { background: #f2f7f7 !important; }
body.claro .lg-datos dt { color: #0e7490 !important; font-weight: 700; }
body.claro .lg-datos dd { color: #0b1720 !important; }
body.claro .lg-fecha { color: #5b6a74 !important; }
/* ---------- 02-11: lista de marketplaces compacta (menos scroll) ---------- */
body.claro .market-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 14px !important; max-width: 1140px; margin: 0 auto; }
body.claro .market-card { padding: 16px 16px 18px !important; border-radius: 14px !important; }
body.claro .market-card .logo-container { height: 58px !important; margin-bottom: 12px !important; padding: 10px !important; border-radius: 10px !important; }
body.claro .market-card h3 { font-size: .95rem !important; margin-bottom: 4px !important; }
body.claro .market-card p { font-size: .82rem !important; line-height: 1.45 !important; margin-bottom: 10px !important; }
body.claro .market-badge { font-size: .68rem !important; padding: 3px 9px !important; }
body.claro .market-header { padding: 150px 20px 50px !important; margin-bottom: 36px !important; }
@media (max-width: 1000px) {
body.claro .market-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 520px) {
body.claro .market-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
body.claro .market-card p { display: none; }
}
/* 02-11: Marketplaces EN: cabecera oscura como la española y enlaces de tarjeta discretos */
body.claro .hub-header { background: radial-gradient(ellipse at 50% 0%, #0b3140 0%, #050a10 65%) !important; color: #fff; margin-bottom: 36px; padding: 150px 5% 50px !important; }
body.claro .hub-header h1 { color: #fff !important; font-size: clamp(2rem, 4vw, 3rem) !important; }
body.claro .hub-header p { color: #c3ced6 !important; }
body.claro .market-card .btn-cta { background: none !important; box-shadow: none !important; border: 0 !important; color: #0e7490 !important; padding: 0 !important; margin-top: 6px !important;
    font-size: .8rem !important; font-weight: 800; text-transform: none !important; letter-spacing: 0 !important; min-height: 0 !important; animation: none !important; }
body.claro .market-card .btn-cta::after { content: " →"; }
