:root{--pm-ink:#123454;--pm-primary:#124672;--pm-paper:#F4F8FB;--pm-form:#E6F3F8;--pm-form-line:#7596AB;--pm-accent-light:#6DD569;--pm-edge:#CBD5E155;--pm-warm:#25D36612;--pm-glow:#B8D9E75C;--pm-wash:#E6F3F8;--pm-dark-glow:#7DB4D333;--pm-dark-glow2:#25D36619;--pm-grain:#12467215;--pm-shadow-1:#12345412;--pm-shadow-2:#12467225;--pm-shadow-3:#12467238;--pm-shadow-4:#12345455}
/* Premium Medical Editorial UI — shared system, per-site palette. */
:root{--pm-radius:24px;--pm-radius-small:14px;--pm-space:8px;--pm-motion:cubic-bezier(.22,.72,.25,1);--pm-spring:cubic-bezier(.2,.8,.3,1.12);--pm-shadow:0 2px 5px var(--pm-shadow-1),0 12px 25px -11px var(--pm-shadow-2);--pm-shadow-medium:0 4px 10px var(--pm-shadow-1),0 19px 38px -13px var(--pm-shadow-3);--pm-shadow-high:0 6px 16px var(--pm-shadow-2),0 30px 54px -17px var(--pm-shadow-4);--pm-mesh-light:radial-gradient(ellipse at 95% 0%,var(--pm-glow),transparent 54%),radial-gradient(ellipse at 2% 100%,var(--pm-wash),transparent 55%),linear-gradient(135deg,#fff,var(--pm-paper));--pm-mesh-dark:radial-gradient(ellipse at 95% 0%,var(--pm-dark-glow),transparent 55%),radial-gradient(ellipse at 3% 100%,var(--pm-dark-glow2),transparent 48%),linear-gradient(125deg,var(--pm-ink),var(--pm-primary));}
html{scroll-padding-top:112px}body.pm-site{font-optical-sizing:auto;--pm-scroll:0px}body.pm-site :is(h1,h2,h3){text-wrap:balance}body.pm-site main :is(p,li){text-wrap:pretty}body.pm-site main :is(.prose,.cx-chapter) p{line-height:1.75}body.pm-site main :is(.kicker,.cx-tag,.bpx-eyebrow,.e-kicker,.ed-kicker,.lum-kicker,.hc-kicker){font-weight:750;letter-spacing:.09em;line-height:1.5;text-transform:uppercase;font-size:clamp(11px,.82vw,13px)}
html body.pm-site main :is(.cx-hero,.phero,.hero,.lum-hero,.e-pay-page) h1{font-size:clamp(2rem,4.15vw,4.25rem)!important;line-height:1.10!important;letter-spacing:-.038em!important;overflow-wrap:break-word}html body.pm-site main h2{line-height:1.2;letter-spacing:-.025em}html body.pm-site main :is(.h2,.cx-title){font-size:clamp(1.55rem,3vw,2.6rem)}
/* Glass header, reading progress and animated navigation accents. */
html body.pm-site header.hdr.hp-nav-refined{box-shadow:0 8px 30px -13px var(--pm-shadow-4)!important;border-bottom:1px solid var(--pm-edge)!important;view-transition-name:pm-header}
@supports(backdrop-filter:blur(10px)){html body.pm-site header.hdr.hp-nav-refined{backdrop-filter:blur(14px) saturate(115%)}}
.pm-progress{position:absolute;left:0;right:0;bottom:-2px;height:3px;z-index:3;pointer-events:none;background:transparent}.pm-progress>span{display:block;height:100%;background:var(--pm-accent-light);transform:scaleX(var(--pm-read,0));transform-origin:left;transition:transform .09s linear}
body.pm-site .nav :is(a,button){text-underline-offset:5px}body.pm-site .nav :is(a,button):hover{text-decoration:underline;text-decoration-color:var(--pm-accent-light)}
/* Ambient light and grain, decorative only. Preserve light and dark hero modes. */
html body.pm-site main > [data-pm-hero]{position:relative;isolation:isolate}html body.pm-site main > [data-pm-hero="light"]{background:var(--pm-mesh-light)!important}html body.pm-site main > [data-pm-hero="dark"]{background:var(--pm-mesh-dark)!important}html body.pm-site main > [data-pm-hero]::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:radial-gradient(circle at 100% calc(0px + var(--pm-scroll)),transparent 100px,var(--pm-edge) 101px 102px,transparent 103px 145px,var(--pm-edge) 146px 147px,transparent 148px),radial-gradient(circle,var(--pm-grain) .65px,transparent .85px);background-size:auto,6px 6px;mask-image:linear-gradient(100deg,transparent 20%,#000)}
body.pm-site[data-pm-area="finanzas"]{--pm-mesh-light:radial-gradient(ellipse at 90% 0%,var(--pm-glow),transparent 45%),linear-gradient(120deg,#fff,var(--pm-paper))}body.pm-site[data-pm-area="perfil"]{--pm-mesh-light:radial-gradient(ellipse at 95% 0%,var(--pm-warm),transparent 50%),linear-gradient(130deg,#fff,var(--pm-paper))}body.pm-site[data-pm-area="revision"]{--pm-mesh-light:radial-gradient(ellipse at 90% 5%,var(--pm-glow),transparent 55%),linear-gradient(155deg,#fff,var(--pm-paper))}
/* Independent card elevation hierarchy, no changes to clinical imagery. */
html body.pm-site main [data-pm-card]{min-width:0;border-radius:20px!important;box-shadow:var(--pm-shadow)!important;transition:box-shadow .32s var(--pm-motion),translate .3s var(--pm-motion),border-color .25s var(--pm-motion),scale .25s var(--pm-motion)!important}html body.pm-site main [data-pm-card="medium"]{box-shadow:var(--pm-shadow-medium)!important;border-radius:22px!important}html body.pm-site main [data-pm-card="high"]{box-shadow:var(--pm-shadow-high)!important;border-radius:var(--pm-radius)!important}html body.pm-site main [data-pm-card] img{max-width:100%}html body.pm-site main [data-pm-card] :is(.lum-card-media,.bp-access-media,.bp-room-photo,.hpm-room-photo,.hp-cred-preview){border-radius:14px}html body.pm-site main [data-pm-card]:focus-within{outline:2px solid var(--pm-primary);outline-offset:3px}
@media(hover:hover) and (pointer:fine){html body.pm-site main [data-pm-card]:not(:has(input,select,textarea,iframe)):hover{translate:0 -3px;box-shadow:var(--pm-shadow-high)!important;border-color:var(--pm-primary)!important}html body.pm-site main [data-pm-photo] img{transition:scale .4s var(--pm-motion)}html body.pm-site main [data-pm-photo]:hover img{scale:1.018}}
html body.pm-site main [data-pm-edge]{position:relative;isolation:isolate}html body.pm-site main [data-pm-edge]::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1.5px;background:linear-gradient(145deg,var(--pm-accent-light),#fff,var(--pm-primary));mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;pointer-events:none;z-index:1}
html body.pm-site main [data-pm-feature="light"]{background:var(--pm-mesh-light)!important}html body.pm-site main [data-pm-feature="light"] :is(h2,h3,p,strong,.cx-num,.cx-go){color:var(--pm-ink)!important}html body.pm-site main [data-pm-photo]{border-radius:24px!important;box-shadow:var(--pm-shadow-medium)!important;overflow:hidden}
/* Editorial grids, measured whitespace and bento composition without reordering. */
@media(min-width:1000px){html body.pm-site .pm-bento{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;align-items:stretch!important}html body.pm-site .pm-bento> :first-child{grid-column:span 2}html body.pm-site .pm-bento> :nth-child(4):last-child{grid-column:1/-1;display:grid!important;grid-template-columns:minmax(120px,1fr) minmax(0,3fr);align-items:center;gap:12px 22px}html body.pm-site .pm-bento> :nth-child(4):last-child .bp-access-media{grid-column:1;grid-row:1/5}html body.pm-site .pm-bento> :nth-child(4):last-child :is(.cx-num,strong,p,.cx-go){grid-column:2}html body.pm-site .pm-bento> :nth-child(4):last-child .cx-num{position:static}html body.pm-site .pm-bento> :nth-child(4):last-child .cx-go{margin:0!important}html body.pm-site .pm-bento> :nth-child(4):last-child .bp-access-media{height:110px!important;max-width:100%}}
@media(min-width:950px){html body.pm-site .pm-finance-grid{display:grid!important;grid-template-columns:minmax(0,1.18fr) minmax(0,1fr) minmax(0,1fr)!important;gap:18px!important;align-items:stretch!important}html body.pm-site .pm-finance-grid>article{height:auto!important;min-height:0!important;align-self:stretch;display:flex!important;flex-direction:column;gap:8px}html body.pm-site .pm-finance-grid>article>a:last-child{margin-top:auto!important}html body.pm-site[data-pm-area="ubicaciones"] .sedes{align-items:start!important}html body.pm-site[data-pm-area="contacto"] .split:has(form.form){grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)!important;align-items:start!important}}
html body.pm-site main :is(.cx-option,.bp-guide,.lum-card,.rel,.payc,.sede){min-height:0}html body.pm-site main :is(.cx-num,.bpx-num,.bp-health-n,.hc-point>summary>span){border-radius:10px}html body.pm-site main :is(.cx-num,.bp-health-n){background:var(--pm-paper);color:var(--pm-ink)}
/* Forms have a palette-specific luminous surface and readable dark text. */
html body.pm-site.cx-site main form.form[data-pm-form]{background:var(--pm-form)!important;background-image:none!important;color:var(--pm-ink)!important;border:1px solid var(--pm-form-line)!important;border-top:1px solid var(--pm-form-line)!important;border-radius:24px!important;box-shadow:var(--pm-shadow-high)!important;padding:clamp(20px,3.2vw,36px)!important;min-width:0!important;max-width:100%}
html body.pm-site.cx-site main form.form[data-pm-form] :is(h2,h3,p,label,small,.form__title,.form__intro,.form__note,.form__chk,.form__chk span,.bpx-eyebrow,.hp-form-heading h3,.hp-form-heading p){color:var(--pm-ink)!important;opacity:1!important}html body.pm-site.cx-site main form.form[data-pm-form] .form__chk a{color:var(--pm-primary)!important;text-decoration:underline!important}html body.pm-site.cx-site main form.form[data-pm-form] :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:48px!important;background:#fff!important;color:var(--pm-ink)!important;border:1px solid var(--pm-form-line)!important;border-radius:12px!important;box-shadow:inset 0 2px 5px var(--pm-shadow-1)!important;font-size:16px!important;width:100%;min-width:0;transition:box-shadow .2s,border-color .2s!important}html body.pm-site.cx-site main form.form[data-pm-form] :is(input,textarea)::placeholder{color:#475569!important;opacity:1!important}html body.pm-site.cx-site main form.form[data-pm-form] :is(input:not([type=checkbox]),select,textarea):focus{border-color:var(--pm-primary)!important;outline:2px solid var(--pm-primary)!important;outline-offset:1px;box-shadow:0 0 0 5px var(--pm-glow)!important}html body.pm-site.cx-site main form.form[data-pm-form] :is(input[type=checkbox],input[type=radio]){accent-color:var(--pm-primary);width:19px!important;height:19px!important;min-height:0!important}html body.pm-site.cx-site main form.form[data-pm-form] .form__row{gap:14px!important}html body.pm-site.cx-site main form.form[data-pm-form] .form__chk{line-height:1.55!important}html body.pm-site.cx-site main form.form[data-pm-form] button[type=submit]{background:#15803D!important;color:white!important;border-color:#15803D!important;min-height:48px!important;border-radius:13px!important;box-shadow:0 8px 18px #14532d26!important}html body.pm-site.cx-site main form.form[data-pm-form] button[type=submit]:hover{background:#166534!important}html body.pm-site.cx-site main form.form[data-pm-form] :is(.bpx-sede-options,.hp-choice-chips) button{min-height:44px;white-space:normal;overflow-wrap:anywhere}html body.pm-site.cx-site main form.form[data-pm-form] .form__status:not(:empty){border-radius:10px;padding:10px;background:#fff!important;color:var(--pm-ink)!important}
/* Button sheen, feedback, focus and directional motion. */
body.pm-site main :is(a.btn,button.btn){transition:box-shadow .26s var(--pm-motion),translate .25s var(--pm-spring),scale .2s var(--pm-motion),background-color .22s,border-color .22s!important}body.pm-site main [data-pm-shine]{position:relative;overflow:hidden;isolation:isolate}body.pm-site main [data-pm-shine]::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 35%,#ffffff50 50%,transparent 65%);translate:-110% 0;transition:translate .65s var(--pm-motion)}@media(hover:hover) and (pointer:fine){body.pm-site main [data-pm-shine]:hover::after{translate:110% 0}body.pm-site main :is(a.btn,button.btn):not(:disabled):hover{translate:0 -2px;box-shadow:var(--pm-shadow-medium)}}body.pm-site main :is(a.btn,button.btn):not(:disabled):active{scale:.98;translate:0 0}body.pm-site main :is(.cx-go,.rel__go,.bp-new-link,.lum-card-action){text-underline-offset:5px;transition:letter-spacing .24s var(--pm-motion)}body.pm-site main a:hover :is(.cx-go,.rel__go,.lum-card-action){text-decoration:underline}body.pm-site main :is(.cx-go,.rel__go,.lum-card-action) span{display:inline-block;transition:translate .25s var(--pm-motion)}body.pm-site main a:hover :is(.cx-go,.rel__go,.lum-card-action) span{translate:3px 0}
body.pm-site :focus-visible{outline:3px solid var(--pm-primary);outline-offset:3px}body.pm-site header :focus-visible{outline-color:var(--pm-accent-light)}body.pm-site main :is(button[aria-pressed=true],button[aria-selected=true]){box-shadow:inset 0 -3px var(--pm-accent-light)!important}body.pm-site main :is(.bpx-tabs,.lum-filter,.hp-switch-tabs){scroll-snap-type:x proximity}body.pm-site main :is(.bpx-tabs,.lum-filter,.hp-switch-tabs)>*{scroll-snap-align:start}body.pm-site main :is(.tcards,.hp-review-track){scroll-snap-type:x proximity}body.pm-site main :is(.tcards,.hp-review-track)>*{scroll-snap-align:start}
/* Contextual navigation is progressive and nonblocking. */
.pm-local{position:fixed;z-index:30;left:18px;bottom:18px;max-width:min(260px,calc(100vw - 36px));background:#fff;color:var(--pm-ink);border:1px solid var(--pm-form-line);border-radius:16px;box-shadow:var(--pm-shadow-medium);display:none;font-size:13px}.pm-local.pm-visible{display:block}.pm-local summary{padding:12px 16px;cursor:pointer;font-weight:750}.pm-local nav{display:grid;gap:3px;padding:0 10px 10px;max-height:min(48vh,360px);overflow:auto}.pm-local a{color:var(--pm-ink);padding:8px;border-radius:8px;text-decoration:none;line-height:1.35}.pm-local a[aria-current=location]{background:var(--pm-paper);border-left:3px solid var(--pm-primary);font-weight:700}.pm-local a:hover{text-decoration:underline}
@media(max-width:720px){html body.pm-site main form.form[data-pm-form]{padding:19px!important;border-radius:20px!important}html body.pm-site main form.form[data-pm-form] .form__row{grid-template-columns:minmax(0,1fr)!important}html body.pm-site main [data-pm-card]{box-shadow:0 3px 8px var(--pm-shadow-1),0 10px 22px -12px var(--pm-shadow-3)!important}html body.pm-site main form.form[data-pm-form]{box-shadow:0 16px 30px -10px var(--pm-shadow-4)!important}.pm-local{left:10px;bottom:10px;max-width:calc(100vw - 90px)}body.pm-site main :is(h1,h2,h3){overflow-wrap:break-word}}
@media(prefers-reduced-motion:reduce){body.pm-site *,body.pm-site *::before,body.pm-site *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}body.pm-site main [data-pm-card]:hover{translate:none!important;scale:none!important}body.pm-site main [data-pm-photo]:hover img{scale:none!important}}
@view-transition{navigation:auto}::view-transition-old(root),::view-transition-new(root){animation-duration:180ms}@media(prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation-duration:.01ms}}
html body.pm-site .hp-repara-band{background:radial-gradient(ellipse at 96% 0%,#25D36624,transparent 50%),linear-gradient(120deg,#123454,#124672)!important;border-radius:24px!important;box-shadow:var(--pm-shadow-high)!important}html body.pm-site .hp-stage{border-radius:16px!important;transition:border-color .24s,box-shadow .24s!important}html body.pm-site .hp-stage[open]{box-shadow:0 5px 20px #071e3b30!important}html body.pm-site .hp-repara-heading h2 strong{color:#25D366!important}html body.pm-site .ed-rescue-grid{gap:clamp(18px,3vw,34px)!important}html body.pm-site .hp-pay-logo{border-radius:12px!important;box-shadow:0 4px 10px #12345410!important}html body.pm-site .hp-finance-panel{padding:clamp(18px,3vw,32px)!important}html body.pm-site .hp-finance-results{gap:12px!important}html body.pm-site .hp-form-heading .hp-form-badge{background:#123454!important;color:#fff!important}html body.pm-site .hp-choice-chips button[aria-pressed=true]{background:#123454!important;color:#fff!important}

/* Final specificity alignment with the legacy theme, responsive resource sizing. */
html body.cx-site.pm-site main#contenido > [data-pm-hero="dark"]{background:var(--pm-mesh-dark)!important}html body.cx-site.pm-site main#contenido > [data-pm-hero="light"]{background:var(--pm-mesh-light)!important}
html body.cx-site.pm-site main :is(.bp-insurance-tile,.bpx-tech-logos,.bpx-media,.hpm-punta-brand) img{max-width:100%!important;min-width:0!important;object-fit:contain!important}html body.cx-site.pm-site main :is(.bp-insurance-tile,.bpx-tech-logos,.bpx-media,.hpm-punta-hero,.hpm-punta-hero>div,.hpm-punta-brand){min-width:0!important;max-width:100%!important}html body.cx-site.pm-site main .bp-insurance-tile img{width:auto!important;height:auto!important;max-height:65px!important}html body.cx-site.pm-site main .bpx-tech-logos{flex-wrap:wrap!important}html body.cx-site.pm-site main .bpx-media img{width:100%!important;height:auto!important}
@media(max-width:700px){html body.cx-site.pm-site main .hpm-punta-hero{grid-template-columns:minmax(0,1fr)!important;width:100%!important;padding:18px!important}html body.cx-site.pm-site main .hpm-punta-hero>div{width:100%!important}html body.cx-site.pm-site main .hpm-punta-brand img{width:100%!important;height:auto!important}html body.cx-site.pm-site main .bpx-tech-logos img{max-width:min(100%,150px)!important}html body.cx-site.pm-site main .bpx-media{width:100%!important}html body.cx-site.pm-site main .bp-insurance-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
/* Editorial bento: the clinical case has a dominant panel, with paired supporting routes. */
html body.cx-site.pm-site main .ed-port-case,html body.cx-site.pm-site main .ed-port-stack>a{border-radius:22px!important;box-shadow:var(--pm-shadow-medium)!important;min-width:0}html body.cx-site.pm-site main .ed-port-grid{gap:18px!important}html body.cx-site.pm-site main .ed-port-stack{gap:18px!important} @media(min-width:1000px){html body.cx-site.pm-site main .ed-port-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)!important;align-items:stretch!important}html body.cx-site.pm-site main .ed-rescue-grid{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)!important}html body.cx-site.pm-site main .ed-route-list{gap:12px!important}}
@supports(backdrop-filter:blur(12px)){html body.cx-site.pm-site header.hdr.hp-nav-refined{background:color-mix(in srgb,var(--pm-ink) 96%,transparent)!important;backdrop-filter:blur(14px) saturate(115%)}}
/* Shape morph and focus are intentionally restricted to noncritical secondary links. */
@media(hover:hover) and (pointer:fine){body.pm-site main [data-pm-magnetic]{transition:transform .24s var(--pm-motion),border-radius .24s var(--pm-motion);border-radius:8px}body.pm-site main [data-pm-magnetic]:hover{border-radius:16px}}
