/* Reversible additions to the existing Kadence/Pertem design system. */
#masthead .custom-logo { max-height: 110px !important; max-width: 140px !important; width: 140px !important; height: auto !important; border-radius: 0; }
.site-header-row { min-height: 92px !important; }
.site-footer h2,.site-footer h3,.site-footer h4,.site-footer .widget-title { color: #fff !important; }
.site-footer .pertem-logo { width: 190px; height: auto; background: #fff; padding: 8px; border-radius: 12px; }
.pd-home .pd-hero { position: relative; overflow: hidden; min-height: 590px; background: #0b3d2e; padding: 0; }
.pd-hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.pd-home .pd-hero::after { content: ""; position: absolute; inset: 0; height: 100%; z-index: 1; background: linear-gradient(90deg,rgba(5,24,18,.93) 0%,rgba(5,24,18,.8) 48%,rgba(5,24,18,.2) 100%); }
.pd-home .pd-hero-inner { position: relative; z-index: 2; max-width: 1200px; width: 100%; margin: auto; padding: 74px 28px; }
.pd-home .pd-hero .pd-brand-mark { font-size: 1.1rem !important; line-height: 1.5 !important; margin-bottom: 16px; }
.pd-home .pd-hero h1 { font-size: clamp(2.3rem,4.5vw,4.1rem) !important; max-width: 680px; color: #fff !important; -webkit-text-fill-color:#fff; text-transform: none !important; letter-spacing:-.025em !important; line-height:1.15; }
.pd-home .pd-hero-lead { max-width: 640px; color: #fff; font-size: 1.15rem; line-height: 1.75; }
.pd-home .pd-section { max-width: 1200px; margin: auto; padding: 56px 28px; }
.pd-grid-4 { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.pd-card { display: flex; flex-direction: column; }
.pd-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.pd-card-body { flex: 1; display: flex; flex-direction: column; }
.pd-card-body .pd-link { margin-top: auto; }
.pd-step-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; padding: 0; list-style-position: inside; }
.pd-step-list li { background: #fff; border: 1px solid #dce5df; border-radius: 16px; padding: 24px; }
.pd-step-list h3 { font-size: 1.15rem; margin-top: 12px; }
.pd-local-links { display: flex; flex-wrap: wrap; gap: 16px; }
.pd-local-links a { padding: 16px 20px; border: 1px solid #b9d5c7; border-radius: 12px; background: #fff; }
a:focus-visible,button:focus-visible,summary:focus-visible { outline: 3px solid #e8a020; outline-offset: 4px; }
.pd-btn,.pertem-boost-btn,#pd-mobile-cta a { min-height: 48px; }
.pd-btn-wa,#pd-mobile-cta .pd-m-wa { background: #087f42 !important; color: #fff !important; }
.pd-local-page { max-width: 860px; margin: auto; }
.pd-local-page h1 { margin-bottom: 24px; }
.pd-breadcrumb { font-size: .9rem; margin-bottom: 20px; }
@media(max-width:1024px){ .pd-grid-4,.pd-step-list { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:1024px){
 #mobile-drawer.show-drawer { display: block !important; position:fixed; inset:0; z-index:100000; }
 #mobile-drawer.show-drawer .drawer-overlay { position:absolute; inset:0; background:rgba(0,0,0,.45); }
 #mobile-drawer.show-drawer .drawer-inner { position:absolute; top:0; right:0; bottom:0; width:min(360px,90vw); max-width:90vw; height:100%; opacity:1 !important; transform:none; background:#fff; overflow-y:auto; padding:24px; }
 #mobile-drawer.show-drawer .drawer-header { display:flex; justify-content:flex-end; min-height:44px; }
 #mobile-drawer.show-drawer .drawer-content { width:100%; }
 #mobile-drawer.show-drawer .mobile-navigation { width:100%; }
 body.showing-popup-drawer-from-right { overflow:hidden; }
}
@media(max-width:767px){
 #mobile-drawer .drawer-sub-toggle { display: inline-flex !important; align-items:center; justify-content:center; min-width:44px; min-height:44px; opacity:1; visibility:visible; }
 #masthead .custom-logo,.site-mobile-header-wrap .custom-logo { max-height: 94px !important; width: 112px !important; max-width: 112px !important; }
 .site-header-row { min-height: 82px !important; }
 body { padding-bottom: calc(100px + env(safe-area-inset-bottom)) !important; }
 .pd-home .pd-hero { min-height: 570px; }
 .pd-home .pd-hero-inner { padding: 54px 22px; }
 .pd-home .pd-hero::after { background: linear-gradient(180deg,rgba(5,24,18,.85),rgba(5,24,18,.9)); }
 .pd-home .pd-section { padding: 38px 20px; }
 .pd-grid-4,.pd-step-list { grid-template-columns: 1fr; }
 .pd-cta-row { align-items: stretch; }
 .pd-cta-row .pd-btn { text-align: center; justify-content: center; }
 #pd-mobile-cta { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
}
@media(prefers-reduced-motion:reduce){ html{scroll-behavior:auto} *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important} }