/* Prueba reversible para la página de inicio: los fondos claros pasan a azul marino. */
body.blue-preview{
  --preview-navy:#061b3a;
  --preview-panel:#0d2d55;
  --preview-panel-hover:#15416f;
  --preview-line:rgba(192,216,235,.23);
  --preview-muted:#c3d2e1;
  --preview-ice:#a9d2e8;
  background:var(--preview-navy);
  color:#f7f9fc;
}
body.blue-preview #contenido{background:var(--preview-navy)}

/* Barra y menú: la versión clara del logo contrasta con el nuevo fondo. */
body.blue-preview .site-header,
body.blue-preview .site-header.scrolled{
  background:rgba(5,22,46,.97);
  border-bottom-color:rgba(205,168,92,.42);
  box-shadow:0 8px 30px rgba(0,0,0,.12);
}
body.blue-preview .site-header .logo-emblem,
body.blue-preview .site-header .logo-lettering{background-image:url("assets/hinojosa/logo-hinojosa.png")}
body.blue-preview .main-nav a,
body.blue-preview .nav-treatments summary,
body.blue-preview .site-header:not(.scrolled) .main-nav a{color:#f7f9fc}
body.blue-preview .main-nav a:hover,
body.blue-preview .main-nav a:focus-visible,
body.blue-preview .nav-treatments summary:hover,
body.blue-preview .nav-treatments[open] summary{color:var(--gold-light)}
body.blue-preview .main-nav a[aria-current="page"]{color:var(--gold-light)}
body.blue-preview .site-header .menu-toggle>span:not(.sr-only){background:#f7f9fc}
body.blue-preview .nav-mega{background:#09244a;border-color:var(--preview-line);border-top-color:var(--gold)}
body.blue-preview .nav-mega-column p,
body.blue-preview .main-nav .nav-mega-all{color:var(--gold-light)}
body.blue-preview .main-nav .nav-mega-column a{color:#f7f9fc;border-color:var(--preview-line)}
body.blue-preview .main-nav .nav-mega-column a:hover{color:var(--gold-light)}
body.blue-preview .nav-mega-column a span{color:var(--preview-muted)}

/* El mismo lenguaje azul del modelo, extendido a todas las secciones claras. */
body.blue-preview .hero.hero-premium,
body.blue-preview .movement-guide,
body.blue-preview .doctor-profile,
body.blue-preview .care-journey,
body.blue-preview .patient-voices,
body.blue-preview .faq-refined,
body.blue-preview .contact-conversion{
  background:radial-gradient(circle at 46% 46%,#123763 0%,#082349 44%,#061b3a 100%);
  color:#f7f9fc;
  border-color:var(--preview-line);
}
/* Variar la intensidad mantiene separadas las secciones que antes eran azules. */
body.blue-preview .hero.hero-premium{background:radial-gradient(circle at 17% 51%,#123a68 0%,#0a2850 46%,#061b3a 100%)}
body.blue-preview .movement-guide{background:linear-gradient(115deg,#081f43 0%,#10335f 59%,#08234a 100%)}
body.blue-preview .doctor-profile{background:linear-gradient(120deg,#071e40 0%,#0c315d 72%,#082348 100%)}
body.blue-preview .preconsult{background:radial-gradient(circle at 53% 42%,#21639d 0%,#174a80 38%,#0d315f 71%,#071d40 100%);border-color:rgba(192,216,235,.28)}
body.blue-preview .care-journey{background:linear-gradient(120deg,#081e3f 0%,#102f59 55%,#082448 100%)}
body.blue-preview .patient-voices{background:linear-gradient(120deg,#092449 0%,#153f70 58%,#0a2953 100%)}
body.blue-preview .faq-refined{background:radial-gradient(circle at 29% 52%,#133962 0%,#09264e 61%,#061b3a 100%)}
body.blue-preview .contact-conversion{background:linear-gradient(125deg,#0a2a52 0%,#123965 57%,#071f42 100%)}
body.blue-preview .specialty-ticker{background:#28699a;border-color:rgba(205,168,92,.38)}
body.blue-preview .preconsult .body-selector{background:radial-gradient(circle at 66% 44%,rgba(70,145,205,.38),transparent 43%),linear-gradient(135deg,#092a56,#123d70);border-color:rgba(177,216,242,.26)}
body.blue-preview .preconsult .pain-summary{background:#082751;border-color:rgba(205,168,92,.35)}
body.blue-preview .hero-premium:before{
  background:radial-gradient(circle at -22% 68%,rgba(157,203,230,.1) 0 31%,transparent 31.3%);
}
body.blue-preview .hero-premium:after{color:rgba(169,210,232,.06)}
body.blue-preview .hero-atmosphere i{border-color:rgba(205,168,92,.38)}
body.blue-preview .hero-premium h1 span,
body.blue-preview .movement-guide h2,
body.blue-preview .doctor-profile h2,
body.blue-preview .care-journey-heading h2,
body.blue-preview .voices-head h2,
body.blue-preview .faq-refined h2,
body.blue-preview .contact-intro h2{color:#fff}
body.blue-preview .hero-premium h1 em,
body.blue-preview .movement-guide h2 em,
body.blue-preview .doctor-profile h2 em,
body.blue-preview .care-journey-heading h2 em,
body.blue-preview .voices-head h2 em,
body.blue-preview .faq-refined h2 em,
body.blue-preview .contact-intro h2 em{color:var(--gold)}
body.blue-preview main .eyebrow,
body.blue-preview .hero-premium .eyebrow,
body.blue-preview .care-journey-heading .eyebrow{color:var(--gold-light)}
body.blue-preview .hero-premium .hero-lead,
body.blue-preview .movement-guide>div>p:not(.eyebrow),
body.blue-preview .profile-copy>p,
body.blue-preview .care-journey-heading>p,
body.blue-preview .care-journey-text p,
body.blue-preview .voices-summary p,
body.blue-preview .voices-disclaimer,
body.blue-preview .faq-intro>p:not(.eyebrow),
body.blue-preview .contact-intro>p:not(.eyebrow){color:var(--preview-muted)}
body.blue-preview .treatment-explorer .eyebrow,
body.blue-preview .location-finder .eyebrow{color:var(--blue)}
body.blue-preview .profile-copy .profile-lead{color:#f7f9fc}

/* Portada y banda editorial. */
body.blue-preview .hero-premium .text-link,
body.blue-preview .hero-scroll{color:#f7f9fc;border-color:var(--preview-line)}
body.blue-preview .hero-stats>div{border-color:var(--preview-line)}
body.blue-preview .hero-stats b{color:var(--gold-light)}
body.blue-preview .hero-stats span{color:var(--preview-muted)}
body.blue-preview .hero-premium .credentials>div{background:var(--preview-panel);border-color:var(--preview-line)}
body.blue-preview .hero-premium .credentials dt{color:var(--preview-ice)}
body.blue-preview .hero-premium .credentials dd{color:#fff}
body.blue-preview .hero-signature{background:rgba(9,38,76,.94);color:#fff}
body.blue-preview .hero-signature small{color:var(--preview-ice)}
body.blue-preview .hero-signature strong{color:#fff}
body.blue-preview .hero-location{background:rgba(9,38,76,.94);color:#fff}
@media(min-width:821px){
  body.blue-preview .hero-premium .hero-photo:before{
    background:linear-gradient(0deg,rgba(7,27,63,.16),transparent 34%)
  }
}
body.blue-preview .premium-band{background:#103660;color:#fff;border-color:var(--preview-line)}
body.blue-preview .premium-band article{background:#173f6c;border-color:var(--preview-line)}
body.blue-preview .premium-band article>span{color:var(--gold)}
body.blue-preview .premium-band small{color:var(--preview-muted)}

/* Orientación y presentación del especialista. */
body.blue-preview .signal-row{border-color:var(--preview-line)}
body.blue-preview .signal-row[open]{background:var(--preview-panel)}
body.blue-preview .signal-priority .signal-title{color:#fff}
body.blue-preview .signal-no,
body.blue-preview .signal-row>div>span{color:var(--gold-light)}
body.blue-preview .signal-row>div p{color:var(--preview-muted)}
body.blue-preview .signal-row summary>i{border-color:var(--preview-line);color:var(--gold-light)}
body.blue-preview .signal-row[open] summary>i{background:var(--gold);border-color:var(--gold);color:var(--preview-navy)}
body.blue-preview .movement-guide .guide-link{color:#fff;border-bottom-color:rgba(255,255,255,.55)}
body.blue-preview .movement-guide .guide-link:hover,
body.blue-preview .movement-guide .guide-link:focus-visible{color:var(--gold-light);border-bottom-color:var(--gold)}
body.blue-preview .profile-copy blockquote{color:#fff}
body.blue-preview .doctor-profile h2 small{color:var(--preview-ice)}
body.blue-preview .profile-focus,
body.blue-preview .profile-focus span{border-color:var(--preview-line)}
body.blue-preview .profile-focus b,
body.blue-preview .profile-link span{color:var(--gold-light)}
body.blue-preview .profile-focus span:hover{background:rgba(169,210,232,.08)}
body.blue-preview .profile-link{color:#fff;border-color:var(--gold)}

/* Tratamientos: tarjetas azules sobre el fondo claro. */
body.blue-preview .treatment-tab,
body.blue-preview .treatment-tab.active{
  background:var(--preview-panel)!important;
  color:#fff!important;
  border-color:var(--preview-line)!important;
}
body.blue-preview .treatment-tab:hover{
  background:var(--preview-panel-hover)!important;
  color:#fff!important;
  border-color:var(--gold)!important;
}
body.blue-preview .treatment-tab small{color:var(--preview-muted)!important}
body.blue-preview .treatment-tab i{color:var(--gold-light)!important}
body.blue-preview .treatment-mobile-card{background:var(--preview-panel);border-color:var(--preview-line);border-top-color:var(--gold)}
body.blue-preview .treatment-mobile-card h3{color:#fff}
body.blue-preview .treatment-mobile-card p{color:var(--preview-muted)}

/* Fotografías y comentarios sin superficies blancas. */
body.blue-preview .journey-stage{color:var(--gold-light)}
body.blue-preview .journey-number{background:var(--preview-panel);color:var(--gold-light)}
body.blue-preview .journey-listen .journey-number{background:var(--gold);color:var(--preview-navy)}
body.blue-preview .care-journey-text h3{color:#fff}
body.blue-preview .voices-summary{border-color:var(--preview-line)}
body.blue-preview .voices-summary a{color:#fff;border-color:var(--gold)}
body.blue-preview .review-card{color:var(--navy)}
body.blue-preview .review-page{color:#d5e3ee}
body.blue-preview .review-navigation button.voice-next{color:var(--gold-light)}
body.blue-preview .review-progress{background:var(--preview-line)}

/* Sedes, preguntas y cierre de contacto. */
body.blue-preview .faq-refined .faq-list,
body.blue-preview .faq-refined details{border-color:var(--preview-line)}
body.blue-preview .faq-refined summary .faq-number{color:var(--gold-light)}
body.blue-preview .faq-refined summary i{color:var(--gold-light);border-color:var(--preview-line)}
body.blue-preview .faq-refined details[open]{background:var(--preview-panel)}
body.blue-preview .faq-refined details[open] summary{color:#fff}
body.blue-preview .faq-refined details[open] summary i{color:var(--preview-navy)}
body.blue-preview .faq-refined details p{color:var(--preview-muted)}
body.blue-preview .contact-facts{background:linear-gradient(110deg,#e8f4fa,#d9eaf4);color:var(--navy);border-color:rgba(7,27,63,.12)}
body.blue-preview .contact-facts>div+div{border-color:rgba(7,27,63,.1)}
body.blue-preview .contact-intro .eyebrow{color:var(--gold-light)}
body.blue-preview .contact-secondary{color:#fff;border-color:var(--gold)}
body.blue-preview .contact-secondary:hover{background:var(--preview-panel)}
body.blue-preview .contact-with-portrait .contact-panel{background:#0d2d55}

@media(max-width:980px){
  body.blue-preview .main-nav{background:#071f42;border-color:var(--preview-line)}
}
@media(max-width:680px){
  body.blue-preview:not(:has(.legal)) .site-header,
  body.blue-preview:not(:has(.legal)) .site-header.scrolled{background:rgba(5,22,46,.97);border-color:rgba(205,168,92,.42)}
}

/* Contrapunto de la paleta: lo que ya era azul pasa a claro. */
body.blue-preview .specialty-ticker{background:#f9fbfd;color:#0b2447;border-color:rgba(205,168,92,.45)}
body.blue-preview .specialty-ticker i{color:#9a6d28}

body.blue-preview .contact-with-portrait .contact-panel{background:#fff;color:#0b2447}
body.blue-preview .contact-panel-top,
body.blue-preview .contact-panel-bottom>span{color:#876226}
body.blue-preview .contact-email,
body.blue-preview .contact-panel-bottom a{color:#12355e}
body.blue-preview .contact-panel-bottom{border-color:rgba(12,49,93,.18)}

/* Sobre nosotros: biografía y galería en marino; trayectoria, antes azul, en claro. */
body.blue-preview.about-page .about-page-hero{background:radial-gradient(circle at 80% 20%,#164776,#0a2c57 52%,#071d3d);border-color:var(--gold)}
body.blue-preview.about-page .about-biography{background:linear-gradient(120deg,#081f43,#113762 67%,#092448)}
body.blue-preview.about-page .about-clinical{background:linear-gradient(130deg,#0a2b54,#174473 58%,#09264a)}
body.blue-preview.about-page h1,
body.blue-preview.about-page .about-page-hero h1,
body.blue-preview.about-page .about-biography h2,
body.blue-preview.about-page .about-clinical h2{color:#fff}
body.blue-preview.about-page h1 em,
body.blue-preview.about-page h2 em{color:var(--gold)}
body.blue-preview.about-page .about-kicker{color:var(--gold-light)}
body.blue-preview.about-page .about-page-hero>p,
body.blue-preview.about-page .about-bio-copy>p:not(.about-kicker),
body.blue-preview.about-page .about-section-heading>p,
body.blue-preview.about-page .about-bio-credentials span,
body.blue-preview.about-page .about-clinical-grid figcaption{color:#c8d7e5}
body.blue-preview.about-page .about-bio-copy>p strong,
body.blue-preview.about-page .about-bio-credentials strong,
body.blue-preview.about-page .about-underlined-link{color:#fff}
body.blue-preview.about-page .about-bio-credentials,
body.blue-preview.about-page .about-bio-credentials>div{border-color:rgba(205,168,92,.34)}
body.blue-preview.about-page .about-clinical-grid figcaption span,
body.blue-preview.about-page .about-underlined-link span{color:var(--gold-light)}
body.blue-preview.about-page .about-career{background:linear-gradient(120deg,#fffaf1,#f3f8fb 65%,#fff);color:#0b2447}
body.blue-preview.about-page .about-career .about-kicker,
body.blue-preview.about-page .about-career .about-section-heading h2 em,
body.blue-preview.about-page .about-career-line small,
body.blue-preview.about-page .about-academic span{color:#8c6426}
body.blue-preview.about-page .about-career .about-section-heading h2,
body.blue-preview.about-page .about-career-line h3{color:#0b2447}
body.blue-preview.about-page .about-career .about-section-heading>p,
body.blue-preview.about-page .about-career-line p,
body.blue-preview.about-page .about-academic p{color:#52677d}
body.blue-preview.about-page .about-career-line article,
body.blue-preview.about-page .about-academic{border-color:rgba(12,49,93,.17)}

/* Directorio y ficha de tratamientos: fondos claros a marino, llamadas azules a blanco. */
body.blue-preview.topics-page .topics-hero{background:radial-gradient(circle at 75% 12%,#164777,#0b2d58 51%,#071d3e)}
body.blue-preview.topics-page .topics-directory{background:linear-gradient(120deg,#081f43,#10345f 60%,#082447)}
body.blue-preview.topics-page .topics-detail-layout{background:linear-gradient(120deg,#092449,#123b69 60%,#09254b)}
body.blue-preview.topics-page .topics-related{background:linear-gradient(120deg,#071d3e,#103660 65%,#0a274d)}
body.blue-preview.topics-page h1,
body.blue-preview.topics-page .topics-directory h2,
body.blue-preview.topics-page .topics-detail-content h2,
body.blue-preview.topics-page .topics-detail-content h3,
body.blue-preview.topics-page .topics-related h2,
body.blue-preview.topics-page .topics-list-copy strong,
body.blue-preview.topics-page .topics-related-grid strong{color:#fff}
body.blue-preview.topics-page h1 em,
body.blue-preview.topics-page h2 em{color:var(--gold)}
body.blue-preview.topics-page .topics-overline,
body.blue-preview.topics-page .topics-list-number,
body.blue-preview.topics-page .topics-list-copy small,
body.blue-preview.topics-page .topics-list-arrow,
body.blue-preview.topics-page .topics-block-heading small,
body.blue-preview.topics-page .topics-options small,
body.blue-preview.topics-page .topics-options span,
body.blue-preview.topics-page .topics-related-grid small,
body.blue-preview.topics-page .topics-related-grid span,
body.blue-preview.topics-page .topics-related-grid i{color:var(--gold-light)}
body.blue-preview.topics-page .topics-hero-directory>p,
body.blue-preview.topics-page .topics-directory-intro>p:last-of-type,
body.blue-preview.topics-page .topics-list-copy>span,
body.blue-preview.topics-page .topics-detail-intro>p:last-child,
body.blue-preview.topics-page .topics-detail-hero #topic-summary,
body.blue-preview.topics-page .topics-detail-image figcaption{color:#c8d7e5}
body.blue-preview.topics-page .topics-directory-list,
body.blue-preview.topics-page .topics-list-card,
body.blue-preview.topics-page .topics-block-heading,
body.blue-preview.topics-page .topics-detail-image figcaption{border-color:rgba(192,216,235,.23)}
body.blue-preview.topics-page .topics-list-card:hover{background:#174371}
body.blue-preview.topics-page .topics-filters button{background:#102f59;border-color:rgba(192,216,235,.26);color:#fff}
body.blue-preview.topics-page .topics-filters button:hover,
body.blue-preview.topics-page .topics-filters button.active{background:var(--gold);border-color:var(--gold);color:#071b3f}
body.blue-preview.topics-page .topics-signs>div{background:#10325c;border-color:rgba(192,216,235,.23);color:#fff}
body.blue-preview.topics-page .topics-options>div{background:#143a66;border-color:rgba(205,168,92,.45);color:#fff}
body.blue-preview.topics-page .topics-signs b{color:var(--gold-light)}
body.blue-preview.topics-page .topics-medical-note{background:#143b69;color:#fff}
body.blue-preview.topics-page .topics-medical-note strong{color:var(--gold-light)}
body.blue-preview.topics-page .topics-medical-note p{color:#d4e1ec}
body.blue-preview.topics-page .topics-path{background:#10325c;color:#fff;border-color:rgba(205,168,92,.42)}
body.blue-preview.topics-page .topics-path h2{color:#fff}
body.blue-preview.topics-page .topics-path small{color:#c8d7e5}
body.blue-preview.topics-page .topics-related-grid{background:rgba(192,216,235,.2);border-color:rgba(192,216,235,.2)}
body.blue-preview.topics-page .topics-related-grid>a{background:#102f59;color:#fff}
body.blue-preview.topics-page .topics-related-grid>a:hover{background:#174371}
body.blue-preview.topics-page .topics-related-head>a{color:#fff}

body.blue-preview.topics-page .topics-cta,
body.blue-preview.topics-page .topics-booking{background:linear-gradient(120deg,#fffaf0,#f4f8fb 68%,#fff);color:#0b2447}
body.blue-preview.topics-page .topics-cta .topics-overline,
body.blue-preview.topics-page .topics-booking .topics-overline{color:#8c6426}
body.blue-preview.topics-page .topics-cta h2,
body.blue-preview.topics-page .topics-booking h2{color:#0b2447}
body.blue-preview.topics-page .topics-cta p:last-child,
body.blue-preview.topics-page .topics-booking>p:not(.topics-overline){color:#52677d}

/* Aviso de privacidad también mantiene el mismo contraste del sitio. */
body.blue-preview .legal{color:#f7f9fc}
body.blue-preview .legal h1,
body.blue-preview .legal h2{color:#fff}
body.blue-preview .legal p{color:#c8d7e5}
body.blue-preview .legal .eyebrow,
body.blue-preview .legal a{color:var(--gold-light)}
body.blue-preview .legal-date{border-color:rgba(192,216,235,.23)}
body.blue-preview .legal-note{background:#10345f}

@media(max-width:620px){
  body.blue-preview.topics-page .topics-directory{grid-template-columns:minmax(0,1fr)}
  body.blue-preview.topics-page .topics-directory-intro,
  body.blue-preview.topics-page .topics-directory-list{min-width:0}
  body.blue-preview.topics-page .topics-filters{max-width:100%}
}
