/* ==========================================================================
   Camco Electric — light theme (blue + white). Rebuilt to the 2026 concept.
   One shared stylesheet drives the home page and all suburb pages.
   ========================================================================== */

:root {
  /* brand palette (Camco brand guide) */
  --blue: #1265E1;          /* primary */
  --blue-dark: #0e4fb4;     /* hover */
  --blue-2: #1a6fe0;
  --blue-light: #29A8FF;    /* light/sky accent */
  --navy: #0D1424;          /* dark bands + footer */
  --navy-2: #0a0f1c;
  /* ink + surfaces */
  --ink: #0D1424;           /* headings */
  --body: #454c5a;          /* paragraph text */
  --muted: #6B7280;         /* brand grey */
  --bg: #ffffff;
  --bg-soft: #F2F4F7;       /* alternating section */
  --bg-tint: #e7f0ff;       /* icon chips */
  --line: #e6e9ef;
  --line-strong: #d3d9e2;
  /* accents */
  --star: #f5a623;
  --ok: #16a34a;
  --danger: #dc2626;
  /* system */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(13,20,36, .06);
  --shadow: 0 12px 30px rgba(13,20,36, .10);
  --shadow-lg: 0 24px 60px rgba(13,20,36, .16);
  --maxw: 1200px;
  --font: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; } /* never stretch — keep aspect ratio */
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section-label {
  display: inline-block; text-transform: uppercase; letter-spacing: .16em;
  font-size: .78rem; font-weight: 700; color: var(--blue); margin-bottom: 14px;
}
.section-header { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 14px; }
.section-title .highlight, .highlight { color: var(--blue); }
.section-description { color: var(--body); font-size: 1.05rem; }

/* ---- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--radius-sm); font-family: inherit;
  font-weight: 700; font-size: .96rem; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 22px rgba(18,101,225, .28); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-secondary { background: #fff; color: var(--blue); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }

/* ---- brand logo ---------------------------------------------------------- */
.logo { display: inline-flex; align-items: center; }
.brand-logo { height: 46px; width: auto; display: block; }
.footer-logo-chip { display: inline-block; background: #fff; padding: 14px 18px; border-radius: 14px; }
.footer-logo-chip img { height: 78px; width: auto; display: block; }
.logo-img, .logo .mark, .logo-text { display: none; } /* legacy placeholders */

/* ---- header -------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-container {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 9px 14px; border-radius: 8px; font-weight: 600; font-size: .94rem; color: var(--ink);
  transition: color .15s, background .15s;
}
.nav-link:hover, .nav-link.active { color: var(--blue); background: var(--bg-tint); }
.nav-link.nav-cta {
  background: var(--blue); color: #fff; padding: 11px 20px; margin-left: 8px;
  box-shadow: 0 8px 18px rgba(18,101,225,.26);
}
.nav-link.nav-cta:hover { background: var(--blue-dark); color: #fff; }
.mobile-menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong);
  background: #fff; border-radius: 10px; cursor: pointer; position: relative; }
.hamburger, .hamburger::before, .hamburger::after {
  content: ''; position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: .2s;
}
.hamburger { top: 21px; } .hamburger::before { top: -7px; } .hamburger::after { top: 7px; }
.mobile-menu-btn.active .hamburger { background: transparent; }
.mobile-menu-btn.active .hamburger::before { top: 0; transform: rotate(45deg); }
.mobile-menu-btn.active .hamburger::after { top: 0; transform: rotate(-45deg); }
.install-btn { display: none; }

/* ---- hero (brand banner image) ------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: #eef4fc url("../images/herobanner_background.jpg") no-repeat center right / cover;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(240,244,247,.96) 0%, rgba(240,244,247,.8) 34%, rgba(240,244,247,.15) 58%, transparent 72%);
}
#heroCanvas, .hero-overlay, .hero-logo-center, .hero-visual { display: none; } /* emblem provided by the banner image */
.hero-container {
  position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 92px 24px 100px;
  display: grid; grid-template-columns: minmax(0, 620px); gap: 40px; align-items: center; min-height: 62vh;
}
.hero-badge, .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase;
  letter-spacing: .16em; font-size: .76rem; font-weight: 700; color: var(--blue); margin-bottom: 18px;
}
.hero-badge .badge-icon svg { width: 16px; height: 16px; }
.hero-title { font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-weight: 800; margin-bottom: 18px; }
.hero-title .highlight { display: block; color: var(--blue); }
.hero-description { font-size: 1.1rem; color: var(--body); max-width: 42ch; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-features {
  display: flex; flex-wrap: wrap; gap: 12px 26px;
}
.hero-features .feature { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--ink); font-size: .92rem; }
.hero-features .feature svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
/* trust checks row (concept) */
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 26px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.hero-trust svg { width: 20px; height: 20px; color: var(--blue); }
/* hero visual (placeholder for the client's hero image/logo) */
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-emblem {
  width: min(420px, 80%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #2f6fd0 0%, #143a75 70%);
  display: grid; place-items: center; box-shadow: 0 30px 70px rgba(13,20,36, .35);
  position: relative;
}
.hero-emblem::after {
  content: ''; position: absolute; inset: -14px; border-radius: 50%;
  border: 1px solid rgba(41,168,255, .35);
}
.hero-emblem svg { width: 58%; height: 58%; }
/* centered single-column hero (suburb landing pages).
   The shared left-to-right hero gradient leaves the right edge unoverlaid, which
   put centred copy straight over the banner emblem. Centred heroes get an even
   wash instead so the text stays legible across the full width. */
.hero--center::before {
  background: linear-gradient(180deg, rgba(240,244,247,.93) 0%, rgba(240,244,247,.86) 55%, rgba(240,244,247,.8) 100%);
}
.hero--center .hero-container { grid-template-columns: 1fr; max-width: 860px; text-align: center; }
.hero--center .hero-content { margin: 0 auto; }
.hero--center .hero-description { margin-left: auto; margin-right: auto; }
.hero--center .hero-cta, .hero--center .hero-trust, .hero--center .hero-features { justify-content: center; }

/* ---- generic section spacing --------------------------------------------- */
.services, .about, .testimonials, .service-areas, .faq, .contact, .projects, .why { padding: 84px 0; }
.about, .service-areas, .faq { background: var(--bg-soft); }

/* ---- services ------------------------------------------------------------ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-light); }
.service-icon { width: 76px; height: 76px; display: grid; place-items: center; margin-bottom: 14px; }
.service-icon img { width: 76px; height: 76px; object-fit: contain; }
.service-icon svg { width: 32px; height: 32px; color: var(--blue); }
.service-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.service-card > p { font-size: .95rem; margin-bottom: 14px; }
.service-list { display: grid; gap: 7px; }
.service-list li { position: relative; padding-left: 24px; font-size: .9rem; color: var(--body); }
.service-list li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 14px;
  background: var(--blue); -webkit-mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
          mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
}
.service-card.featured { border-color: var(--blue); box-shadow: var(--shadow); }
.service-badge {
  position: absolute; top: -12px; left: 26px; background: var(--blue); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; letter-spacing: .02em;
}
.service-card .learn-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  color: var(--blue); font-weight: 700; font-size: .9rem; }
.service-card .learn-more svg { width: 16px; height: 16px; }

/* ---- why choose us (dark band) ------------------------------------------- */
.why { background: var(--navy); color: #fff; }
.why .section-label { color: #7fb0f5; }
.why .section-title { color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 42px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; padding: 6px 10px; }
.why-item + .why-item { border-left: 1px solid rgba(255,255,255,.12); }
.why-ic { width: 64px; height: 64px; flex: none; border-radius: 14px; display: grid; place-items: center; background: #fff; }
.why-ic img { width: 42px; height: 42px; object-fit: contain; }
.why-ic svg { width: 26px; height: 26px; color: var(--blue); }
.why-item h3 { color: #fff; font-size: 1.06rem; margin-bottom: 6px; }
.why-item p { color: rgba(255,255,255,.72); font-size: .9rem; }

/* ---- projects ------------------------------------------------------------ */
.projects .projects-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.projects .projects-head .section-title { margin-bottom: 6px; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.project-media { aspect-ratio: 3/2; background:
    repeating-linear-gradient(135deg, #eaf1fb 0 14px, #e0ebfa 14px 28px);
  display: grid; place-items: center; color: var(--blue); position: relative; }
.project-media svg { width: 42px; height: 42px; opacity: .55; }
.project-media .coming { position: absolute; bottom: 10px; right: 12px; font-size: .68rem; font-weight: 700;
  color: var(--muted); background: #fff; padding: 3px 9px; border-radius: 999px; }
.project-body { padding: 16px 18px; }
.project-body h3 { font-size: 1.02rem; margin-bottom: 2px; }
.project-body span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* ---- about --------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.about-text { margin-bottom: 16px; }
.about-promise { margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.about-promise h4 { margin-bottom: 14px; font-size: 1.05rem; }
.promise-list { display: grid; gap: 12px; }
.promise-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--body); }
.promise-list svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 2px; }
.about-stats { display: grid; gap: 18px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; box-shadow: var(--shadow-sm); }
.stat-number { display: block; font-size: 2.2rem; font-weight: 800; color: var(--blue); line-height: 1; }
.stat-label { font-size: .9rem; color: var(--muted); margin-top: 6px; }

/* ---- testimonials -------------------------------------------------------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.testimonial-rating { display: flex; gap: 3px; margin-bottom: 14px; color: var(--star); }
.testimonial-rating svg { width: 16px; height: 16px; }
.testimonial-text { color: var(--ink); font-size: .98rem; margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; }
.testimonial-author strong { display: block; color: var(--ink); }
.testimonial-author span { font-size: .84rem; color: var(--muted); }
img.author-avatar { object-fit: cover; }
.reviews-head { text-align: center; margin-bottom: 30px; }
.reviews-head .testimonial-rating { justify-content: center; margin-bottom: 8px; }
.reviews-head p { color: var(--muted); }
.reviews-head strong { color: var(--ink); }
.reviews-head a { color: var(--blue); font-weight: 700; }

/* ---- service areas ------------------------------------------------------- */
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.area-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .16s, box-shadow .2s, border-color .2s; }
.area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-light); }
.area-card h3 { font-size: 1.1rem; margin-bottom: 4px; color: var(--blue); }
.area-card p { font-size: .86rem; color: var(--muted); }
.areas-more { max-width: 900px; margin: 28px auto 0; text-align: center; font-size: .9rem;
  color: var(--muted); line-height: 1.9; }
.areas-more a { color: var(--body); font-weight: 600; }
.areas-more a:hover { color: var(--blue); text-decoration: underline; }

/* ---- service pages ------------------------------------------------------- */
/* breadcrumb trail (service + hub pages) */
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px;
  font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 18px;
}
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-current] { color: var(--ink); }
.breadcrumb span[aria-hidden] { color: var(--line-strong); }

/* long-form prose block */
.prose-block { max-width: 820px; margin: 0 auto; }
.prose-block .about-text { font-size: 1.05rem; margin-bottom: 22px; }
.prose-block .about-promise { margin-top: 28px; }

/* numbered process steps (sits inside the dark .why band) */
.steps { display: grid; gap: 18px; max-width: 880px; margin: 42px auto 0; }
.step-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 20px 22px;
}
.step-num {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: .95rem;
}
.step-item h3 { color: #fff; font-size: 1.05rem; margin-bottom: 5px; }
.step-item p { color: rgba(255,255,255,.75); font-size: .93rem; }

/* service cards used as links on the services hub */
a.service-card { display: block; color: inherit; }
a.service-card:hover { text-decoration: none; }

/* ---- FAQ ----------------------------------------------------------------- */
.faq-grid { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; background: none; border: none; cursor: pointer; font-family: inherit; font-weight: 700;
  font-size: 1rem; color: var(--ink); text-align: left; }
.faq-question svg { width: 20px; height: 20px; color: var(--blue); transition: transform .2s; flex: none; }
.faq-item[data-open] .faq-question svg { transform: rotate(180deg); }
.faq-item[data-open] { border-color: var(--blue-light); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item[data-open] .faq-answer { max-height: 460px; }
.faq-answer p { padding: 0 22px 20px; color: var(--body); font-size: .95rem; }

/* ---- contact ------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.contact-text { margin-bottom: 26px; }
.contact-methods { display: grid; gap: 14px; }
.contact-method { display: flex; align-items: center; gap: 16px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; transition: border-color .2s; }
a.contact-method:hover { border-color: var(--blue); }
.method-icon { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--bg-tint); color: var(--blue); display: grid; place-items: center; }
.method-icon svg { width: 22px; height: 22px; }
.method-label { display: block; font-size: .8rem; color: var(--muted); }
.method-value { font-weight: 700; color: var(--ink); }
.contact-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 16px 18px;
  background: var(--bg-tint); border-radius: var(--radius-sm); font-size: .9rem; color: var(--ink); }
.contact-note svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 2px; }

/* ---- form ---------------------------------------------------------------- */
.contact-form-wrapper { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.4rem; margin-bottom: 6px; }
.form-subtitle { font-size: .92rem; color: var(--muted); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.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(18,101,225,.14);
}
.form-note { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 14px; }
/* opt-in checkbox row (safety-check reminder) */
.form-check {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px;
  font-size: .88rem; color: var(--body); cursor: pointer; line-height: 1.45;
}
.form-check input { width: 18px; height: 18px; flex: none; margin-top: 1px; accent-color: var(--blue); cursor: pointer; }

/* ---- footer -------------------------------------------------------------- */
.footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 60px 0 26px; }
.footer .logo-text { color: #fff; } .footer .logo-text b { color: #7fb0f5; } .footer .logo-text small { color: rgba(255,255,255,.5); }
.footer-content { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand p { margin: 16px 0; font-size: .92rem; max-width: 42ch; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; color: #fff; transition: .15s; }
.footer-social a:hover { background: var(--blue); border-color: var(--blue); }
.footer-social svg { width: 18px; height: 18px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-column h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-column a, .footer-column span { display: block; font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: 9px; }
.footer-column a:hover { color: #fff; }
.footer-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.2); border-radius: 10px; color: #fff; font-size: .78rem; font-weight: 600; }
.footer-badge svg { width: 26px; height: 26px; color: #7fb0f5; }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .84rem; color: rgba(255,255,255,.55); }
.footer-bottom a { color: rgba(255,255,255,.7); } .footer-bottom a:hover { color: #fff; }

/* ---- CTA band ------------------------------------------------------------ */
.cta-band { background: linear-gradient(120deg, var(--blue) 0%, var(--blue-dark) 100%); color: #fff; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 44px; padding-bottom: 44px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 4px; }
.cta-band p { color: rgba(255,255,255,.85); }

/* ---- residential / commercial split band --------------------------------- */
.split { padding: 84px 0; }
.split-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.split-card { position: relative; min-height: 300px; border-radius: var(--radius-lg); overflow: hidden;
  display: flex; align-items: flex-end; padding: 30px; color: #fff; box-shadow: var(--shadow); }
.split-card::before { content: ''; position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center; }
.split-card::after { content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(13,20,36,.05) 0%, rgba(13,20,36,.72) 100%); }
.split-card.res::before { background-image: url("../images/backrgound_home.jpg"); }
.split-card.com::before { background-image: url("../images/backrgound_commercial.jpg"); }
.split-card.str::before { background-image: url("../images/backrgound_stara.jpg"); }
.split-card > * { position: relative; z-index: 2; }
.split-card .sc-body h3 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.split-card .sc-body p { color: rgba(255,255,255,.85); font-size: .95rem; max-width: 40ch; margin-bottom: 16px; }

/* ---- floating buttons ---------------------------------------------------- */
.scroll-top { position: fixed; bottom: 22px; left: 22px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: #fff; border: none; cursor: pointer; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s; box-shadow: var(--shadow); }
.scroll-top.show { opacity: 1; visibility: visible; transform: none; }
.scroll-top svg { width: 22px; height: 22px; }

/* ---- animation helper ---------------------------------------------------- */
.fade-in-up { animation: fadeInUp .6s ease forwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 1000px) {
  .split-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid, .projects-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-item:nth-child(odd) { border-left: none; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-emblem { width: min(300px, 60%); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-content { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .container, .nav-container, .hero-container { padding-left: 18px; padding-right: 18px; }

  /* nav / mobile menu — anchor the sheet to the bottom of the sticky header */
  .mobile-menu-btn { display: block; }
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 16px 18px 22px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-150%); transition: transform .25s ease;
    max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .nav-links.active { transform: none; }
  .nav-link { padding: 13px 14px; font-size: 1rem; }
  .nav-link.nav-cta { margin-left: 0; margin-top: 4px; text-align: center; }

  /* hero — flat light wash so copy stays legible over the full-width banner */
  .hero::before {
    background: linear-gradient(180deg, rgba(240,244,247,.92) 0%, rgba(240,244,247,.8) 60%, rgba(240,244,247,.7) 100%);
  }
  .hero-container { padding-top: 52px; padding-bottom: 60px; min-height: 0; gap: 26px; }
  .hero-title { font-size: clamp(2rem, 8.5vw, 2.6rem); }
  .hero-description { font-size: 1.02rem; }
  .hero-cta { gap: 12px; }
  .hero-cta .btn { flex: 1 1 100%; }

  /* grids collapse; areas stay 2-up so the 45-suburb list isn't a mile long.
     minmax(0,1fr) lets tracks shrink below content min-size (avoids grid blowout). */
  .services-grid, .projects-grid, .testimonials-grid, .why-grid, .form-row,
  .split-grid, .contact-grid, .about-grid { grid-template-columns: minmax(0, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .contact-method .method-value { word-break: break-word; }
  .area-card { padding: 16px; }
  .area-card h3 { font-size: 1rem; }
  .why-item { border-left: none !important; }
  .section-header { margin-bottom: 36px; }
  .section-title { font-size: clamp(1.55rem, 6vw, 2rem); }
  .services, .about, .testimonials, .service-areas, .faq, .contact, .projects, .why, .split { padding: 56px 0; }

  /* contact / form */
  .contact-form-wrapper { padding: 22px; }
  .contact-method { padding: 14px; }

  /* CTA band — stack and centre */
  .cta-band .container { flex-direction: column; text-align: center; }
  .cta-band .btn { width: 100%; }

  /* footer — 2 columns of links, stacked bottom bar */
  .footer { padding: 48px 0 24px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 20px 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }

  /* floating buttons — slightly smaller so they don't crowd the thumb zone */
      .scroll-top { width: 44px; height: 44px; bottom: 16px; left: 16px; }
}

@media (max-width: 420px) {
  .footer-links { grid-template-columns: 1fr; }
  .hero-cta .btn { font-size: .94rem; }
  .btn { padding: 13px 20px; }
}

/* ---- regional service-area pages ----------------------------------------- */
.area-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.area-detail {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; scroll-margin-top: 90px;   /* clears the sticky header on #anchor jumps */
}
.area-detail h3 { font-size: 1.08rem; margin-bottom: 6px; color: var(--blue); }
.area-detail h3 span { font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.area-detail p { font-size: .92rem; color: var(--body); }
.area-detail:target { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18,101,225,.14); }
@media (max-width: 680px) { .area-detail-grid { grid-template-columns: minmax(0,1fr); } }
