/* ==========================================================================
   GB Electrical — styles (v2, solar-led redesign)
   Brand colours are taken from the original gb-electrical.com site.
   ========================================================================== */

:root {
  /* Brand (do not change) */
  --navy: #032A4B;
  --navy-deep: #011E37;
  --orange: #F4572C;
  --grey: #E5E5E5;
  --white: #FFFFFF;

  /* Derived tones */
  --navy-line: #0E3A61;
  --navy-card: #0A3558;
  --orange-hover: #E04A20;
  --text: var(--navy);
  --text-muted: #445B70;
  --text-on-navy: #C9D6E3;
  --input-border: #8796A5;

  --font-display: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --container: 1240px;
  --gutter: 32px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --section-pad: 120px;
  --header-h: 80px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--font-body); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible {
  outline: 3px solid var(--orange); outline-offset: 3px;
}
input, textarea, button, select { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; color: var(--navy); }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--orange); color: var(--white); padding: 12px 18px;
  border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  margin: 0 0 16px; display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--orange);
}
.eyebrow::before { content: ""; width: 36px; height: 3px; background: currentColor; }
.eyebrow--white { color: var(--white); }

.display {
  font-weight: 800; font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.02; letter-spacing: -.025em;
}
.display--white { color: var(--white); }
.display em { font-style: normal; color: var(--orange); }

.lead { font-size: 20px; line-height: 1.6; color: var(--text-muted); margin: 24px 0 0; max-width: 560px; }
.lead--on-navy { color: var(--text-on-navy); }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 56px; }
.section-head > :first-child { flex: 1 1 640px; }
.section-head .lead { margin: 0; flex: 1 1 360px; max-width: 440px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 16px 30px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 700; font-size: 18px; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-hover); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--grey); color: var(--navy); }
.btn--sm { min-height: 46px; padding: 10px 22px; font-size: 16px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-deep); color: var(--text-on-navy); font-size: 14px; }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; min-height: 42px; padding-top: 6px; padding-bottom: 6px; }
.topbar__list { display: flex; flex-wrap: wrap; gap: 4px 24px; list-style: none; margin: 0; padding: 0; }
.topbar__list li { display: inline-flex; align-items: center; gap: 8px; }
.topbar__list svg { color: var(--orange); flex: none; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 700; }
.topbar a:hover { color: var(--orange); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--navy); border-bottom: 1px solid var(--navy-line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 23px; letter-spacing: -.01em; }
.nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a:not(.btn) {
  display: inline-block; padding: 10px 0; color: var(--white); text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; position: relative;
}
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; background: var(--orange); transition: right .2s ease; }
.nav__links a:not(.btn):hover::after { right: 0; }
.nav__toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); background: transparent; color: var(--white);
  align-items: center; justify-content: center; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); overflow: hidden; color: var(--white); }
.hero::before { /* sun glow */
  content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,87,44,.30) 0%, rgba(244,87,44,0) 62%);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 64px; align-items: center; padding-top: 96px; padding-bottom: 120px; }
.hero__title { font-weight: 800; font-size: clamp(44px, 6.4vw, 88px); line-height: .98; letter-spacing: -.035em; color: var(--white); }
.hero__title em { font-style: normal; color: var(--orange); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; margin: 40px 0 0; padding: 0; color: var(--text-on-navy); font-size: 16px; }
.hero__checks li { display: inline-flex; align-items: center; gap: 10px; }
.hero__checks svg { color: var(--orange); flex: none; }

.hero__visual { position: relative; min-height: 560px; }
.hero__photo { position: absolute; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--main { inset: 0 0 90px 60px; }
.hero__photo--sub { left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid var(--navy); }
.hero__tag {
  position: absolute; right: 24px; bottom: 116px; z-index: 2;
  background: var(--white); color: var(--navy); border-radius: var(--radius);
  padding: 14px 18px; max-width: 260px; box-shadow: 0 16px 30px rgba(0,0,0,.25);
  font-size: 14px; line-height: 1.4;
}
.hero__tag strong { display: block; font-family: var(--font-display); font-size: 16px; }
.hero__badge {
  position: absolute; right: -8px; top: -18px; z-index: 2; width: 132px; height: 132px; border-radius: 50%;
  background: var(--orange); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-display); box-shadow: 0 16px 30px rgba(0,0,0,.25); transform: rotate(-8deg);
}
.hero__badge b { font-size: 40px; line-height: 1; font-weight: 800; }
.hero__badge span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.25; margin-top: 4px; }

/* ---------- Trust strip ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--grey); }
.trust__inner { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 24px 40px; align-items: center; padding-top: 28px; padding-bottom: 28px; }
.trust__niceic { width: 170px; height: auto; }
.niceic-badge {
  display: inline-flex; flex-direction: column; justify-content: center;
  padding: 12px 18px; border: 2px solid var(--navy); border-radius: var(--radius-sm);
  font-family: var(--font-display); line-height: 1.15; color: var(--navy);
}
.niceic-badge b { font-size: 24px; font-weight: 800; letter-spacing: .06em; color: var(--orange); }
.niceic-badge span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.niceic-badge--dark { border-color: var(--navy-line); color: var(--white); }
.trust__item { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.3; }
.trust__icon { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--grey); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.trust__item small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--text-muted); }

/* ---------- Solar feature ---------- */
.solar { background: var(--orange); color: var(--white); position: relative; overflow: hidden; }
.solar__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.solar .display { color: var(--white); }
.solar .display em { color: var(--navy); }
.solar__lead { font-size: 21px; margin: 24px 0 0; color: var(--white); max-width: 540px; }
.solar__benefits { list-style: none; margin: 36px 0 40px; padding: 0; display: grid; gap: 14px; }
.solar__benefits li { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; font-weight: 700; }
.solar__benefits svg { flex: none; margin-top: 3px; }
.solar__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.solar__step {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start;
  background: var(--navy); border-radius: var(--radius); padding: 26px 28px;
}
.solar__step-num {
  width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--orange);
}
.solar__step h3 { color: var(--white); font-size: 20px; margin: 4px 0 6px; }
.solar__step p { margin: 0; color: var(--text-on-navy); font-size: 16px; }
.solar__pattern { position: absolute; right: -60px; bottom: -60px; width: 420px; opacity: .14; pointer-events: none; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.service {
  position: relative; height: 100%; display: flex; flex-direction: column; gap: 14px;
  padding: 36px 32px 34px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--grey); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.service:hover { border-color: var(--navy); box-shadow: 0 18px 40px rgba(3,42,75,.10); transform: translateY(-3px); }
.service--feature { background: var(--navy); border-color: var(--navy); }
.service.service--feature h3 { color: var(--white); }
.service.service--feature p { color: var(--text-on-navy); }
.service__icon { width: 60px; height: 60px; border-radius: 16px; background: var(--orange); color: var(--white); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.service h3 { font-size: 22px; font-weight: 700; }
.service p { margin: 0; color: var(--text-muted); font-size: 17px; }
.service__tag {
  position: absolute; top: 22px; right: 22px; padding: 4px 12px; border-radius: 999px;
  background: var(--orange); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.also { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.also__label { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--text-muted); margin-right: 6px; }
.also__chip { padding: 9px 18px; border-radius: 999px; background: var(--grey); font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--navy); }

/* ---------- Projects ---------- */
.projects { background: var(--navy-deep); color: var(--white); }
.project { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; }
.project + .project { margin-top: 112px; }
.project--flip { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.project--flip .project__media { order: 2; }
.project__media { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 120px; gap: 14px; }
.project__media .shot { border-radius: var(--radius); overflow: hidden; position: relative; padding: 0; border: 0; background: var(--navy); cursor: zoom-in; }
.project__media .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project__media .shot:hover img { transform: scale(1.05); }
.shot--a { grid-column: span 4; grid-row: span 3; }
.shot--b { grid-column: span 2; grid-row: span 3; }
.shot--c { grid-column: span 3; grid-row: span 2; }
.shot--d { grid-column: span 3; grid-row: span 2; }
.shot--tall-a { grid-column: span 4; grid-row: span 4; }
.shot--tall-b { grid-column: span 2; grid-row: span 4; }
.project__kicker { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin: 0 0 14px; }
.project h3 { color: var(--white); font-size: clamp(30px, 3.2vw, 42px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
.project p { color: var(--text-on-navy); margin: 20px 0 0; }
.project__facts { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.project__facts li { padding: 8px 16px; border: 1px solid var(--navy-line); border-radius: 999px; font-size: 14px; font-family: var(--font-display); font-weight: 600; color: var(--white); }

/* ---------- Recent work gallery ---------- */
.gallery { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 16px; list-style: none; margin: 0; padding: 0; }
.gallery li { border-radius: var(--radius); overflow: hidden; }
.gallery li.tall { grid-row: span 2; }
.gallery li.wide { grid-column: span 2; }
.gallery__btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--grey); cursor: zoom-in; }
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery__btn:hover img { transform: scale(1.05); }
.gallery__more {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; height: 100%;
  padding: 28px; background: var(--orange); color: var(--white); text-decoration: none;
  font-family: var(--font-display);
}
.gallery__more span { font-size: 15px; font-weight: 600; opacity: .9; }
.gallery__more b { font-size: 26px; font-weight: 800; line-height: 1.15; }
.gallery__more:hover { background: var(--orange-hover); color: var(--white); }
.gallery__cap {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(1,30,55,.82); color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 13px;
}

/* ---------- About ---------- */
.about { background: var(--grey); }
.about__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.about__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.stat { background: var(--white); border-radius: var(--radius); padding: 22px 20px; }
.stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 32px; color: var(--orange); line-height: 1.1; }
.stat span { font-size: 15px; color: var(--text-muted); line-height: 1.4; display: block; margin-top: 4px; }

/* ---------- Careers ---------- */
.careers { background: var(--navy); color: var(--white); }
.careers__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.careers__roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.careers__roles li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; border-radius: var(--radius); background: var(--navy-card); border: 1px solid var(--navy-line);
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
}
.careers__roles li span { font-family: var(--font-body); font-weight: 400; font-size: 15px; color: var(--text-on-navy); }
.careers__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- FAQ ---------- */
.faq__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--grey); border-radius: var(--radius); background: var(--white); }
.faq-item[open] { border-color: var(--navy); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 68px; padding: 18px 24px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--grey); display: flex; align-items: center; justify-content: center; transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: var(--orange); color: var(--white); }
.faq-item__answer { padding: 0 24px 24px; color: var(--text-muted); }
.faq-item__answer p { margin: 0; }

/* ---------- Contact ---------- */
.contact { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 700px; height: 700px; left: -300px; bottom: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(244,87,44,.22) 0%, rgba(244,87,44,0) 62%); pointer-events: none; }
.contact__inner { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.contact-cards { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: var(--radius); background: var(--navy-card); border: 1px solid var(--navy-line); color: var(--white); text-decoration: none; transition: border-color .15s ease; }
a.contact-card:hover { border-color: var(--orange); color: var(--white); }
.contact-card__icon { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; color: var(--white); }
.contact-card__label { display: block; font-size: 14px; color: var(--text-on-navy); }
.contact-card__value { display: block; font-family: var(--font-display); font-weight: 700; font-size: 20px; overflow-wrap: anywhere; }

.form { background: var(--white); color: var(--navy); border-radius: var(--radius-lg); padding: 44px; display: grid; gap: 20px; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.form__title { font-size: 26px; font-weight: 800; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1.5px solid var(--input-border); border-radius: var(--radius-sm);
  background: var(--white); color: var(--navy); font-size: 17px;
}
.field input, .field select { height: 54px; padding: 0 16px; }
.field textarea { padding: 14px 16px; min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--navy); }
.form__submit { justify-self: start; border: 0; }
.form__submit[disabled] { opacity: .7; cursor: progress; }
.form__status { margin: 0; font-weight: 700; min-height: 1.6em; }
.form__status.is-success { color: #1B6B3A; }
.form__status.is-error { color: #A12A0B; }
.form__hp { display: none; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--text-on-navy); font-size: 15px; }
.footer__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.footer h4 { color: var(--white); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--text-on-navy); text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer__about p { margin: 16px 0 20px; max-width: 340px; }
.footer__bottom { border-top: 1px solid var(--navy-line); }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 22px; padding-bottom: 22px; font-size: 14px; }

/* ---------- Lightbox ---------- */
.lightbox { width: min(1100px, 100vw - 32px); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--navy-deep); color: var(--white); overflow: hidden; }
.lightbox::backdrop { background: rgba(1,30,55,.9); }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; }
.lightbox__img { width: 100%; max-height: calc(100vh - 160px); object-fit: contain; background: #000; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px 14px 24px; }
.lightbox__caption { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.lightbox__controls { display: flex; gap: 8px; }
.lightbox__btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); background: transparent; color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox__btn:hover { background: var(--orange); border-color: var(--orange); }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 56px; padding-bottom: 96px; }
  .hero__visual { min-height: 460px; max-width: 640px; }
  .trust__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solar__inner, .project, .project--flip, .about__inner, .careers__inner, .faq__inner, .contact__inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .project--flip .project__media { order: 0; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  /* Keep the logo row at the full header height so it doesn't shift up when the open menu wraps onto a new line */
  .nav { row-gap: 0; }
  .nav .brand { min-height: var(--header-h); }
  .nav__toggle { display: inline-flex; }
  .nav__menu { display: none; width: 100%; }
  .nav__menu.is-open { display: block; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 20px; border-top: 1px solid var(--navy-line); }
  .nav__links a:not(.btn) { display: block; padding: 14px 0; font-size: 18px; }
  .nav__links .btn { margin-top: 10px; width: 100%; }
  .topbar__list li:nth-child(n+3) { display: none; }
}

@media (max-width: 720px) {
  :root { --section-pad: 80px; --gutter: 18px; --header-h: 68px; }
  body { padding-bottom: 78px; font-size: 17px; }
  .brand__name { font-size: 20px; }
  .hero__inner { padding-top: 56px; padding-bottom: 72px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__visual { min-height: 360px; }
  .hero__photo--main { inset: 0 0 70px 30px; }
  .hero__tag { display: none; }
  .hero__badge { width: 104px; height: 104px; right: 0; }
  .hero__badge b { font-size: 30px; }
  .trust__inner { grid-template-columns: minmax(0, 1fr); }
  .services-grid, .about__stats, .form__row { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
  .gallery li.wide { grid-column: span 2; }
  .project__media { grid-auto-rows: 80px; }
  .form { padding: 28px 20px; }
  .form__submit { justify-self: stretch; }
  .footer__inner { grid-template-columns: minmax(0, 1fr); }
  .topbar { display: none; }

  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--navy); box-shadow: 0 -4px 16px rgba(1,30,55,.3);
  }
  .callbar .btn { min-height: 52px; font-size: 16px; padding: 12px 14px; }
}
