/* ============================================
   Volta Electrics — shared stylesheet
   ============================================ */

:root {
  --black: #1a1a1a;
  --black-soft: #242424;
  --ink: #2b2b2b;
  --hazard: #ffd200;
  --hazard-deep: #e6bd00;
  --paper: #fafaf8;
  --paper-warm: #f2f0e9;
  --green: #3d6b4a;
  --green-deep: #2e5238;
  --grey: #6b6b6b;
  --grey-light: #d8d6cf;
  --white: #ffffff;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.10);

  --wrap: 1140px;
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Hazard stripe motif (the signature) ---------- */
.hazard-stripe {
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--black) 0, var(--black) 18px,
    var(--hazard) 18px, var(--hazard) 36px
  );
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  color: var(--white);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
  max-width: var(--wrap);
  margin: 0 auto;
}

/* SVG logo lockup */
.logo { display: flex; align-items: center; gap: 0; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo svg { height: 44px; width: auto; display: block; }

.header-contact {
  display: flex;
  align-items: center;
  gap: 22px;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--hazard);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  padding: 10px 18px;
  border-radius: 4px;
  transition: transform 0.12s ease, background 0.12s ease;
  white-space: nowrap;
}
.header-phone:hover { background: var(--hazard-deep); text-decoration: none; transform: translateY(-1px); }
.header-phone svg { width: 17px; height: 17px; }

/* ---------- Nav ---------- */
.nav-toggle { display: none; }
.nav-btn {
  display: none;
  background: none;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--white);
  width: 42px; height: 42px;
  border-radius: 4px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-btn svg { width: 22px; height: 22px; }

.main-nav { background: var(--black-soft); border-top: 1px solid rgba(255,255,255,0.08); }
.main-nav ul {
  list-style: none;
  display: flex;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 12px;
}
.main-nav a {
  display: block;
  color: rgba(255,255,255,0.82);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 15px 20px;
  border-bottom: 3px solid transparent;
  transition: color 0.12s, border-color 0.12s, background 0.12s;
}
.main-nav a:hover { color: var(--white); text-decoration: none; background: rgba(255,255,255,0.04); }
.main-nav a.active { color: var(--hazard); border-bottom-color: var(--hazard); }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(rgba(20,20,20,0.82), rgba(20,20,20,0.88)),
    var(--black);
  color: var(--white);
  padding: 72px 0 64px;
  position: relative;
}
.hero-eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--hazard);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  max-width: 16ch;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.14rem;
  max-width: 54ch;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 14px 26px;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.12s, background 0.12s, border-color 0.12s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--hazard); color: var(--black); }
.btn-primary:hover { background: var(--hazard-deep); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: var(--hazard); color: var(--hazard); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--black-soft); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Page header (interior pages) ---------- */
.page-head {
  background: var(--black);
  color: var(--white);
  padding: 48px 0 44px;
}
.page-head .hero-eyebrow { margin-bottom: 12px; }
.page-head h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
}
.page-head p { color: rgba(255,255,255,0.8); max-width: 60ch; margin-top: 14px; font-size: 1.08rem; }

/* ---------- Section ---------- */
section { padding: 60px 0; }
.section-tight { padding: 44px 0; }
.section-eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 16px;
}
.lead { font-size: 1.14rem; color: var(--ink); max-width: 62ch; }
.prose p { margin-bottom: 16px; max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }

.bg-paper-warm { background: var(--paper-warm); }
.bg-black { background: var(--black); color: var(--white); }
.bg-black .section-title { color: var(--white); }
.bg-black .section-eyebrow { color: var(--hazard); }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--paper-warm); border-bottom: 1px solid var(--grey-light); }
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  padding: 20px 24px;
  max-width: var(--wrap);
  margin: 0 auto;
  align-items: center;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}
.trust-item svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }

/* ---------- Service grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 8px;
  padding: 28px;
  transition: transform 0.14s, box-shadow 0.14s, border-color 0.14s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--hazard); }
.card-icon {
  width: 46px; height: 46px;
  background: var(--black);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; color: var(--hazard); }
.card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--black);
  margin-bottom: 10px;
}
.card p { font-size: 0.98rem; color: var(--grey); }

/* ---------- Checklist ---------- */
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist.cols-2 { grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.02rem;
}
.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 2px;
  background: var(--green);
  border-radius: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}

/* ---------- Split (text + image) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: 8px; box-shadow: var(--shadow-md); }

/* ---------- Rates ---------- */
.rate-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 28px 0; }
.rate-card {
  border: 2px solid var(--grey-light);
  border-radius: 10px;
  padding: 30px;
  background: var(--white);
}
.rate-card.featured { border-color: var(--black); position: relative; }
.rate-card .rate-label {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  color: var(--grey);
  margin-bottom: 8px;
}
.rate-card .rate-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--black);
  line-height: 1;
}
.rate-card .rate-price span { font-size: 1.05rem; font-weight: 500; color: var(--grey); }
.rate-card .rate-note { margin-top: 12px; font-size: 0.96rem; color: var(--grey); }

.info-panel {
  background: var(--paper-warm);
  border-left: 4px solid var(--hazard);
  border-radius: 0 8px 8px 0;
  padding: 22px 26px;
  margin: 22px 0;
}
.info-panel h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--black); margin-bottom: 10px; }

/* ---------- Stats (fact page) ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 32px 0; }
.stat {
  background: var(--black);
  color: var(--white);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
}
.stat .stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--hazard);
  line-height: 1;
}
.stat .stat-label { font-size: 0.94rem; color: rgba(255,255,255,0.8); margin-top: 10px; }

/* ---------- Coverage ---------- */
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.area-tag {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 40px;
  padding: 8px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 56px 0;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  margin-bottom: 14px;
}
.cta-band p { color: rgba(255,255,255,0.82); max-width: 50ch; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 7px;
  color: var(--black);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--grey-light);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  transition: border-color 0.12s;
}
.form-field input:focus,
.form-field textarea:focus { outline: none; border-color: var(--green); }
.form-field textarea { resize: vertical; min-height: 130px; }

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact-detail .cd-icon {
  width: 44px; height: 44px;
  background: var(--black);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail .cd-icon svg { width: 22px; height: 22px; color: var(--hazard); }
.contact-detail .cd-label { font-size: 0.85rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.contact-detail .cd-value { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--black); }
.contact-detail .cd-value a { color: var(--black); }

.form-note {
  font-size: 0.9rem;
  color: var(--grey);
  margin-top: 8px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.75);
  padding: 52px 0 0;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255,255,255,0.72); }
.footer-col a:hover { color: var(--hazard); text-decoration: none; }
.footer-about p { margin-bottom: 14px; max-width: 36ch; }
.footer-logo svg { height: 38px; width: auto; margin-bottom: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .header-inner { padding: 12px 18px; }
  .logo svg { height: 36px; }
  .header-phone span.phone-text { display: none; }
  .header-phone { padding: 10px 12px; }

  .nav-btn { display: flex; }
  .main-nav ul {
    flex-direction: column;
    padding: 0;
    display: none;
  }
  .nav-toggle:checked ~ .main-nav ul { display: flex; }
  .main-nav a { padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .main-nav a.active { border-bottom-color: rgba(255,255,255,0.08); background: rgba(255,210,0,0.08); }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .rate-cards { grid-template-columns: 1fr; }
  .checklist.cols-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  section { padding: 44px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
