/* Circuit — Electrician template
   Palette: near-black panel + electric yellow, high-contrast safety feel
   Type: JetBrains Mono (display) / Work Sans (body) */

:root {
  --ink: #0d0d0d;
  --panel: #161616;
  --panel-2: #1e1e1e;
  --yellow: #f4d200;
  --yellow-deep: #cdb100;
  --white: #ffffff;
  --gray: #9a9a9a;
  --line: #2c2c2c;

  --font-display: "JetBrains Mono", monospace;
  --font-body: "Work Sans", sans-serif;
  --font-label: "JetBrains Mono", monospace;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--white); background: var(--ink); -webkit-font-smoothing: antialiased; }
@media (prefers-reduced-motion: reduce) { html{scroll-behavior:auto;} * { animation-duration:.01ms !important; transition-duration:.01ms !important; } }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.label { font-family: var(--font-label); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.caution-strip { height: 6px; background: repeating-linear-gradient(135deg, var(--yellow) 0 16px, var(--ink) 16px 32px); }

/* header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(13,13,13,.95); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.logo svg { flex: none; }
nav.primary { display: flex; gap: 28px; }
nav.primary a { text-decoration: none; color: var(--gray); font-size: 14px; font-weight: 500; }
nav.primary a:hover { color: var(--white); }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; font-family: var(--font-display); text-decoration: none; padding: 12px 20px; border-radius: 3px; border: 1px solid transparent; cursor: pointer; }
.btn--primary { background: var(--yellow); color: var(--ink); }
.btn--primary:hover { background: var(--yellow-deep); }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.3); }
.btn--outline:hover { border-color: var(--white); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

/* hero — circuit trace field */
.hero { position: relative; background: var(--panel); overflow: hidden; }
.circuit-bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; }
.hero-inner { position: relative; padding: 92px 0 84px; max-width: 660px; }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px,4.6vw,50px); line-height: 1.12; margin: 16px 0 20px; }
.hero h1 span { color: var(--yellow); }
.hero p.lede { font-size: 16.5px; line-height: 1.6; color: var(--gray); max-width: 46ch; margin-bottom: 30px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* emergency bar */
.emergency-bar { background: var(--yellow); color: var(--ink); }
.emergency-bar .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 28px; font-family: var(--font-label); font-size: 12px; letter-spacing: .03em; text-align: center; font-weight: 700; }

/* sections */
section { padding: 76px 0; }
.section-head { max-width: 620px; margin-bottom: 42px; }
.section-head .label { display: block; margin-bottom: 10px; }
.section-head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px,3vw,32px); margin: 0 0 12px; color: var(--white); }
.section-head p { color: var(--gray); line-height: 1.6; margin: 0; }

/* services */
.grid-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 1px; background: var(--line); }
.svc { background: var(--panel); padding: 28px 24px; }
.svc h3 { font-family: var(--font-display); font-size: 16.5px; margin: 0 0 8px; color: var(--yellow); }
.svc p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--gray); }

/* certifications */
.cert-strip { background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; }
.cert-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.cert { padding: 28px 22px; text-align: center; border-left: 1px solid var(--line); }
.cert:first-child { border-left: none; }
.cert .num { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--yellow); line-height: 1; }
.cert .cap { font-family: var(--font-label); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--gray); margin-top: 8px; }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.gallery-card { background: var(--panel); border: 1px solid var(--line); }
.gallery-photo { height: 160px; background: linear-gradient(135deg,#2c2c2c,#0d0d0d); position: relative; }
.gallery-photo .tag { position: absolute; bottom: 10px; left: 10px; font-family: var(--font-label); font-size: 10px; text-transform: uppercase; color: var(--yellow); background: rgba(0,0,0,.5); padding: 3px 7px; }
.gallery-caption { padding: 14px 16px; font-size: 13.5px; color: var(--gray); }

/* testimonials */
.testi-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.testi { background: var(--panel); border-left: 3px solid var(--yellow); padding: 24px; }
.testi p { font-size: 14.5px; line-height: 1.6; margin: 0 0 14px; color: #d6d6d6; }
.testi .who { font-family: var(--font-label); font-size: 11.5px; color: var(--gray); }

/* quote CTA */
.quote-shell { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 48px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.quote-copy h2 { font-family: var(--font-display); font-size: clamp(22px,3vw,28px); margin: 12px 0 12px; }
.quote-copy p { color: var(--gray); line-height: 1.6; margin: 0; }
.form-row { margin-bottom: 16px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row label { display: block; font-family: var(--font-label); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--gray); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea { width: 100%; font-family: var(--font-body); font-size: 14.5px; padding: 11px 12px; border-radius: 3px; border: 1px solid var(--line); background: var(--ink); color: var(--white); }
.form-row input::placeholder, .form-row textarea::placeholder { color: #5c5c5c; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--yellow); outline-offset: 1px; }
.quote-form .btn--primary { width: 100%; justify-content: center; margin-top: 4px; }

/* footer */
footer.site-footer { background: var(--panel); color: var(--gray); padding: 46px 0 26px; border-top: 1px solid var(--line); }
footer.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
footer.site-footer h4 { font-family: var(--font-label); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--white); margin: 0 0 14px; }
footer.site-footer p, footer.site-footer a { font-size: 14px; line-height: 1.8; text-decoration: none; color: var(--gray); }
footer.site-footer a:hover { color: var(--yellow); }
.footer-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--font-label); font-size: 10.5px; color: #5c5c5c; }

@media (max-width: 900px) {
  nav.primary { display: none; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .cert { border-left: none; border-top: 1px solid var(--line); }
  .gallery-grid, .testi-row { grid-template-columns: 1fr; }
  .quote-shell { grid-template-columns: 1fr; padding: 30px; }
  .two-col { grid-template-columns: 1fr; }
  footer.site-footer .wrap { grid-template-columns: 1fr; }
}
