/* Konnected Electricians — shared styles
   Colours and type scale from /OS/brand (colours.md, typography.md).
   Soleil / Aktiv Grotesk are licensed to the old Squarespace site only —
   Poppins (heading) + Inter (body) are the nearest free, legally embeddable match. */


:root {
  --orange: #CC6633;      /* Accent Orange — buttons, large CTAs */
  --orange-ink: #B85C2E;  /* Accent Ink — links, small/bold orange text */
  --ink: #000000;
  --paper: #FFFFFF;
  --cream: #ECE7E2;
  --radius: 10px;
  --max-width: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.8;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Century Gothic', 'Segoe UI', sans-serif;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em 0;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1em 0; }
a { color: var(--orange-ink); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }

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

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--cream);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 16px;
}
.site-header .logo img { height: 40px; width: auto; border-radius: 0; }
.site-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-header nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.site-header nav a:hover { color: var(--orange-ink); }
.header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--paper) !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.header-call:hover { background: var(--orange-ink); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px 8px;
}

@media (max-width: 860px) {
  .site-header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px 20px;
    gap: 16px;
  }
  .site-header nav.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.btn-primary { background: var(--orange); color: var(--paper); }
.btn-primary:hover { background: var(--orange-ink); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.btn-block { width: 100%; }

/* ---- Hero ---- */
.hero {
  background: var(--cream);
  padding: 64px 0 56px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero .eyebrow, .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--orange-ink);
  margin-bottom: 10px;
  display: block;
}
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero img { width: 100%; object-fit: cover; aspect-ratio: 4/3; object-position: 40% 50%; align-self: start; }

/* ---- Google rating badge ---- */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 8px 16px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow 0.15s ease;
}
.google-badge:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.12); }
.google-badge .google-g { width: 18px; height: 18px; flex-shrink: 0; }
.google-badge-text { display: flex; flex-direction: column; line-height: 1.2; }
.google-badge .google-stars { color: var(--orange); letter-spacing: 1px; font-size: 0.75rem; }
.google-badge .google-rating { font-size: 0.8rem; color: #555; }
.google-badge .google-rating strong { font-weight: 700; color: var(--ink); }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero { padding: 40px 0; }
}

/* ---- Sections ---- */
section { padding: 64px 0; }
.section-alt { background: var(--cream); }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head p { font-size: 1.1rem; }

/* ---- Cards / grids ---- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper);
  border: 1px solid var(--cream);
  border-radius: 16px;
  padding: 28px;
}
.card h3 { margin-bottom: 12px; }
.card a.card-link { font-weight: 600; text-decoration: none; }

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}
.service-icon {
  display: block;
  width: 46px;
  height: 46px;
  color: var(--orange-ink);
  flex-shrink: 0;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card .tag {
  display: inline-block;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}

/* ---- Proof strip ---- */
.proof-strip {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
}
.proof-stat .num {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--orange-ink);
  display: block;
}
.proof-stat .label { font-size: 0.95rem; }

/* ---- Testimonials ---- */
.testimonial {
  background: var(--paper);
  border: 1px solid var(--cream);
  border-radius: 16px;
  padding: 24px;
}
.testimonial .stars { color: var(--orange); margin-bottom: 10px; letter-spacing: 2px; }
.testimonial .name { font-weight: 600; margin-top: 10px; }

/* ---- Steps ---- */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}
.step .num {
  counter-increment: step;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
}

/* ---- Form ---- */
.quote-form {
  background: var(--paper);
  border: 1px solid var(--cream);
  border-radius: 16px;
  padding: 32px;
}
.quote-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 18px;
  font-size: 0.95rem;
}
.quote-form label:first-child { margin-top: 0; }
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--paper);
  color: var(--ink);
}
.quote-form textarea { min-height: 110px; resize: vertical; }
.quote-form .hint { font-size: 0.85rem; color: #555; margin-top: 6px; }
.quote-form button { margin-top: 24px; }

/* ---- Sticky mobile call bar ---- */
.mobile-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--orange);
  z-index: 60;
  display: none;
}
.mobile-call-bar a {
  display: block;
  text-align: center;
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  padding: 14px;
  font-size: 1.05rem;
}
@media (max-width: 860px) {
  .mobile-call-bar { display: block; }
  body { padding-bottom: 56px; }
}

/* ---- Footer ---- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 0 28px;
  margin-top: 40px;
}
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-grid h4 { color: var(--paper); font-size: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 0.95rem; }
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #aaa;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---- Breadcrumb / service-area chips ---- */
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.chip {
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---- EV charger quote wizard ---- */
.evq-body { background: var(--cream); min-height: 100vh; }
.evq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.evq-logo img { height: 36px; width: auto; border-radius: 0; }
.evq-call {
  display: inline-flex;
  align-items: center;
  background: var(--orange);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}
.evq-call:hover { background: var(--orange-ink); }

.evq-main { padding: 20px 16px 60px; }
.evq-wrap { max-width: 640px; margin: 0 auto; }

.evq-card {
  background: var(--paper);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.evq-card-done { text-align: center; }
.evq-done-icon { color: var(--orange); width: 56px; height: 56px; margin: 0 auto 16px; }
.evq-done-icon svg { width: 100%; height: 100%; }
.evq-done-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

.evq-progress { margin-bottom: 28px; }
.evq-progress-bar { background: var(--cream); border-radius: 999px; height: 6px; overflow: hidden; }
.evq-progress-fill { background: var(--orange); height: 100%; border-radius: 999px; transition: width 0.25s ease; }
.evq-progress-label { font-size: 0.8rem; color: #777; margin-top: 8px; font-weight: 600; letter-spacing: 0.02em; }

.evq-title { font-size: clamp(1.3rem, 3vw, 1.7rem); margin-bottom: 8px; }
.evq-subtitle { color: #555; margin-bottom: 0; font-size: 0.98rem; }
.evq-step-body { margin-top: 24px; }

.evq-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.evq-card-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 20px 14px;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.evq-card-opt:hover { border-color: var(--orange); }
.evq-card-opt.is-selected { background: #fff; border-color: var(--orange); }
.evq-card-icon { width: 34px; height: 34px; color: var(--orange-ink); }
.evq-card-icon svg { width: 100%; height: 100%; }
.evq-card-label { line-height: 1.3; }

.evq-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.evq-pill-opt {
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.evq-pill-opt:hover { border-color: var(--orange); }
.evq-pill-opt.is-selected { background: var(--orange); color: var(--paper); }

.evq-field { margin-top: 18px; }
.evq-field:first-child { margin-top: 0; }
.evq-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
.evq-optional { font-weight: 400; color: #888; }
.evq-input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--paper);
  color: var(--ink);
}
.evq-textarea { min-height: 90px; resize: vertical; }
.evq-field-error { color: #b03030; font-size: 0.85rem; margin-top: 6px; }

.evq-vehicle-inputs { display: flex; gap: 12px; margin-top: 16px; }
.evq-field-half { flex: 1; margin-top: 0; }

.evq-subq { margin-top: 20px; }
.evq-subq:first-child { margin-top: 0; }
.evq-subq-label { font-weight: 600; font-size: 0.92rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.evq-subq-icon { width: 18px; height: 18px; color: var(--orange-ink); flex-shrink: 0; }
.evq-subq-icon svg { width: 100%; height: 100%; }

.evq-upload {
  display: block;
  border: 2px dashed #ccc;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  cursor: pointer;
  font-size: 0.92rem;
  color: #555;
}
.evq-upload:hover { border-color: var(--orange); color: var(--orange-ink); }

.evq-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  font-size: 0.9rem;
  color: #444;
  cursor: pointer;
}
.evq-consent input { margin-top: 3px; }

.evq-submit-error { color: #b03030; font-size: 0.9rem; margin-top: 16px; }

.evq-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 32px; gap: 16px; }
.evq-back, .evq-back-link {
  background: none;
  border: none;
  color: #666;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
}
.evq-back:hover, .evq-back-link:hover { color: var(--ink); }
.evq-next {
  background: var(--orange);
  color: var(--paper);
  border: none;
  border-radius: 999px;
  padding: 14px 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
.evq-next:hover { background: var(--orange-ink); }
.evq-next.is-disabled, .evq-next:disabled { background: #ccc; cursor: not-allowed; }

.evq-footer { text-align: center; padding: 0 20px 40px; color: #666; font-size: 0.9rem; }
.evq-footer a { color: var(--orange-ink); }
.evq-footer-small { color: #999; font-size: 0.8rem; margin-top: 4px; }

@media (max-width: 540px) {
  .evq-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .evq-card { padding: 28px 20px; }
  .evq-vehicle-inputs { flex-direction: column; }
  .evq-nav { flex-wrap: wrap; }
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.license-note {
  font-size: 0.85rem;
  color: #666;
  background: var(--cream);
  padding: 10px 16px;
  border-radius: 8px;
  display: inline-block;
}

/* FAQ accordions (added 30/10/2026) */
.faq-list { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--cream); }
.faq-item { border-bottom: 1px solid var(--cream); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--orange-ink); font-size: 1.5rem; line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-q { display: inline; margin: 0; font-size: 1.05rem; line-height: 1.4; }
.faq-item p { margin: 0 0 18px; max-width: 680px; }

/* Join the team page (added 30/10/2026) */
.work-card .service-icon { margin-bottom: 12px; }
.tick-list { list-style: none; padding: 0; margin: 16px 0; }
.tick-list li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.tick-list li::before { content: ""; position: absolute; left: 4px; top: 0.45em; width: 7px; height: 12px; border: solid var(--orange-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.quote-form input[type="file"] { padding: 10px; background: var(--paper); }

/* Privacy policy and other text pages (added 02/11/2026) */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.35rem; margin-top: 36px; }

/* SEO headings (added 05/11/2026): the plain service + suburb line is the H1,
   styled as the small label; the big catchy line keeps the old H1 look. */
h1.eyebrow { font-family: inherit; font-weight: 600; font-size: 0.85rem; line-height: 1.4; letter-spacing: 0.08em; margin: 0 0 10px; }
.display { font-family: 'Poppins', 'Century Gothic', 'Segoe UI', sans-serif; font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em 0; color: var(--ink); }

/* Suburb chips that link to suburb pages (added 05/11/2026) */
a.chip { text-decoration: none; color: inherit; }
a.chip:hover { border-color: var(--orange); color: var(--orange-ink); }
