/*
Theme Name: Premier Smart Homes
Template: twentytwentyfive
Version: 2.0
Description: Child theme for Premier Smart Homes.
Text Domain: premier
*/
.psh-header{position:sticky;top:0;z-index:50;box-shadow:0 1px 0 rgba(0,0,0,.08)}
.admin-bar .psh-header{top:32px}
.psh-header .wp-block-navigation a{text-decoration:none}
.psh-header .wp-block-navigation .wp-block-navigation__submenu-container{min-width:260px}
.psh-phone a{text-decoration:none;font-weight:700;white-space:nowrap}
.psh-card{height:100%}
.psh-card .wp-block-image img{aspect-ratio:4/3;object-fit:cover;width:100%}
.psh-card h3 a{text-decoration:none;color:inherit}
.psh-team img{aspect-ratio:1/1;object-fit:cover;border-radius:50%}
.psh-team .wp-block-column{text-align:center}
.psh-gallery img{aspect-ratio:4/3;object-fit:cover}
.psh-checks{list-style:none;padding-left:0}
.psh-checks li{padding-left:1.6em;position:relative;margin-bottom:.4em}
.psh-checks li:before{content:"";position:absolute;left:0;top:.45em;width:.9em;height:.5em;border-left:3px solid var(--wp--preset--color--accent-1);border-bottom:3px solid var(--wp--preset--color--accent-1);transform:rotate(-45deg)}
/* quote form */
.wpcf7 form{display:grid;gap:14px}
.wpcf7 .psh-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:640px){.wpcf7 .psh-row{grid-template-columns:1fr}}
.wpcf7 label{display:block;font-weight:600;font-size:.95rem}
.wpcf7 input[type=text],.wpcf7 input[type=email],.wpcf7 input[type=tel],.wpcf7 select,.wpcf7 textarea{width:100%;box-sizing:border-box;margin-top:6px;padding:12px 14px;border:1px solid #c9d1cc;border-radius:6px;font:inherit;background:#fff}
.wpcf7 textarea{min-height:120px}
.wpcf7 .wpcf7-list-item{display:inline-block;margin:6px 16px 0 0;font-weight:400}
.wpcf7 input[type=submit]{background:var(--wp--preset--color--accent-1);color:#fff;border:0;border-radius:6px;padding:14px 28px;font:inherit;font-weight:700;cursor:pointer;justify-self:start}
.wpcf7 input[type=submit]:hover{background:var(--wp--preset--color--accent-2)}
/* mobile call bar */
.psh-callbar{display:none}
@media (max-width:781px){
 .psh-callbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:99;background:#231f20;padding:8px max(10px,env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-right));gap:8px}
 .psh-callbar a{flex:1;text-align:center;padding:12px 8px;border-radius:6px;font-weight:700;text-decoration:none;color:#fff;font-size:16px}
 .psh-callbar .call{background:#3a3536}
 .psh-callbar .quote{background:#00a14b}
 body{padding-bottom:68px}
 .psh-header-cta{display:none!important}
}
/* card + gallery image consistency */
.psh-cards .wp-block-image img,.psh-gallery .wp-block-image img{aspect-ratio:4/3;object-fit:cover;width:100%;height:auto;border-radius:8px}
.psh-cards .wp-block-image{margin-bottom:12px}
.psh-cards h3{font-size:1.2rem;margin-top:8px}
.psh-cards h3 a{text-decoration:none;color:inherit}
.psh-cards h3 a:hover{color:var(--wp--preset--color--accent-1)}
.psh-posts .wp-block-post-featured-image img{border-radius:8px}
.psh-posts .wp-block-post-title a{text-decoration:none;color:inherit}
.psh-posts .wp-block-post-title a:hover{color:var(--wp--preset--color--accent-1)}
.wp-block-post-content img{border-radius:6px;height:auto}
.wpcf7 .wpcf7-form-control-wrap{display:block}
.wpcf7 .psh-row label,.wpcf7 form>label{margin:0}
.wpcf7 .wpcf7-checkbox{display:block;margin-top:4px}

/* ===== v2 design polish ===== */
:root{--psh-radius:10px;--psh-shadow:0 1px 2px rgba(16,24,20,.06),0 8px 24px rgba(16,24,20,.08)}
body{-webkit-font-smoothing:antialiased}
p{text-wrap:pretty}
h1,h2,h3{text-wrap:balance}
.wp-block-group.alignfull>*+*{margin-block-start:1.1rem}
/* eyebrow + lead */
.psh-eyebrow{font-size:.8rem!important;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--wp--preset--color--accent-1)!important;margin-bottom:.4rem!important}
.psh-hero .psh-eyebrow,.psh-dark .psh-eyebrow,.psh-cta .psh-eyebrow{color:#7fe0a9!important}
.psh-cta .psh-eyebrow{color:#e3f4ea!important}
.psh-eyebrow+.wp-block-heading{margin-top:0!important}
.psh-lead{font-size:1.15rem;color:var(--wp--preset--color--accent-4);max-width:720px;margin-left:auto!important;margin-right:auto!important}
.psh-dark .psh-lead,.psh-cta .psh-lead{color:rgba(255,255,255,.85)}
.has-text-align-left.psh-lead{margin-left:0!important}
/* buttons */
.wp-block-button__link{padding:.85em 1.6em;font-size:1rem;letter-spacing:.01em;transition:background .15s,color .15s,border-color .15s}
.wp-block-button.is-style-outline>.wp-block-button__link{border:2px solid currentColor;background:transparent;color:var(--wp--preset--color--contrast);padding:calc(.85em - 2px) calc(1.6em - 2px)}
.wp-block-button.is-style-outline>.wp-block-button__link:hover{background:var(--wp--preset--color--contrast);color:#fff;border-color:var(--wp--preset--color--contrast)}
.psh-hero .is-style-outline>.wp-block-button__link,.psh-dark .is-style-outline>.wp-block-button__link,.psh-cta .is-style-outline>.wp-block-button__link{color:#fff;border-color:rgba(255,255,255,.85)}
.psh-hero .is-style-outline>.wp-block-button__link:hover,.psh-dark .is-style-outline>.wp-block-button__link:hover,.psh-cta .is-style-outline>.wp-block-button__link:hover{background:#fff;color:var(--wp--preset--color--contrast);border-color:#fff}
.psh-cta .wp-block-button:not(.is-style-outline)>.wp-block-button__link{background:#fff;color:var(--wp--preset--color--accent-2)}
.psh-cta .wp-block-button:not(.is-style-outline)>.wp-block-button__link:hover{background:var(--wp--preset--color--accent-6);color:#fff}
/* hero */
.psh-hero{padding:96px 24px!important}
.psh-hero .wp-block-cover__background{background:linear-gradient(180deg,rgba(20,18,19,.55) 0%,rgba(20,18,19,.45) 45%,rgba(20,18,19,.75) 100%)!important;opacity:1!important}
.psh-hero h1{font-size:clamp(2.1rem,5vw,3.6rem);line-height:1.1;text-shadow:0 2px 24px rgba(0,0,0,.25)}
.psh-hero .has-large-font-size{font-size:clamp(1.05rem,1.6vw,1.25rem)!important;max-width:720px;margin-left:auto;margin-right:auto;opacity:.95}
.psh-hero .wp-block-buttons{margin-top:1.8rem!important;gap:12px}
/* split sections */
.psh-split .wp-block-columns{gap:clamp(32px,6vw,80px)}
.psh-photo img{border-radius:var(--psh-radius);box-shadow:var(--psh-shadow);width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.psh-split h2{margin-top:0}
/* intro + team band */
.psh-intro .wp-block-columns{gap:clamp(32px,6vw,96px)}
.psh-intro h2{font-size:clamp(1.9rem,3.4vw,2.6rem);margin-top:0}
.psh-team-band{padding-left:0!important;padding-right:0!important}
.psh-team-photo{margin:0 auto!important;max-width:1100px}
.psh-team-photo img{width:100%;height:auto;display:block}
/* dark services band with circles */
.psh-dark{background-color:#1f1b1c!important;background-image:radial-gradient(rgba(255,255,255,.035) 1px,transparent 1px);background-size:18px 18px}
.psh-dark h2,.psh-dark h3,.psh-dark h3 a{color:#fff}
.psh-circles{gap:32px;margin-top:2.5rem!important}
.psh-circles .wp-block-column{text-align:center}
.psh-circle{margin:0 auto 18px!important;width:180px;max-width:100%}
.psh-circle img{width:180px;height:180px;object-fit:cover;border-radius:50%;box-shadow:0 0 0 4px rgba(255,255,255,.08);transition:transform .25s,box-shadow .25s}
.psh-circle a:hover img{transform:scale(1.04);box-shadow:0 0 0 4px var(--wp--preset--color--accent-1)}
.psh-circles h3{font-size:.95rem;letter-spacing:.08em;text-transform:uppercase;margin:0 0 .5rem}
.psh-circles h3 a{text-decoration:none}
.psh-circles h3 a:hover{color:#7fe0a9}
.psh-circles p{font-size:.95rem;color:rgba(255,255,255,.75);margin-top:0}
/* brand band */
.psh-brands{gap:28px 56px!important;margin-top:2.5rem!important;align-items:center}
.psh-logo{margin:0!important}
.psh-brands .psh-logo img{height:42px;width:auto;max-width:180px;object-fit:contain;opacity:.62;transition:opacity .2s}
.psh-brands .psh-logo img:hover{opacity:1}
.psh-logo-feature img{height:48px;width:auto;max-width:240px;object-fit:contain}
.psh-logo-feature{margin-bottom:1rem!important}
.psh-brand-band{border-top:1px solid rgba(0,0,0,.06);border-bottom:1px solid rgba(0,0,0,.06)}
/* cards */
.psh-cards{gap:28px;margin-top:2.2rem!important}
.psh-cards>.wp-block-column{background:#fff;border-radius:var(--psh-radius);box-shadow:var(--psh-shadow);overflow:hidden;padding:0 24px 24px;display:flex;flex-direction:column}
.psh-cards>.wp-block-column>.wp-block-image:first-child{margin:0 -24px 4px!important}
.psh-cards .wp-block-image img{border-radius:0!important;aspect-ratio:3/2}
.psh-cards-text>.wp-block-column{padding-top:24px;border-top:4px solid var(--wp--preset--color--accent-1)}
.psh-cards h3{font-size:1.15rem;margin:16px 0 0}
.psh-cards p{font-size:.98rem;color:#3d4440;margin-top:.5rem}
.psh-more{margin-top:auto!important;padding-top:.6rem}
.psh-more a{font-weight:700;font-size:.95rem;text-decoration:none}
.psh-more a:after{content:" \2192"}
/* steps */
.psh-steps{counter-reset:step;gap:20px;margin-top:2.4rem!important}
.psh-steps>.wp-block-column{counter-increment:step;background:#fff;border-radius:var(--psh-radius);padding:28px 22px;box-shadow:var(--psh-shadow)}
.psh-steps h3:before{content:counter(step);display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:var(--wp--preset--color--accent-1);color:#fff;font-size:1rem;margin-bottom:14px}
.psh-steps h3{font-size:1.1rem;margin:0}
.psh-steps p{font-size:.95rem;color:#3d4440}
.has-accent-3-background-color .psh-steps>.wp-block-column{background:#fff}
:not(.has-accent-3-background-color)>.psh-steps>.wp-block-column{background:var(--wp--preset--color--accent-3);box-shadow:none}
/* gallery */
.psh-gallery{gap:20px;margin-top:2rem!important}
.psh-gallery .wp-block-image img{border-radius:var(--psh-radius)}
/* FAQ */
.psh-faq{border-bottom:1px solid #dfe5e1;padding:18px 0;margin-top:0!important;margin-bottom:0!important}
.psh-faq:first-of-type{border-top:1px solid #dfe5e1;margin-top:1.6rem!important}
.psh-faq summary{font-weight:700;font-size:1.08rem;cursor:pointer;list-style:none;position:relative;padding-right:36px}
.psh-faq summary::-webkit-details-marker{display:none}
.psh-faq summary:after{content:"+";position:absolute;right:4px;top:-4px;font-size:1.6rem;font-weight:400;color:var(--wp--preset--color--accent-1)}
.psh-faq[open] summary:after{content:"\2013"}
.psh-faq p{margin-top:.8rem;color:#3d4440}
/* checks */
.psh-checks li{margin-bottom:.55em}
/* CTA */
.psh-cta{background:linear-gradient(135deg,#00a14b 0%,#007a39 100%)!important}
.psh-cta h2{color:#fff}
/* team cards on about */
.psh-team{gap:28px}
.psh-team img{width:180px;height:180px;margin:0 auto}
.psh-team h3{margin-bottom:0}
.psh-team .has-small-font-size{margin-top:.3rem}
/* mobile */
@media (max-width:781px){
 .psh-hero{padding:72px 16px!important;min-height:480px!important}
 .psh-circles{gap:40px}
 .psh-brands{gap:22px 36px!important}
 .psh-brands .psh-logo img{height:30px;max-width:130px}
 .wp-block-group.alignfull{padding-top:56px!important;padding-bottom:56px!important}
 .psh-team-band{padding:0!important}
 .psh-steps>.wp-block-column{padding:22px 18px}
}

.wp-block-post-content>.alignfull,.wp-block-post-content>.wp-block-cover{margin-block-start:0!important;margin-block-end:0!important}
.psh-intro{padding-bottom:32px!important}
.psh-split .psh-logo-feature img{box-shadow:none;border-radius:0;aspect-ratio:auto}
.psh-split h3{font-size:1.5rem;margin-top:.2rem}
.psh-gallery+.wp-block-buttons{margin-top:2rem!important}
.wp-site-blocks>*{margin-block-start:0!important}
.psh-logo-feature{margin-left:0!important;margin-right:auto!important;text-align:left;width:auto!important}
.psh-logo-feature img{display:block;height:46px!important;max-width:220px!important}
.psh-logo-feature img[src*="phantom"]{height:64px!important}
@media (max-width:781px){
 .psh-circles{flex-wrap:wrap!important;gap:32px 16px!important}
 .wp-block-columns.psh-circles:not(.is-not-stacked-on-mobile)>.wp-block-column{flex-basis:calc(50% - 8px)!important;flex-grow:0!important}
 .psh-circle,.psh-circle img{width:128px!important;height:128px!important}
 .psh-circles h3{font-size:.8rem}
 .psh-circles p{font-size:.85rem}
 .wp-block-group.alignfull.psh-intro{padding-bottom:16px!important}
 .wp-block-group.alignfull.psh-team-band{padding:0!important}
 .psh-intro .wp-block-buttons{display:none}
}
/* footer */
footer.has-accent-6-background-color{padding-top:72px!important}
footer.has-accent-6-background-color h3{font-size:1rem;letter-spacing:.08em;text-transform:uppercase;margin-bottom:1rem}
footer.has-accent-6-background-color ul{list-style:none;padding-left:0}
footer.has-accent-6-background-color li{margin-bottom:.45em}
footer.has-accent-6-background-color a{text-decoration:none;opacity:.9}
footer.has-accent-6-background-color a:hover{text-decoration:underline;opacity:1}
footer.has-accent-6-background-color p,footer.has-accent-6-background-color li{color:rgba(255,255,255,.78)}
/* header nav */
.psh-header .wp-block-navigation-item__content{font-weight:600}
.psh-header .wp-block-navigation-item__content:hover{color:var(--wp--preset--color--accent-1)}
.psh-team img{border-radius:50%!important;box-shadow:0 0 0 5px #fff,var(--psh-shadow)}
.psh-team+.psh-eyebrow{margin-top:4rem!important}
.psh-team{margin-top:2rem!important}
.psh-team .has-small-font-size a{text-decoration:none}
