/* Navarro Electric: brand colors sampled from the business card */
:root {
  --navy: #1C1A3A;
  --navy-2: #26234d;
  --blue: #3B47C4;
  --red: #EC4B32;
  --orange: #F47A38;
  --yellow: #FFC83D;
  --paper: #F6F5F1;
  --ink: #1C1A3A;
  --muted: #5a5870;
  --line: #e3e1da;
  --radius: 14px;
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;

  /* Navarro Construction palette (sister section only) */
  --nc-purple: #5B4DBE;
  --nc-deep: #3A2F8F;
  --nc-blue: #2F4FA8;
  --nc-char: #2B2733;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 800; font-style: italic; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--head); font-weight: 800; font-style: italic; text-decoration: none; padding: .9em 1.5em; border-radius: 10px; border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; cursor: pointer; font-size: 1rem; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 0 -1px var(--red); }
.btn-primary:hover { box-shadow: 0 8px 0 -1px var(--red); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: #fff; }
.btn-call { background: var(--blue); color: #fff; padding: .65em 1.1em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246,245,241,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand img { width: 200px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav > a:not(.btn):not(.sister-link) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav > a:not(.btn):not(.sister-link):hover { color: var(--blue); }

/* Nav link to sister site, in Navarro Construction style */
.sister-link { display: inline-flex; align-items: center; gap: 8px; background: var(--nc-purple); color: #fff; text-decoration: none; padding: 7px 12px; border-radius: 4px; font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1; }
.sister-link b { font-size: 1.15em; }
.sister-link small { font-size: .85em; }
.sister-link img { width: 22px; }
.sister-link:hover { background: var(--nc-deep); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 24px; height: 3px; background: var(--ink); border-radius: 2px; position: relative; margin: auto; content: ""; }
.nav-toggle .bars::before { position: absolute; top: -8px; }
.nav-toggle .bars::after { position: absolute; top: 8px; }

/* Hero */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 30%, rgba(59,71,196,.55), transparent 70%), radial-gradient(40% 50% at 10% 100%, rgba(244,122,56,.25), transparent 70%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; padding: 88px 0 120px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: .9rem; letter-spacing: .04em; background: rgba(255,255,255,.08); padding: 6px 14px; border-radius: 99px; }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.8rem); font-weight: 900; font-style: italic; letter-spacing: -.02em; margin: .4em 0 .35em; }
.hero h1 span { color: var(--orange); }
.lead { font-size: 1.15rem; color: #d6d5e6; max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; color: #c9c8de; font-size: .95rem; }
.hero-points li::before { content: "✓"; color: var(--yellow); font-weight: 700; margin-right: 6px; }
.hero-art { justify-self: center; background: var(--paper); border-radius: 28px; padding: 36px 40px; transform: rotate(-4deg); box-shadow: 18px 18px 0 var(--orange), 18px 18px 0 2px var(--navy); }
.hero-art img { width: 340px; }
.stripes { position: absolute; left: 0; right: 0; bottom: 0; height: 34px; }
.stripes span { position: absolute; bottom: 0; height: 100%; }
.s-blue { left: 0; width: 46%; background: var(--blue); clip-path: polygon(0 40%, 100% 40%, 96% 100%, 0 100%); }
.s-orange { left: 40%; right: 0; background: var(--orange); clip-path: polygon(2% 0, 100% 0, 100% 100%, 0 100%); }
.s-red { right: 0; width: 30%; height: 30% !important; background: var(--red); }

/* Sections */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; }
.kicker { font-family: var(--head); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--orange); margin-bottom: .6em; }
.section-dark { background: var(--navy); color: #fff; }
.section-tint { background: #ecebf6; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.service::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--blue) 50%, var(--orange) 50%); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.service:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -14px rgba(28,26,58,.35); }
.service:hover::after { transform: scaleX(1); }
.service svg { width: 46px; height: 46px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.service:nth-child(even) svg { stroke: var(--red); }
.service p { color: var(--muted); font-size: .95rem; margin: 0; }
.service-cta { background: var(--blue); color: #fff; border: 0; display: flex; flex-direction: column; justify-content: center; }
.service-cta p { color: #dfe1fb; margin-bottom: 18px; }
.service-cta .btn { align-self: flex-start; }

/* Why */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-copy p { color: #d0cfe2; }
.license { display: inline-block; margin-top: 8px; padding: 10px 16px; border-left: 4px solid var(--yellow); background: rgba(255,255,255,.06); }
.license strong { color: #fff; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.values li { background: var(--navy-2); border-radius: var(--radius); padding: 24px; border-top: 4px solid var(--orange); }
.values li:nth-child(2n) { border-top-color: var(--blue); }
.values span { font-family: var(--head); font-weight: 900; font-style: italic; color: var(--yellow); font-size: 1.1rem; }
.values h3 { margin: .3em 0 .3em; }
.values p { color: #bdbcd3; margin: 0; font-size: .95rem; }

/* Reviews */
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.review { margin: 0; background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); position: relative; }
.review::before { content: "★★★★★"; color: var(--orange); letter-spacing: 3px; display: block; margin-bottom: 12px; }
.review blockquote { margin: 0; }
.review-title { font-family: var(--head); font-weight: 800; font-style: italic; font-size: 1.2rem; }
.review figcaption { font-weight: 700; margin-top: 8px; }
.review figcaption span { font-weight: 400; color: var(--muted); margin-left: 6px; }

/* Area */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.area p { color: var(--muted); }
.counties { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.counties li { background: #fff; padding: 18px 20px; border-radius: 12px; font-family: var(--head); font-weight: 700; display: flex; gap: 10px; align-items: center; }
.counties li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(244,122,56,.2); flex: none; }

/* Sister section in Navarro Construction style */
.sister { position: relative; background: var(--nc-purple); color: #fff; overflow: hidden; font-family: var(--body); }
.sister-tiles { position: absolute; top: 0; right: 0; bottom: 0; width: 55%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Crect x='3' y='3' width='42' height='42' rx='3' fill='%23ffffff' fill-opacity='.11'/%3E%3C/svg%3E");
  background-size: 48px 48px; transform: skewX(-14deg); transform-origin: top right;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.sister::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: #fff; }
.sister-inner { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; padding: 80px 0 90px; }
.sister-brand img { width: 360px; }
.sister-tag { margin: 14px 0 0; padding-top: 12px; border-top: 2px solid rgba(255,255,255,.35); font-family: Arial, Helvetica, sans-serif; font-weight: 700; letter-spacing: .02em; display: inline-block; }
.sister h2 { font-family: var(--head); font-style: normal; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.sister p { color: #e6e3fa; }
.sister-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.sister-list li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.sister-list li::before { content: ""; width: 10px; height: 10px; background: #fff; clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); flex: none; }
.sister-btn { display: inline-flex; gap: 10px; align-items: center; background: #fff; color: var(--nc-deep); text-decoration: none; font-family: var(--head); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; padding: 15px 22px; border-radius: 3px; border-bottom: 4px solid var(--nc-char); transition: background .15s; }
.sister-btn:hover { background: #ecebfa; }

/* Quote */
.quote { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.quote-copy p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.contact-list li { display: grid; grid-template-columns: 84px 1fr; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); word-break: break-word; }
.contact-list span { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-top: 3px; }
.quote-form { background: #fff; border-radius: 20px; padding: 32px; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(28,26,58,.5); display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.quote-form input:not([type=radio]), .quote-form select, .quote-form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%; }
.quote-form :is(input, select, textarea):focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,71,196,.18); }
.radio-row { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.radio-row legend { font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.radio-row label { display: flex; gap: 6px; align-items: center; font-weight: 500; }
.quote-form .btn { justify-self: start; }
.form-note { margin: 0; color: var(--muted); font-size: .9rem; }

/* Footer */
.site-footer { background: var(--navy); color: #c9c8de; padding: 64px 0 24px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-inner img { width: 210px; margin-bottom: 16px; }
.site-footer h3 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; }
.site-footer a { color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .85rem; }

.credit a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.credit a:hover { border-bottom-color: #fff; }

/* Responsive */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .site-nav { gap: 16px; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 4px; border-bottom: 1px solid var(--line); display: none; }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.btn):not(.sister-link) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .sister-link { justify-content: center; padding: 12px; margin-top: 8px; }
  .nav-call { margin-top: 8px; }
  .hero-inner, .why, .area, .quote, .sister-inner { grid-template-columns: 1fr; }
  .hero-inner { padding: 64px 0 100px; }
  .hero-art { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .service-grid, .reviews, .values, .counties, .field-row, .sister-list { grid-template-columns: 1fr; }
  .brand img { width: 170px; }
  .sister-brand img { width: 280px; }
  .quote-form { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
