/* Greenstone Electrical - styles. Brand colours taken from the original site/logo. */
:root {
  --green: #174c2f;        /* site primary */
  --green-2: #1f8a3c;      /* logo green */
  --yellow: #ffd800;       /* site secondary */
  --amber: #ffb300;        /* logo bolt */
  --orange: #ff8c00;       /* original "Our Services" button text */
  --red: #e21b24;          /* logo ring */
  --ink: #292828;          /* site foreground */
  --ink-2: #010101;
  --bg: #fbfbfb;           /* site background */
  --white: #fff;
  --muted: #6b6b6b;
  --radius: 1rem;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.18);
  --header-h: 76px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3, h4 { line-height: 1.15; color: var(--ink-2); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: .95rem; margin-top: 1.5rem; }
.lead { font-size: 1.2rem; }
.strong { font-weight: 700; }
.ico { flex: none; }
#app:focus { outline: none; }

/* progress bar */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; background: linear-gradient(90deg, var(--green-2), var(--yellow), var(--orange)); transform-origin: 0 50%; transform: scaleX(0); }

/* header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 14px 0; transition: padding .3s, background .3s, box-shadow .3s; }
.header-inner { width: min(1220px, 100% - 1.5rem); margin-inline: auto; display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 14px; padding: 8px 14px 8px 18px; box-shadow: var(--shadow); transition: border-radius .3s, width .3s; }
.site-header.scrolled { padding: 0; }
.site-header.scrolled .header-inner { width: 100%; border-radius: 0; box-shadow: 0 4px 20px rgba(0,0,0,.12); background: rgba(255,255,255,.97); padding-inline: max(1rem, calc((100% - 1180px)/2)); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); font-weight: 800; font-size: 1.1rem; }
.brand img { width: 44px; height: 44px; transition: transform .5s; }
.brand:hover img { transform: rotate(-12deg) scale(1.08); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { position: relative; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .95rem; padding: 10px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.main-nav a[data-route]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; background: var(--green-2); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.main-nav a:hover::after, .main-nav a.current::after { transform: scaleX(1); }
.main-nav a.current { color: var(--green); }
.nav-phone { display: inline-flex !important; align-items: center; gap: 6px; background: var(--green); color: #fff !important; margin-left: 8px; }
.nav-phone:hover { background: var(--green-2); }
.hamburger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; border-radius: 8px; }
.hamburger span { position: absolute; left: 11px; right: 11px; height: 2.5px; background: var(--green); border-radius: 2px; transition: transform .3s, opacity .2s, top .3s; }
.hamburger span:nth-child(1) { top: 14px; } .hamburger span:nth-child(2) { top: 21px; } .hamburger span:nth-child(3) { top: 28px; }
.menu-open .hamburger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .hamburger span:nth-child(2) { opacity: 0; }
.menu-open .hamburger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .3s; }

/* pages + transitions */
.page { display: none; }
.page.active { display: block; animation: pageIn .45s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; color: #fff;
  background: radial-gradient(ellipse at 80% 20%, #23663f 0%, var(--green) 45%, #0c2a19 100%); padding: calc(var(--header-h) + 40px) 0 80px; }
.hero-bg { position: absolute; inset: -5%; background-size: cover; background-position: center; opacity: .18; mix-blend-mode: luminosity; will-change: transform; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 8px; background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow), var(--green-2)); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,216,0,.15); color: var(--yellow); border: 1px solid rgba(255,216,0,.4); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem; }
.hero-tag { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 700; color: #fff; }
.hero-facts { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .5rem; font-weight: 600; font-size: 1.1rem; }
.hero-facts li { display: flex; align-items: center; gap: 10px; }
.hero-facts .ico { color: var(--yellow); }
.hero .phone-link { color: var(--yellow); font-weight: 800; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badge { justify-self: center; background: #fff; color: var(--ink-2); border-radius: 50%; width: min(340px, 70vw); aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 0 0 12px rgba(255,255,255,.08), 0 0 0 26px rgba(255,255,255,.04), var(--shadow-lg); text-align: center; animation: float 6s ease-in-out infinite; }
.hero-badge img { width: 46%; }
.hero-badge .counter { font-size: 3.4rem; font-weight: 900; color: var(--green); line-height: 1; margin-top: 6px; }
.hero-badge .plus { color: var(--orange); }
.hero-badge p { margin: 4px 0 0; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; color: var(--muted); }
@keyframes float { 50% { transform: translateY(-12px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 30px; width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.6); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.6s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 12px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: transform .2s, box-shadow .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.18); }
.btn-primary { background: #fff; color: var(--orange); box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.section .btn-primary, .contact-form .btn-primary, .cta-band .btn-primary, .form-result .btn-primary { background: var(--green); color: #fff; }
.section .btn-primary:hover, .contact-form .btn-primary:hover { background: var(--green-2); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }

/* sections */
.section { padding: clamp(60px, 9vw, 110px) 0; }
.section-yellow { background: var(--yellow); }
.section-green { background: var(--green); color: #e9f3ec; }
.section-green h2 { color: #fff; }
.section-green .phone-link { color: var(--yellow); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.img-frame { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background: #ddd; }
.section-yellow .img-frame { aspect-ratio: 1; }
.img-frame.tall { aspect-ratio: 4/5; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; cursor: zoom-in; }
.img-frame:hover img { transform: scale(1.06); }
.phone-link { color: inherit; font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; white-space: nowrap; }
.sector-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.5rem; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: #fff; border-radius: 999px; text-decoration: none; color: var(--green); font-weight: 700; box-shadow: 0 4px 12px rgba(0,0,0,.08); transition: transform .2s, background .2s, color .2s; }
.chip:hover { transform: translateY(-2px); background: var(--green); color: #fff; }

/* inner page hero */
.page-hero { background: linear-gradient(120deg, var(--green) 0%, #0f3520 100%); color: #fff; padding: calc(var(--header-h) + 70px) 0 60px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -60px; top: 40px; width: 360px; height: 360px; background: url("../assets/images/logo.png") center/contain no-repeat; opacity: .07; transform: rotate(-12deg); }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow), var(--green-2)); }
.page-hero h1 { color: #fff; margin-bottom: .2em; }
.page-hero p { font-size: 1.25rem; color: var(--yellow); font-weight: 700; margin: 0; }
.crumb { font-size: .9rem !important; color: rgba(255,255,255,.7) !important; font-weight: 500 !important; margin-bottom: .8rem !important; }
.crumb a { color: #fff; }

/* services tabs + accordion */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 2rem 0; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--green); background: #fff; color: var(--green); font-weight: 700; font-size: 1rem; cursor: pointer; font-family: inherit; transition: background .2s, color .2s; }
.tab.active, .tab:hover { background: var(--green); color: #fff; }
.accordion { display: grid; gap: 16px; max-width: 860px; margin: 0 auto; }
.acc-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border-left: 6px solid transparent; transition: border-color .3s, box-shadow .3s; }
.acc-item.open { border-left-color: var(--yellow); box-shadow: var(--shadow-lg); }
.acc-head { width: 100%; display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: none; border: 0; cursor: pointer; text-align: left; font-family: inherit; color: var(--ink-2); }
.acc-icon { width: 54px; height: 54px; border-radius: 14px; background: rgba(23,76,47,.08); color: var(--green); display: grid; place-items: center; transition: background .3s, color .3s; }
.acc-item.open .acc-icon { background: var(--green); color: var(--yellow); }
.acc-title { flex: 1; font-size: 1.35rem; font-weight: 800; }
.acc-title small { display: block; font-size: .85rem; font-weight: 500; color: var(--muted); }
.acc-toggle { width: 28px; height: 28px; position: relative; }
.acc-toggle::before, .acc-toggle::after { content: ""; position: absolute; left: 4px; right: 4px; top: 13px; height: 2.5px; background: var(--green); border-radius: 2px; transition: transform .3s; }
.acc-toggle::after { transform: rotate(90deg); }
.acc-item.open .acc-toggle::after { transform: rotate(0); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.svc-list { list-style: none; margin: 0; padding: 0 24px 24px 94px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 20px; }
.svc-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; padding: 10px 14px; background: var(--bg); border-radius: 10px; transition: transform .2s, background .2s; }
.svc-list li:hover { transform: translateX(4px); background: #fff7c2; }
.svc-list .ico { color: var(--orange); }
.cta-band { margin: 3rem auto 0; max-width: 860px; background: var(--yellow); border-radius: var(--radius); padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band p { margin: 0; font-size: 1.3rem; font-weight: 800; color: var(--ink-2); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.g-item { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; aspect-ratio: 1; background: #ddd; box-shadow: var(--shadow); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.g-over { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(23,76,47,.55); opacity: 0; transition: opacity .3s; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.1); }
.g-item:hover .g-over, .g-item:focus-visible .g-over { opacity: 1; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5,15,10,.92); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s; }
.lightbox.show { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 90vw; max-height: 86vh; text-align: center; }
.lightbox img { max-width: 90vw; max-height: 78vh; border-radius: 10px; margin: 0 auto; opacity: 0; transform: scale(.96); transition: opacity .3s, transform .3s; }
.lightbox img.in { opacity: 1; transform: none; }
.lightbox figcaption { color: #ddd; margin-top: 12px; font-size: .95rem; }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font-size: 1.6rem; display: grid; place-items: center; transition: background .2s; }
.lb-close:hover, .lb-nav:hover { background: var(--green-2); }
.lb-close { top: 20px; right: 20px; font-size: 2rem; }
.lb-prev { left: 20px; } .lb-next { right: 20px; }
.lightbox.single .lb-nav { display: none; }

/* contact */
.contact-section { position: relative; }
.contact-intro { max-width: 820px; margin-bottom: 2.5rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: start; }
.info-cards { display: grid; gap: 18px; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.info-cards .card { display: flex; gap: 16px; transition: transform .25s, box-shadow .25s; }
.info-cards .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.info-cards .card > .ico { color: var(--green); background: rgba(23,76,47,.08); padding: 10px; width: 48px; height: 48px; border-radius: 12px; }
.info-cards h3 { margin-bottom: .3em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.info-cards p { margin: 0; }
.small-link { font-size: .9rem; font-weight: 600; }
.hours { border-collapse: collapse; }
.hours th { text-align: left; padding: 3px 16px 3px 0; font-weight: 600; }
.hours td { padding: 3px 0; }
.hours tr.today { color: var(--green); font-weight: 800; }
.hours tr.today th::before { content: "\25B8 "; color: var(--orange); }
.open-badge { font-size: .75rem; padding: 3px 10px; border-radius: 999px; font-weight: 700; letter-spacing: .02em; }
.open-badge.is-open { background: #dff5e5; color: #137a35; }
.open-badge.is-closed { background: #fde3e3; color: #b3141b; }
.contact-form { display: grid; gap: 14px; border-top: 6px solid var(--yellow); }
.contact-form h3 { margin: 0; font-size: 1.4rem; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 2px solid #e3e3e3; border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(31,138,60,.15); }
.field .invalid { border-color: var(--red); animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.err { color: var(--red); font-size: .85rem; min-height: 1em; }
.field-foot { display: flex; justify-content: space-between; }
.count { font-size: .8rem; color: var(--muted); }
.form-result { padding: 16px; border-radius: 10px; font-size: .97rem; animation: pageIn .3s both; }
.form-result.ok { background: #dff5e5; }
.form-result.note { background: #fff7c2; border: 1px solid #f0d64a; }
.res-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

/* footer */
.site-footer { background: #0c2a19; color: #c6d6cc; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: #e9f3ec; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.brand.light { color: #fff; margin-bottom: 1rem; }
.brand.light img { background: #fff; border-radius: 50%; padding: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding: 20px 0; font-size: .9rem; text-align: center; }

/* floating buttons + toast */
.to-top, .call-fab { position: fixed; right: 20px; z-index: 80; width: 50px; height: 50px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lg); transition: opacity .3s, transform .3s; }
.to-top { bottom: 20px; background: var(--green); color: #fff; opacity: 0; transform: translateY(20px); pointer-events: none; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.call-fab { display: none; bottom: 82px; background: var(--yellow); color: var(--green); text-decoration: none; animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,216,0,.7); } 70% { box-shadow: 0 0 0 16px rgba(255,216,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,216,0,0); } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: #111; color: #fff; padding: 12px 20px; border-radius: 10px; z-index: 250; transition: transform .35s; font-size: .95rem; }
.toast.show { transform: translate(-50%, 0); }
.noscript { padding: 120px 20px 60px; text-align: center; }

/* reveal animations */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.from-left { transform: translateX(-40px); }
.reveal.from-right { transform: translateX(40px); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* responsive */
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .hamburger { display: block; z-index: 101; }
  .main-nav { position: fixed; top: 0; right: 0; height: 100vh; width: min(300px, 82vw); flex-direction: column; align-items: stretch; gap: 2px; padding: 90px 18px 24px; background: #fff; box-shadow: -10px 0 30px rgba(0,0,0,.15); transform: translateX(105%); transition: transform .35s ease; z-index: 100; }
  .menu-open .main-nav { transform: none; }
  .menu-open .nav-backdrop { opacity: 1; pointer-events: auto; }
  .main-nav a { font-size: 1.1rem; padding: 14px 14px; }
  .main-nav a[data-route]::after { left: 14px; right: auto; width: 30px; bottom: 8px; }
  .nav-phone { margin: 12px 0 0; justify-content: center; }
  .hero-inner, .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 2; }
  .hero-badge { width: 220px; }
  .hero-badge .counter { font-size: 2.4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .call-fab { display: grid; }
  .svc-list { padding-left: 24px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand span { font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 50px); }
  .hero-btns .btn { flex: 1 1 100%; justify-content: center; }
  .lb-nav { width: 42px; height: 42px; bottom: 20px; top: auto; }
  .lb-prev { left: calc(50% - 52px); } .lb-next { right: calc(50% - 52px); }
  .cta-band { padding: 22px; }
  .acc-head { padding: 16px; }
}
.lb-nav { top: calc(50% - 26px); }
@media (max-width: 900px) { .header-inner { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; } }
@media (max-width: 560px) { .lb-nav { top: auto; } }
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.hero-badge img, .brand img { mix-blend-mode: multiply; }
.brand.light img { mix-blend-mode: normal; }

/* solid white header bar above the green hero (no floating rounded shape) */
.site-header, .site-header.scrolled { padding: 0; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.10); }
.header-inner, .site-header.scrolled .header-inner {
  width: min(1220px, 100% - 1.5rem); height: var(--header-h); padding: 0;
  background: transparent; border-radius: 0; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none; }
.hero, .page-hero { margin-top: var(--header-h); }
.hero { min-height: calc(100vh - var(--header-h)); padding-top: 40px; }
.page-hero { padding-top: 70px; }
@media (max-width: 900px) { .header-inner, .site-header.scrolled .header-inner { background: transparent; } }
@media (max-width: 560px) { .hero { padding-top: 50px; } }

/* smaller intro photo square so the low-res photo stays sharp */
.section-yellow .img-frame { width: min(360px, 100%); justify-self: center; }

/* orange background for the "Professional and Timely Service" block */
#intro.section-yellow { background: var(--orange); }

/* "Toronto Electrical Expert" block: warm grey with magnified breaker panel */
.section-expert { position: relative; overflow: hidden; background: #6f6862; color: #fff; min-height: 460px; display: flex; align-items: center; }
.expert-bg { position: absolute; inset: 0; background: url("../assets/images/breaker-panel-warm-grey.jpg") right center / cover no-repeat; }
.section-expert::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(46,41,37,.92) 0%, rgba(58,52,47,.78) 42%, rgba(70,64,58,.25) 75%, rgba(70,64,58,0) 100%); }
.expert-inner { position: relative; z-index: 2; max-width: 1180px; }
.expert-inner > * { max-width: 620px; }
.expert-kicker { display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: rgba(255,140,0,.16); border: 1px solid rgba(255,140,0,.55); color: var(--orange); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; }
.section-expert h2 { color: #fff; text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; }
.section-expert .dash { color: var(--orange); }
.section-expert .lead { color: #ece6e0; margin: 0; }
@media (max-width: 900px) {
  .section-expert { min-height: 0; }
  .section-expert::before { background: linear-gradient(180deg, rgba(46,41,37,.9) 0%, rgba(58,52,47,.82) 100%); }
}
/* expert block: white text, "Trusted Electrician" in yellow */
.section-expert, .section-expert h2, .section-expert .lead { color: #fff; }
.section-expert .expert-kicker { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.45); }
.section-expert .hl { color: var(--yellow); }
/* expert block: white text, "Trusted Electrician" in yellow */
.section-expert, .section-expert h2, .section-expert .lead { color: #fff; }
.section-expert .expert-kicker { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.45); }
.section-expert .hl { color: var(--yellow); }

/* expert block v3: right half of the photo only, centred text, bigger label and sentence */
.expert-bg { background-image: url("../assets/images/breaker-panel-warm-grey-right.jpg"); background-position: center; background-size: cover; }
.section-expert::before, .section-expert::before { background: rgba(48,43,39,.62); }
.expert-inner { text-align: center; }
.expert-inner > * { max-width: 860px; margin-left: auto; margin-right: auto; }
.section-expert .expert-kicker { font-size: 1.15rem; padding: 8px 20px; margin-bottom: 18px; }
.section-expert h2 { margin-bottom: .5em; }
.section-expert .lead { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.5; max-width: 760px; }
@media (max-width: 900px) { .section-expert::before { background: rgba(48,43,39,.7); } .section-expert .expert-kicker { font-size: 1rem; } }
.section-expert .lead { margin: 0 auto; }

/* yellow "Get a Free Quote" call button in the expert block */
.btn-quote { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 16px 32px; border-radius: 999px; background: var(--yellow); color: #111 !important; font-weight: 700; font-size: 1.2rem; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s, box-shadow .2s, background .2s; }
.btn-quote strong { font-weight: 900; }
.btn-quote svg { color: #111; }
.btn-quote:hover { transform: translateY(-2px); background: #ffe23a; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
@media (max-width: 560px) { .btn-quote { font-size: 1.05rem; padding: 14px 22px; } }

/* hero: bigger fact lines under the tagline */
.hero-facts { font-size: clamp(1.15rem, 1.8vw, 1.4rem); gap: .65rem; }
.hero-facts .ico, .hero-facts svg { width: 22px; height: 22px; }
/* hero tagline: three lines on all screen sizes */
.section-expert .expert-kicker { background: #000; color: var(--yellow); border-color: #000; }
.section-expert .expert-kicker { background: rgba(20,18,16,.55); border-color: rgba(255,255,255,.18); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

/* orange block: bigger text under the heading */
#intro .lead { font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.5; }
#intro .chip { font-size: 1.15rem; padding: 12px 20px; }
#intro .chip svg { width: 20px; height: 20px; }
/* orange block v3: even bigger text, sector buttons stacked one per line */
#intro .lead { font-size: clamp(1.45rem, 2.4vw, 1.8rem); }
#intro .sector-chips { flex-direction: column; align-items: flex-start; gap: 12px; }
#intro .chip { font-size: 1.3rem; padding: 13px 24px; min-width: 230px; }
#intro .chip svg { width: 22px; height: 22px; }

/* orange block v4: warm light photo at 1/4 width on the right, text centred */
#intro .split { grid-template-columns: 3fr 1fr; }
#intro .split > :first-child { text-align: center; }
#intro .sector-chips { align-items: center; }
#intro .lead { margin-left: auto; margin-right: auto; max-width: 640px; }
#intro .img-frame { width: 100%; aspect-ratio: 3 / 4; justify-self: stretch; }
@media (max-width: 900px) {
  #intro .split { grid-template-columns: 1fr; }
  #intro .img-frame { width: min(260px, 70%); justify-self: center; }
}


/* home white block: tall straightened panel photo, shown whole */
.panel-frame { width: min(380px, 100%); aspect-ratio: 460 / 767; justify-self: center; }
.panel-frame img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .panel-frame { width: min(300px, 80%); } }

/* home white block: Why Greenstone */
.section-why .why-head { text-align: center; max-width: 1000px; margin: 0 auto 44px; }
.why-kicker { display: inline-block; margin: 0 0 14px; padding: 7px 18px; border-radius: 999px; background: var(--green, #174c2f); color: var(--yellow); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 1rem; }
.section-why .why-head h2 { text-transform: uppercase; font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 0 0 12px; }
.section-why .why-head .lead { margin: 0 auto; font-size: clamp(1.1rem, 1.8vw, 1.3rem); }
.section-why .split { align-items: center; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 30px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid rgba(23,76,47,.12); border-left: 4px solid var(--orange); border-radius: 12px; padding: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.05); }
.why-ico { flex: 0 0 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(23,76,47,.08); color: #174c2f; }
.why-item h3 { margin: 0 0 4px; font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; color: #174c2f; }
.why-item p { margin: 0; font-size: .95rem; line-height: 1.45; }
.why-cta h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } }

/* Why Greenstone: three-column layout (cards | panel photo | cards) and a CTA band */
.section-why { background: linear-gradient(180deg, #fff 0%, #fbf6ef 100%); }
.why-layout { display: grid; grid-template-columns: 1fr minmax(260px, 340px) 1fr; gap: 28px; align-items: center; }
.why-col { display: grid; gap: 18px; }
.why-left .why-item { flex-direction: row-reverse; text-align: right; border-left: 1px solid rgba(23,76,47,.12); border-right: 4px solid var(--orange); }
.section-why .panel-frame { width: 100%; aspect-ratio: 920 / 1534; border-radius: 18px; box-shadow: 0 24px 60px rgba(120,70,20,.28); }
.why-item { padding: 18px; }
.why-item h3 { font-size: 1.02rem; }
.why-item p { font-size: .98rem; }
.why-cta { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: 30px 36px; border-radius: 18px; background: #174c2f; color: #fff; box-shadow: 0 16px 40px rgba(23,76,47,.25); }
.why-cta h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.why-cta h2 a { color: var(--yellow); }
.why-cta .lead { color: rgba(255,255,255,.85); margin: 0; font-size: 1.02rem; }
.why-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.why-cta .btn-primary { background: var(--yellow); color: #111; border-color: var(--yellow); }
.why-cta .btn-outline { color: #fff; border-color: rgba(255,255,255,.7); background: transparent; }
@media (max-width: 1000px) {
  .why-layout { grid-template-columns: 1fr 1fr; }
  .section-why .panel-frame { grid-column: 1 / -1; grid-row: 1; width: min(300px, 70%); justify-self: center; }
  .why-left .why-item { flex-direction: row; text-align: left; border-right: 1px solid rgba(23,76,47,.12); border-left: 4px solid var(--orange); }
}
@media (max-width: 640px) {
  .why-layout { grid-template-columns: 1fr; }
  .why-cta { padding: 24px 20px; text-align: center; justify-content: center; }
  .why-cta-btns { justify-content: center; width: 100%; }
}

/* Why Greenstone v2: switch photo left, one centred reason per row on the right */
.why-layout { grid-template-columns: minmax(280px, 400px) 1fr; gap: 40px; align-items: center; }
.section-why .panel-frame { grid-column: auto; grid-row: auto; width: 100%; aspect-ratio: 3 / 4; justify-self: stretch; }
.why-list { gap: 12px; }
.why-list .why-item { display: block; text-align: center; padding: 14px 20px; border: 1px solid rgba(23,76,47,.12); border-left: 4px solid var(--orange); border-right: 4px solid var(--orange); }
.why-list .why-item h3 { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 4px; font-size: 1.05rem; }
.why-list .why-item h3 .ico { color: var(--orange); flex: none; }
.why-list .why-item p { font-size: 1rem; }
.why-cta { flex-direction: column; justify-content: center; text-align: center; }
.why-cta-btns { justify-content: center; }
@media (max-width: 900px) {
  .why-layout { grid-template-columns: 1fr; }
  .section-why .panel-frame { width: min(300px, 75%); justify-self: center; }
}

/* Why Greenstone v3: no picture, white/brown kicker, bigger lead, green icons, horizontal orange lines */
.why-layout { grid-template-columns: 1fr; max-width: 820px; margin-left: auto; margin-right: auto; }
.why-kicker { background: #fff; color: #7a4a1e; border: 1px solid rgba(122,74,30,.35); box-shadow: 0 4px 14px rgba(122,74,30,.12); }
.section-why .why-head .lead { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.why-list .why-item h3 .ico, .why-ico { color: #174c2f; }
.why-list .why-item { border: 0; border-top: 3px solid var(--orange); border-bottom: 3px solid var(--orange); border-radius: 0; padding: 16px 24px; }
.section-why .why-head .lead { max-width: none; text-wrap: balance; }

/* Why Greenstone v4: much bigger text, top orange line only with curved ends */
.why-list .why-item { border-bottom: 0; border-top: 4px solid var(--orange); border-radius: 16px 16px 0 0; padding: 18px 26px 20px; }
.why-list .why-item h3 { font-size: 1.25rem; margin-bottom: 6px; }
.why-list .why-item p { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.5; }
.why-cta .lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); }
.section-why .why-layout { max-width: 900px; }

/* Why Greenstone v5: light grey block, plain kicker + short orange rule, 3 x 2 white cards, icon on its own line */
.section-why { background: #eef0ef; }
.why-kicker { background: none; border: 0; box-shadow: none; padding: 0; margin: 0; color: #7a4a1e; font-size: 1.1rem; }
.why-rule { display: block; width: 3.2em; height: 4px; border-radius: 4px; background: var(--orange); margin: 1.4em auto 1.4em; font-size: 1.1rem; }
.section-why .why-head .lead { font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.4; }
.section-why .why-layout { max-width: 1200px; }
.why-list { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-list .why-item { background: #fff; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 24px 28px; }
.why-list .why-item .why-ico { display: grid; place-items: center; width: 58px; height: 58px; flex: none; border-radius: 50%; background: rgba(23,76,47,.08); color: #174c2f; margin-bottom: 14px; }
.why-list .why-item h3 { display: block; font-size: 1.25rem; margin: 0 0 10px; }
@media (max-width: 1000px) { .why-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .why-list { grid-template-columns: 1fr; } }
.section-why .why-head .lead { font-size: clamp(1.5rem, 3vw, 2.15rem); }
.section-why .why-head { max-width: 1100px; }
