/*
Theme Name: Brooks Electric
Description: Warm, approachable showcase site for Brooks Electric in San Antonio, Texas.
Version: 1.0.2
Text Domain: brooks-electric
*/
@font-face{font-family:Outfit;font-style:normal;font-weight:600 700;font-display:swap;src:url(assets/fonts/outfit-latin.woff2) format("woff2")}
@font-face{font-family:Karla;font-style:normal;font-weight:400 700;font-display:swap;src:url(assets/fonts/karla-latin.woff2) format("woff2")}
:root{--paper:#fbf8f3;--white:#fff;--green:#1f4d3a;--green-deep:#173b2d;--green-soft:#eaf1ea;--amber:#e8a83e;--ink:#202a24;--muted:#58645d;--line:#e4e6df;--shadow:0 12px 32px rgba(30,57,41,.09);--sans:"Karla",Arial,sans-serif;--head:"Outfit",Arial,sans-serif;--r:12px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:88px}body{margin:0;background:#fff;color:var(--ink);font:400 1.05rem/1.62 var(--sans)}img{display:block;max-width:100%;height:auto}a{color:var(--green);text-underline-offset:4px}a:hover{color:var(--green-deep)}button,input,textarea{font:inherit}.container{width:min(1160px,calc(100% - 44px));margin-inline:auto}h1,h2,h3{font-family:var(--head);font-weight:600;line-height:1.12;letter-spacing:-.025em;margin:0 0 .65em}h1{font-size:clamp(2.7rem,5.5vw,4.6rem)}h2{font-size:clamp(2rem,4vw,3rem)}h3{font-size:1.35rem}.icon{width:1.15em;height:1.15em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.skip-link{position:absolute;left:1rem;top:-5rem;z-index:100;background:#fff;color:#173b2d;padding:.8rem 1rem;border-radius:8px}.skip-link:focus{top:1rem}.container:focus{outline:none}
:focus-visible{outline:3px solid #a76800;outline-offset:3px}.site-header{position:sticky;z-index:20;top:0;background:rgba(251,248,243,.96);border-bottom:1px solid rgba(31,77,58,.08);backdrop-filter:blur(12px)}.header-inner{height:82px;display:flex;align-items:center;justify-content:space-between;gap:2rem}.brand{display:inline-flex;align-items:center;gap:.7rem;color:var(--green-deep);font:600 1.45rem/1 var(--head);text-decoration:none;white-space:nowrap}.brand img{width:42px;height:42px}.brand strong{font-weight:700;color:var(--green)}.main-nav{display:flex;align-items:center;gap:1.7rem}.main-nav a{min-height:44px;display:flex;align-items:center;color:#39473e;font-weight:700;text-decoration:none}.main-nav a:hover{text-decoration:underline}.button{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:48px;padding:.7rem 1.1rem;border:1px solid transparent;border-radius:12px;font-weight:700;line-height:1.2;text-decoration:none;cursor:pointer;transition:background .18s ease,transform .18s ease,box-shadow .18s ease}.button:hover{transform:translateY(-1px)}.button-primary{background:var(--green);color:#fff;box-shadow:0 5px 14px rgba(31,77,58,.15)}.button-primary:hover{background:var(--green-deep);color:#fff}.button-light{background:#fff;color:var(--green-deep)}.button-light:hover{background:#f4ead7;color:var(--green-deep)}.button-outline{border-color:var(--green);color:var(--green);background:transparent}.button-outline:hover{background:var(--green);color:#fff}.text-link{display:inline-flex;align-items:center;gap:.4rem;min-height:44px;color:var(--green);font-weight:700;text-decoration:underline;text-underline-offset:5px}.header-call{white-space:nowrap}.eyebrow{display:flex;align-items:center;gap:.6rem;margin:0 0 .8rem;color:var(--green);font:700 .88rem/1.3 var(--sans);letter-spacing:.07em;text-transform:uppercase}.eyebrow-dot{width:28px;height:9px;border-radius:99px;background:var(--amber);display:inline-block;flex:none}.eyebrow-light{color:#fff}
.hero{background:var(--paper);overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.04fr .96fr;align-items:center;gap:3.3rem;padding-block:4.25rem 4.5rem}.hero-copy{padding-block:.6rem}.hero h1{max-width:14ch;color:var(--green-deep);font-size:clamp(2.7rem,5.1vw,4.2rem)}.hero-intro{max-width:48ch;color:#49584f;font-size:1.2rem;margin:0 0 1.5rem}.hero-actions{display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap}.hero-trust{display:flex;gap:.6rem 1.25rem;flex-wrap:wrap;list-style:none;padding:0;margin:1.7rem 0 0;color:#3f5145;font-weight:700;font-size:.94rem}.hero-trust li{display:flex;align-items:center;gap:.35rem}.hero-trust .icon{color:var(--green);width:1rem;height:1rem}.hero-visual{position:relative;min-width:0;padding:0 0 1rem 1rem}.hero-visual::before{content:"";position:absolute;inset:1.2rem 0 0 1.2rem;border-radius:24px;background:#d9e3d6}.hero-photo{position:relative;width:100%;height:520px;object-fit:cover;object-position:center 42%;border-radius:24px;box-shadow:var(--shadow)}.rating-card{position:absolute;z-index:1;left:-1.6rem;bottom:-.2rem;display:grid;grid-template-columns:42px 1fr;align-items:center;column-gap:.7rem;max-width:275px;padding:.8rem 1rem;background:#fff;border:1px solid rgba(31,77,58,.1);border-radius:12px;box-shadow:0 12px 30px rgba(30,57,41,.16)}.rating-card .rating-star{grid-row:span 2;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#fff3d8;color:#8b5a0a;font-size:1.3rem}.rating-card strong{display:block;color:var(--green-deep);font:700 1rem var(--head)}.rating-card small{display:block;color:var(--muted);font-size:.82rem}.rating-card>a{grid-column:2;display:inline-flex;align-items:center;min-height:32px;font-size:.85rem;font-weight:700}
section{padding-block:5.2rem}.section-heading{max-width:740px;margin-bottom:2.1rem}.section-heading h2{color:var(--green-deep);margin-bottom:.55rem}.section-lead{max-width:64ch;margin:0;color:var(--muted)}.services-section{background:#fff}.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.15rem}.service-card{display:flex;align-items:flex-start;gap:1rem;min-height:178px;padding:1.25rem;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 6px 20px rgba(30,57,41,.045);transition:transform .18s ease,box-shadow .18s ease}.service-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.service-card>img{width:78px;height:78px;flex:none;object-fit:cover;border-radius:50%;background:var(--green-soft)}.service-card h3{margin:.05rem 0 .4rem;color:var(--green-deep);font-size:1.2rem}.service-card p{margin:0 0 .4rem;color:var(--muted);font-size:.94rem;line-height:1.45}.service-card a{display:inline-flex;align-items:center;min-height:40px;font-weight:700;font-size:.91rem;text-decoration:underline;text-underline-offset:3px}
.about-section{background:var(--paper)}.about-grid{display:grid;grid-template-columns:1fr .95fr;gap:4rem;align-items:center}.about-photo-wrap{position:relative;padding:0 0 1rem 1rem}.about-photo-wrap::before{content:"";position:absolute;inset:1rem 0 0 1rem;border-radius:24px;background:#e8d8b8}.about-photo-wrap>img{position:relative;width:100%;height:440px;object-fit:cover;border-radius:24px}.photo-caption{position:absolute;right:-1rem;bottom:0;display:flex;align-items:center;gap:.65rem;min-width:220px;padding:.8rem 1rem;background:#fff;border-radius:12px;box-shadow:var(--shadow)}.photo-caption strong,.photo-caption small{display:block}.photo-caption strong{font-family:var(--head);color:var(--green-deep)}.photo-caption small{color:var(--muted);font-size:.82rem}.caption-check{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--green);color:#fff}.about-copy h2{max-width:13ch;color:var(--green-deep)}.about-copy>p:not(.eyebrow){color:#48564d}.check-list{list-style:none;margin:1.3rem 0;padding:0}.check-list li{display:flex;align-items:flex-start;gap:.65rem;margin:.75rem 0;font-weight:700;color:#35453a}.check-list .icon{margin-top:.15rem;color:var(--green)}
.reviews-section{background:#fff}.review-grid{display:grid;grid-template-columns:1.15fr .85fr 1fr;align-items:stretch;gap:1.1rem}.review-card{padding:1.5rem;border-radius:12px;box-shadow:var(--shadow);background:#fff}.review-quote{min-height:245px;border:1px solid var(--line)}.review-stars{color:#875500;letter-spacing:.09em;font-size:1.05rem}.review-quote blockquote{margin:.8rem 0 .6rem;color:var(--green-deep);font:600 1.25rem/1.4 var(--head)}.review-context{margin:0;color:var(--muted);font-size:.91rem}.review-byline{display:flex;align-items:center;gap:.55rem;margin-top:1rem;padding-top:.85rem;border-top:1px solid var(--line)}.review-byline .avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#f6e8cd;color:#65420b;font-weight:700}.review-byline strong,.review-byline small{display:block}.review-byline strong{font-size:.9rem}.review-byline small{font-size:.78rem;color:var(--muted)}.review-byline>a{margin-left:auto;font-weight:700;font-size:.88rem}.review-score{background:var(--green);color:#fff}.review-score .eyebrow{margin-bottom:1rem}.score-big{font:700 3.6rem/1 var(--head)}.score-big span{font-size:1.05rem;font-weight:500;opacity:.85}.review-score .review-stars{margin:.5rem 0;color:#ffd98e}.review-score p:not(.eyebrow){color:#edf4ed}.review-score .button{margin-top:.4rem}.review-note{position:relative;overflow:hidden;background:#f8f2e7}.note-icon{display:block;height:54px;color:#c98c26;font:700 5rem/.9 var(--head)}.review-note h3{margin:.35rem 0;color:var(--green-deep)}.review-note p{color:#4d5a50}.review-note .text-link{margin-top:.25rem}
.faq-section{background:var(--paper)}.faq-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:4rem;align-items:start}.faq-grid .section-heading{margin:0}.faq-list details{background:#fff;border:1px solid var(--line);border-radius:12px;margin:0 0 .7rem}.faq-list summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:60px;padding:.85rem 1rem;cursor:pointer;list-style:none;color:var(--green-deep);font:600 1.1rem/1.3 var(--head)}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary::after{content:"+";display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:50%;background:var(--green-soft);color:var(--green);font:600 1.3rem var(--sans)}.faq-list details[open] summary::after{content:"−"}.faq-list details p{margin:0;padding:0 1rem 1rem;color:#4f5b52}.faq-list summary:focus-visible{outline:3px solid #a76800;outline-offset:2px}
.location-section{background:#fff}.location-grid{display:grid;grid-template-columns:1fr .8fr;align-items:center;gap:4rem}.location-grid>div>p:not(.eyebrow){max-width:54ch;color:var(--muted);margin:0 0 1.3rem}.location-grid h2{color:var(--green-deep)}.address-card{display:flex;flex-direction:column;align-items:flex-start;gap:.28rem;padding:1.6rem;border:1px solid var(--line);border-radius:12px;background:var(--paper);font-style:normal;box-shadow:var(--shadow)}.address-mark{display:grid;place-items:center;width:42px;height:42px;margin-bottom:.3rem;border-radius:50%;background:#fff0d3;color:#875500;font-size:1.5rem}.address-card strong{font:700 1.2rem var(--head);color:var(--green-deep)}.address-card a{font-weight:700}.address-card small{margin-top:.4rem;color:var(--muted)}
.estimate-section{background:#f6f3eb}.estimate-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:4rem;align-items:start}.estimate-copy h2{max-width:12ch;color:var(--green-deep)}.estimate-copy>p:not(.eyebrow){max-width:46ch;color:var(--muted)}.call-number{font:700 1.5rem var(--head);color:var(--green)}.small-note,.privacy-note,.form-hint{color:var(--muted);font-size:.9rem}.inquiry-form{padding:1.6rem;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.inquiry-form h3{margin-bottom:.2rem;color:var(--green-deep)}.form-hint{margin:.2rem 0 1rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.inquiry-form label{display:block;margin:.75rem 0 .3rem;color:#34443a;font-weight:700;font-size:.94rem}.inquiry-form input,.inquiry-form textarea{display:block;width:100%;min-height:48px;padding:.7rem .75rem;border:1px solid #b8c2ba;border-radius:8px;background:#fff;color:var(--ink)}.inquiry-form textarea{min-height:120px;resize:vertical}.inquiry-form input:focus,.inquiry-form textarea:focus{outline:3px solid #e8a83e;outline-offset:1px;border-color:var(--green)}.inquiry-form button{margin-top:1rem}.privacy-note{margin:.6rem 0 0}.notice{padding:.75rem 1rem;margin:1rem 0;border-radius:8px;font-weight:700}.notice-success{background:#e9f4e9;color:#17452e}.notice-error{background:#fff0ed;color:#8b2418}.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.footer-cta{padding-block:2.3rem;background:var(--green);color:#fff}.footer-cta-inner{display:flex;justify-content:space-between;align-items:center;gap:2rem}.footer-cta .eyebrow{margin-bottom:.35rem}.footer-cta h2{margin:0;font-size:clamp(1.7rem,3vw,2.4rem)}.footer-cta p:last-child{margin:.35rem 0 0;color:#e3eee4}.site-footer{padding:3rem 0 1rem;background:var(--paper);color:#334238}.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:2.5rem}.footer-grid h2{margin:0 0 .8rem;font-size:1.05rem;letter-spacing:0}.footer-grid p,.footer-grid address{margin:.65rem 0;color:#556158;font-size:.95rem;font-style:normal}.footer-grid a{font-weight:700}.footer-brand .brand{margin-bottom:.4rem}.footer-bottom{display:flex;justify-content:space-between;gap:1rem;margin-top:2rem;padding-top:1rem;border-top:1px solid var(--line);color:#68736b;font-size:.85rem}.mobile-bar{display:none}
.page-hero{padding-block:3.3rem;background:var(--paper)}.page-hero h1{max-width:18ch;color:var(--green-deep)}.page-lead{max-width:70ch;color:var(--muted);font-size:1.1rem}.page-content{font-size:1.08rem}.page-content p{margin:0 0 1.25rem}.narrow{width:min(820px,calc(100% - 44px))}.page-photo{margin-top:2rem}.page-photo img{width:100%;max-height:420px;object-fit:cover;border-radius:18px}.page-content a{font-weight:700}
@media(max-width:900px){.main-nav{gap:.9rem}.header-inner{gap:1rem}.hero-grid{gap:2rem}.hero-photo{height:470px}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.about-grid,.faq-grid,.location-grid,.estimate-grid{gap:2.5rem}.review-grid{grid-template-columns:1fr 1fr}.review-note{grid-column:1/-1}.footer-grid{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}}
@media(max-width:700px){html{scroll-padding-top:70px}.container{width:min(100% - 36px,600px)}section{padding-block:3.8rem}.header-inner{height:70px}.main-nav{display:none}.header-call{min-height:44px;padding:.6rem .8rem;font-size:.9rem}.brand{font-size:1.25rem}.brand img{width:36px;height:36px}.hero-grid{grid-template-columns:1fr;gap:2rem;padding-block:3rem 3.7rem}.hero h1{max-width:13ch;font-size:clamp(2.65rem,11vw,3.8rem)}.hero-intro{font-size:1.1rem}.hero-visual{padding-left:.5rem}.hero-visual::before{inset:.8rem 0 0 .8rem}.hero-photo{height:min(112vw,450px);border-radius:20px}.rating-card{left:0;bottom:-.75rem;max-width:255px}.service-grid{grid-template-columns:1fr;gap:.8rem}.service-card{min-height:0;padding:1rem}.service-card>img{width:68px;height:68px}.about-grid,.faq-grid,.location-grid,.estimate-grid{grid-template-columns:1fr;gap:2.2rem}.about-photo-wrap>img{height:350px}.photo-caption{right:-.2rem}.about-copy h2{max-width:15ch}.review-grid{grid-template-columns:1fr}.review-note{grid-column:auto}.review-score{order:-1}.faq-grid .section-heading{margin:0}.estimate-grid{gap:1.5rem}.inquiry-form{padding:1.15rem}.form-row{grid-template-columns:1fr;gap:0}.footer-cta-inner{align-items:flex-start;flex-direction:column}.footer-grid{grid-template-columns:1fr;gap:1.2rem}.footer-brand{grid-column:auto}.footer-bottom{flex-direction:column}.site-footer{padding-bottom:5.3rem}.mobile-bar{display:grid;position:fixed;z-index:30;left:0;right:0;bottom:0;grid-template-columns:1fr 1fr;padding-bottom:env(safe-area-inset-bottom);background:#fff;box-shadow:0 -4px 20px rgba(22,51,36,.12)}.mobile-bar a{display:flex;align-items:center;justify-content:center;min-height:58px;background:var(--green);color:#fff;font-weight:700;text-decoration:none}.mobile-bar a+ a{background:#e8a83e;color:#2e2618}.page-hero{padding-block:2.6rem}.page-hero h1{font-size:2.5rem}}
@media(max-width:380px){.container{width:calc(100% - 28px)}.header-call{font-size:.82rem;padding:.55rem .65rem}.brand{gap:.45rem;font-size:1.15rem}.hero-actions{align-items:stretch;flex-direction:column}.hero-actions .button{width:100%}.rating-card{grid-template-columns:36px 1fr;padding:.65rem .75rem}.rating-card .rating-star{width:34px;height:34px}.service-card{gap:.75rem}.service-card>img{width:58px;height:58px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

@media(max-width:700px){.header-call .call-long{display:none}.header-call .call-short{display:inline}.hero-grid{padding-block:2.25rem 3.2rem}.hero-trust{margin-top:1rem;font-size:.88rem}.hero-actions{flex-wrap:nowrap;gap:.7rem}.hero-actions .text-link{white-space:nowrap;font-size:.95rem}}
@media(max-width:380px){.hero-actions{align-items:stretch;flex-direction:column}.hero-actions .text-link{justify-content:center}}

@media(max-width:700px){.hero-actions .button{flex:none;padding-inline:.65rem;font-size:.91rem;white-space:nowrap}.hero-actions .text-link{flex:none;font-size:.9rem}}

.call-short{display:none}
