.estimate-scope{margin:-.35rem 0 .3rem}
.estimate-extras{border:1px solid #808b9a55;border-radius:14px;padding:1rem;margin:0;min-width:0}
.estimate-extras legend{font-weight:700;padding:0 .4rem}
.estimate-extras label{display:grid;grid-template-columns:auto 1fr auto;gap:.6rem;align-items:center;padding:.55rem 0}
.estimate-extras label[hidden]{display:none}
.estimate-extras input[type=checkbox]{width:1.05rem;height:1.05rem;min-height:0;margin:0}
.estimate-extras small{white-space:nowrap}
.estimate-result{align-self:start}
.news-content{padding-block:1.5rem 4rem}
.news-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:1rem}
.news-grid h2{font-size:1.125rem;margin:.45rem 0;line-height:1.35}
.news-grid h2 a{text-decoration:none;color:inherit}
.news-grid h2 a:hover{text-decoration:underline}
.news-article{max-width:48rem}
.news-share{display:flex;flex-wrap:wrap;gap:.8rem 1rem;margin-block:1rem}
.news-share a{color:inherit;text-underline-offset:.22em}
@media(max-width:760px){.masthead nav a{min-width:0}.estimate-extras label{grid-template-columns:auto 1fr}.estimate-extras small{grid-column:2}}
.estimate-configurator{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(.85rem,3vw,2rem);padding-block:clamp(.9rem,3vw,2.5rem) 3rem}
.estimate-configurator .contact-form{padding:clamp(1rem,3vw,2rem);border-radius:1.125rem;box-shadow:0 12px 36px #1a305013}
.estimate-configurator .estimate-result{position:sticky;top:6rem;scroll-margin-top:7rem}
.estimate-configurator .estimate-total{align-items:center;border:0;padding:1rem .8rem;background:#edf3ff}
.estimate-configurator .estimate-total dd{font-size:clamp(1.15rem,2.4vw,1.85rem);color:#16396b}
.estimate-configurator .estimate-result:not(.is-calculated) dl{margin:0}
@media(max-width:780px){
  .estimate-configurator{grid-template-columns:minmax(0,1fr)}
  .estimate-configurator .estimate-result{position:static;scroll-margin-top:1rem}
}
.news-editorial{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.9rem,2.2vw,1.6rem)}
.news-card{min-width:0;border:1px solid var(--line,#dce4ee);overflow:hidden;border-radius:1rem;background:#fff;color:#14243d;box-shadow:0 9px 28px #182a4710}
.news-card>a{display:flex;height:100%;flex-direction:column;color:inherit;text-decoration:none}
.news-card>a:hover h2{text-decoration:underline;text-underline-offset:.17em}
.news-card img,.news-hero-image{display:block;width:100%;height:auto;aspect-ratio:1.85;object-fit:cover;background:#203554}
.news-card-copy{display:flex;flex:1;flex-direction:column;padding:clamp(.95rem,2vw,1.35rem)}
.news-card h2{font-size:clamp(1.18rem,2vw,1.48rem);margin:.55rem 0}
.news-meta{font-size:.84rem;color:#4f6280;margin:.1rem 0}
.news-card-summary{color:#354a66;margin:.1rem 0 1rem}
.news-card-footer{margin-top:auto;padding-top:.9rem;border-top:1px solid #dee6ef;display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap;font-size:.84rem;color:#38557d}
.news-card-footer span:last-child{font-weight:700;display:inline-flex;gap:.35rem;align-items:center}
.news-card-footer svg{width:1rem;height:1rem}
.news-story{max-width:880px;padding-block:clamp(1.35rem,5vw,4rem)}
.news-back{display:inline-block;margin-bottom:1.25rem}
.news-story h1{font-size:clamp(1.9rem,5vw,3.65rem);line-height:1.1;margin:.55rem 0 .9rem}
.news-lead{font-size:clamp(1.08rem,2.2vw,1.35rem);line-height:1.5;margin-bottom:1.55rem}
.news-hero-image{border-radius:1rem}
.news-prose{max-width:67ch;margin:1.7rem auto 0;font-size:1.05rem;line-height:1.72}
.news-prose .news-meta{border-top:1px solid var(--line,#dce4ee);padding-top:1rem}
@media(max-width:900px){.news-editorial{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:590px){.news-editorial{grid-template-columns:minmax(0,1fr)}}
.news-sort{display:flex;gap:.45rem;margin:0 0 1rem}
.news-sort a{padding:.5rem .9rem;border:1px solid #cfd9e8;border-radius:999px;color:#254169;text-decoration:none;font-weight:700}
.news-sort a[aria-current]{background:#203a63;color:#fff;border-color:#203a63}
.news-reading{display:grid;grid-template-columns:minmax(0,1fr) minmax(13rem,18rem);gap:clamp(1rem,3vw,2.25rem);padding-block:1.5rem 2.5rem;max-width:1130px}
.news-reading .news-story{min-width:0;padding:0}
.news-reading .news-back{margin-bottom:.55rem}
.news-reading .news-story h1{font-size:clamp(1.75rem,3.8vw,2.8rem);margin:.35rem 0 .65rem}
.news-reading .news-lead{font-size:1.06rem;margin:.3rem 0 .85rem}
.news-reading .news-hero-image{height:clamp(145px,25vw,260px);aspect-ratio:auto;border-radius:.8rem}
.news-reading .news-prose{margin:1rem 0 0;line-height:1.64;font-size:1.02rem}
.news-reading-aside{display:grid;align-content:start;gap:.75rem}
.news-reading-aside section{padding:.85rem 1rem;border:1px solid #dce4ee;border-radius:.8rem;background:#fff}
.news-reading-aside h2{font-size:1rem;margin:0;color:#1b355e}
.news-reading-aside ul{list-style:none;padding:0;margin:.3rem 0 0}
.news-reading-aside li+li{border-top:1px solid #e2e9f2}
.news-reading-aside a{display:block;padding:.5rem 0;color:#223a5d;font-size:.88rem;line-height:1.35}
@media(max-width:800px){.news-reading{grid-template-columns:minmax(0,1fr)}.news-reading-aside{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:450px){.news-reading{padding-top:1rem}.news-reading-aside{grid-template-columns:minmax(0,1fr)}}
.news-cover{margin:0}
.news-cover figcaption{margin:.3rem .25rem 0;text-align:right;font-size:.74rem;color:#546783}
.news-reading-aside section.news-side-panel{overflow:hidden;padding:0;background:#fff;border:1px solid #d6e0ef;border-radius:1rem;box-shadow:0 5px 19px #172e5012}
.news-side-panel header{display:flex;align-items:center;gap:.65rem;padding:.8rem 1rem;background:linear-gradient(120deg,#182e53,#304f7f)}
.news-side-panel.news-side-popular header{background:linear-gradient(120deg,#342458,#624381)}
.news-side-panel header h2{color:#fff;font-size:.98rem;letter-spacing:.01em}
.news-side-icon{display:grid;place-items:center;width:2rem;height:2rem;border-radius:.64rem;color:#fff;background:#ffffff22;border:1px solid #ffffff55}
.news-side-icon svg,.news-side-panel li a>svg{width:1rem;height:1rem;flex:none}
.news-reading-aside .news-side-panel ul{padding:0 .78rem;margin:0}
.news-reading-aside .news-side-panel li a{display:grid;grid-template-columns:3.15rem minmax(0,1fr) 1rem;gap:.55rem;align-items:center;padding:.55rem .15rem;text-decoration:none}
.news-side-panel li a:hover strong{text-decoration:underline;text-underline-offset:.16em}
.news-side-panel li img{width:3.15rem;height:2.45rem;object-fit:cover;border-radius:.45rem;background:#eaf0f8}
.news-side-copy{display:grid;gap:.16rem;min-width:0}
.news-side-copy strong{font-size:.83rem;color:#192e4d;line-height:1.25}
.news-side-copy small{font-size:.7rem;color:#536782}
.news-sharing{margin-top:1.1rem;padding:.9rem 1rem 1rem;border:1px solid #dae4f0;border-radius:.95rem;background:#f6f9fd}
.news-sharing h2{font-size:1rem;margin:0 0 .55rem;color:#203554}
.news-share-buttons{display:flex;flex-wrap:wrap;gap:.65rem}
.news-share-button{--top:#2e73c5;--bottom:#194784;--edge:#123867;display:inline-flex;align-items:center;gap:.38rem;min-height:2.5rem;padding:.48rem .76rem;border:1px solid #ffffff38;border-radius:.68rem;background:linear-gradient(160deg,var(--top),var(--bottom));box-shadow:inset 0 1px 0 #ffffff55,0 3px 0 var(--edge),0 5px 10px #162b4930;color:#fff!important;text-decoration:none!important;font-size:.84rem;font-weight:750;line-height:1.15}
.news-share-linkedin{--top:#187fa3;--bottom:#07526e;--edge:#073e55}
.news-share-whatsapp{--top:#258851;--bottom:#13643d;--edge:#0d4c2e}
.news-share-button svg{width:1.05rem;height:1.05rem;flex:none}
.news-share-button:hover{filter:brightness(1.12)}
.news-share-button:active{transform:translateY(2px);box-shadow:inset 0 1px 0 #ffffff55,0 1px 0 var(--edge)}
.news-share-button:focus-visible,.news-side-panel a:focus-visible{outline:2px solid #174ca0;outline-offset:3px}
@media(max-width:390px){.news-sharing{padding:.75rem}.news-share-buttons{gap:.4rem}.news-share-button{padding:.43rem .48rem;font-size:.75rem}}
.news-reading .news-cover-source .news-hero-image{object-fit:contain;background:#edf2fa}
.news-image-placeholder{display:grid;place-items:center;color:#6f8ebd;background:linear-gradient(145deg,#edf3fb,#dbe8f9)}
.news-card .news-image-placeholder{aspect-ratio:1.85}
.news-side-panel .news-image-placeholder{width:3.15rem;height:2.45rem;border-radius:.45rem}
.news-image-placeholder svg{width:1.25rem;height:1.25rem}
.news-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:.45rem;margin:1.35rem 0 0}
.news-pagination a,.news-pagination span[aria-current]{display:inline-grid;place-items:center;min-width:2.4rem;min-height:2.4rem;padding:.35rem .62rem;border:1px solid #d5e0ef;border-radius:.55rem;color:#23436d;text-decoration:none;font-weight:700}
.news-pagination a:hover{background:#edf3fc}
.news-pagination span[aria-current]{background:#23436d;color:#fff;border-color:#23436d}
.home-news{padding-block:clamp(1rem,3vw,2rem)}
.home-news-head{display:flex;justify-content:space-between;align-items:center;gap:.7rem;margin-bottom:.65rem}
.home-news-head h2{margin:0;font-size:clamp(1.25rem,3vw,1.8rem)}
.home-news-head a,.home-news-card span{display:inline-flex;align-items:center;gap:.35rem;font-weight:700}
.home-news-head svg,.home-news-card svg{width:1.05rem;height:1.05rem}
.home-news-card{display:grid;grid-template-columns:minmax(0,1fr);overflow:hidden;border:1px solid #d9e3f2;border-radius:1rem;color:#153253;background:#f5f8fc;text-decoration:none;box-shadow:0 7px 22px #172e5012}
.home-news-card:has(img){grid-template-columns:minmax(0,1fr) minmax(0,1.65fr)}
.home-news-card img{width:100%;height:100%;max-height:15rem;object-fit:cover}
.home-news-card>div{padding:clamp(1rem,3vw,1.7rem);align-self:center}
.home-news-card h3{font-size:clamp(1.16rem,3vw,1.65rem);margin:.28rem 0}
.home-news-card p{margin:.25rem 0 .65rem}
.home-news-card:hover h3{text-decoration:underline}
@media(max-width:550px){.home-news-card:has(img){grid-template-columns:minmax(0,1fr)}.home-news-card img{height:8.7rem}}
.news-reading .news-cover{padding:.42rem;border:1px solid #d6e2f0;border-radius:.92rem;background:#edf3fb;margin:1rem 0 0}
.news-reading .news-cover .news-hero-image{border-radius:.62rem}
.news-reading .news-cover figcaption{padding:.16rem .26rem}
.news-reading .news-prose{margin:1.35rem 0 0;padding-top:1.15rem;border-top:1px solid #cbd9eb}
.news-story-copy p{margin:0 0 .9rem}
.news-story-copy h2{margin:1.28rem 0 .45rem;padding-left:.7rem;border-left:3px solid #4c78b9;font-size:clamp(1.06rem,2.5vw,1.28rem);line-height:1.3;color:#1a3a65}
.news-card img,.news-card .news-image-placeholder{box-sizing:border-box;border-bottom:3px solid #c3d3eb}
.home-news-card img{border-right:3px solid #c3d3eb}
@media(max-width:550px){.home-news-card img{border-right:0;border-bottom:3px solid #c3d3eb}}
.news-index{padding-top:clamp(1rem,3vw,2rem)}
.news-index-header{display:flex;justify-content:space-between;align-items:center;gap:.8rem 1.25rem;margin-bottom:clamp(.9rem,2.2vw,1.3rem);padding-bottom:.85rem;border-bottom:1px solid #d4dfed}
.news-index-header h1{margin:0;color:#14284a;font-size:clamp(1.65rem,3.35vw,2.5rem);line-height:1.12;letter-spacing:-.035em}
.news-index-header .news-sort{flex:none;gap:.18rem;margin:0;padding:.2rem;border:1px solid #d5e0ee;border-radius:.72rem;background:#e9f0f9}
.news-index-header .news-sort a{padding:.46rem .75rem;border:0;border-radius:.52rem;font-size:.87rem;line-height:1.25;white-space:nowrap}
.news-index-header .news-sort a:not([aria-current]):hover{background:#fff}
@media(max-width:600px){.news-index-header{align-items:flex-start;flex-direction:column}.news-index-header .news-sort{max-width:100%}}

.news-index .home-news + .news-editorial {
    border-top: 2px solid #8ca3c1;
    margin-top: .35rem;
    padding-top: clamp(1rem, 2.7vw, 1.8rem);
}

@media (max-width: 760px) {
    .site-public .header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 0;
        gap: .28rem .55rem;
        padding-block: .35rem .45rem;
    }

    .site-public .header-inner .primary-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        width: 100%;
        gap: .2rem;
        padding: .22rem;
        border: 1px solid #324766;
        border-radius: .75rem;
        background: #0b1629;
    }

    .site-public .header-inner .primary-nav a {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: .23rem;
        min-width: 0;
        min-height: 46px;
        padding: .23rem .06rem .36rem;
        border: 1px solid transparent;
        border-radius: .53rem;
        color: #d4dfef;
        font-size: clamp(.63rem, 2.8vw, .82rem);
        line-height: 1.05;
        text-align: center;
        text-decoration: none;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .site-public .header-inner .primary-nav a svg {
        display: block;
        width: 17px;
        height: 17px;
        color: #a4bae0;
        flex: none;
    }

    .site-public .header-inner .primary-nav a[aria-current] {
        background: linear-gradient(160deg, #294971, #1d3250);
        border-color: #4e6d99;
        color: #fff;
    }

    .site-public .header-inner .primary-nav a[aria-current] svg { color: #dcedff; }

    .site-public .header-inner .primary-nav a[aria-current]::after {
        content: "";
        position: absolute;
        bottom: 2px;
        width: 14px;
        height: 2px;
        border-radius: 999px;
        background: #9fe9dc;
    }

    .site-public .header-inner .primary-nav a:focus-visible {
        outline: 2px solid #9fe9dc;
        outline-offset: -2px;
    }

    .site-public .header-inner .primary-nav a:active { background: #354d70; }
}

@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
    .site-public .header-inner .primary-nav a { transition: background-color .16s, color .16s, transform .16s; }
    .site-public .header-inner .primary-nav a:active { transform: translateY(1px); }
}
