/* Character-led contact and recovery screens, using the approved illustration. */
html:has(dialog[open]){overflow:hidden}
.contact-grid>*{min-width:0}.contact-cards .link-card>span:nth-child(2){min-width:0}.contact-cards .link-card small{overflow-wrap:anywhere}
.contact-dialog{width:min(620px,calc(100% - 28px));padding:0;border-radius:26px;background:#f5fafd}
.contact-welcome{position:relative;isolation:isolate;overflow:hidden;min-height:245px;background:linear-gradient(120deg,#073756,#126ba0 70%,#43bde2);color:#fff;padding:34px 30px}
.contact-welcome:before{content:'';position:absolute;width:280px;height:280px;border:40px solid #77dfff25;border-radius:50%;right:-105px;top:-120px;z-index:-1}
.contact-welcome-copy{position:relative;z-index:2;width:61%}.contact-kicker{font-size:9px;font-weight:700;letter-spacing:.11em;color:#a5e8ff}.contact-welcome h2{font-size:31px;line-height:1.12;letter-spacing:-.045em;margin:15px 0}.contact-welcome p{font-size:12px;line-height:1.65;color:#e5f5fc;margin:0}
.contact-character{position:absolute;width:186px;height:186px;right:24px;bottom:24px;border:7px solid #89daf1;border-radius:50% 50% 48% 18%;overflow:hidden;transform:rotate(-5deg);box-shadow:0 12px 30px #00324d50;background:#59c3e9}.contact-character img{width:100%;height:100%;object-fit:cover;object-position:76% 16%;transform:scale(1.7) translate(-10%,17%) rotate(5deg)}
.contact-welcome>.dialog-close{position:absolute;z-index:4;right:13px;top:13px;background:#ffffffec;color:#103b53;width:36px;height:36px;border-radius:50%}.contact-welcome>.dialog-close:hover{background:#c5efff}.contact-choices{padding:20px 24px 22px}.contact-option,.emergency-choice{background:#fff;border:1px solid #d7e8f2;border-radius:13px;margin-bottom:10px;transition:box-shadow .2s,border-color .2s}.contact-option,.emergency-choice summary{padding:15px;gap:14px}.emergency-choice summary{border:0}.emergency-choice{background:#fff4ef;border-color:#f2d3c5}.contact-option[data-track="whatsapp_comercial"]{background:#eaf8ee;border-color:#c8e9d2}.contact-option[data-track="llamada_guardia"]{background:#e5f3fc;border-color:#c6e3f4}.contact-option:hover,.emergency-choice:hover{border-color:#4292bd;box-shadow:0 3px 12px #103c5710}.contact-option strong,.emergency-choice strong{font-size:14px}.contact-option small,.emergency-choice small{font-size:10px;color:#385b70;line-height:1.5}.contact-dialog .icon-box{width:46px;height:46px;background:#fff;flex-shrink:0}.emergency-lines{margin:0 12px 12px;padding:15px;background:#fff}.emergency-lines a{min-height:44px}.emergency-guide{margin:15px 4px 0;min-height:30px;font-size:11px;color:#17618c}
.error-section{padding-top:42px;padding-bottom:70px}.error-stage{display:grid;grid-template-columns:1.12fr 1fr;overflow:hidden;border-radius:30px;background:#eaf6fc;min-height:550px}.error-copy{padding:58px 36px 58px 48px;align-self:center}.error-copy .eyebrow{font-size:10px;color:#14658d}.error-copy h1{font-size:clamp(33px,3.65vw,55px);line-height:1.08;letter-spacing:-.05em;color:#073653;margin:24px 0}.error-copy>p{font-size:14px;line-height:1.9;max-width:470px;color:#3c5e72}.error-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.error-search{color:#0c527a;border:1px solid #b3d7eb;background:#fff}.error-bill{display:inline-flex;align-items:center;gap:12px;margin-top:25px;font-size:13px;font-weight:600;color:#135d85}.error-art{position:relative;min-width:0;background:#75c9f1;isolation:isolate}.error-art>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% 35%}.error-art:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#052e4bcc,transparent 50%);z-index:0}.error-number{position:absolute;z-index:1;bottom:5px;left:25px;font-size:145px;line-height:1;font-weight:700;letter-spacing:-.08em;color:#fff}.error-label{position:absolute;top:26px;left:22px;z-index:1;background:#fff;color:#125476;box-shadow:0 8px 30px #12385830;padding:13px 18px;border-radius:25px 25px 25px 5px;font-size:12px;font-weight:600;transform:rotate(-4deg)}.error-links{margin-top:24px}
.zona-fria-logo{object-fit:contain!important;flex-shrink:0;background:transparent}.benefit-symbol{background:transparent!important;box-shadow:none!important}.benefit-symbol .zona-fria-logo{width:110px;height:110px;max-width:none}.page-icon:has(.zona-fria-logo){background:transparent;box-shadow:none}.page-icon .zona-fria-logo{width:100%;height:100%}.icon-box:has(.zona-fria-logo){background:transparent}.icon-box .zona-fria-logo{width:100%;height:100%}.dropdown a:has(.zona-fria-logo){display:flex;gap:10px;align-items:center}.dropdown a .zona-fria-logo{width:28px;height:28px}.footer-main a:has(.zona-fria-logo){display:flex;align-items:center;gap:8px}.footer-main a .zona-fria-logo{width:30px;height:30px}.design-credit{display:inline-flex;align-items:center;gap:4px;min-height:30px}.design-credit:hover{text-decoration:underline}
@media(max-width:760px){.error-stage{grid-template-columns:1fr}.error-copy{padding:32px 26px}.error-copy h1{font-size:38px}.error-copy>p{font-size:13px}.error-art{height:360px}.error-art>img{object-position:center 27%}.error-number{font-size:112px}.error-section{padding-top:24px}.error-links{grid-template-columns:1fr}.benefit-symbol .zona-fria-logo{width:70px;height:70px}}
@media(max-width:480px){.contact-welcome{min-height:222px;padding:30px 20px}.contact-welcome-copy{width:67%}.contact-kicker{font-size:7px}.contact-welcome h2{font-size:26px;margin:16px 0 13px}.contact-welcome p{font-size:10px;max-width:185px}.contact-character{width:126px;height:145px;right:-9px;bottom:15px;border-width:5px}.contact-choices{padding:14px}.contact-option,.emergency-choice summary{padding:13px 11px;gap:10px}.contact-option strong,.emergency-choice strong{font-size:12px}.contact-option small,.emergency-choice small{font-size:9px}.contact-dialog .icon-box{width:39px;height:39px}.contact-option>.icon,.emergency-choice summary>.icon{width:16px;flex-shrink:0}.contact-welcome>.dialog-close{width:32px;height:32px;top:9px;right:9px}.emergency-guide{font-size:10px}.footer-bottom .design-credit{flex-basis:100%}.error-copy h1{font-size:34px}}
@media(prefers-reduced-motion:reduce){.contact-option,.emergency-choice{transition:none}}
/* Telephone attendant and compact screens: emergency numbers replace the choices. */
.contact-welcome{min-height:216px;padding:30px}.contact-character{width:198px;height:198px;right:13px;bottom:0;border:0;border-radius:0;overflow:visible;transform:none;box-shadow:none;background:none}.contact-character img{object-fit:contain;object-position:bottom;transform:none;filter:drop-shadow(0 8px 12px #07375644)}
.contact-dialog:has(.emergency-choice[open]) .contact-option,.contact-dialog:has(.emergency-choice[open]) .emergency-guide{display:none}.contact-dialog:has(.emergency-choice[open]) .contact-welcome{min-height:152px;padding-block:24px}.contact-dialog:has(.emergency-choice[open]) .contact-welcome h2{font-size:25px;margin:10px 0}.contact-dialog:has(.emergency-choice[open]) .contact-welcome p{display:none}.contact-dialog:has(.emergency-choice[open]) .contact-character{height:145px;width:155px}.contact-dialog:has(.emergency-choice[open]) .emergency-choice{margin:0}.emergency-choice[open] summary>.icon{transform:rotate(180deg)}
.contact-back{display:block;min-height:40px;border:1px solid #b7d6e6;border-radius:8px;background:#e9f6fc;color:#155373;padding:7px 13px;font:600 11px Montserrat,Arial,sans-serif;width:100%;margin-top:12px}.contact-back:hover{background:#d0edf9}.emergency-lines p .guardia-alternativa{display:inline;background:none;padding:0;border:0;font-size:inherit;min-height:0;text-decoration:underline;font-weight:600}
@media(max-width:480px){.contact-welcome{min-height:188px;padding:27px 20px 20px}.contact-welcome-copy{width:66%}.contact-welcome h2{font-size:25px}.contact-character{width:151px;height:158px;right:-6px}.contact-welcome p{font-size:10px}.contact-dialog:has(.emergency-choice[open]) .contact-welcome{min-height:131px;padding:22px 20px}.contact-dialog:has(.emergency-choice[open]) .contact-welcome h2{font-size:23px}.contact-dialog:has(.emergency-choice[open]) .contact-character{width:120px;height:125px;right:4px}.emergency-lines>div{gap:7px;margin-bottom:12px}.emergency-lines a{font-size:10px;padding:8px 12px}.contact-back{margin-top:8px}.emergency-lines{padding:12px}.emergency-lines p{font-size:9px}.contact-choices{padding:12px}.contact-option,.emergency-choice summary{padding:12px}.contact-option strong,.emergency-choice strong{font-size:12px}}
@media(max-height:650px){.contact-welcome{min-height:152px;padding-block:22px}.contact-welcome h2{font-size:25px;margin:10px 0}.contact-welcome p{font-size:10px}.contact-character{height:148px;width:150px}.contact-choices{padding:10px 14px}.contact-option,.emergency-choice summary{padding:10px 12px}.contact-option,.emergency-choice{margin-bottom:8px}.emergency-guide{margin-top:8px}.contact-dialog:has(.emergency-choice[open]) .contact-welcome{min-height:117px;padding-block:15px}.contact-dialog:has(.emergency-choice[open]) .contact-character{height:112px;width:115px}.emergency-lines>div{margin-bottom:10px}.emergency-lines p{font-size:9px}}
.contact-office{position:relative;isolation:isolate;display:flex;align-items:center;overflow:hidden;min-height:260px;padding:30px;border-radius:22px;background:linear-gradient(120deg,#073756,#1679ad);color:white;margin-bottom:22px}.contact-office:before{content:'';position:absolute;width:260px;height:260px;border:35px solid #82dbf52a;border-radius:50%;right:-75px;top:-80px;z-index:-1}.contact-office>div{position:relative;z-index:1;width:63%}.contact-office .eyebrow{font-size:9px;color:#a4e8ff}.contact-office h2{font-size:35px;line-height:1.08;letter-spacing:-.04em;margin:16px 0}.contact-office p{font-size:12px;color:#e0f4ff;line-height:1.7}.contact-office>img{position:absolute;right:-8px;bottom:0;width:51%;max-height:248px;object-fit:contain;object-position:bottom}.contact-cards>.link-card{margin-bottom:12px}.contact-form{border-top:5px solid #41b1dc}.contact-form h2{color:#12567d}@media(max-width:760px){.contact-office{min-height:220px;padding:25px}.contact-office h2{font-size:30px}.contact-office>img{max-height:207px;width:49%}.contact-office p{font-size:10px}.contact-office .eyebrow{font-size:8px}}

.article-share{margin:42px 0 0;padding:30px;border:1px solid #cce5f2;border-radius:22px;background:linear-gradient(120deg,#e9f6fd,#f6fbfe);overflow:hidden}.share-intro{display:flex;gap:18px;align-items:center;margin-bottom:22px}.share-symbol{display:grid;place-items:center;width:64px;height:64px;flex-shrink:0;background:#126da1;color:#fff;border-radius:19px 19px 19px 5px;box-shadow:7px 7px 0 #c3e8f9}.share-symbol .icon{width:30px;height:30px}.share-kicker{font-size:9px;font-weight:700;letter-spacing:.11em;color:#2780ae}.prose .share-intro h2{font-size:25px;line-height:1.2;margin:8px 0;color:#123e5b}.prose .share-intro p{font-size:12px;color:#476d83;margin:0}.share-options{display:flex;gap:10px;flex-wrap:wrap}.share-option{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;border:1px solid #cbdfe9;border-radius:11px;background:#fff;color:#1b5271;text-decoration:none!important;padding:11px 16px;font:600 12px Montserrat,Arial,sans-serif;cursor:pointer;transition:transform .15s,box-shadow .15s}.share-option:hover{transform:translateY(-2px);box-shadow:0 5px 12px #17415b14}.share-option .icon{width:20px;height:20px}.share-whatsapp{color:#146a43;border-color:#b8ddc8;background:#f1fbf5}.share-facebook{color:#1765bd}.share-x{color:#1f3544}.native-share[hidden]{display:none}.share-copy-row{display:flex;gap:12px;margin-top:18px;padding:7px 8px 7px 15px;border:1px solid #c5dce9;border-radius:12px;background:#ffffffc9;min-width:0}.share-copy-row input{min-width:0;flex:1;width:0;border:0;background:transparent;color:#4b7085;font:400 11px Montserrat,Arial,sans-serif;padding:4px 0;text-overflow:ellipsis}.share-copy{display:inline-flex;gap:9px;align-items:center;justify-content:center;min-height:44px;border:0;border-radius:9px;background:#126d9f;color:white;padding:10px 15px;font:600 11px Montserrat,Arial,sans-serif;cursor:pointer;white-space:nowrap}.share-copy:hover{background:#0d547c}.share-copy .icon{width:17px;height:17px}.prose .share-status{min-height:0;margin:0;font-size:11px;color:#176948}.prose .share-status:not(:empty){margin-top:12px}.article-share a:focus-visible,.article-share button:focus-visible,.share-copy-row input:focus-visible{outline:3px solid #e1aa3a;outline-offset:3px}
@media(max-width:700px){.article-share{padding:22px;margin-top:30px}.share-intro{align-items:flex-start;gap:15px}.share-symbol{width:47px;height:47px;border-radius:14px 14px 14px 4px;box-shadow:5px 5px 0 #c3e8f9}.share-symbol .icon{width:23px;height:23px}.share-kicker{font-size:7px}.prose .share-intro h2{font-size:21px;margin-top:6px}.prose .share-intro p{font-size:11px}.share-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.share-option{padding:11px 9px;font-size:11px}.native-share{grid-column:1/-1}.share-copy-row{display:block;padding:10px}.share-copy-row input{display:block;width:100%;min-height:36px;margin-bottom:7px}.share-copy{width:100%}}
@media(prefers-reduced-motion:reduce){.share-option{transition:none}.share-option:hover{transform:none}}
@media print{.article-share{display:none}}

/* Línea gratuita de guardia: etiqueta visible y número destacado. */
.free-phone-badge{display:inline-flex;align-items:center;justify-content:center;width:fit-content;max-width:100%;padding:5px 10px;border-radius:5px;background:#075780;color:#fff;font-size:11px;font-weight:800;line-height:1.4;letter-spacing:.055em;text-transform:uppercase}
.free-phone-number{display:block;color:#073958;font-size:18px;font-weight:800;line-height:1.5;letter-spacing:0;margin-top:3px;white-space:nowrap}
.service-phones a.free-phone{padding:12px 18px;background:#e1f1fb;border:2px solid #0878b5;border-radius:10px;gap:4px}
.service-phones a.free-phone small{color:#17485f;font-weight:600}.service-phones a.free-phone strong{font-size:18px}
.link-card.guardia-card{border:2px solid #0878b5;background:#eaf6fd}.guardia-card .free-phone-badge{margin-bottom:7px}.guardia-card .icon-box{background:#fff}
.contact-option[data-track="llamada_guardia"]{border:2px solid #0878b5;background:#e1f1fb}.contact-option[data-track="llamada_guardia"] .free-phone-badge{margin-bottom:5px}.contact-option[data-track="llamada_guardia"] .free-phone-number{font-size:18px}
.utility-bar .shell>a>strong{padding:3px 7px;border-radius:4px;background:#d7efff;color:#073958;font-weight:800}
@media(max-width:760px){.service-phones a.free-phone{padding:11px 10px}.service-phones a.free-phone strong{font-size:16px}.free-phone-badge{font-size:10px}.utility-bar .shell>a{flex-wrap:wrap;gap:5px}.contact-option[data-track="llamada_guardia"]{padding:14px 12px;gap:10px}}

/* One small thematic portrait per interior heading. */
.page-character{display:block;flex:0 0 146px;width:146px;height:146px;border-radius:50%;background:#e8f5fc;box-shadow:0 5px 18px #103b560b}
.page-character img{display:block;width:100%;height:100%;object-fit:contain}
.page-heading.has-character>div{min-width:0}
@media(max-width:760px){.page-character{flex-basis:78px;width:78px;height:78px}.page-heading.has-character{gap:16px}}
@media print{.page-character{display:none}}

.og-visual-archive .page-heading.has-character{display:flex}
@media(max-width:760px){.og-visual-archive .page-heading.has-character h1{font-size:clamp(30px,7.5vw,38px)}}

/* Reserve the WhatsApp corner so the complete design credit stays clickable. */
.footer-bottom{flex-wrap:wrap;padding-right:210px;gap:12px 28px}
.footer-bottom .design-credit{display:block;line-height:1.7;padding-block:8px}
@media(max-width:760px){.footer-bottom{padding-right:80px;gap:13px 24px}}

@media(max-width:380px){.page-heading.has-character{flex-direction:column;gap:18px}.page-heading.has-character>div{width:100%}}

/* Contractor identities retain their original colors and aspect ratios. */
.professional-head.has-logo{display:block}
.professional-logo{display:flex;align-items:center;justify-content:flex-start;width:min(100%,240px);height:74px;margin-bottom:18px;background:#fff}
.professional-logo img{display:block;width:100%;height:100%;object-fit:scale-down;object-position:left center}
.professional-logo-dark{padding:12px;border-radius:8px;background:#173147}
.professional-head>div{min-width:0}.professional-head h2{overflow-wrap:anywhere}

/* Nuevo canal para informar cortes: mismo dato en todos los bloques. */
.cortes-card,.contact-option.outage-option{background:#edf8fd;border:2px solid #2b80b5}
.cortes-card .icon-box,.outage-option .icon-box{background:#fff;color:#1679b0}
.cortes-card small{font-size:14px;font-weight:600;color:#17485f}
.outage-support{margin-block:24px}
.footer-contact .footer-outage{align-items:flex-start;gap:12px}
.footer-outage>span{display:flex;flex-direction:column;gap:5px}
.footer-outage strong{color:#fff;font-size:12px}
.service-phones>.shell{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.service-phones-label{grid-column:1/-1}
.service-phones a{min-width:0}
.service-phones .outage-phone{padding:12px;border:2px solid #2b80b5;background:#fff;border-radius:10px}
.service-phones .outage-phone small{color:#17485f;font-weight:600}
.service-phones .outage-phone span{font-size:10px;color:#385b70}
.contact-dialog{max-height:calc(100dvh - 28px);overflow-y:auto}
@media(max-width:1050px){.service-phones>.shell{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.service-phones>.shell{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.service-phones .outage-phone{grid-column:1/-1}.cortes-card small{font-size:12px}}
