/* Wieco Electric — mobile-first stylesheet (no frameworks) */
:root{
  --navy:#0b2540; --navy-2:#12355b; --navy-3:#1b4a7a;
  --yellow:#ffc414; --yellow-2:#ffd75a;
  --text:#1c2430; --muted:#4a5563; --line:#d9e0e8;
  --bg:#ffffff; --bg-alt:#f3f6fa; --link:#0b5cad; --error:#b3261e; --ok:#1e6b3a;
  --radius:12px; --shadow:0 6px 24px rgba(11,37,64,.10);
  --max:1160px;
  --font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{margin:0;font-family:var(--font);font-size:1.0625rem;line-height:1.6;color:var(--text);background:var(--bg)}
img,svg{max-width:100%;height:auto;display:block}
a{color:var(--link);text-underline-offset:2px}
a:hover{color:var(--navy-2)}
:focus-visible{outline:3px solid var(--yellow);outline-offset:2px;box-shadow:0 0 0 5px var(--navy)}
h1,h2,h3,h4{line-height:1.2;color:var(--navy);margin:0 0 .6em}
h1{font-size:clamp(1.9rem,5.5vw,3.1rem);letter-spacing:-.01em}
h2{font-size:clamp(1.5rem,3.6vw,2.2rem)}
h3{font-size:1.2rem}
p{margin:0 0 1em}
ul{padding-left:1.2em}
.container{width:100%;max-width:var(--max);margin:0 auto;padding:0 1.15rem}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--yellow);color:var(--navy);padding:.6rem 1rem;z-index:100;font-weight:700}
.skip-link:focus{left:1rem;top:.5rem}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Top bar + header */
.topbar{background:var(--navy);color:#e8eef5;font-size:.875rem}
.topbar .container{display:flex;flex-wrap:wrap;gap:.25rem 1.25rem;justify-content:space-between;padding-top:.4rem;padding-bottom:.4rem}
.topbar a{color:var(--yellow);font-weight:700;text-decoration:none}
.topbar a:hover{text-decoration:underline;color:var(--yellow-2)}
.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
.site-header .container{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:68px}
.brand{display:flex;align-items:center;gap:.6rem;text-decoration:none;color:var(--navy);font-weight:800;font-size:1.25rem;letter-spacing:-.01em}
.brand svg{width:40px;height:40px}
.brand small{display:block;font-size:.72rem;font-weight:600;color:var(--muted);letter-spacing:.02em}
.nav-toggle{display:inline-flex;align-items:center;gap:.4rem;background:var(--navy);color:#fff;border:0;border-radius:8px;padding:.55rem .8rem;font:inherit;font-weight:700;cursor:pointer}
.nav-toggle svg{width:20px;height:20px}
.site-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);box-shadow:var(--shadow)}
.site-nav.open{display:block}
.site-nav ul{list-style:none;margin:0;padding:.5rem 1.15rem 1rem}
.site-nav a{display:block;padding:.7rem .25rem;color:var(--navy);text-decoration:none;font-weight:600;border-bottom:1px solid var(--bg-alt)}
.site-nav a[aria-current="page"]{color:var(--link);text-decoration:underline;text-decoration-thickness:3px;text-decoration-color:var(--yellow)}
.site-nav .nav-cta{margin-top:.6rem;border:0}
.no-js .site-nav{display:block;position:static;box-shadow:none}
@media (min-width:980px){
  .nav-toggle{display:none}
  .site-nav,.no-js .site-nav{display:block;position:static;border:0;box-shadow:none;background:transparent}
  .site-nav ul{display:flex;align-items:center;gap:.15rem;padding:0}
  .site-nav a{border:0;padding:.5rem .6rem;font-size:.97rem}
  .site-nav .nav-cta{margin:0 0 0 .4rem}
}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.8rem 1.3rem;border-radius:10px;font-weight:800;text-decoration:none;border:2px solid transparent;cursor:pointer;font:inherit;font-weight:800;line-height:1.2;transition:transform .15s ease,background .15s ease}
.btn svg{width:20px;height:20px}
.btn-primary{background:var(--yellow);color:var(--navy)!important}
.btn-primary:hover{background:var(--yellow-2);transform:translateY(-1px)}
.btn-dark{background:var(--navy);color:#fff!important}
.btn-dark:hover{background:var(--navy-2)}
.btn-outline{border-color:#fff;color:#fff!important;background:transparent}
.btn-outline:hover{background:rgba(255,255,255,.1)}
.btn-outline-dark{border-color:var(--navy);color:var(--navy)!important;background:transparent}
.btn-outline-dark:hover{background:var(--bg-alt)}
.btn-row{display:flex;flex-wrap:wrap;gap:.75rem}

/* Hero */
.hero{background:radial-gradient(1200px 500px at 85% -10%,var(--navy-3),transparent 60%),linear-gradient(160deg,var(--navy) 0%,var(--navy-2) 100%);color:#fff;overflow:hidden}
.hero .container{display:grid;gap:2rem;padding-top:2.75rem;padding-bottom:3rem;align-items:center}
.hero h1{color:#fff}
.hero h1 .accent{color:var(--yellow)}
.hero p.lead{font-size:1.15rem;color:#dfe7f0;max-width:38em}
.hero .badges{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1.4rem;padding:0;list-style:none}
.hero .badges li{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:.3rem .8rem;font-size:.9rem;color:#fff}
.hero-art{max-width:520px;justify-self:center;width:100%}
@media (min-width:900px){.hero .container{grid-template-columns:1.15fr .85fr;padding-top:4rem;padding-bottom:4.5rem}}

.page-hero{background:linear-gradient(160deg,var(--navy) 0%,var(--navy-2) 100%);color:#fff;padding:2.2rem 0 2.4rem}
.page-hero h1{color:#fff;margin-bottom:.35em}
.page-hero p{color:#dfe7f0;max-width:44em;margin:0}
.breadcrumbs{font-size:.9rem;margin-bottom:.8rem}
.breadcrumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:.35rem;margin:0;padding:0}
.breadcrumbs li{color:#dfe7f0}
.breadcrumbs li+li::before{content:"›";margin-right:.35rem;color:var(--yellow)}
.breadcrumbs a{color:#fff}

/* Sections */
.section{padding:3.25rem 0}
.section-alt{background:var(--bg-alt)}
.section-dark{background:var(--navy);color:#e8eef5}
.section-dark h2,.section-dark h3{color:#fff}
.section-dark a{color:var(--yellow)}
.section-head{max-width:46em;margin-bottom:2rem}
.section-head p{color:var(--muted)}
.section-dark .section-head p{color:#cdd8e4}
.eyebrow{display:inline-block;font-size:.8rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--navy-3);margin-bottom:.5rem}
.section-dark .eyebrow,.hero .eyebrow{color:var(--yellow)}

/* Cards / grids */
.grid{display:grid;gap:1.1rem}
@media (min-width:640px){.grid-2,.grid-3,.grid-4{grid-template-columns:repeat(2,1fr)}}
@media (min-width:980px){.grid-3{grid-template-columns:repeat(3,1fr)}.grid-4{grid-template-columns:repeat(4,1fr)}}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem;box-shadow:0 1px 0 rgba(11,37,64,.03)}
.card h3{margin-bottom:.4em}
.card p{color:var(--muted);margin:0}
.card .icon{width:48px;height:48px;border-radius:12px;background:var(--navy);display:grid;place-items:center;margin-bottom:.9rem}
.card .icon svg{width:26px;height:26px;color:var(--yellow)}
.split-cards .card{padding:1.75rem}
.split-cards .card ul{margin:.8rem 0 1.2rem;color:var(--text)}
.split-cards .card li{margin:.25rem 0}
.feature-art{border-radius:var(--radius);background:var(--bg-alt);margin-bottom:1rem}
.check-list{list-style:none;padding:0;margin:0}
.check-list li{position:relative;padding-left:1.8rem;margin:.45rem 0}
.check-list li::before{content:"";position:absolute;left:0;top:.35em;width:1.1rem;height:1.1rem;border-radius:50%;background:var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%230b2540' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat}

/* Service areas */
.area-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,1fr);gap:.55rem}
@media (min-width:640px){.area-list{grid-template-columns:repeat(3,1fr)}}
@media (min-width:980px){.area-list{grid-template-columns:repeat(4,1fr)}}
.area-list li{display:flex;align-items:center;gap:.5rem;background:#fff;border:1px solid var(--line);border-radius:10px;padding:.65rem .8rem;font-weight:700;color:var(--navy)}
.area-list li svg{width:18px;height:18px;flex:none;color:var(--navy-3)}
.section-dark .area-list li{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.18);color:#fff}
.section-dark .area-list li svg{color:var(--yellow)}
.area-list li.primary{background:var(--yellow);border-color:var(--yellow);color:var(--navy)}
.area-list li.primary svg{color:var(--navy)}

/* Steps */
.steps{counter-reset:step;list-style:none;padding:0;margin:0;display:grid;gap:1rem}
@media (min-width:780px){.steps{grid-template-columns:repeat(4,1fr)}}
.steps li{counter-increment:step;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.25rem}
.steps li::before{content:counter(step);display:grid;place-items:center;width:2.1rem;height:2.1rem;border-radius:50%;background:var(--yellow);color:var(--navy);font-weight:900;margin-bottom:.6rem}
.steps h3{font-size:1.05rem;margin-bottom:.3em}
.steps p{color:var(--muted);margin:0;font-size:.97rem}

/* CTA band */
.cta-band{background:var(--yellow);color:var(--navy)}
.cta-band .container{display:flex;flex-wrap:wrap;gap:1rem 2rem;align-items:center;justify-content:space-between;padding-top:2rem;padding-bottom:2rem}
.cta-band h2{margin:0 0 .2em;font-size:clamp(1.35rem,3vw,1.8rem)}
.cta-band p{margin:0}

/* Two column */
.two-col{display:grid;gap:2rem;align-items:start}
@media (min-width:900px){.two-col{grid-template-columns:1.3fr 1fr}.two-col.even{grid-template-columns:1fr 1fr}}
.info-box{background:var(--bg-alt);border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem}
.info-box h2,.info-box h3{font-size:1.2rem}
.info-box dl{margin:0}
.info-box dt{font-weight:800;color:var(--navy);margin-top:.8rem}
.info-box dd{margin:0}
.map-wrap{border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);aspect-ratio:4/3;background:var(--bg-alt)}
.map-wrap iframe{width:100%;height:100%;border:0;display:block}

/* FAQ */
.faq details{background:#fff;border:1px solid var(--line);border-radius:10px;padding:0 1.1rem;margin-bottom:.7rem}
.faq summary{cursor:pointer;font-weight:800;color:var(--navy);padding:1rem 0;list-style-position:outside}
.faq details[open] summary{border-bottom:1px solid var(--line);margin-bottom:.8rem}
.faq details p{color:var(--muted)}

/* Forms */
.form{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem;box-shadow:var(--shadow)}
@media (min-width:640px){.form{padding:2rem}}
.form fieldset{border:0;padding:0;margin:0 0 1.4rem}
.form legend{font-weight:800;color:var(--navy);font-size:1.15rem;margin-bottom:.6rem;padding:0}
.form-grid{display:grid;gap:1rem}
@media (min-width:640px){.form-grid{grid-template-columns:1fr 1fr}.form-grid .full{grid-column:1/-1}}
.field label,.field .label{display:block;font-weight:700;color:var(--navy);margin-bottom:.3rem}
.req{color:var(--error)}
.hint{display:block;font-size:.9rem;color:var(--muted);margin-top:.3rem}
.field input[type=text],.field input[type=email],.field input[type=tel],.field select,.field textarea{width:100%;font:inherit;color:var(--text);background:#fff;border:2px solid #8a97a6;border-radius:8px;padding:.7rem .8rem;min-height:48px}
.field textarea{min-height:150px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--navy-3);outline:3px solid var(--yellow);outline-offset:1px;box-shadow:none}
.field [aria-invalid="true"]{border-color:var(--error)!important;background:#fff7f6}
.error-msg{display:block;color:var(--error);font-weight:700;font-size:.92rem;margin-top:.3rem}
.error-msg:empty{display:none}
.radio-group{display:flex;flex-wrap:wrap;gap:.6rem}
.radio-group label{display:flex;align-items:center;gap:.5rem;border:2px solid #8a97a6;border-radius:8px;padding:.6rem 1rem;font-weight:700;color:var(--navy);cursor:pointer;margin:0;min-height:48px}
.radio-group input{width:1.15rem;height:1.15rem;accent-color:var(--navy)}
.radio-group label:has(input:checked){border-color:var(--navy);background:#fff7d6}
.file-slot{margin-bottom:.8rem}
.file-slot input[type=file]{display:block;width:100%;font:inherit;padding:.6rem;border:2px dashed #8a97a6;border-radius:8px;background:var(--bg-alt)}
.file-summary{font-size:.95rem;color:var(--muted);margin:.4rem 0 0}
.file-summary.over{color:var(--error);font-weight:700}
.form-alert{border-radius:10px;padding:.9rem 1rem;margin-bottom:1rem;font-weight:700}
.form-alert.error{background:#fff1f0;border:2px solid var(--error);color:var(--error)}
.form-alert[hidden]{display:none}
.hidden-field{display:none}
.privacy-note{font-size:.92rem;color:var(--muted)}
.submit-row{display:flex;flex-wrap:wrap;gap:1rem;align-items:center}

/* Footer */
.site-footer{background:#081a2e;color:#cdd8e4;font-size:.97rem}
.site-footer .container{padding-top:3rem;padding-bottom:1.5rem}
.footer-grid{display:grid;gap:2rem}
@media (min-width:780px){.footer-grid{grid-template-columns:1.3fr 1fr 1fr 1.3fr}}
.site-footer h2{color:#fff;font-size:1.05rem;margin-bottom:.8rem}
.site-footer a{color:#fff}
.site-footer a:hover{color:var(--yellow)}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li{margin:.3rem 0}
.site-footer address{font-style:normal}
.footer-areas{display:flex;flex-wrap:wrap;gap:.2rem .6rem}
.footer-areas li{margin:0}
.footer-bottom{border-top:1px solid rgba(255,255,255,.14);margin-top:2rem;padding-top:1.2rem;font-size:.88rem;display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;justify-content:space-between}

/* Mobile sticky call bar */
.mobile-callbar{position:fixed;bottom:0;left:0;right:0;z-index:60;display:grid;grid-template-columns:1fr 1fr;box-shadow:0 -4px 16px rgba(0,0,0,.18)}
.mobile-callbar a{display:flex;align-items:center;justify-content:center;gap:.45rem;padding:.85rem .5rem;font-weight:800;text-decoration:none}
.mobile-callbar svg{width:20px;height:20px}
.mobile-callbar .call{background:var(--navy);color:#fff}
.mobile-callbar .quote{background:var(--yellow);color:var(--navy)}
body{padding-bottom:56px}
@media (min-width:780px){.mobile-callbar{display:none}body{padding-bottom:0}}

.center{text-align:center}
.mt-1{margin-top:1rem}.mt-2{margin-top:2rem}
.lead{font-size:1.12rem}
.muted{color:var(--muted)}
.notice{border-left:4px solid var(--yellow);background:#fffaf0;padding:1rem 1.2rem;border-radius:0 10px 10px 0}
