/*
Theme Name: Pest Control Starter
Description: A reusable local pest-control lead generation theme.
Version: 0.3.2
*/
:root{--ink:#15332e;--paper:#f7f5ed;--green:#1b614f;--accent:#f4cc70}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:1.05rem/1.65 system-ui,sans-serif}a{color:var(--green);text-underline-offset:.2em}a:focus-visible,input:focus-visible,textarea:focus-visible,button:focus-visible{outline:3px solid #aa5900;outline-offset:4px}
.wrap{width:min(70rem,calc(100% - 2.5rem));margin-inline:auto}.bar{display:flex;gap:1rem 2rem;align-items:center;justify-content:space-between;flex-wrap:wrap;padding-block:1rem}.brand{font-weight:850}.menu{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;list-style:none;margin:0;padding:0}
.hero{background:#123e33;color:white;padding-block:clamp(3rem,9vw,7rem);background-size:cover;background-position:center}.hero h1{max-width:17ch;font-size:clamp(2.5rem,7vw,5rem);line-height:1.04;margin:.2em 0}.hero p{max-width:42ch}.eyebrow{color:var(--accent);font-weight:750}.button,button{display:inline-block;background:var(--accent);color:#182d25;border:0;border-radius:.35rem;padding:.7rem 1.15rem;font:inherit;font-weight:750;text-decoration:none;cursor:pointer}
.section{padding-block:clamp(2rem,6vw,4.5rem)}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:1.25rem}.card{background:white;border:1px solid #dce2d9;border-radius:.6rem;padding:1.3rem}.band,footer{background:#e2eee4}.reading{max-width:48rem}h2{line-height:1.2}img{max-width:100%;height:auto}label{display:block;font-weight:650;margin-top:1rem}input,textarea{display:block;width:100%;padding:.6rem;font:inherit;border:1px solid #677971;border-radius:.25rem}form button{margin-top:1rem}.trap{position:absolute;left:-10000px}.skip{position:absolute;left:-10000px}.skip:focus{left:1rem;top:1rem;background:white;padding:.6rem;z-index:5}

/* Reference-inspired layout for the editable Phoenix master. */
body.home { background: #fff; color: #181818; }
.home header.wrap { min-height: 102px; width: min(1220px, calc(100% - 48px)); }
.home header .brand { font-size: clamp(1.45rem, 3vw, 2.2rem); color: #222; text-decoration: none; letter-spacing: -.04em; }
.home header .menu a { color: #222; font-weight: 650; text-decoration: none; }
.home .elementor .pc-reference-hero {
    --padding-top: clamp(64px, 7vw, 105px);
    --padding-bottom: clamp(64px, 7vw, 105px);
    --padding-left: 24px;
    --padding-right: 24px;
    --content-width: 1240px;
}
.home .elementor .pc-reference-hero::before {
    background: linear-gradient(90deg, rgba(20, 12, 7, .69), rgba(20, 12, 7, .18) 72%) !important;
    opacity: 1 !important;
}
.home .elementor .pc-reference-hero .elementor-widget.elementor-element { width: min(100%, 610px); max-width: min(100%, 610px); }
.home .pc-reference-hero h1, .home .pc-reference-hero p { max-width: 610px; }
.home .pc-reference-hero h1.elementor-heading-title {
    color: white; font-size: clamp(2.35rem, 4vw, 3.3rem); line-height: 1.27;
    font-weight: 800; letter-spacing: -.025em;
}
.home .pc-reference-hero .elementor-widget-text-editor { color: white; line-height: 1.8; }
.home .pc-reference-hero .elementor-widget-text-editor p { margin: 0; }
.home .pc-reference-hero .pc-hero-intro { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; }
.home .pc-reference-hero .elementor-widget-button { margin-top: 26px; }
.home .elementor .pc-reference-hero .elementor-widget-button .elementor-button,
.home .elementor .pc-reference-split .elementor-widget-button .elementor-button {
    background: #e00000; color: #fff; border-radius: 3px; font-size: 1.05rem;
    font-weight: 750; padding: 15px 28px;
}
.home .elementor .pc-reference-split {
    --content-width: 1240px; --padding-top: 60px; --padding-bottom: 60px;
    --padding-left: 24px; --padding-right: 24px; --gap: clamp(24px, 6vw, 90px);
}
.home .elementor .pc-reference-split > .e-con-inner { align-items: center; gap: clamp(24px, 6vw, 90px); }
.home .elementor .pc-reference-split > .e-con-inner > .e-con { flex: 1 1 0; min-width: 0; background: transparent; --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; }
.home .pc-reference-split h2.elementor-heading-title { color: #151515; font-size: clamp(1.75rem, 3vw, 2.2rem); font-weight: 800; }
.home .pc-reference-split .elementor-widget-image img { display: block; width: 100%; border-radius: 4px; }
.home .elementor .pc-reference-band {
    --content-width: 1240px; --padding-top: 36px; --padding-bottom: 36px;
    --padding-left: 24px; --padding-right: 24px; background: #b90000;
}
.home .pc-reference-band > .e-con-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; }
.home .pc-reference-band h2.elementor-heading-title { color: #fff; font-weight: 800; }
.home .pc-reference-band .elementor-button { background: #fff; color: #a00000; border-radius: 30px; font-weight: 750; white-space: nowrap; }
.home footer { background: #151515; color: #fff; border-top: 5px solid #e59703; }
.home footer a { color: #fff; }
@media (max-width: 767px) {
    .home header.wrap { min-height: 76px; }
    .home .elementor .pc-reference-hero { background-position: 64% center; }
    .home .elementor .pc-reference-hero::before { background: rgba(20, 12, 7, .63) !important; }
    .home .elementor .pc-reference-split > .e-con-inner { flex-direction: column; align-items: stretch; }
    .home .elementor .pc-reference-split > .e-con-inner > .e-con { flex: 0 1 auto; width: 100%; }
    .home .pc-reference-band > .e-con-inner { flex-direction: column; align-items: flex-start; }
}

/* Shared styling for the Elementor homepage and native WordPress templates. */
:root{--ink:#181818;--paper:#fff;--green:#a80000;--accent:#c60000}
header.wrap{min-height:102px;width:min(1220px,calc(100% - 48px))}
header .brand,.home header .brand{font-size:clamp(1.45rem,3vw,2.2rem);color:#222;text-decoration:none;letter-spacing:-.04em}
header .menu a{color:#222;font-weight:650;text-decoration:none}
header .menu a:hover,.home header .menu a:hover{color:var(--green);text-decoration:underline}
.header-phone,.button,.lead-form button{display:inline-block;background:var(--accent);color:#fff;padding:.68rem 1rem;border-radius:.3rem;font-weight:750;text-decoration:none}
.header-phone{white-space:nowrap}
.header-phone:hover,.lead-form button:hover{background:#a80000}
.page-banner{color:#fff;background:#191919;border-bottom:5px solid #c60000;padding-block:clamp(2.1rem,6vw,4.25rem)}
.page-banner h1{font-size:clamp(2rem,5.5vw,3.5rem);line-height:1.12;letter-spacing:-.035em;margin:0;max-width:32ch}
.page-banner p{margin:.65rem 0 0;color:#f0eeee}
.page-copy{margin-inline:auto;overflow-wrap:anywhere}
.page-copy figure{margin-inline:0}
.page-copy img{border-radius:.35rem}
.blog-card,.contact-card{border:1px solid #e8e2df;border-radius:.65rem;background:#fff;box-shadow:0 8px 24px #2110080c}
.blog-card{overflow:hidden}
.blog-card>img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}
.blog-card-body,.contact-card{padding:clamp(1.1rem,3vw,2rem)}
.blog-card h2,.contact-card h2,.contact-details h2{margin-top:0}
.contact-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-items:start;gap:clamp(1.25rem,5vw,4rem)}
.contact-details{overflow-wrap:anywhere}
.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.lead-form input,.lead-form textarea{margin-top:.35rem;background:#faf9f8;border:1px solid #b7aeaa;border-radius:.35rem;padding:.72rem}
.lead-form textarea{resize:vertical}
.form-hint{color:#595451;font-size:.95rem;margin-bottom:0}
.form-status{background:#edf5ee;padding:.75rem;border-radius:.3rem}
.form-error{background:#fff1ed;color:#8e1f0a}
.site-footer,.home .site-footer{background:#151515;color:#fff;border-top:5px solid #e59703}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));gap:1.5rem 2.5rem;padding-block:2.5rem}
.site-footer h2{font-size:1.12rem;margin:0 0 .75rem}
.site-footer a{display:block;color:#fff;overflow-wrap:anywhere}
.site-footer .menu{display:grid;gap:.35rem}
/* Black copy on light surfaces; preserve white text on dark sections. */
:root{--ink:#000}
body.home,
header .brand,.home header .brand,
header .menu a,.home header .menu a,
.home .pc-reference-split h2.elementor-heading-title,
.home .pc-reference-split .elementor-widget-text-editor,
.home .pc-reference-split .elementor-widget-text-editor p,
.lead-form input,.lead-form textarea,.form-hint{color:#000}
.lead-form input::placeholder,.lead-form textarea::placeholder{color:#000;opacity:1}
.header-contact{display:flex;align-items:center;gap:.75rem 1rem;flex-wrap:wrap}
.header-inspection{color:#000;font-weight:500;text-decoration:none}
.header-inspection:hover{text-decoration:underline}
.footer-contact{text-align:left}
.footer-contact p{margin:0 0 .5rem}
@media(min-width:768px){
    header.wrap.bar{justify-content:flex-start;column-gap:clamp(1rem,2.2vw,2rem)}
    .home .elementor .pc-reference-split > .e-con-inner > .e-con:has(.elementor-widget-image){flex:1.18 1 0}
}
header .menu a:hover,.home header .menu a:hover{color:var(--green)}
@media(max-width:767px){
    header.wrap{min-height:76px}
    .bar nav{order:1;flex-basis:100%}
    .header-contact{order:2}
    .contact-grid,.form-row{grid-template-columns:1fr}
    .form-row{gap:0}
}
