/* HerniaPuebla: interaction, conversion and responsive navigation. Original blue/green identity. */
:root{--hp-fix-navy:#123454;--hp-fix-blue:#124672;--hp-fix-ice:#E6F3F8;--hp-fix-bg:#F4F8FB;--hp-fix-green:#15803D;--hp-fix-bright:#25D366;--hp-fix-text:#334155;--hp-fix-border:#D5E2EB}
/* Independent modal avoids sticky-header backdrop-filter creating a fixed positioning context. */
html body.cx-site dialog.hp-mobile-dialog:not([open]){display:none!important}
html body.cx-site dialog.hp-mobile-dialog[open]{display:block!important;position:fixed!important;inset:0!important;margin:0!important;width:100%!important;height:100%!important;height:100dvh!important;max-width:none!important;max-height:none!important;border:0!important;border-radius:0!important;padding:0!important;overflow:auto!important;overscroll-behavior:contain;background:#fff!important;color:var(--hp-fix-navy)!important;z-index:2147483000;box-sizing:border-box;animation:hp-fix-menu .24s ease-out}
.hp-mobile-dialog::backdrop{background:#123454a0}.hp-mobile-head{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;background:#123454;color:white;border-bottom:3px solid #25D366}.hp-mobile-head small{display:block;font-size:10px;letter-spacing:.14em;color:#bde9d5}.hp-mobile-head strong{font-size:21px;color:#fff!important}.hp-mobile-close{border:1px solid #ffffff70;background:#ffffff12;color:#fff!important;border-radius:10px;min-height:44px;padding:8px 12px;font:inherit;font-weight:700;cursor:pointer}.hp-mobile-close span{font-size:22px;margin-left:4px}.hp-mobile-content{max-width:780px;margin:auto;padding:20px 20px max(32px,env(safe-area-inset-bottom));}.hp-mobile-content .mnav__k{color:#124672!important;font-weight:800;font-size:12px;letter-spacing:.12em;margin:22px 0 8px}.hp-mobile-content .mnav__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;border:0;margin:0}.hp-mobile-content .mnav__list a{display:flex;align-items:center;color:#123454!important;background:#f4f8fb;border:1px solid #d5e2eb;border-radius:10px;padding:12px!important;font-family:inherit!important;font-size:14px!important;font-weight:650;line-height:1.4;min-height:48px;overflow-wrap:anywhere;text-decoration:none}.hp-mobile-content .mnav__list a:hover{background:#e6f3f8}.hp-mobile-content .hp-mobile-quick{display:grid;grid-template-columns:1fr 1fr;gap:8px}.hp-mobile-content .hp-mobile-quick a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:48px;padding:10px;border-radius:10px;background:#e6f3f8;border:1px solid #d5e2eb;color:#123454;font-weight:750;text-decoration:none;font-size:14px}.hp-mobile-content>a.btn{display:flex!important;width:100%;margin:14px 0 0;min-height:48px}.hp-mobile-dialog :is(a,button):focus-visible{outline:3px solid #1d5b8c;outline-offset:3px}.hp-mobile-head button:focus-visible{outline-color:#6dd569}
@media(max-width:360px){.hp-mobile-content .mnav__list{grid-template-columns:1fr}.hp-mobile-content{padding-inline:14px}}
/* One stable, immediately visible region or technique panel. */
html body.cx-site .hp-switch-panel[hidden]{display:none!important}.hp-region-enhanced .hc-wrap,.hp-compare-enhanced .hc-wrap{max-width:1180px}.hp-switch-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px!important;background:#e6f3f8!important;padding:10px!important;border:1px solid #d5e2eb;border-radius:16px!important}.hp-compare-enhanced .hp-switch-tabs{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}.hp-switch-tabs button{min-height:50px;text-align:center;white-space:normal!important;line-height:1.3;position:relative;transition:background .2s,transform .2s,box-shadow .2s}.hp-switch-tabs button[aria-pressed=true]{background:#123454!important;color:#fff!important;border-color:#123454!important;box-shadow:inset 0 -3px 0 #25d366,0 3px 8px #12345425!important}.hp-switch-tabs button:hover:not([aria-pressed=true]){transform:translateY(-2px);background:white!important;border-color:#124672!important}.hp-switch-status,.hp-dual-status{margin:10px 0!important;font-size:12px!important;font-weight:700;color:#124672!important;letter-spacing:.025em}.hp-switch-panel{border:1px solid #d5e2eb;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 10px 30px #1234540c;margin-bottom:12px}.hp-region-panel .hc-region-body{grid-template-columns:minmax(0,.9fr) minmax(0,1fr);padding:clamp(16px,3vw,30px);gap:clamp(18px,3vw,36px);align-items:center}.hp-region-panel .hc-region-body img{height:clamp(200px,28vw,310px);width:100%;object-fit:contain;background:#f4f8fb;border:1px solid #e2e8f0}.hp-panel-kicker{display:inline-block;color:#166534!important;font-weight:800;font-size:11px;letter-spacing:.12em;margin-bottom:10px}.hp-region-panel .hc-region-body h3{font-size:clamp(25px,3vw,36px)!important;letter-spacing:-.03em}.hp-region-panel .hc-link{display:inline-flex;align-items:center;min-height:44px;margin-top:10px;padding:10px 14px;background:#124672;color:#fff!important;border-radius:9px;text-decoration:none!important;font-weight:700}.hp-region-panel .hc-link:hover{background:#123454}.hp-panel-enter{animation:hp-fix-panel .28s ease-out}@keyframes hp-fix-panel{from{opacity:.55;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes hp-fix-menu{from{opacity:.6;transform:translateY(-10px)}to{opacity:1;transform:none}}
/* Two linked but independent ways to explore and compare. */
.hp-tech-panel{background:linear-gradient(115deg,#fff,#f4f8fb)}.hp-tech-heading{display:flex;align-items:center;gap:14px;padding:18px 22px;background:#123454;color:#fff;border-bottom:3px solid #25d366}.hp-tech-heading small{font-size:10px;font-weight:700;letter-spacing:.14em;color:#bde9d5!important}.hp-tech-heading h3{color:white!important;font-size:clamp(22px,3vw,30px)!important;margin:3px 0 0!important}.hp-tech-number{display:grid;place-items:center;border:1px solid #ffffff50;width:48px;height:48px;border-radius:12px;flex:none;color:#6dd569;font-weight:800;font-size:24px}.hp-tech-panel .hc-compare-body{padding:18px;gap:12px}.hp-tech-panel .hc-compare-body>div{border:1px solid #d5e2eb;background:#fff!important;border-radius:12px;padding:18px}.hp-tech-panel .hc-compare-body small{color:#166534!important;letter-spacing:.07em}.hp-dual-enhanced{background:linear-gradient(130deg,#e6f3f8,#f4f8fb)!important;padding:clamp(14px,3vw,28px)!important;border:1px solid #c9dce8!important}.hp-dual-intro{font-size:14px;color:#334155!important;margin:-10px 0 18px!important}.hp-dual-enhanced .hc-dual-selects{align-items:start;gap:12px}.hp-dual-enhanced .hc-dual-selects label{display:block;background:#fff;border:1px solid #d5e2eb;border-radius:12px;padding:12px;color:#123454!important}.hp-dual-enhanced select{border-color:#8da9bc!important;font-weight:700!important}.hp-choice-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.hp-choice-chips button,.hp-dual-actions button{font:inherit;font-size:12px;font-weight:700;line-height:1.3;min-height:38px;border:1px solid #b3c8d8;background:#fff;color:#123454;border-radius:8px;padding:7px 10px;cursor:pointer;transition:background .2s,box-shadow .2s}.hp-choice-chips button[aria-pressed=true]{background:#124672;border-color:#124672;color:white;box-shadow:inset 0 -2px 0 #25d366}.hp-choice-chips button:hover:not([aria-pressed=true]),.hp-dual-actions button:hover{background:#e6f3f8;border-color:#124672}.hp-dual-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.hp-dual-actions button{font-size:13px;min-height:42px}.hp-dual-enhanced .hc-dual-results{border:1px solid #bed0df;border-radius:13px;gap:1px}.hp-dual-enhanced .hc-dual-title{background:#123454!important;color:#fff!important;border-top:3px solid #6dd569;font-size:clamp(15px,2vw,19px);padding:16px 12px}.hp-dual-enhanced .hc-dual-title.hp-side-b{background:#124672!important;border-top-color:#25d366}.hp-dual-enhanced .hc-criterion{background:#e6f3f8!important;color:#123454!important;font-size:12px;letter-spacing:.02em;text-transform:none}.hp-dual-enhanced .hp-comparison-cell{font-size:14px;line-height:1.6;padding:16px 12px}.hp-dual-enhanced :is(button,select):focus-visible{outline:3px solid #124672;outline-offset:2px}
/* Appointment forms: unmistakable focal card on a clinical blue section. */
html body.cx-site main section.hp-form-section{background:linear-gradient(115deg,#123454,#124672)!important;color:#fff!important;padding-block:clamp(42px,6vw,80px)!important}html body.cx-site main section.hp-form-section>.wrap{gap:clamp(24px,5vw,56px)!important;align-items:start!important}html body.cx-site main section.hp-form-section :is(.kicker,.e-kicker){color:#6dd569!important}html body.cx-site main section.hp-form-section>.wrap :is(h1,h2,.lead,.muted){color:#fff!important}html body.cx-site main section.hp-form-section>.wrap .muted a{color:#d7f5e1!important}html body.cx-site form.hp-form-card{display:block!important;background:#fff!important;color:#123454!important;padding:clamp(18px,3vw,30px)!important;border:1px solid #d5e2eb!important;border-top:4px solid #25d366!important;border-radius:20px!important;box-shadow:0 16px 42px #071e3b40!important;min-width:0!important;margin:0!important}html body.cx-site form.hp-form-card .hp-form-heading{margin-bottom:20px;padding-bottom:17px;border-bottom:1px solid #d5e2eb}.hp-form-badge{display:inline-block;font-weight:800;font-size:11px;letter-spacing:.10em;color:#166534!important;background:#e7f6eb;border-radius:6px;padding:5px 8px;margin-bottom:8px}html body.cx-site form.hp-form-card .hp-form-heading h3{color:#123454!important;font-size:clamp(24px,3vw,32px)!important;line-height:1.15!important;margin:0 0 8px!important}html body.cx-site form.hp-form-card :is(p,label,.form__note){color:#334155!important}html body.cx-site form.hp-form-card label{font-size:14px!important;font-weight:650!important}html body.cx-site form.hp-form-card .form__chk{font-size:13px!important;font-weight:500!important}html body.cx-site form.hp-form-card :is(input:not([type=checkbox]),select,textarea){background:#f4f8fb!important;color:#123454!important;border:1px solid #9db5c7!important;border-radius:10px!important;min-height:46px!important;font-size:16px!important;padding:11px 12px!important;box-shadow:none!important;width:100%;min-width:0}html body.cx-site form.hp-form-card :is(input,textarea)::placeholder{color:#64748b!important}html body.cx-site form.hp-form-card :is(input,select,textarea):focus{outline:2px solid #124672!important;outline-offset:1px;background:white!important}html body.cx-site form.hp-form-card a{color:#124672!important;text-decoration:underline}html body.cx-site form.hp-form-card .btn{margin-top:12px!important;min-height:50px!important;width:100%!important}html body.cx-site .hp-form-section .contact-list>*{background:#fff!important;border-radius:12px!important;color:#123454!important}html body.cx-site .hp-form-section .contact-list :is(a,b,strong,p,small,span){color:#123454!important}
/* Compact locations, without equal-height artificial voids. */
.hp-locations-title{margin-bottom:22px}.hp-locations-title h2{font-size:clamp(27px,4vw,40px)!important;letter-spacing:-.035em;margin:5px 0 8px;color:#123454!important}.hp-locations-title p{color:#334155!important}html body.cx-site .sedes.hp-locations-enhanced{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:start!important;gap:16px!important}html body.cx-site .hp-locations-enhanced .sede.sede--map{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:16px!important;min-height:0!important;height:auto!important;padding:clamp(16px,2vw,24px)!important;border:1px solid #d5e2eb!important;border-radius:18px!important;box-shadow:0 6px 22px #1234540b!important;background:#fff!important}html body.cx-site .hp-locations-enhanced .sede.sede--map .sede__info{flex:0 0 auto!important;display:block!important;min-height:0!important}html body.cx-site .hp-locations-enhanced .sede__info .kicker{min-height:0!important}html body.cx-site .hp-locations-enhanced .sede__info address{margin:0!important}.hp-location-actions{display:grid;gap:10px;align-content:start;border-top:1px solid #d5e2eb;padding-top:14px}.hp-location-actions>.btn{min-height:44px!important;justify-content:center!important;width:100%!important;margin:0!important}.hp-location-actions .hpm-map{margin:0!important;min-height:0!important}.hp-location-actions>p{margin:0!important;font-size:14px!important}.hp-locations-enhanced .hpm-location{margin-top:16px!important}.hp-locations-enhanced .hpm-location img{max-width:180px}.hp-pay-logos{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0 6px;align-items:center}.hp-pay-logo{display:flex;justify-content:center;align-items:center;background:#fff;border:1px solid #d5e2eb;border-radius:9px;min-width:72px;min-height:46px;padding:8px;flex:1 1 72px;max-width:112px;transition:transform .2s,box-shadow .2s}.hp-pay-logo img{display:block!important;width:100%!important;max-width:80px!important;height:29px!important;object-fit:contain!important;margin:0!important;filter:none!important}.hp-pay-logo:hover{transform:translateY(-2px);box-shadow:0 5px 13px #12345415}
@media(max-width:900px){html body.cx-site .sedes.hp-locations-enhanced{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){.hp-switch-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hp-switch-tabs button{min-height:49px;padding:9px 6px!important;font-size:13px!important}.hp-region-panel .hc-region-body{grid-template-columns:1fr!important;gap:15px;padding:15px}.hp-region-panel .hc-region-body img{height:220px}.hp-region-panel .hc-link{width:100%;justify-content:center;font-size:13px}.hp-tech-heading{padding:14px}.hp-tech-panel .hc-compare-body{padding:12px}.hp-tech-panel .hc-compare-body>div{padding:12px}.hp-dual-enhanced .hc-dual-selects{gap:7px}.hp-dual-enhanced .hc-dual-selects label{padding:8px;font-size:12px}.hp-choice-chips{display:none}.hp-dual-enhanced .hc-dual-title{padding:12px 8px;font-size:14px}.hp-dual-enhanced .hp-comparison-cell{padding:10px 8px;font-size:13px}.hp-dual-enhanced .hc-dual-selects select{font-size:14px;min-height:46px}.hp-form-section .wrap.split{grid-template-columns:minmax(0,1fr)!important}.hp-form-card .form__row{grid-template-columns:1fr!important}.hp-pay-logo{max-width:none;flex:1 1 28%}.hp-form-section .wrap>*{min-width:0}.hp-mobile-dialog[open]~.wa-float{display:none!important}}
@media(max-width:600px){html body.cx-site .sedes.hp-locations-enhanced{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){.hp-panel-enter,.hp-mobile-dialog[open]{animation:none!important}.hp-switch-tabs button,.hp-choice-chips button,.hp-pay-logo{transition:none!important}}
html body.cx-site form.hp-form-card .form__chk{display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;gap:10px!important;align-items:start!important;margin-top:16px!important;line-height:1.6!important}html body.cx-site form.hp-form-card .form__chk input{margin-top:4px!important;width:18px!important;height:18px!important}html body.cx-site form.hp-form-card .form__chk span{display:block!important;min-width:0}html body.cx-site form.hp-form-card .form__chk a{display:inline!important;white-space:normal!important}
/* Locations use compact horizontal rows, with no equal height across different hospitals. */
html body.cx-site .sedes.hp-locations-enhanced{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
@media(min-width:701px){html body.cx-site .hp-locations-enhanced .sede.sede--map{display:grid!important;grid-template-columns:minmax(0,1.6fr) minmax(250px,1fr)!important;align-items:start!important;gap:28px!important}.hp-location-actions{border-top:0;border-left:1px solid #d5e2eb;padding:0 0 0 22px}.hp-location-actions .hpm-map[open]{width:100%}.hp-locations-enhanced .hpm-location{max-width:540px}}
@media(max-width:700px){.hp-choice-chips{display:grid;grid-template-columns:1fr;gap:5px}.hp-choice-chips button{min-height:40px;white-space:normal;overflow-wrap:anywhere}.hp-dual-enhanced .hc-dual-selects label{min-width:0}}
