/* Identidad San Jerónimo 1.7.5: #0992A2 y celeste, con superficies claras. */
:root,html:root body{--sj-mint:var(--sj-brand-primary,#0992a2);--sj-sky:#10a8e0;--sj-brand-ink:#36575f;--sj-brand-text:#4b5961;--sj-mint-text:#007685;--sj-sky-text:#00789b;--sj-mint-soft:#f5fcfd;--sj-sky-soft:#eef9ff;--sj-brand-line:#d4eaf0}
html:root body .sj{--sj-ink:var(--sj-brand-ink);--sj-teal:var(--sj-mint-text);--sj-muted:var(--sj-brand-text);--sj-ice:var(--sj-mint-soft);--sj-line:var(--sj-brand-line);--sj-accent:var(--sj-sky);--sj-accent-rgb:16,168,224;color:var(--sj-brand-ink)}
/* Cabecera y navegación, también cuando se pegaron como código en Divi. */
html:root body .sj-header{border-bottom-color:var(--sj-sky)!important;box-shadow:0 3px 18px #0076850b!important}
html:root body .sj-header .sj-brand-copy{color:var(--sj-brand-ink)!important}
html:root body .sj-desktop-nav{background:#cceeff!important;border-color:#a6ddef!important}
html:root body .sj-desktop-nav>a,html:root body .sj-mobile-menu>a{color:var(--sj-brand-ink)!important}
html:root:root body .sj-desktop-nav>a:hover,html:root:root body .sj-desktop-nav>a[aria-current],html:root:root body .sj .sj-study-nav-button[aria-expanded="true"]{background:var(--sj-mint)!important;color:#ffffff!important}
html:root body .sj .sj-study-nav-button:hover{background:#cceeff!important;color:#007685!important}
html:root:root body .sj-menu-toggle{background:var(--sj-mint)!important;color:#ffffff!important}
html:root body .sj-mobile-menu{background:#cceeff!important;border-color:#a6ddef!important}
html:root body .sj-mobile-menu>a{border-color:var(--sj-brand-line)!important}
html:root body .sj .sj-study-dropdown,html:root body dialog.sj-study-picker{border-color:var(--sj-brand-line)!important;border-top-color:var(--sj-mint)!important;box-shadow:0 18px 50px #00768525!important}
html:root body .sj .sj-study-dropdown>a{color:var(--sj-brand-ink)!important}
html:root body .sj .sj-study-dropdown>a:hover,html:root body .sj .sj-study-dropdown>a:focus-visible{background:#e5f6fa!important;color:var(--sj-mint-text)!important}
/* Slider: fotografía, título y dos acciones. */
html:root body .sj-hero-wide{background:#fff!important}
html:root body .sj-hero-wide .sj-hero-shade{background:linear-gradient(90deg,#ffffff 0%,rgba(255,255,255,.97) 28%,rgba(255,255,255,.78) 43%,rgba(255,255,255,.08) 69%,transparent 100%)!important}
html:root body .sj-hero-wide .sj-hero-title{color:var(--sj-mint)!important}
html:root body .sj-hero-wide .sj-hero-title em{color:var(--sj-mint)!important}
html:root body .sj-hero-wide .sj-eyebrow,html:root body .sj-hero-wide .sj-hero-desc,html:root body .sj-hero-wide .sj-hero-note,html:root body .sj-hero-wide .sj-photo-label{display:none!important}
html:root body .sj-hero-wide .sj-hero-copy{padding:30px 0 70px;max-width:58%}
html:root body .sj-hero-wide .sj-hero-title{margin-bottom:30px}
html:root:root body .sj-hero-wide .sj-btn-light{background:var(--sj-sky)!important;border-color:var(--sj-sky)!important;color:#ffffff!important}
html:root body .sj-hero-wide .sj-dots button[aria-pressed=true]::before{background:var(--sj-mint)!important}
html:root body .sj-hero-wide .sj-slide-tools button{background:#ffffffed!important;color:#36575f!important;border-color:#a6ddef!important}
html:root:root body .sj-hero-wide .sj-slide-tools button:hover{background:var(--sj-mint)!important;color:#ffffff!important}
/* Secciones, accesos y tarjetas de estudios. */
html:root body .sj .sj-eyebrow{color:var(--sj-mint-text)!important}
html:root body .sj :is(h2 em,.sj-text-link,.sj-service-more,.sj-doctor-more){color:var(--sj-mint-text)!important}
html:root body .sj .sj-service-icon,html:root body .sj .sj-photo-icon{background:#e5f6fa!important;color:var(--sj-mint-text)!important}
html:root body .sj-service:nth-child(even) .sj-service-icon{background:#e5f6fa!important;color:var(--sj-sky-text)!important}
html:root body .sj-service{border-color:var(--sj-brand-line)!important;border-top:3px solid var(--sj-mint)!important}
html:root body .sj-service:nth-child(even){border-top-color:var(--sj-sky)!important}
html:root body .sj-service:hover{background:#ffffff!important;box-shadow:0 14px 30px #00768512!important}
html:root body .sj-quick{border-color:var(--sj-brand-line)!important}
html:root body .sj-quick a:hover{background:var(--sj-mint-soft)!important}
html:root body .sj.sj-about{background:linear-gradient(120deg,#f5fcfd,#ffffff)!important}
html:root body .sj .sj-photo-stamp{background:var(--sj-mint)!important;color:#071c22!important}
html:root body .sj-prep{background:var(--sj-mint-soft)!important}
html:root body .sj-results{background:var(--sj-sky-soft)!important;color:var(--sj-brand-text)!important}
html:root body .sj .sj-results h2,html:root body .sj .sj-results h2 em{color:var(--sj-mint)!important}
html:root body .sj-contact{background:#ffffff!important}
html:root body .sj .sj-doctor-card{border-color:var(--sj-brand-line)!important;color:var(--sj-brand-ink)!important;border-top:3px solid var(--sj-mint)!important}
html:root body .sj .sj-doctor-card:nth-child(even){border-top-color:var(--sj-sky)!important}
html:root body .sj .sj-doctor-card:hover{box-shadow:0 14px 35px #00768515!important}
html:root body .sj .sj-doctor-photo{background:var(--sj-mint-soft)!important}
html:root body .sj .sj-doctor-info h3{color:var(--sj-brand-ink)!important}
html:root body .sj .sj-doctor-info p{color:var(--sj-brand-text)!important}
html:root body .sj .sj-doctor-more{border-color:var(--sj-brand-line)!important}
/* Llamadas y horarios. */
html:root body .sj-care-cards{background:linear-gradient(180deg,#e5f6fa,#ffffff)!important;color:var(--sj-brand-ink)!important}
html:root body .sj-care-cards .sc13-card{border-color:var(--sj-brand-line)!important;box-shadow:0 8px 28px #00768508!important}
html:root body .sj-care-cards .sc13-card::before{background:var(--sj-mint)!important}
html:root body .sj-care-cards .sc13-card:nth-child(2)::before{background:var(--sj-sky)!important}
html:root body .sj-care-cards .sc13-emergency{background:linear-gradient(130deg,#e5f6fa,#f5fcfd)!important}
html:root body .sj-care-cards .sc13-icon{background:#e5f6fa!important;color:var(--sj-mint-text)!important}
html:root body .sj-care-cards .sc13-heading h2{color:var(--sj-brand-ink)!important}
html:root body .sj-care-cards .sc13-eyebrow,html:root body .sj-care-cards .sc13-phones a>span:last-child{color:var(--sj-mint-text)!important}
html:root body .sj-care-cards :is(.sc13-note,.sc13-schedule li){color:var(--sj-brand-text)!important}
/* Páginas de estudios y selector. */
html:root body .sj-study-note{border-color:var(--sj-brand-line)!important;border-left-color:var(--sj-mint)!important;background:var(--sj-mint-soft)!important}
html:root body .sj .sj-study-note a,html:root body .sj .sj-study-back,html:root body .sj .sj-study-catalog span{color:var(--sj-mint-text)!important}
html:root body .sj-study-item[open]>summary{background:#e5f6fa!important}
html:root body .sj-study-item summary>span{color:var(--sj-mint-text)!important}
html:root body .sj-study-content{color:#4b5961!important}
html:root body .sj-study-catalog>a:hover{background:var(--sj-mint-soft)!important}
html:root body .sj-study-search input,html:root body .sj .sj-picker-search input{border-color:#a6ddef!important;color:var(--sj-brand-ink)!important}
html:root body .sj .sj-picker-close,html:root body .sj .sj-picker-links a{background:var(--sj-mint-soft)!important;color:var(--sj-brand-ink)!important}
html:root body .sj .sj-picker-links a:nth-child(even){background:var(--sj-sky-soft)!important}
html:root body .sj .sj-picker-links a:hover{background:#cceeff!important;border-color:var(--sj-mint)!important}
html:root body .sj .sj-picker-links a::after{color:var(--sj-mint-text)!important}
/* Pie general. */
html:root body .sj-footer-v12{background:#f5fcfd!important;color:var(--sj-brand-ink)!important;border-top:4px solid var(--sj-mint)!important}
html:root body .sj-footer-v12 .sf12-invite{background:linear-gradient(110deg,#cceeff,#eef9ff)!important;border-color:var(--sj-brand-line)!important}
html:root body .sj-footer-v12 :is(.sf12-eyebrow,.sf12-brand-copy small,.sf12-links>a>span,.sf12-install){color:var(--sj-mint-text)!important}
html:root body .sj-footer-v12 :is(.sf12-grid p,.sf12-links>a,.sf12-invite p,.sf12-bottom){color:var(--sj-brand-text)!important}
html:root body .sj-footer-v12 :is(.sf12-hours,.sf12-bottom,.sf12-links>a){border-color:var(--sj-brand-line)!important}
html:root body .sj-footer-v12 .sf12-contact-icon{background:#e5f6fa!important;color:var(--sj-mint-text)!important}
html:root body .sj-footer-v12 .sf12-map-card>span{color:var(--sj-brand-ink)!important}
html:root body .sj-footer-v12 .sf12-dot{background:var(--sj-mint)!important}
/* Módulo Nosotros independiente y contenido nativo Divi. */
html:root body .sjn-about{--sjn-azul:#007685;--sjn-celeste:#0992a2;--sjn-suave:#f5fcfd;--sjn-texto:#4b5961;--sjn-linea:#d4eaf0}
html:root body .sjn-about .sjn-intro{background:linear-gradient(145deg,#f5fcfd,#ffffff 58%)!important}
html:root body .sjn-about :is(h1 em,.sjn-eyebrow,.sjn-link,.sjn-points svg){color:var(--sj-mint-text)!important}
html:root body .sjn-about :is(.sjn-icon-box,.sjn-location){background:#e5f6fa!important;color:var(--sj-brand-ink)!important}
html:root body .sjn-about .sjn-vision{background:var(--sj-sky-soft)!important}
html:root body .sjn-about .sjn-vision h3{color:var(--sj-brand-ink)!important}
html:root body .sjn-about .sjn-vision p{color:var(--sj-brand-text)!important}
html:root body .sjn-about .sjn-purpose-card{border-color:var(--sj-brand-line)!important;border-top:3px solid var(--sj-mint)!important}
html:root body .sjn-about .sjn-purpose-card:nth-child(even){border-top-color:var(--sj-sky)!important}
html:root body .sjn-about .sjn-card-number{color:var(--sj-mint-text)!important}
html:root body .sjg-heading h2,html:root body .sjg-gallery{color:var(--sj-brand-ink)!important}
html:root body .sjg-heading p,html:root body .sjg-zoom{color:var(--sj-mint-text)!important}
html:root body .sjg-image-link{background:var(--sj-mint-soft)!important}
html:root body .sjg-dialog{background:#244752!important}
html:root body .sjg-dialog::backdrop{background:#19353edb!important}
html:root body #et-main-area :is(.et_pb_text,.et_pb_blurb,.et_pb_post,.et_pb_title_container) :is(h1,h2,h3,h4,h5,h6){color:var(--sj-brand-ink)}
html:root body #et-main-area .et_pb_text>a,html:root body #et-main-area .et_pb_text p>a{color:var(--sj-mint-text)}
html:root body :is(.sj,.sjg-gallery,.sjn-about) :is(a,button,input,summary):focus-visible{outline-color:#007685!important}
html:root body .sj-appbar{border-color:var(--sj-brand-line)!important;box-shadow:0 6px 30px #00768525!important}
html:root body .sj-appbar-space{background:#f5fcfd!important}
/* El acceso a WhatsApp conserva su identificador verde. */
@media(max-width:700px){html:root body .sj-hero-wide .sj-slides{height:500px}html:root body .sj-hero-wide .sj-wide-content{display:flex;padding-top:0;align-items:center}html:root body .sj-hero-wide .sj-hero-copy{max-width:100%;padding:30px 0 100px}html:root body .sj-hero-wide .sj-hero-shade{background:linear-gradient(90deg,#244752dc,#00768572),linear-gradient(0deg,#244752eb 0%,#24475220 65%)!important}html:root body .sj-hero-wide .sj-hero-title{font-size:clamp(35px,8vw,46px)}}

/* Fotos nuevas: espacio para los rostros; móvil con fotografía completa. */
html:root body .sj-hero-wide .sj-slide-new>img{width:72%;left:auto;right:0;object-position:50% 20%;-webkit-mask-image:linear-gradient(to right,transparent,#000 22%);mask-image:linear-gradient(to right,transparent,#000 22%)}
html:root body .sj-hero-wide .sj-slide-new .sj-hero-copy{max-width:44%}
html:root body .sj-hero-wide .sj-slide-new .sj-hero-title{font-size:clamp(38px,4.1vw,62px)}
@media(max-width:700px){
 html:root body .sj-hero-wide .sj-slides{height:calc(66.73vw + 310px);min-height:520px;max-height:780px}
 html:root body .sj-hero-wide .sj-slide-wide{background:#fff}
 html:root body .sj-hero-wide .sj-slide-wide>img{width:100%;height:66.73vw;left:0;right:0;top:0;object-fit:contain;object-position:50% 50%;max-width:none;-webkit-mask-image:none;mask-image:none}
 html:root body .sj-hero-wide .sj-hero-shade{display:none}
 html:root body .sj-hero-wide .sj-wide-content{position:absolute;left:0;right:0;top:auto;bottom:0;height:310px;display:flex;align-items:flex-start;padding-top:24px}
 html:root body .sj-hero-wide .sj-hero-copy,html:root body .sj-hero-wide .sj-slide-new .sj-hero-copy{width:100%;max-width:100%;padding:0}
 html:root body .sj-hero-wide .sj-hero-title,html:root body .sj-hero-wide .sj-slide-new .sj-hero-title{font-size:clamp(30px,8vw,42px);margin-bottom:19px;line-height:1.08}
 html:root body .sj-hero-wide .sj-actions{gap:8px;flex-wrap:nowrap}
 html:root body .sj-hero-wide .sj-btn{flex:1 1 0;min-width:0;white-space:nowrap;font-size:12px;padding:12px 9px;gap:6px}
 html:root body .sj-hero-wide .sj-btn .sj-icon{width:16px;height:16px}
 html:root body .sj-hero-wide .sj-slider-controls{flex-direction:column;gap:8px}
 html:root body .sj-hero-wide .sj-dots{width:100%;justify-content:center;gap:10px}
 html:root body .sj-hero-wide .sj-dots button{width:32px;min-height:40px}
 html:root body .sj-hero-wide .sj-slide-tools{justify-content:center}
 html:root body .sj-hero-wide .sj-slide-tools>span{display:inline;font-size:10px}
 html:root body .sj-hero-wide .sj-controls-wrap{bottom:15px}
}

/* Coherencia cromática en componentes y módulos pegados anteriormente. */
html:root body .sj :is(h1,h2),html:root body .sjn-about h1,html:root body .sjg-heading h2{color:var(--sj-mint)!important}
html:root body .sj-hero-wide :is(h1,h2),html:root body .sj .sj-results h2{color:var(--sj-mint)!important}
html:root body .sj .sj-study-nav-button{color:var(--sj-brand-ink)!important}
html:root:root body .sj .sj-study-nav-button[aria-expanded="true"]{color:#ffffff!important}
html:root body .sj-footer-v12 :is(h2,h3,.sf12-brand-link,.sf12-contact-item a){color:var(--sj-brand-ink)!important}
html:root body .sj .sj-appbar a:not(.sj-appbar-wa){color:var(--sj-brand-ink)!important}

/* Slider luminoso: controles legibles tanto sobre la foto como sobre blanco. */
html:root body .sj-hero-wide .sj-dots{background:#ffffffed;border-radius:24px;padding:0 12px;width:auto}
html:root body .sj-hero-wide .sj-dots span,html:root body .sj-hero-wide .sj-slide-tools>span{color:#36575f!important}
html:root body .sj-hero-wide .sj-slide-tools>span{background:#ffffffed;border-radius:20px;padding:7px 10px}
html:root body .sj-hero-wide .sj-dots button::before{background:#b6dbe5}
html:root body .sj .sj-results>p{color:var(--sj-brand-text)!important}
html:root body .sjn-about.sjn-about h1 em{color:var(--sj-mint)!important}
@media(max-width:700px){html:root body .sj-hero-wide .sj-hero-shade{display:none!important}html:root body .sj-hero-wide .sj-wide-content{background:#fff}}
