/* Progas Chile QA — terminación visual v3 */
.pg-official-banner{margin:-2rem calc(50% - 50vw) 0;background:#fff;border-bottom:1px solid var(--pg-line)}
.pg-official-banner a{display:block;max-width:1920px;margin:0 auto}
.pg-official-banner img{display:block;width:100%;height:auto;max-height:560px;object-fit:cover;object-position:center}
.pg-banner-actions{display:flex;justify-content:center;gap:.7rem;flex-wrap:wrap;padding:1.1rem 1.25rem 1.25rem;background:#fff;border-bottom:1px solid var(--pg-line)}

/* Header: logo completo de ProgasChile.cl sobre fondo blanco, sin recortes. */
.matrix-brand-bar .header-inner{min-height:122px;gap:1.25rem}
.matrix-logo-card{flex:0 0 350px!important;width:350px!important;min-width:350px!important;height:108px!important;min-height:108px!important;margin:-.3rem 0!important;padding:0!important;background-color:#fff!important;background-image:url('https://progaschile.cl/wp-content/uploads/2023/07/logos-color.png')!important;background-repeat:no-repeat!important;background-position:center!important;background-size:88% auto!important;border-radius:30px!important;clip-path:none!important;box-shadow:0 14px 38px rgba(4,12,58,.18)!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
.matrix-logo-card img{opacity:0!important;width:100%!important;height:100%!important;object-fit:contain!important;pointer-events:none!important}
.matrix-brand-context{padding-left:.1rem;min-width:220px}.matrix-brand-context strong{font-size:.9rem!important;letter-spacing:.07em}.matrix-brand-context span{font-size:.76rem!important}

/* Menú de categorías generado con categorías públicas reales. */
.pg-nav-category-wrap{position:relative;display:flex;align-items:stretch}
.pg-nav-category-wrap>.category-trigger{display:flex;align-items:center;gap:.35rem}
.pg-nav-category-wrap>.category-trigger:after{content:"▾";font-size:.65rem;margin-left:.2rem}
.pg-nav-category-dropdown{display:none;position:absolute;left:0;top:100%;z-index:120;min-width:285px;max-height:70vh;overflow:auto;background:#fff;color:#111f63;border:1px solid #e2e5ee;box-shadow:0 20px 45px rgba(6,15,54,.2);padding:.45rem}
.pg-nav-category-wrap:hover .pg-nav-category-dropdown,.pg-nav-category-wrap:focus-within .pg-nav-category-dropdown,.pg-nav-category-wrap.is-open .pg-nav-category-dropdown{display:grid}
.main-nav .pg-nav-category-dropdown a{color:#111f63!important;background:#fff!important;border-radius:2px!important;padding:.68rem .78rem!important;font-size:.82rem!important;font-weight:800!important;border-bottom:1px solid #eef0f5}
.main-nav .pg-nav-category-dropdown a:hover,.main-nav .pg-nav-category-dropdown a:focus-visible{background:#f3f5fb!important;color:#e4163f!important}
.main-nav .pg-nav-category-dropdown a.pg-nav-all{background:#111f63!important;color:#fff!important;border-bottom:0;margin-top:.25rem}

/* Beneficios */
.pg-trust-v2{background:#fff;border-top:1px solid #e6e9f1;border-bottom:1px solid #e6e9f1;box-shadow:0 9px 28px rgba(15,27,95,.05)}
.pg-trust-v2 .pg-trust-item{padding:1.35rem 1.45rem;gap:1rem;align-items:center}
.pg-trust-v2 .pg-trust-item+.pg-trust-item{border-left:1px solid #e4e7ef}
.pg-trust-v2 .pg-trust-icon{width:50px!important;height:50px!important;min-width:50px;border-radius:15px!important;background:#fff0f4!important;border:1px solid #ffd8e2;color:#e4163f!important;display:grid!important;place-items:center;box-shadow:0 8px 18px rgba(228,22,63,.08);margin:0!important}
.pg-trust-v2 .pg-trust-icon svg{width:24px!important;height:24px!important;fill:currentColor!important;display:block!important}
.pg-trust-v2 .pg-trust-item strong{font-size:.96rem;color:#11182d}.pg-trust-v2 .pg-trust-item span:not(.pg-trust-icon){color:#65708b;line-height:1.4}

/* Marcas */
.pg-brand-official{display:grid;grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);gap:2.25rem;align-items:center;background:#fff;border:1px solid var(--pg-line);padding:2.2rem;border-radius:16px;box-shadow:0 14px 34px rgba(15,27,95,.05)}
.pg-brand-official-logo{display:flex;align-items:center;justify-content:center;min-height:190px;background:#fff;border:1px solid #e2e6f0;border-radius:18px;padding:1.5rem;box-shadow:0 16px 38px rgba(15,27,95,.08)}
.pg-brand-official-logo img{display:block;max-width:100%;max-height:155px;object-fit:contain}.pg-brand-title{font-size:clamp(2rem,3.4vw,3.4rem);line-height:1;margin:.2rem 0 1rem;color:#12172b}.pg-brand-official-logo-small{max-width:480px;min-height:120px;margin-top:1rem}.pg-story-copy-wide{grid-column:1/-1;max-width:980px}

/* Categorías */
.pg-category-grid-v4{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:1.2rem!important}
.pg-category-grid-v4 .pg-category-card{min-height:355px;border-radius:16px;overflow:hidden;background:#f1f3f8;border:1px solid #dfe4ee;box-shadow:0 14px 34px rgba(15,27,95,.08);transition:transform .2s ease,box-shadow .2s ease}
.pg-category-grid-v4 .pg-category-card:hover{transform:translateY(-4px);box-shadow:0 22px 42px rgba(15,27,95,.14)}
.pg-category-grid-v4 .pg-category-card img{position:absolute!important;inset:0!important;z-index:0!important;width:100%!important;height:100%!important;object-fit:contain!important;padding:1.15rem 1.15rem 6rem!important;background:radial-gradient(circle at 50% 35%,#fff 0 28%,#f2f4f8 62%,#e8ebf2 100%)!important;filter:drop-shadow(0 18px 15px rgba(12,23,76,.13));opacity:1!important}
.pg-category-grid-v4 .pg-category-card:after{z-index:1!important;background:linear-gradient(180deg,rgba(10,17,55,0) 42%,rgba(10,19,61,.78) 70%,rgba(10,19,61,.98) 100%)!important}
.pg-category-grid-v4 .pg-category-content{z-index:2!important;left:1.4rem;right:1.4rem;bottom:1.3rem;padding:0!important}.pg-category-grid-v4 .pg-category-content small{letter-spacing:.09em;color:#ff7695}.pg-category-grid-v4 .pg-category-content strong{font-size:1.55rem}.pg-category-grid-v4 .pg-category-content span{font-size:.88rem;color:#fff}

/* Destacados: carrusel horizontal real, 4 visibles en escritorio. */
.pg-featured-explainer{margin:.55rem 0 0!important;color:#747d94!important;font-size:.84rem!important}
.pg-featured-carousel{position:relative;min-width:0}
.pg-featured-viewport{width:100%;overflow:hidden;padding:.2rem .05rem 1rem}
.pg-featured-track{display:flex!important;gap:1rem!important;align-items:stretch!important;transition:transform .32s ease;will-change:transform}
.pg-featured-card{flex:0 0 calc((100% - 3rem)/4)!important;width:calc((100% - 3rem)/4)!important;max-width:calc((100% - 3rem)/4)!important;min-width:0!important;border-radius:14px;overflow:hidden;border:1px solid #dfe4ef;background:#fff;box-shadow:0 10px 28px rgba(15,27,95,.06);transition:box-shadow .2s ease}
.pg-featured-card:hover{box-shadow:0 22px 42px rgba(15,27,95,.12)}
.pg-featured-media{height:245px!important;min-height:245px!important;aspect-ratio:auto!important;background:radial-gradient(circle at 50% 40%,#fff 0 31%,#eef1f7 72%,#e7eaf2 100%)}
.pg-featured-media>img{width:100%!important;height:245px!important;object-fit:contain!important;padding:1.15rem!important;filter:drop-shadow(0 16px 13px rgba(15,27,95,.13))}
.pg-featured-card .pg-product-copy{padding:1.05rem 1.15rem}.pg-featured-card h3{min-height:2.55em;margin-bottom:.55rem}.pg-featured-card .pg-product-meta{margin-top:auto}
.pg-carousel-controls{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:.55rem}.pg-carousel-arrow{width:44px;height:44px;border-radius:50%!important;padding:0!important;background:#111f63!important;color:#fff!important;font-size:1.15rem;box-shadow:0 8px 20px rgba(17,31,99,.16)}.pg-carousel-arrow:hover:not(:disabled){background:#e4163f!important}.pg-carousel-arrow:disabled{opacity:.32;cursor:not-allowed}.pg-carousel-status{min-width:92px;text-align:center;color:#606a83;font-size:.8rem;font-weight:800}

/* Promo */
.pg-promo.pg-promo-text{min-height:300px;display:block;background:linear-gradient(118deg,#101e64,#182a7d 68%,#e4163f)}.pg-promo.pg-promo-text:after{display:none}.pg-promo.pg-promo-text .pg-promo-copy{max-width:900px}.pg-kicker-light{color:#ff8fa8!important}

/* Postventa */
.pg-service-card{background:#fff!important;border:1px solid #dfe4ef!important;border-radius:18px!important;overflow:hidden!important;box-shadow:0 18px 45px rgba(15,27,95,.09)!important;padding:0!important;color:#10172b!important}
.pg-service-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);align-items:stretch;background:#111f63;color:#fff}
.pg-service-hero>div{padding:clamp(2rem,4vw,3.5rem)}.pg-service-hero .pg-kicker{color:#ff7896}.pg-service-hero h2{color:#fff;font-size:clamp(2rem,4vw,3.45rem);line-height:1.02;margin:.35rem 0 1rem;max-width:730px}.pg-service-hero p{color:#dce2f8;max-width:680px;font-size:1rem;line-height:1.65}
.pg-service-tech{display:flex;flex-direction:column;justify-content:center;padding:2.4rem;background:#e4163f;color:#fff;text-decoration:none;min-height:220px}.pg-service-tech small{font-size:.72rem;letter-spacing:.11em;text-transform:uppercase;font-weight:900;color:#ffe4eb}.pg-service-tech strong{font-size:clamp(1.55rem,2.5vw,2.15rem);line-height:1.1;margin:.55rem 0;color:#fff}.pg-service-tech span{font-size:.86rem;color:#ffe8ed}
.pg-service-contacts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fff}.pg-service-contacts>a{display:block;padding:1.5rem 1.65rem;text-decoration:none;border-right:1px solid #e3e7f0;transition:background .18s ease}.pg-service-contacts>a:last-child{border-right:0}.pg-service-contacts>a:hover{background:#f7f8fc}.pg-service-contacts small{display:block;color:#e4163f;text-transform:uppercase;letter-spacing:.1em;font-weight:900;font-size:.68rem}.pg-service-contacts strong{display:block;color:#111f63;font-size:1.18rem;margin:.3rem 0;overflow-wrap:anywhere}.pg-service-contacts span{color:#6b748c;font-size:.84rem}

@media(max-width:1180px){.matrix-brand-context{display:none}.matrix-logo-card{flex-basis:290px!important;width:290px!important;min-width:290px!important;height:92px!important;min-height:92px!important;background-size:88% auto!important}.pg-brand-official{grid-template-columns:1fr}}
@media(max-width:980px){.pg-featured-card{flex-basis:calc((100% - 1rem)/2)!important;width:calc((100% - 1rem)/2)!important;max-width:calc((100% - 1rem)/2)!important}.pg-service-hero{grid-template-columns:1fr}.pg-service-tech{min-height:auto;padding:1.8rem 2.2rem}}
@media(max-width:850px){.pg-official-banner img{max-height:none;object-fit:contain}.pg-nav-category-wrap{display:block;width:100%}.pg-nav-category-dropdown{position:static;box-shadow:none;min-width:0;width:100%;max-height:45vh}.pg-nav-category-wrap.is-open .pg-nav-category-dropdown{display:grid}.matrix-logo-card{flex-basis:235px!important;width:235px!important;min-width:235px!important;height:78px!important;min-height:78px!important;border-radius:20px!important;background-size:88% auto!important}.pg-trust-v2 .pg-trust-item+.pg-trust-item{border-left:0;border-top:1px solid #e6e9f1}.pg-service-contacts{grid-template-columns:1fr}.pg-service-contacts>a{border-right:0;border-bottom:1px solid #e3e7f0}}
@media(max-width:720px){.pg-category-grid-v4{grid-template-columns:1fr!important}.pg-category-grid-v4 .pg-category-card{min-height:310px}}
@media(max-width:620px){.matrix-logo-card{flex-basis:190px!important;width:190px!important;min-width:190px!important;height:68px!important;min-height:68px!important;background-size:90% auto!important}.pg-featured-card{flex-basis:100%!important;width:100%!important;max-width:100%!important}.pg-featured-media,.pg-featured-media>img{height:235px!important;min-height:235px!important}.pg-service-tech{padding:1.5rem}.pg-service-hero>div{padding:2rem 1.5rem}}
