/* Hospital Amigo — versión con mayor contraste institucional.
   Solo afecta a .hjm-ha. No modifica el resto del sitio. */
.hjm-ha{font-family:'Nunito',Arial,sans-serif;color:#24465a;overflow:hidden}
.hjm-ha *{box-sizing:border-box}
.hjm-ha-breadcrumb{padding:16px 0;border-bottom:1px solid #e7edf0;font-size:13px;color:#61788a;background:#fff}
.hjm-ha-breadcrumb a{color:#287fc2;text-decoration:none}
.hjm-ha-breadcrumb span{margin-left:9px}
/* Hero alineado con Misión y Valores (sin alterar otras secciones) */
.hjm-ha-hero{position:relative;isolation:isolate;width:100%;overflow:hidden;background:linear-gradient(105deg,#35c1df 0%,#66d0e7 55%,#cdeefa 100%);padding:0}
.hjm-ha-hero:before,.hjm-ha-hero:after{content:"";position:absolute;border-radius:50%;pointer-events:none;z-index:0}
.hjm-ha-hero:before{width:520px;height:520px;left:-355px;bottom:-350px;background:rgba(22,157,211,.18)}
.hjm-ha-hero:after{width:620px;height:620px;right:-420px;top:-315px;background:rgba(255,255,255,.28)}
.hjm-ha-hero-grid{position:relative;z-index:1;width:min(calc(100% - 80px),1540px);max-width:none;min-height:590px;margin-inline:auto;padding:66px 0 70px;display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:84px;align-items:center}
.hjm-ha-hero-copy{max-width:610px}
.hjm-ha-eyebrow{display:block;color:#287fc2;font-size:12px;letter-spacing:.13em;font-weight:900;margin-bottom:16px}
.hjm-ha h1,.hjm-ha h2{font-family:'Lora',Georgia,serif;letter-spacing:-.025em;color:#1b5368;line-height:1.17}
.hjm-ha h1{font-size:clamp(46px,5vw,76px);margin:0 0 24px}
.hjm-ha-hero .hjm-ha-eyebrow{display:flex;align-items:center;gap:12px;margin:0 0 23px;padding:0;background:none;border-radius:0;color:#176e91;font-size:12px;line-height:1.2;font-weight:900;letter-spacing:.13em}
.hjm-ha-hero .hjm-ha-eyebrow:before{content:"";width:25px;height:3px;flex:0 0 25px;border-radius:3px;background:#f5c842}
.hjm-ha-hero h1{max-width:590px;margin:0 0 24px;color:#07517e;font-size:clamp(58px,4.7vw,82px);line-height:.98;font-weight:600;letter-spacing:-.045em}
.hjm-ha-hero-copy p{max-width:590px;margin:0;color:#276f92;font-family:'Nunito',Arial,sans-serif;font-size:16px;line-height:1.72;font-weight:500}
.hjm-ha-hero-visual{position:relative;width:100%;min-width:0;height:430px;min-height:0;aspect-ratio:auto;border:0;border-radius:24px;overflow:hidden;background:#d7edf4;box-shadow:none}
.hjm-ha-hero-visual img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center}
.hjm-ha-image-placeholder{height:100%;min-height:0;display:grid;place-items:center;color:#3b6c86;font-weight:800;background:linear-gradient(135deg,#d5eaf4,#f7fbff);text-align:center;padding:20px}
/* Introducción: blanco y franja de acento */
.hjm-ha-intro{padding:94px 0 100px;background:#fff}
.hjm-ha-narrow{max-width:930px}
.hjm-ha-intro .hjm-ha-eyebrow{color:#287fc2}
.hjm-ha h2{font-size:clamp(32px,3.2vw,46px);margin:0 0 24px}
.hjm-ha-intro h2{position:relative;padding-bottom:23px}
.hjm-ha-intro h2:after{content:'';position:absolute;left:0;bottom:0;width:80px;height:6px;border-radius:8px;background:#ffca36}
.hjm-ha-intro p{font-size:17px;line-height:1.85;color:#435b6a;margin:0 0 19px}
/* Compromisos: fondo celeste y tarjetas con acentos diferenciados */
.hjm-ha-commitments{padding:92px 0 108px;background:#eaf5fb}
.hjm-ha-section-heading{max-width:830px;margin-bottom:40px}
.hjm-ha-section-heading .hjm-ha-eyebrow{color:#087aa9}
.hjm-ha-section-heading p{font-size:17px;line-height:1.8;margin:0;color:#4b6574}
.hjm-ha-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.hjm-ha-card{position:relative;background:#fff;border:1px solid #dce9f0;border-top:5px solid #287fc2;border-radius:18px;padding:29px 30px 32px;box-shadow:0 12px 30px rgba(21,75,103,.075);transition:transform .2s ease,box-shadow .2s ease}
.hjm-ha-card:nth-child(2),.hjm-ha-card:nth-child(5){border-top-color:#ffca36}
.hjm-ha-card:nth-child(3){border-top-color:#10a4b6}
.hjm-ha-card:nth-child(4){border-top-color:#174d7c}
.hjm-ha-card-number{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:#e6f3fb;color:#1766a2;font-weight:900;font-size:16px;margin-bottom:22px}
.hjm-ha-card:nth-child(2) .hjm-ha-card-number,.hjm-ha-card:nth-child(5) .hjm-ha-card-number{background:#fff4ce;color:#8c6400}
.hjm-ha-card:nth-child(3) .hjm-ha-card-number{background:#dff6f6;color:#087e8b}
.hjm-ha-card:nth-child(4) .hjm-ha-card-number{background:#e6edf5;color:#174d7c}
.hjm-ha-card h3{font-family:'Nunito',Arial,sans-serif;font-size:19px;font-weight:900;color:#174d7c;line-height:1.35;margin:0 0 12px}
.hjm-ha-card p{font-size:15px;line-height:1.75;color:#4b6574;margin:0}
@media(hover:hover){.hjm-ha-card:hover{transform:translateY(-4px);box-shadow:0 18px 34px rgba(21,75,103,.13)}}
/* Cierre: azul oscuro, texto blanco, acento amarillo */
.hjm-ha-closing{position:relative;padding:84px 0 92px;background:#174d7c;overflow:hidden}
.hjm-ha-closing:before{content:'';position:absolute;width:320px;height:320px;border-radius:50%;border:55px solid rgba(255,255,255,.05);right:-140px;top:-140px}
.hjm-ha-closing-inner{position:relative;max-width:970px;text-align:center}
.hjm-ha-closing .hjm-ha-eyebrow{color:#ffca36;margin-bottom:22px}
.hjm-ha-closing p{font-family:'Lora',Georgia,serif;font-size:clamp(22px,2.5vw,32px);line-height:1.55;color:#fff;margin:0}
.hjm-ha-closing-inner:after{content:'';display:block;width:85px;height:5px;border-radius:6px;background:#ffca36;margin:30px auto 0}
@media(max-width:900px){.hjm-ha-hero-grid{width:min(calc(100% - 48px),760px);grid-template-columns:1fr;gap:32px;min-height:0;padding:58px 0 65px}.hjm-ha-hero-visual{height:380px;max-width:680px}.hjm-ha-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hjm-ha-hero-grid{width:calc(100% - 36px);padding:45px 0 55px;gap:28px}.hjm-ha-hero h1{font-size:clamp(42px,11vw,58px)}.hjm-ha-hero-visual{height:270px}.hjm-ha-intro,.hjm-ha-commitments{padding:60px 0}.hjm-ha-card-grid{grid-template-columns:1fr}.hjm-ha-card{padding:24px}.hjm-ha-closing{padding:62px 0}}
@media(prefers-reduced-motion:reduce){.hjm-ha-card{transition:none}}
