/* ============================================================
   Borrow Electrical — premium rebuild
   Clash Display + Satoshi · deep midnight navy · restrained futurism
   ============================================================ */

:root {
  /* Deep navy system */
  --bg:        #070c18;   /* base midnight navy */
  --bg-soft:   #0a1020;   /* subtle lift */
  --panel:     #0c1424;
  --panel-2:   #101a2e;
  --ink:       #05080f;   /* near-black bands */

  --line:        rgba(126,166,214,0.10);
  --line-strong: rgba(126,166,214,0.20);

  --text:      #e8eef7;
  --text-dim:  #93a3bd;
  --text-faint:#66748c;

  --blue:       #3e83d8;   /* refined accent */
  --blue-light: #82b6ee;
  --blue-glow:  rgba(62,131,216,0.35);

  --gold:      #ffc61a;
  --gold-deep: #f2a411;

  --radius: 16px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Clash Display", "Satoshi", sans-serif;
  --font-body: "Satoshi", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

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

section { position: relative; padding: 120px 0; }

/* Shared type helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 26px;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-title { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -0.03em; }
.section-lead { color: var(--text-dim); max-width: 540px; font-size: 18px; margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  padding: 16px 30px;
  border-radius: 9px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
}
.btn svg { width: 17px; height: 17px; }

.btn-gold {
  background: linear-gradient(180deg, #ffd257, var(--gold-deep));
  color: #14213a;
  box-shadow: 0 10px 34px rgba(242,164,17,0.24);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(242,164,17,0.34); }

.btn-ghost {
  background: rgba(255,255,255,0.02);
  color: var(--text);
  border-color: var(--line-strong);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--blue-light); color: #fff; transform: translateY(-3px); }

/* ============================================================
   Intro overlay — refined draw-in
   ============================================================ */
.intro {
  position: fixed; inset: 0; z-index: 300;
  background: radial-gradient(120% 90% at 50% 45%, #0a1526 0%, var(--ink) 70%);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
.intro.done { opacity: 0; visibility: hidden; pointer-events: none; }
body.intro-active { overflow: hidden; }

.intro-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.intro-line {
  position: absolute; top: 46px; left: 50%; width: 0; height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--blue-light) 45%, var(--gold) 75%, transparent);
  box-shadow: 0 0 22px var(--blue-glow);
  animation: intro-line 0.7s var(--ease) 0.15s forwards;
}
@keyframes intro-line { to { width: 320px; } }

.intro-logo {
  width: 92px; opacity: 0; transform: scale(0.82) translateY(6px);
  filter: drop-shadow(0 0 28px var(--blue-glow));
  animation: intro-logo 0.9s var(--ease) 0.45s forwards;
}
@keyframes intro-logo {
  0%   { opacity: 0; transform: scale(0.82) translateY(6px); }
  45%  { opacity: 1; filter: drop-shadow(0 0 40px rgba(255,198,26,0.5)); }
  100% { opacity: 1; transform: scale(1) translateY(0); filter: drop-shadow(0 0 26px var(--blue-glow)); }
}
.intro-word {
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--text);
  padding-left: 0.42em;
  opacity: 0; animation: intro-fade 0.8s var(--ease) 0.85s forwards;
}
.intro-word b { color: var(--blue-light); font-weight: 600; }
@keyframes intro-fade { to { opacity: 1; } }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background 0.4s var(--ease), border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7,12,24,0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: 82px; }

.brand { display: flex; align-items: center; gap: 13px; }
.brand img { width: 40px; height: 40px; filter: drop-shadow(0 0 12px var(--blue-glow)); }
.brand-name {
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
  letter-spacing: 0.14em; text-transform: uppercase; color: #fff; white-space: nowrap;
}
.brand-name span { color: var(--blue-light); }

.main-nav { display: flex; align-items: center; gap: 38px; }
.main-nav a {
  position: relative; color: var(--text-dim); font-weight: 500; font-size: 15px;
  letter-spacing: 0.01em; transition: color 0.3s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
  background: var(--gold); transition: width 0.35s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-call {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 14.5px; color: #14213a;
  background: linear-gradient(180deg, #ffd257, var(--gold-deep));
  padding: 12px 20px; border-radius: 8px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.header-call svg { width: 15px; height: 15px; }
.header-call:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(242,164,17,0.3); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-toggle span { width: 22px; height: 1.5px; background: var(--text); border-radius: 2px; transition: 0.3s var(--ease); }

/* ============================================================
   Hero — full-bleed cinematic
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 140px 0 90px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,8,15,0.94) 0%, rgba(6,10,20,0.82) 42%, rgba(6,10,20,0.55) 100%),
    linear-gradient(0deg, var(--bg) 2%, rgba(7,12,24,0.35) 42%, rgba(7,12,24,0.55) 100%);
}
/* faint engineered grid overlay */
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: radial-gradient(120% 100% at 20% 40%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 100% at 20% 40%, #000 20%, transparent 72%);
}
.hero-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: -1;
  background: linear-gradient(90deg, transparent, var(--blue-glow), transparent);
  animation: hero-scan 8s linear infinite;
}
@keyframes hero-scan { 0% { transform: translateY(18vh); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateY(92vh); opacity: 0; } }

.hero .container { width: 100%; }
.hero-inner { position: relative; max-width: 1140px; margin: 0; text-align: left; }
.hero-meta {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 30px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim);
}
.hero-meta-item { display: inline-flex; align-items: center; gap: 10px; }
.hero-meta .pip { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); flex-shrink: 0; }
.hero-meta .sep { width: 1px; height: 13px; background: var(--line-strong); }

.hero h1 { font-size: clamp(38px, 4.8vw, 64px); letter-spacing: -0.03em; line-height: 1.14; margin-bottom: 26px; max-width: 980px; }
.hero h1 .mb-break { display: none; }
.hero h1 em { font-style: normal; color: var(--blue-light); }
.hero-sub { font-size: 20px; color: var(--text-dim); max-width: 600px; margin-bottom: 42px; line-height: 1.55; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 60px; }

.hero-stats { display: flex; gap: 0; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 30px; max-width: 720px; }
.hero-stat { padding-right: 44px; margin-right: 44px; border-right: 1px solid var(--line); }
.hero-stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hero-stat .num { font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.hero-stat .num span { color: var(--gold); }
.hero-stat .lbl { font-size: 13px; color: var(--text-faint); letter-spacing: 0.04em; margin-top: 4px; }

/* ============================================================
   Assurance row
   ============================================================ */
.assurance { padding: 88px 0; border-bottom: 1px solid var(--line); }
.assurance-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.assurance-item { padding: 0 40px; }
.assurance-item:not(:last-child) { border-right: 1px solid var(--line); }
.assurance-item:first-child { padding-left: 0; }
.assurance-item:last-child { padding-right: 0; }
.assurance-item .ico { color: var(--blue-light); margin-bottom: 20px; }
.assurance-item .ico svg { width: 26px; height: 26px; }
.assurance-item h3 { font-size: 21px; margin-bottom: 10px; }
.assurance-item p { color: var(--text-dim); font-size: 16px; }

/* ============================================================
   About — Hayden
   ============================================================ */
.about { padding: 130px 0; }
.about-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 80px; align-items: center; }
.about-photo { position: relative; }
.about-photo img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--line-strong);
  filter: saturate(1.02) contrast(1.02);
}
.about-photo::before {
  content: ""; position: absolute; inset: -1px; border-radius: var(--radius); z-index: 2; pointer-events: none;
  background: linear-gradient(160deg, transparent 55%, rgba(5,8,15,0.55));
}
.about-tag {
  position: absolute; right: 22px; bottom: 22px; z-index: 3;
  display: flex; align-items: center; gap: 11px;
  background: rgba(7,12,24,0.7); backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong); border-radius: 100px; padding: 10px 18px;
}
.about-tag img { width: 22px; height: 22px; border: none; border-radius: 0; }
.about-tag span { font-size: 13.5px; font-weight: 600; letter-spacing: 0.03em; }
.about-tag b { color: var(--gold); font-weight: 600; }

.about-copy p.lead-para { font-size: 19px; color: var(--text); line-height: 1.6; margin: 22px 0 34px; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 40px; }
.about-value { background: var(--bg); padding: 24px 26px; }
.about-value .vk { font-family: var(--font-display); font-size: 18px; color: #fff; margin-bottom: 6px; }
.about-value .vk i { font-style: normal; color: var(--gold); margin-right: 8px; font-size: 14px; vertical-align: 2px; }
.about-value p { font-size: 14.5px; color: var(--text-dim); }

/* ============================================================
   Services — editorial numbered grid
   ============================================================ */
.services { background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 64px; flex-wrap: wrap; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.service-card {
  position: relative; background: var(--bg); padding: 40px 34px 34px;
  display: flex; flex-direction: column; min-height: 232px;
  transition: background 0.45s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.service-card:hover { background: var(--panel); }
.service-card:hover::before { transform: scaleX(1); }
.service-no { font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: 0.1em; color: var(--text-faint); margin-bottom: 24px; }
.service-card:hover .service-no { color: var(--gold); }
.service-card h3 { font-size: 23px; margin-bottom: 12px; }
.service-card p { color: var(--text-dim); font-size: 15.5px; flex: 1; }
.service-arrow {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  font-size: 14px; font-weight: 600; color: var(--blue-light);
  transition: gap 0.35s var(--ease);
}
.service-card:hover .service-arrow { gap: 14px; }

/* ============================================================
   Emergency band
   ============================================================ */
.emergency { padding: 0; }
.emergency-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding: 60px 56px; margin: 120px 0;
  border: 1px solid var(--line-strong); border-radius: 22px; position: relative; overflow: hidden;
  background:
    radial-gradient(680px 340px at 88% 50%, rgba(255,198,26,0.13), transparent 62%),
    linear-gradient(120deg, var(--panel), var(--bg-soft));
}
.emergency-inner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 54px 100%; opacity: 0.4;
  mask-image: linear-gradient(90deg, transparent, #000 70%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.emergency-inner .etext { position: relative; z-index: 2; }
.emergency-inner h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 10px; }
.emergency-inner p { color: var(--text-dim); font-size: 17px; }
.emergency-inner .btn { position: relative; z-index: 2; }

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 54px; flex-wrap: wrap; }
.rating-badge { display: flex; align-items: center; gap: 14px; }
.rating-badge .stars { color: var(--gold); letter-spacing: 3px; font-size: 17px; }
.rating-badge .rtext { font-size: 14px; color: var(--text-dim); }
.rating-badge .rtext b { color: #fff; font-weight: 600; }

.testimonials-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(340px, 400px); gap: 22px;
  overflow-x: auto; padding: 6px 2px 26px; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--panel-2) transparent;
}
.testimonial {
  scroll-snap-align: start; background: linear-gradient(180deg, var(--panel), var(--bg-soft));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 34px;
  display: flex; flex-direction: column; gap: 22px; transition: border-color 0.4s, transform 0.4s var(--ease);
}
.testimonial:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.testimonial .qmark { font-family: var(--font-display); font-size: 46px; line-height: 0.6; color: var(--blue); opacity: 0.5; }
.testimonial blockquote { font-size: 16.5px; color: var(--text); line-height: 1.62; flex: 1; }
.testimonial .who { display: flex; align-items: center; gap: 13px; padding-top: 6px; border-top: 1px solid var(--line); }
.testimonial .who .av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--panel-2)); display: grid; place-items: center; font-family: var(--font-display); font-size: 15px; color: #fff; }
.testimonial .who strong { font-family: var(--font-display); font-weight: 600; font-size: 15.5px; display: block; }
.testimonial .who span { font-size: 13px; color: var(--text-faint); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--ink); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: start; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: none; border: none; color: var(--text); font-family: var(--font-display); font-weight: 600;
  font-size: 19px; letter-spacing: -0.01em; text-align: left; padding: 26px 4px; cursor: pointer;
  transition: color 0.3s;
}
.faq-q:hover { color: #fff; }
.faq-q .sign { flex: none; width: 24px; height: 24px; position: relative; }
.faq-q .sign::before, .faq-q .sign::after { content: ""; position: absolute; background: var(--blue-light); transition: transform 0.35s var(--ease), opacity 0.3s; }
.faq-q .sign::before { top: 11px; left: 4px; width: 16px; height: 1.5px; }
.faq-q .sign::after { left: 11px; top: 4px; width: 1.5px; height: 16px; }
.faq-item.open .sign::after { transform: scaleY(0); opacity: 0; }
.faq-item.open .sign::before { background: var(--gold); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding: 0 4px 28px; color: var(--text-dim); font-size: 16px; max-width: 92%; }

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta { text-align: center; overflow: hidden; }
.final-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 380px at 50% 0%, rgba(62,131,216,0.12), transparent 66%);
}
.final-cta h2 { font-size: clamp(36px, 5.4vw, 62px); letter-spacing: -0.03em; margin-bottom: 18px; }
.final-cta p { color: var(--text-dim); font-size: 19px; max-width: 500px; margin: 0 auto 40px; }
.final-cta .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding: 84px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 56px; margin-bottom: 60px; }
.footer-brand p { color: var(--text-dim); font-size: 15.5px; margin-top: 20px; max-width: 320px; }
.footer-col h4 { font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 22px; font-family: var(--font-body); font-weight: 600; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.footer-col a { color: var(--text-dim); font-size: 15.5px; transition: color 0.3s; }
.footer-col a:hover { color: var(--blue-light); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--text-faint); font-size: 13.5px; }
.footer-bottom a { color: var(--text-faint); }
.footer-bottom a:hover { color: var(--blue-light); }

/* ============================================================
   Contact page
   ============================================================ */
.page-hero {
  position: relative; padding: 200px 0 90px; overflow: hidden; border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(760px 420px at 82% -10%, rgba(62,131,216,0.16), transparent 64%);
}
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 { font-size: clamp(44px, 6.4vw, 76px); letter-spacing: -0.035em; margin-bottom: 20px; }
.page-hero p { color: var(--text-dim); font-size: 20px; max-width: 560px; }

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; margin-top: 8px; border-top: 1px solid var(--line); }
.contact-card { display: flex; gap: 20px; align-items: center; padding: 26px 6px; border-bottom: 1px solid var(--line); transition: padding-left 0.4s var(--ease); }
.contact-card:hover { padding-left: 14px; }
.contact-card .cc-ico { flex: none; color: var(--blue-light); }
.contact-card .cc-ico svg { width: 24px; height: 24px; }
.contact-card strong { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.contact-card span { color: var(--text-faint); font-size: 14px; }

.contact-form { background: linear-gradient(180deg, var(--panel), var(--bg-soft)); border: 1px solid var(--line-strong); border-radius: 20px; padding: 44px; }
.contact-form h2 { font-size: 27px; margin-bottom: 8px; }
.form-note { color: var(--text-dim); font-size: 15.5px; margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 10px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--ink); border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); font-family: var(--font-body); font-size: 15.5px; padding: 14px 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group textarea { resize: vertical; min-height: 128px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(62,131,216,0.16);
}
.form-status { display: none; margin-top: 20px; padding: 16px 20px; border-radius: 11px; background: rgba(255,198,26,0.08); border: 1px solid rgba(255,198,26,0.3); color: var(--text); font-size: 14.5px; }
.form-status.show { display: block; }
.form-status a { color: var(--gold); }

/* ============================================================
   Interior pages — breadcrumb, service detail, related
   ============================================================ */
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-faint); margin-bottom: 24px; }
.breadcrumb a { color: var(--text-dim); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--blue-light); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--text); }

.page-hero .ph-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Service detail overview: content + sticky aside */
.svc-overview { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 64px; align-items: start; }
.svc-body h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 0 0 18px; }
.svc-body h3 { font-size: 21px; margin: 40px 0 16px; }
.svc-body p { color: var(--text-dim); font-size: 17px; margin-bottom: 18px; }
.svc-list { list-style: none; display: grid; gap: 14px; margin: 22px 0 8px; }
.svc-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--text); font-size: 16px; }
.svc-list .tick { flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 7px; background: rgba(255,198,26,0.12); color: var(--gold); display: grid; place-items: center; font-size: 13px; font-weight: 700; }

.svc-aside { position: sticky; top: 108px; background: linear-gradient(180deg, var(--panel), var(--bg-soft)); border: 1px solid var(--line-strong); border-radius: 18px; padding: 32px; }
.svc-aside h3 { font-size: 21px; margin-bottom: 8px; }
.svc-aside p { color: var(--text-dim); font-size: 15px; margin-bottom: 22px; }
.svc-aside .btn { width: 100%; justify-content: center; margin-bottom: 12px; }
.svc-aside .aside-meta { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.svc-aside .aside-row { display: flex; gap: 12px; align-items: center; font-size: 14.5px; color: var(--text-dim); }
.svc-aside .aside-row svg { width: 18px; height: 18px; color: var(--blue-light); flex: none; }
.svc-aside .aside-row b { color: var(--text); font-weight: 600; }

/* Related services */
.related { background: var(--ink); border-top: 1px solid var(--line); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-top: 44px; }
.related-card { background: var(--bg); padding: 30px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--text); transition: background 0.4s var(--ease); }
.related-card:hover { background: var(--panel); }
.related-card h3 { font-size: 18px; }
.related-card .rc-arrow { color: var(--blue-light); transition: transform 0.35s var(--ease); flex: none; }
.related-card:hover .rc-arrow { transform: translateX(5px); }

/* About page process/area strip */
.area-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.area-cell { background: var(--bg); padding: 30px 28px; }
.area-cell .an { font-family: var(--font-display); font-size: 30px; color: #fff; letter-spacing: -0.02em; }
.area-cell .an span { color: var(--gold); }
.area-cell .al { color: var(--text-dim); font-size: 14.5px; margin-top: 6px; }

/* Service card icon row (home + services grid) */
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.service-top .service-no { margin-bottom: 0; }
.service-ico { color: var(--blue-light); opacity: 0.85; transition: color 0.4s var(--ease), transform 0.4s var(--ease); }
.service-ico svg { width: 26px; height: 26px; display: block; }
.service-card:hover .service-ico { color: var(--gold); transform: translateY(-2px); }

/* ============================================================
   Process — How it works
   ============================================================ */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-top: 52px; }
.process-step { background: var(--bg); padding: 38px 32px; position: relative; transition: background 0.4s var(--ease); }
.process-step:hover { background: var(--panel); }
.process-step .ps-no { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 22px; }
.process-step .ps-ico { color: var(--blue-light); margin-bottom: 20px; }
.process-step .ps-ico svg { width: 26px; height: 26px; }
.process-step h3 { font-size: 20px; margin-bottom: 10px; }
.process-step p { color: var(--text-dim); font-size: 15px; line-height: 1.55; }

/* ============================================================
   Service areas
   ============================================================ */
.areas { background: var(--ink); border-top: 1px solid var(--line); }
.areas-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: center; }
.suburb-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.suburb-chip { padding: 11px 20px; border: 1px solid var(--line-strong); border-radius: 100px; font-size: 14.5px; font-weight: 500; color: var(--text); background: rgba(29,155,240,0.04); transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease); }
.suburb-chip:hover { border-color: var(--blue-light); background: rgba(29,155,240,0.1); transform: translateY(-2px); }
.suburb-chip.more { color: var(--gold); border-color: rgba(255,198,26,0.3); background: rgba(255,198,26,0.05); }

/* ============================================================
   Service page banner
   ============================================================ */
.svc-banner { position: relative; padding: 168px 0 76px; overflow: hidden; border-bottom: 1px solid var(--line); }
.svc-banner-bg { position: absolute; inset: 0; z-index: -2; }
.svc-banner-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.svc-banner-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,8,15,0.96) 0%, rgba(6,10,20,0.82) 50%, rgba(6,10,20,0.6) 100%),
    linear-gradient(0deg, var(--bg) 3%, rgba(7,12,24,0.4) 55%, rgba(7,12,24,0.5) 100%);
}
.svc-banner-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.svc-banner-text { max-width: 720px; }
.svc-banner-text h1 { font-size: clamp(38px, 5.2vw, 62px); letter-spacing: -0.03em; margin-bottom: 16px; }
.svc-banner-text p { color: var(--text-dim); font-size: 19px; max-width: 560px; }
.svc-icon-badge {
  flex: none; width: 132px; height: 132px; border-radius: 30px; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-strong); box-shadow: 0 0 70px rgba(62,131,216,0.28), inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
}
.svc-icon-badge::before {
  content: ""; position: absolute; inset: 0; border-radius: 30px; padding: 1px;
  background: linear-gradient(160deg, rgba(130,182,238,0.5), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.svc-icon-badge svg { width: 60px; height: 60px; color: var(--blue-light); filter: drop-shadow(0 0 14px var(--blue-glow)); }

/* ============================================================
   Reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  section { padding: 88px 0; }
  .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .main-nav {
    position: fixed; top: 82px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(5,8,15,0.96); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line);
    padding: 14px 28px 24px; display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 15px 0; font-size: 18px; width: 100%; }
  .nav-toggle { display: flex; }
  .header-call .call-label { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .emergency-inner { padding: 44px 32px; margin: 88px 0; }
  .svc-overview { grid-template-columns: 1fr; gap: 44px; }
  .svc-aside { position: static; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .area-strip { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .areas-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-banner-inner { flex-direction: column-reverse; align-items: flex-start; gap: 32px; }
  .svc-banner { padding: 140px 0 60px; }
  .svc-icon-badge { width: 96px; height: 96px; border-radius: 24px; }
  .svc-icon-badge svg { width: 44px; height: 44px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero-meta { gap: 10px; margin-bottom: 24px; }
  .hero-meta .sep { display: none; }
  .hero-meta .hero-meta-location { display: none; }
  .hero h1 .mb-break { display: block; }
  .hero h1 .desk-break { display: none; }
  .hero h1 { font-size: clamp(27px, 8.3vw, 32px); line-height: 1.18; margin-bottom: 18px; }
  .hero-sub { font-size: 17px; margin-bottom: 30px; }
  .hero-ctas { margin-bottom: 40px; }
  .hero-stats { flex-wrap: nowrap; justify-content: space-between; }
  .hero-stat { flex: 1; padding-right: 16px; margin-right: 0; }
  .hero-stat:last-child { flex: 0 0 auto; }
  .hero-stat .num { font-size: 26px; }
  .hero-stat .lbl { font-size: 11.5px; }
  .header-inner { gap: 14px; }
  .brand { min-width: 0; }
  .brand img { width: 32px; height: 32px; flex-shrink: 0; }
  .brand-name { font-size: 13px; letter-spacing: 0.06em; overflow: hidden; text-overflow: ellipsis; }
  .header-call { padding: 10px 14px; }
  .services-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .assurance-grid { grid-template-columns: 1fr; }
  .assurance-item { padding: 28px 0; border-right: none !important; }
  .assurance-item:not(:first-child) { border-top: 1px solid var(--line); }
  .contact-form { padding: 30px 22px; }
  .related-grid { grid-template-columns: 1fr; }
  .area-strip { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro { display: none; }
  .hero-scan { animation: none; display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- contact wizard (multi-step enquiry) ---------- */
.wizard {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  min-height: 560px;
  overflow: hidden;
}
.wiz-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 22px 30px;
  border-bottom: 1px solid var(--line);
}
.wiz-counter b { color: var(--blue-light); font-weight: 700; }
.btn[hidden], .wiz-body[hidden], .wiz-foot[hidden], .wiz-done[hidden] { display: none !important; }
.wiz-progress { height: 3px; background: var(--line); overflow: hidden; }
.wiz-progress-bar {
  display: block; height: 100%; width: 25%;
  background: var(--blue);
  transition: width 0.5s var(--ease);
}
.wiz-body { flex: 1; padding: 32px 30px; }
.wiz-step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.wiz-step.is-active { display: block; animation: wizIn 0.45s var(--ease); }
@keyframes wizIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.wiz-q { margin-bottom: 26px; }
.wiz-q-num {
  font-family: var(--font-body);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue-light); display: block; margin-bottom: 14px;
}
.wiz-q h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 30px; line-height: 1.06; color: var(--text);
}
.wiz-q-sub { color: var(--text-dim); font-size: 15px; margin-top: 12px; max-width: 46ch; }
.wiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wiz-opt { cursor: pointer; display: block; }
.wiz-opt--full { grid-column: 1 / -1; }
.wiz-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.wiz-opt-box {
  display: block; position: relative; height: 100%;
  border: 1px solid var(--line); background: var(--bg-soft);
  border-radius: 12px; padding: 16px 18px;
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.wiz-opt:hover .wiz-opt-box { border-color: var(--line-strong); transform: translateY(-2px); }
.wiz-opt input:checked + .wiz-opt-box { border-color: var(--blue); background: var(--blue-glow); }
.wiz-opt input:focus-visible + .wiz-opt-box { border-color: var(--blue); }
.wiz-opt-num {
  font-family: var(--font-body); font-size: 11px; letter-spacing: 0.18em;
  color: var(--text-faint); display: block; margin-bottom: 9px;
}
.wiz-opt-label {
  display: block; font-size: 16px; font-weight: 600; color: var(--text);
  line-height: 1.25; padding-right: 30px;
}
.wiz-opt-desc { display: block; font-size: 12.5px; color: var(--text-dim); margin-top: 5px; }
.wiz-opt-tick {
  position: absolute; top: 15px; right: 16px; width: 20px; height: 20px;
  border: 1px solid var(--line-strong); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: transparent;
  transition: background .2s, border-color .2s, color .2s;
}
.wiz-opt input:checked + .wiz-opt-box .wiz-opt-tick { background: var(--blue); border-color: var(--blue); color: #fff; }
.wiz-field + .wiz-field { margin-top: 20px; }
.wiz-field label {
  font-family: var(--font-body); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-faint);
  display: block; margin-bottom: 11px; transition: color .3s;
}
.wiz-field:focus-within label { color: var(--blue-light); }
.wiz-field input, .wiz-field textarea {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 12px; outline: none; color: var(--text);
  font-family: var(--font-body); font-size: 16px; padding: 14px 16px;
  transition: border-color .25s;
}
.wiz-field input:focus, .wiz-field textarea:focus { border-color: var(--blue); }
.wiz-field.has-error input, .wiz-field.has-error textarea { border-color: var(--gold-deep); }
.wiz-field textarea { resize: vertical; min-height: 160px; line-height: 1.6; }
.wiz-field input::placeholder, .wiz-field textarea::placeholder { color: var(--text-faint); }
.wiz-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wiz-err {
  display: none; font-family: var(--font-body); font-size: 12.5px;
  color: var(--gold); margin-top: 16px;
}
.wiz-step.show-error .wiz-err { display: block; }
.wiz-foot {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 30px; border-top: 1px solid var(--line);
}
.wiz-next .arrow, .wiz-submit .arrow { margin-left: 8px; }
.wiz-back {
  font-family: var(--font-body); font-size: 13px; letter-spacing: 0.04em;
  color: var(--text-dim); background: none; border: none; cursor: pointer;
  padding: 0; transition: color .25s;
}
.wiz-back:hover { color: var(--text); }
.wiz-hint {
  font-family: var(--font-body); font-size: 12px; letter-spacing: 0.06em;
  color: var(--text-faint); margin-left: auto;
}
.wiz-done { padding: 62px 30px 68px; text-align: center; animation: wizIn 0.5s var(--ease); }
.wiz-done-mark {
  width: 62px; height: 62px; margin: 0 auto 26px; border-radius: 50%;
  border: 1px solid var(--blue); color: var(--blue-light);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.wiz-done h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 30px; line-height: 1.06; color: var(--text);
}
.wiz-done p { color: var(--text-dim); max-width: 44ch; margin: 16px auto 0; font-size: 15px; }
.wiz-done-lines { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.wiz-done-lines a {
  border: 1px solid var(--line); background: var(--bg-soft); border-radius: 12px;
  padding: 16px 24px; min-width: 180px; transition: border-color .25s;
}
.wiz-done-lines a:hover { border-color: var(--blue); }
.wiz-done-lines small {
  font-family: var(--font-body); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-faint); display: block; margin-bottom: 7px;
}
.wiz-done-lines b { font-size: 16px; font-weight: 600; color: var(--text); word-break: break-word; }
@media (max-width: 720px) {
  .wiz-head { padding: 18px 20px; }
  .wiz-body { padding: 26px 20px; }
  .wiz-options { grid-template-columns: 1fr; }
  .wiz-row { grid-template-columns: 1fr; gap: 18px; }
  .wiz-q h3 { font-size: 25px; }
  .wiz-foot { padding: 18px 20px; flex-wrap: wrap; gap: 14px; }
  .wiz-hint { display: none; }
}
