/*
Theme Name: Handy's Plumbing Pool Leaks - Block Editor V6.1
Theme URI: https://handysplumbing.com
Author: OpenAI
Description: Four-page pool leak site built with standard Gutenberg blocks for easy editing.
Version: 6.1.0
Text Domain: handys-v6
*/
:root{--navy:#062f55;--deep:#022340;--blue:#0870ce;--green:#88cc00;--ink:#152236;--muted:#637183;--soft:#f5f8fb;--line:#dfe7ef;--white:#fff;--shadow:0 14px 36px rgba(4,43,78,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:Arial,Helvetica,sans-serif}.entry-content{overflow:hidden}
a{color:inherit}img{max-width:100%;height:auto}

/* Header */
.site-header{background:#fff;position:sticky;top:0;z-index:100;box-shadow:0 2px 12px rgba(0,0,0,.07)}
.header-inner{max-width:1240px;margin:auto;min-height:104px;padding:0 20px;display:flex;align-items:center;gap:28px}
.site-logo{flex:0 0 250px;text-decoration:none;display:flex;align-items:center}.site-logo img,.custom-logo{max-height:82px;width:auto}
.main-nav{margin-left:auto}.main-nav ul{display:flex;gap:28px;align-items:center;margin:0;padding:0;list-style:none}.main-nav li{margin:0;list-style:none}.main-nav a{text-decoration:none;color:var(--navy);font-weight:800;font-size:14px}
.header-phone{color:#64b90a;text-decoration:none;font-size:24px;font-weight:900;white-space:nowrap}.header-phone small{display:block;color:var(--navy);font-size:10px;text-align:right}

/* Core block reset for these pages */
.entry-content>.alignfull{margin-left:0!important;margin-right:0!important;width:100%!important;max-width:none!important}
.entry-content>.alignwide{max-width:1240px;margin-left:auto!important;margin-right:auto!important}
.entry-content>.wp-block-group:not(.alignfull):not(.alignwide),.entry-content>p,.entry-content>h1,.entry-content>h2,.entry-content>h3{max-width:1180px;margin-left:auto;margin-right:auto}

/* Hero */
.hp-hero{min-height:585px!important}
.hp-hero .wp-block-cover__background{background:linear-gradient(90deg,rgba(1,29,52,.97) 0%,rgba(1,29,52,.94) 33%,rgba(1,29,52,.68) 55%,rgba(1,29,52,.06) 85%)!important}
.hp-hero .wp-block-cover__inner-container{max-width:1240px!important;width:calc(100% - 40px)!important;margin:auto!important}
.hp-hero-copy{max-width:720px!important;margin:0!important;padding:55px 0!important}
.hp-hero-title{font-size:clamp(56px,5.8vw,86px)!important;line-height:.94!important;letter-spacing:-2px!important;margin:0 0 8px!important;color:#fff!important}
.hp-hero-offer{font-size:clamp(42px,4.7vw,66px)!important;line-height:1!important;margin:0 0 15px!important;color:var(--green)!important}
.hp-rule{width:140px!important;border-top:3px solid #1688e8!important;margin:0 0 18px!important}
.hp-hero-tag{font-size:29px!important;line-height:1.05!important;margin:0 0 8px!important;color:#fff!important}
.hp-hero-sub{font-size:20px!important;margin:0 0 24px!important;color:#fff!important}
.hp-btn-green .wp-block-button__link{background:var(--green)!important;color:#fff!important;border-radius:5px!important;font-weight:900!important;padding:15px 25px!important}
.hp-btn-outline .wp-block-button__link{background:transparent!important;color:#fff!important;border:2px solid #fff!important;border-radius:5px!important;font-weight:900!important;padding:13px 24px!important}

/* Benefit bar */
.hp-benefits{background:var(--deep)!important;color:#fff;padding:0!important}
.hp-benefits>.wp-block-group__inner-container{max-width:1240px;margin:auto}
.hp-benefit-columns{max-width:1240px!important;margin:0 auto!important;gap:0!important;padding:0 20px}
.hp-benefit{padding:22px 12px!important;text-align:center!important}
.hp-benefit:not(:last-child){border-right:1px solid rgba(255,255,255,.22)}
.hp-benefit p{margin:0!important}.hp-benefit .ico{font-size:30px!important;line-height:1!important;margin:0 0 7px!important}.hp-benefit strong{display:block;font-size:14px}.hp-benefit span{font-size:13px;opacity:.9}

/* Common sections */
.hp-section{padding:65px 20px!important}.hp-soft{background:var(--soft)!important}
.hp-kicker{font-size:12px!important;text-transform:uppercase;letter-spacing:.6px;color:var(--blue)!important;font-weight:900!important;margin-bottom:5px!important}
.hp-section h2{font-size:40px!important;line-height:1.05!important;color:var(--navy)!important;margin:0 0 16px!important}.hp-lead{font-size:19px!important;color:var(--blue)!important;font-weight:800!important}
.hp-signs{gap:0!important;border:1px solid var(--line)!important;border-radius:14px!important;overflow:hidden!important;box-shadow:var(--shadow)!important;background:#fff!important}
.hp-sign{padding:27px 13px!important;text-align:center!important;min-width:0!important}.hp-sign:not(:last-child){border-right:1px solid var(--line)}.hp-sign p{margin:0!important}.hp-sign .ico{font-size:37px!important;line-height:1!important;color:var(--blue)!important}.hp-sign h3{font-size:15px!important;line-height:1.15!important;margin:9px 0 7px!important;color:var(--navy)!important}.hp-sign .small{font-size:13px!important}
.hp-pagehead{padding:52px 20px 38px!important;background:var(--soft)!important}.hp-pagehead h1{font-size:52px!important;line-height:1!important;color:var(--navy)!important;margin:0 0 10px!important}.hp-pagehead p{font-size:20px!important;color:var(--blue)!important;font-weight:800!important;margin:0!important}
.hp-rounded img{border-radius:14px!important;box-shadow:var(--shadow)!important}
.hp-process{gap:18px!important}.hp-step{padding:22px!important;border:1px solid #e6edf3!important;border-radius:12px!important;box-shadow:0 8px 22px rgba(4,43,78,.07)!important;background:#fff!important}.hp-num{width:40px;height:40px;border-radius:50%;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900}.hp-step h3{font-size:16px!important;color:var(--navy)!important}
.hp-cards{gap:22px!important}.hp-card{border:1px solid #e6edf3!important;border-radius:13px!important;overflow:hidden!important;background:#fff!important;box-shadow:var(--shadow)!important;min-width:0!important}.hp-card .wp-block-image{margin:0!important;aspect-ratio:3/2!important;overflow:hidden!important}.hp-card .wp-block-image img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}.hp-card-body{padding:18px!important}.hp-card-body h3{font-size:20px!important;color:var(--navy)!important;margin-top:0!important}.hp-card-body p{margin-bottom:0!important}

/* Free-check block */
.hp-free{min-height:760px!important}
.hp-free .wp-block-cover__background{background:linear-gradient(90deg,rgba(1,31,56,.95),rgba(1,46,81,.74),rgba(1,36,66,.62))!important}
.hp-free .wp-block-cover__inner-container{max-width:1240px!important;width:calc(100% - 40px)!important;margin:auto!important}
.hp-free-columns{gap:56px!important;align-items:center!important}
.hp-free-copy{min-width:0!important}.hp-free-copy h2{font-size:54px!important;line-height:.98!important;margin:0 0 15px!important;color:#fff!important}.hp-free-copy h3,.hp-free-copy p,.hp-free-copy li,.hp-free-copy a{color:#fff!important}.hp-free-copy .green{color:var(--green)!important}.hp-free-copy h3{font-size:26px!important}
.hp-form-shell{background:#fff!important;padding:30px!important;border-radius:14px!important;box-shadow:0 24px 60px rgba(0,0,0,.28)!important;min-width:0!important}.hp-form-shell h3{color:var(--navy)!important;font-size:25px!important;margin-top:0!important}.hp-form-shell>p{color:var(--muted)!important}
.hp-form-step{display:none}.hp-form-step.active{display:block}.hp-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}.hp-choice{display:flex!important;align-items:center!important;gap:9px!important;border:1px solid #d5dee7!important;border-radius:7px!important;padding:12px!important;color:var(--navy)!important;background:#fff!important;font-size:13px!important;font-weight:800!important;line-height:1.25!important}.hp-choice span{display:inline!important;color:var(--navy)!important;white-space:normal!important;word-break:normal!important}
.hp-form-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.hp-field{margin:11px 0}.hp-field label{display:block;color:var(--navy);font-size:13px;font-weight:800;margin-bottom:5px}.hp-field input,.hp-field textarea{display:block;width:100%;padding:13px;border:1px solid #d5dee7;border-radius:5px;font:inherit;background:#fff}.hp-field textarea{min-height:100px}.hp-next,.hp-submit{display:block;width:100%;padding:16px;border:0;border-radius:5px;color:#fff;font-size:15px;font-weight:900;cursor:pointer}.hp-next{background:var(--navy)}.hp-submit{background:var(--green);margin-top:12px}.hp-back{border:0;background:none;color:var(--blue);font-weight:800;padding:0;margin:4px 0}.hp-status{display:none;margin-top:10px;padding:11px;border-radius:5px;font-size:13px;font-weight:700}.hp-status.ok{display:block;background:#eaf8da;color:#315a00}.hp-status.err{display:block;background:#ffe7e7;color:#871919}.hp-privacy{font-size:11px;color:#6a7581;text-align:center;margin-top:8px}

/* Footer */
.site-footer{background:var(--deep);color:#dce9f6;padding:42px 20px 88px}.footer-inner{max-width:1240px;margin:auto;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:38px}.site-footer h3{color:#fff}.site-footer a{color:#fff;text-decoration:none}.mobilebar{display:none}

@media(max-width:900px){
 .header-inner{min-height:78px}.site-logo{flex:1}.site-logo img,.custom-logo{max-height:62px}.main-nav{display:none}.header-phone{font-size:18px}
 .hp-hero{min-height:620px!important}.hp-hero .wp-block-cover__background{background:rgba(1,29,52,.74)!important}
 .hp-benefit-columns,.hp-signs,.hp-process,.hp-cards,.hp-free-columns{grid-template-columns:1fr 1fr!important}
 .hp-free-columns{grid-template-columns:1fr!important}.footer-inner{grid-template-columns:1fr}
 .mobilebar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:150;box-shadow:0 -5px 20px rgba(0,0,0,.18)}.mobilebar a{flex:1;padding:15px 5px;text-align:center;text-decoration:none;color:#fff;font-weight:900}.mobilebar .call{background:var(--navy)}.mobilebar .check{background:var(--green)}
}
@media(max-width:560px){
 .header-phone{display:none}.hp-hero .wp-block-cover__inner-container,.hp-free .wp-block-cover__inner-container{width:calc(100% - 24px)!important}.hp-hero-title{font-size:43px!important}.hp-hero-offer{font-size:34px!important}.hp-hero-tag{font-size:23px!important}.hp-hero-sub{font-size:17px!important}
 .hp-benefit-columns,.hp-signs,.hp-process,.hp-cards{grid-template-columns:1fr!important}.hp-benefit,.hp-sign{border-right:0!important;border-bottom:1px solid var(--line)!important}.hp-section{padding:48px 12px!important}.hp-section h2{font-size:32px!important}.hp-pagehead h1{font-size:38px!important}.hp-free-copy h2{font-size:43px!important}.hp-form-shell{padding:21px!important}.hp-choices,.hp-form-row{grid-template-columns:1fr!important}
}
