/* ============================================================
   AZRA RENEWABLE — Stylesheet
   Matched to your reference site & profile PDF:
   Poppins + Inter · navy/gold/green tokens · hexagon patterns ·
   gradient rules · numbered sections · pill buttons
   ============================================================ */

:root {
  /* Brand tokens (same as your reference site) */
  --navy-950: #0e1b31;
  --navy-900: #14243f;
  --navy-700: #1e3560;
  --navy-500: #2c4a82;
  --gold-600: #de941e;
  --gold-500: #f0a62e;
  --gold-300: #f7c45e;
  --green-600: #6c9430;
  --green-500: #7fa83c;
  --mist: #f3f6fb;
  --mist-2: #e9eff7;
  --ink: #1b2a44;
  --ink-muted: #4c5c77;
  --line: #dce4f0;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(20, 36, 63, 0.10);

  --chip-gold-bg: #fff1d6;
  --chip-green-bg: #eff6e4;

  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", system-ui, Arial, sans-serif;
  --container: 1140px;

  --grad-rule: linear-gradient(90deg, var(--gold-500) 0%, var(--gold-300) 45%, var(--green-500) 100%);
  --grad-navy: linear-gradient(135deg, var(--navy-700), var(--navy-950));

  --hex-dark: none;
  --hex-light: none;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 0.55em;
  letter-spacing: -0.01em;
}
h1 { font-weight: 800; font-size: clamp(2.2rem, 4.6vw, 3.5rem); letter-spacing: -0.015em; }
h2 { font-weight: 700; font-size: clamp(1.7rem, 3.2vw, 2.35rem); }
h3 { font-weight: 700; font-size: 1.25rem; }
h4 { font-weight: 700; font-size: 1.1rem; }

h1 .g, h2 .g, h3 .g { color: var(--gold-500); }
h2 .gr { color: var(--green-500); }

p { margin: 0 0 1em; color: var(--ink-muted); }
p b, li b { color: var(--navy-900); font-weight: 600; }

a { color: var(--navy-700); text-decoration-color: var(--gold-500); text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }

:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy-900); color: #fff; padding: 10px 16px; z-index: 300; }
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.section--light { background: var(--mist); }
.section--hex { background-color: var(--mist); background-image: var(--hex-light); }

/* ---------- Kicker ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--grad-rule); }
.on-dark .kicker { color: var(--gold-300); }

/* ---------- Numbered section head ---------- */
.shead { margin-bottom: 46px; }
.shead .kick { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.shead .kick .num { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--gold-500); }
.shead .kick .lbl { font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy-700); }
.shead .kick .ln { flex: 1; height: 2px; background: linear-gradient(90deg, var(--line), transparent); }
.shead p.hint { color: var(--ink-muted); margin: 12px 0 0; max-width: 640px; }

.rule-grad { height: 3px; border-radius: 3px; background: var(--grad-rule); border: 0; margin: 0; }

/* ---------- Buttons (pill style, as in the reference) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-2px); }

.btn--gold { background: var(--gold-500); color: var(--navy-950); }
.btn--gold:hover { box-shadow: 0 10px 24px rgba(240, 166, 46, 0.4); color: var(--navy-950); }

.btn--line { background: transparent; border-color: var(--navy-700); color: var(--navy-700); }
.btn--line:hover { background: var(--navy-700); color: #fff; }

.btn--line-light { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn--line-light:hover { background: #fff; border-color: #fff; color: var(--navy-900); }

.btn--wa { background: #25d366; color: #06301a; }
.btn--wa:hover { box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4); color: #06301a; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 14px 34px rgba(13, 25, 48, 0.1); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 46px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-700);
  text-decoration: none;
  position: relative;
  padding: 7px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--green-500));
  transition: right 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-cta { margin-left: 6px; }
.nav .btn { padding: 11px 22px; font-size: 0.9rem; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; border-radius: 3px; background: var(--navy-900); margin: 5px 0; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--grad-navy); color: #fff; padding: 108px 0 168px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: var(--hex-dark); background-size: 56px 98px; opacity: 0.5; pointer-events: none; }
.raysbg { position: absolute; top: -70px; right: -50px; width: 460px; height: 460px; opacity: 0.55; pointer-events: none; }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .g { color: var(--gold-300); }
.hero p.sub { color: #c9d6ea; font-size: 1.08rem; max-width: 540px; margin: 22px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 24px; font-size: 0.87rem; color: #9fb2d1; display: flex; align-items: center; gap: 9px; }
.hero-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(127, 168, 60, 0.25); }

.logo-card {
  position: relative;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--gold-500), transparent 40%, transparent 60%, var(--green-500)) border-box;
  border: 2px solid transparent;
  border-radius: 26px;
  padding: 44px 36px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  text-align: center;
}
.logo-card img { width: min(320px, 72%); margin: 0 auto; }
.logo-card small {
  display: block;
  margin-top: 18px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.logo-card small i { font-style: normal; color: var(--gold-600); padding: 0 6px; }

/* ---------- Stats strip ---------- */
.stats-strip { position: relative; z-index: 2; margin-top: -70px; }
.stats-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stat { background: #fff; text-align: center; padding: 28px 14px 24px; position: relative; }
.stat::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--grad-rule); }
.stat b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--navy-900); line-height: 1.1; }
.stat b i { font-style: normal; color: var(--gold-500); }
.stat span { display: block; font-size: 0.85rem; color: var(--ink-muted); margin-top: 6px; line-height: 1.4; }

/* ---------- Mission / Vision ---------- */
.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
.card-mv { border-radius: var(--radius); padding: 26px 28px; position: relative; overflow: hidden; margin-bottom: 18px; }
.card-mv h4 { font-size: 1.08rem; margin-bottom: 8px; }
.card-mv p { font-size: 0.94rem; margin: 0; }
.card-mv .mv-ic { position: absolute; top: 20px; right: 20px; width: 34px; height: 34px; }
.mv-mission { background: var(--grad-navy); background-image: var(--hex-dark), var(--grad-navy); background-size: 56px 98px, auto; }
.mv-mission h4 { color: #fff; }
.mv-mission p { color: #c9d6ea; }
.mv-mission .mv-ic { color: var(--gold-300); }
.mv-vision { background: var(--chip-gold-bg); border: 1px solid #f3ddb0; }
.mv-vision p { color: #6b5a33; }
.mv-vision .mv-ic { color: var(--gold-600); }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; }
.why .chip-ic { margin: 0; }
.why b { display: block; font-family: var(--font-head); font-weight: 700; color: var(--navy-900); margin-bottom: 4px; }
.why p { font-size: 0.92rem; margin: 0; }

/* ---------- Team panel ---------- */
.team {
  background: var(--grad-navy);
  background-image: var(--hex-dark), var(--grad-navy);
  background-size: 56px 98px, auto;
  border-radius: 22px;
  padding: 34px 38px;
  display: flex;
  align-items: center;
  gap: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.team .tt { flex: 0 0 300px; }
.team .tt h3 { color: #fff; margin-bottom: 0.3em; }
.team .tt p { color: #b9c7de; font-size: 0.92rem; margin: 8px 0 0; }
.tseg { display: flex; gap: 18px; flex: 1; }
.ts { flex: 1; display: flex; align-items: center; gap: 16px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 16px; padding: 20px 22px; }
.ts b { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--gold-300); line-height: 1; }
.ts span { display: block; font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 0.95rem; }
.ts small { display: block; color: #b9c7de; font-size: 0.8rem; margin-top: 3px; }

/* ---------- Icon chips ---------- */
.chip-ic { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; flex: 0 0 auto; }
.chip-ic svg { width: 23px; height: 23px; }
.chip-ic.gold { background: var(--chip-gold-bg); color: var(--gold-600); }
.chip-ic.green { background: var(--chip-green-bg); color: var(--green-600); }
.chip-ic.navy { background: var(--mist-2); color: var(--navy-700); }

/* ---------- Services: flagship card ---------- */
.svc-flag {
  background: var(--grad-navy);
  background-image: var(--hex-dark), var(--grad-navy);
  background-size: 56px 98px, auto;
  border-radius: 22px;
  padding: 40px 42px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.svc-flag .top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.big-ic { width: 56px; height: 56px; border-radius: 16px; background: var(--gold-500); color: var(--navy-950); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.big-ic svg { width: 28px; height: 28px; }
.svc-flag h3 { color: #fff; margin: 0; font-size: 1.4rem; }
.flag-tag { font-family: var(--font-head); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy-950); background: var(--gold-300); border-radius: 999px; padding: 6px 14px; }
.svc-flag > p { color: #c9d6ea; margin: 18px 0 0; max-width: 720px; }
.deliv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.d { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 12px; padding: 13px 15px; font-size: 0.9rem; color: #eaf0fa; font-weight: 500; }
.d svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--gold-300); }

/* ---------- Services: pair cards ---------- */
.svc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 26px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px 32px 26px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc .top { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.svc .top .chip-ic { margin-bottom: 0; }
.svc h3 { margin: 0; font-size: 1.25rem; }
.svc .tagline { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-600); margin-top: 3px; }
.svc ul { list-style: none; margin: 10px 0 0; padding: 0; }
/* Was display:flex, which turned any <b> inside the item into its own
   column. Block + absolute icon lets bold text flow inline as normal. */
.svc li { display: block; position: relative; padding: 10px 0 10px 29px; font-size: 0.93rem; color: var(--ink-muted); border-bottom: 1px dashed var(--line); }
.svc li:last-child { border: 0; }
.svc li svg { position: absolute; left: 0; top: 12px; width: 17px; height: 17px; color: var(--green-600); }

/* ---------- Standards assurance band ---------- */
.assure { margin-top: 26px; display: flex; align-items: center; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 28px; }
.assure .ic { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; background: var(--navy-900); color: var(--gold-300); display: flex; align-items: center; justify-content: center; }
.assure .ic svg { width: 24px; height: 24px; }
.assure b { display: block; font-family: var(--font-head); font-weight: 700; color: var(--navy-900); }
.assure p { margin: 2px 0 0; font-size: 0.92rem; }

/* ---------- Sectors ---------- */
.sectors { margin-top: 26px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.sectors .slbl { font-family: var(--font-head); font-weight: 700; color: var(--navy-900); }
.schips { display: flex; gap: 12px; flex: 1; flex-wrap: wrap; }
.schips span { flex: 1; min-width: 120px; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--navy-700); border: 1px solid var(--line); border-radius: 999px; padding: 11px 10px; background: #fff; }

/* ---------- Cards (supporting services / generic) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.12rem; }
.card p { font-size: 0.95rem; margin-bottom: 0; }

/* ---------- Projects ---------- */
.range { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px 26px; box-shadow: var(--shadow); }
.range .lbl { display: flex; justify-content: space-between; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 12px; }
.range .bar { height: 14px; border-radius: 99px; background: linear-gradient(90deg, var(--green-500), var(--gold-300), var(--gold-500), var(--navy-700)); position: relative; }
.range .bar i { position: absolute; top: -4px; width: 3px; height: 22px; background: #fff; border: 1px solid var(--navy-700); border-radius: 3px; }
.range .marks { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--ink-muted); margin-top: 10px; font-weight: 500; }
.range .marks span { font-family: var(--font-head); font-weight: 600; color: var(--navy-900); }

.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 34px; }
.proj { border: 1px solid var(--line); border-radius: 20px; padding: 28px 30px; position: relative; overflow: hidden; background: #fff; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.proj:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.proj .corner { position: absolute; top: 0; right: 0; width: 54px; height: 54px; clip-path: polygon(100% 0, 0 0, 100% 100%); }
.proj:nth-child(1) .corner { background: var(--gold-500); }
.proj:nth-child(2) .corner { background: var(--navy-700); }
.proj:nth-child(3) .corner { background: var(--green-500); }
.proj:nth-child(4) .corner { background: var(--gold-300); }
.proj .cap { font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: var(--navy-900); }
.proj .cap i { font-style: normal; font-size: 1rem; color: var(--gold-600); font-weight: 700; }
.proj h4 { font-size: 1.12rem; margin: 4px 0 0; }
.proj p { font-size: 0.92rem; margin: 10px 0 0; }
.proj .pt { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--font-head); font-weight: 600; font-size: 0.78rem; color: var(--navy-700); background: var(--mist-2); border-radius: 999px; padding: 8px 16px; }
.proj .pt svg { width: 12px; height: 12px; color: var(--green-600); }
.note { margin-top: 22px; font-size: 0.85rem; color: var(--ink-muted); }

.partners { margin-top: 54px; }
.partners h3 { font-size: 1.35rem; margin-bottom: 20px; }
.partners .row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.pcard {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--grad-navy);
  background-image: var(--hex-dark), var(--grad-navy);
  background-size: 56px 98px, auto;
  border-radius: 20px;
  padding: 26px 30px;
  color: #fff;
}
.pcard .ic { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, 0.12); color: var(--gold-300); display: flex; align-items: center; justify-content: center; }
.pcard .ic svg { width: 26px; height: 26px; }
.pcard b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.pcard p { color: #b9c7de; font-size: 0.88rem; margin: 3px 0 0; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; margin-top: 10px; }
.steps::before { content: ""; position: absolute; top: 34px; left: 11%; right: 11%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold-500) 0 10px, transparent 10px 20px); }
.step { position: relative; text-align: center; padding: 0 8px; }
.bub { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #fff; border: 3px solid var(--gold-500); color: var(--navy-700); position: relative; }
.step:nth-child(even) .bub { border-color: var(--green-500); color: var(--green-600); }
.bub svg { width: 28px; height: 28px; }
.step h4 { margin: 18px 0 8px; font-size: 1.05rem; }
.step h4 i { font-style: normal; color: var(--gold-600); }
.step p { font-size: 0.9rem; margin: 0; }

/* ---------- Page header (inner pages) ---------- */
.page-header { position: relative; background-color: var(--mist); background-image: var(--hex-light); padding: 72px 0 56px; overflow: hidden; }
.page-header h1 { max-width: 780px; font-size: clamp(2rem, 4vw, 3rem); }
.page-header .lead { max-width: 660px; font-size: 1.08rem; color: var(--ink-muted); margin-bottom: 0; }
.page-header .rule-grad { margin-top: 38px; }

/* ---------- Contact (dark, as in the reference) ---------- */
.contact-dark { position: relative; background: var(--grad-navy); color: #fff; overflow: hidden; }
.contact-dark::before { content: ""; position: absolute; inset: 0; background-image: var(--hex-dark); background-size: 56px 98px; opacity: 0.5; }
.contact-dark .inner { position: relative; padding: 96px 0; }
.contact-dark h2 { color: #fff; }
.contact-dark h2 .g { color: var(--gold-300); }
.contact-dark .csub { color: #c9d6ea; max-width: 560px; margin: 0 0 30px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: start; }

.ccard { display: flex; align-items: center; gap: 16px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 16px; padding: 16px 18px; margin-bottom: 14px; transition: background 0.2s ease; }
.ccard:hover { background: rgba(255, 255, 255, 0.14); }
.ccard .ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, 0.12); color: var(--gold-300); display: flex; align-items: center; justify-content: center; }
.ccard .ic svg { width: 21px; height: 21px; }
.ccard small { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #9fb2d1; }
.ccard b, .ccard a { color: #fff; font-weight: 600; font-size: 0.96rem; text-decoration: none; }
.ccard a:hover { color: var(--gold-300); }
.wa-row { margin-top: 20px; }

.form-card { position: relative; background: #fff; border-radius: 20px; padding: 34px 32px 30px; color: var(--ink); overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); }
.form-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--grad-rule); }
.form-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.form-card .fhint { font-size: 0.86rem; color: var(--ink-muted); margin-bottom: 20px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; color: var(--navy-700); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  padding: 12px 15px;
  border: 1.6px solid var(--line);
  border-radius: 10px;
  background: var(--mist);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); background: #fff; }
.form-note { font-size: 0.82rem; color: var(--ink-muted); margin: 12px 0 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--grad-navy); color: #fff; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: var(--hex-dark); background-size: 56px 98px; opacity: 0.5; }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 78px 0; }
.cta-inner h2 { color: #fff; margin-bottom: 8px; }
.cta-inner h2 .g { color: var(--gold-300); }
.cta-inner p { color: #c9d6ea; margin: 0; max-width: 560px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy-950); color: #aebad0; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background-image: var(--hex-dark); background-size: 56px 98px; opacity: 0.4; }
.site-footer .rule-grad { position: relative; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 0.8fr 1.1fr; gap: 48px; padding: 64px 0 50px; }
.fbrand img { height: 56px; width: auto; background: #fff; border-radius: 14px; padding: 8px; margin-bottom: 18px; }
.site-footer p { font-size: 0.93rem; color: #aebad0; }

.footer-heading { font-family: var(--font-head); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-500); margin: 0 0 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 11px; font-size: 0.93rem; }
.footer-links a { color: #c4cede; text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: 0.92rem; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold-500); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; color: var(--gold-300); }
.footer-contact a { font-family: var(--font-body); }
.footer-contact span { color: #c4cede; }

.footer-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 20px 0; font-size: 0.83rem; color: #8593ab; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { padding: 82px 0 150px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .logo-card { max-width: 420px; margin: 0 auto; }
  .stats-strip .wrap { grid-template-columns: 1fr 1fr; }
  .why-grid, .svc-pair, .pgrid, .partners .row { grid-template-columns: 1fr; }
  .deliv { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 34px; }
  .steps::before { display: none; }
  .team { flex-direction: column; align-items: flex-start; gap: 26px; }
  .team .tt { flex: none; }
  .tseg { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
  .card-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .deliv { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .tseg { flex-direction: column; }
  .card-grid { grid-template-columns: 1fr; }
  .range .marks span:nth-child(2), .range .marks span:nth-child(4) { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .svc-flag { padding: 30px 26px; }
  .form-card { padding: 28px 22px; }
  .sectors { align-items: flex-start; flex-direction: column; }
  .brand img { height: 40px; }
}

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    background: var(--navy-950);
    padding: 14px 24px 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; width: 100%; color: #fff; padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--gold-300); }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-cta { margin: 12px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .svc, .proj, .ccard { transition: none; }
}

/* ============================================================
   ILLUSTRATED SCENE CARDS
   ============================================================ */
.scenes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.scene {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.scene:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.scene .art { position: relative; display: block; width: 100%; background: linear-gradient(180deg, #eaf1fb, #f6f9fd); }
.scene .art svg { width: 100%; height: auto; display: block; }
.scene .cap-bar { display: flex; align-items: center; gap: 12px; padding: 22px 26px 8px; }
.scene .cap-bar .tag {
  font-family: var(--font-head); font-weight: 600; font-size: 0.68rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy-950); background: var(--gold-300);
  border-radius: 999px; padding: 5px 13px;
}
.scene h3 { margin: 0; font-size: 1.15rem; }
.scene p { margin: 0; padding: 6px 26px 26px; font-size: 0.93rem; }

/* ============================================================
   SOLAR SAVINGS CALCULATOR
   ============================================================ */
.calc-band { position: relative; background: var(--grad-navy); color: #fff; overflow: hidden; }
.calc-band::before { content: ""; position: absolute; inset: 0; background-image: var(--hex-dark); background-size: 56px 98px; opacity: 0.5; }
.calc-band .inner { position: relative; padding: 96px 0; }
.calc-band h2 { color: #fff; }
.calc-band h2 .g { color: var(--gold-300); }
.calc-band .clead { color: #c9d6ea; max-width: 620px; margin: 0 0 40px; }

.calc {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

/* ----- Left: inputs ----- */
.calc-in { padding: 38px 36px; border-right: 1px solid var(--line); }
.calc-in h3 { font-size: 1.2rem; margin-bottom: 4px; }
.calc-in .sub { font-size: 0.86rem; color: var(--ink-muted); margin-bottom: 26px; }

.seg { display: flex; gap: 8px; background: var(--mist); border-radius: 999px; padding: 5px; margin-bottom: 26px; }
.seg button {
  flex: 1; font-family: var(--font-head); font-weight: 600; font-size: 0.84rem;
  color: var(--ink-muted); background: transparent; border: 0; cursor: pointer;
  padding: 10px 6px; border-radius: 999px; transition: background 0.2s ease, color 0.2s ease;
}
.seg button[aria-pressed="true"] { background: var(--navy-700); color: #fff; }

.ctrl { margin-bottom: 26px; }
.ctrl .lab { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.ctrl .lab span {
  font-family: var(--font-head); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-700);
}
.ctrl .lab b { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--navy-900); }
.ctrl .lab b i { font-style: normal; font-size: 0.8rem; color: var(--gold-600); font-weight: 700; }

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; border-radius: 99px; outline: none;
  background: linear-gradient(90deg, var(--gold-500) 0%, var(--gold-500) var(--fill, 40%), var(--mist-2) var(--fill, 40%), var(--mist-2) 100%);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 4px solid var(--navy-700);
  box-shadow: 0 3px 10px rgba(20, 36, 63, 0.3); cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 4px solid var(--navy-700);
  box-shadow: 0 3px 10px rgba(20, 36, 63, 0.3); cursor: pointer; border-color: var(--navy-700);
}
.ctrl .ends { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--ink-muted); margin-top: 8px; }

.assume { border-top: 1px dashed var(--line); padding-top: 18px; font-size: 0.78rem; color: var(--ink-muted); }
.assume b { color: var(--navy-900); }

/* ----- Right: results ----- */
.calc-out { padding: 38px 36px; background: var(--mist); position: relative; }
.calc-out::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--grad-rule); }

.headline { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.headline .big { font-family: var(--font-head); font-weight: 800; font-size: 3.2rem; color: var(--navy-900); line-height: 1; }
.headline .big i { font-style: normal; font-size: 1.2rem; color: var(--gold-600); }
.headline .cap-note { font-size: 0.85rem; color: var(--ink-muted); padding-bottom: 5px; }
.calc-out .rec { font-size: 0.88rem; color: var(--ink-muted); margin-bottom: 24px; }

.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.res {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; display: flex; align-items: center; gap: 13px;
}
.res .ri { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; }
.res .ri svg { width: 19px; height: 19px; }
.res .ri.gold { background: var(--chip-gold-bg); color: var(--gold-600); }
.res .ri.green { background: var(--chip-green-bg); color: var(--green-600); }
.res .ri.navy { background: var(--mist-2); color: var(--navy-700); }
.res small { display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); font-family: var(--font-head); font-weight: 600; }
.res b { font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--navy-900); }

.lifetime { background: var(--navy-900); border-radius: 16px; padding: 20px 22px; color: #fff; margin-bottom: 20px; }
.lifetime .lt-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.lifetime small { font-family: var(--font-head); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #9fb2d1; }
.lifetime b { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--gold-300); }
.lt-bar { height: 9px; border-radius: 99px; background: rgba(255, 255, 255, 0.15); margin-top: 14px; overflow: hidden; }
.lt-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--gold-500), var(--green-500)); width: 0; transition: width 0.7s cubic-bezier(.4, 0, .2, 1); }
.lifetime .lt-note { font-size: 0.76rem; color: #9fb2d1; margin-top: 10px; }

.calc-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.calc-cta .btn { flex: 1; justify-content: center; min-width: 170px; }
.calc-fine { font-size: 0.74rem; color: var(--ink-muted); margin: 16px 0 0; line-height: 1.5; }

@media (max-width: 980px) {
  .scenes { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .calc-in { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .calc-in, .calc-out { padding: 28px 22px; }
  .res-grid { grid-template-columns: 1fr; }
  .headline .big { font-size: 2.6rem; }
  .seg { flex-direction: column; border-radius: 16px; }
  .seg button { border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .scene, .lt-bar i { transition: none; }
}

/* ============================================================
   SUN CURSOR
   A gold sun follows the pointer and lights up dark areas.
   Enabled by JS only on devices with a real mouse; the class
   on <body> means nothing changes if JS is off.
   ============================================================ */
body.sun-on,
body.sun-on a,
body.sun-on button,
body.sun-on .seg button,
body.sun-on input[type="range"] { cursor: none; }

/* Typing still needs a normal I-beam */
body.sun-on input[type="text"],
body.sun-on input[type="email"],
body.sun-on input[type="tel"],
body.sun-on textarea { cursor: text; }

.sun-layer { position: fixed; inset: 0; pointer-events: none; z-index: 9998; }

/* The pool of light — 'screen' blending brightens dark navy
   and leaves white areas untouched */
.sun-glow {
  position: fixed;
  top: 0; left: 0;
  width: 460px; height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: screen;
  background: radial-gradient(circle closest-side,
    rgba(240, 166, 46, 0.42) 0%,
    rgba(240, 166, 46, 0.20) 38%,
    rgba(247, 196, 94, 0.07) 66%,
    rgba(247, 196, 94, 0) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  will-change: transform;
}

/* The sun ring, trailing slightly behind */
.sun-ring {
  position: fixed;
  top: 0; left: 0;
  width: 42px; height: 42px;
  margin: -21px 0 0 -21px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: transform;
}
.sun-ring svg { width: 100%; height: 100%; overflow: visible; }
.sun-ring .rays { transform-origin: 50% 50%; animation: sunspin 18s linear infinite; }
.sun-ring .disc { transition: r 0.25s ease, fill-opacity 0.25s ease; }

@keyframes sunspin { to { transform: rotate(360deg); } }

/* The precise dot, exactly under the pointer */
.sun-core {
  position: fixed;
  top: 0; left: 0;
  width: 7px; height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 1.5px rgba(14, 27, 49, 0.45);
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.2s ease;
  will-change: transform;
}

/* Visible once the pointer is actually on the page */
body.sun-live .sun-glow { opacity: 1; }
body.sun-live .sun-ring { opacity: 1; }
body.sun-live .sun-core { opacity: 1; }

/* Over something clickable: ring opens, dot tightens */
body.sun-hot .sun-ring { transform-origin: 50% 50%; }
body.sun-hot .sun-ring .disc { fill-opacity: 0.28; }
body.sun-hot .sun-core { transform: scale(0.55); }

/* Pressed */
body.sun-down .sun-core { transform: scale(1.7); }

@media (prefers-reduced-motion: reduce) {
  .sun-ring .rays { animation: none; }
}

/* ============================================================
   HERO — engagement layer
   ============================================================ */

/* Right column now stacks the logo card + a live generation card */
.hero-vis { display: flex; flex-direction: column; gap: 16px; }
.hero .logo-card { padding: 34px 32px 28px; }
.hero .logo-card img { width: min(250px, 62%); }
.hero .logo-card small { margin-top: 14px; font-size: 0.72rem; }

/* Animated "sample day" generation card */
.gen-card {
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 18px 22px 14px;
  backdrop-filter: blur(6px);
  overflow: hidden;
}
.gen-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 2px; }
.gen-head small {
  font-family: var(--font-head); font-weight: 600; font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: #9fb2d1;
}
.gen-head .live { display: inline-flex; align-items: center; gap: 7px; }
.gen-head .live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-500); box-shadow: 0 0 0 0 rgba(127, 168, 60, 0.6);
  animation: pulseDot 2.4s ease-out infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(127, 168, 60, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(127, 168, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 168, 60, 0); }
}
.gen-val { display: flex; align-items: baseline; gap: 8px; }
.gen-val b {
  font-family: var(--font-head); font-weight: 800; font-size: 2.1rem;
  color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums;
}
.gen-val span { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--gold-300); }
.gen-card .chart { margin-top: 6px; }
.gen-card .chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.gen-foot {
  display: flex; justify-content: space-between;
  font-size: 0.68rem; color: #8ea3c4; margin-top: 2px;
  font-family: var(--font-head); font-weight: 500;
}

/* Curve draws itself in */
.gen-line { stroke-dasharray: 420; stroke-dashoffset: 420; animation: drawLine 2.2s ease-out forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.gen-fill { opacity: 0; animation: fadeFill 1.4s ease-out 1s forwards; }
@keyframes fadeFill { to { opacity: 1; } }

/* Trust row under the hero buttons */
.trust-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.trust-row .tlabel {
  font-family: var(--font-head); font-weight: 600; font-size: 0.68rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: #8ea3c4;
}
.trust-row .tname {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.84rem; color: #dce5f2;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px; padding: 7px 15px;
}
.trust-row .tname::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500);
}

/* Gentle float on the logo card */
.hero .logo-card { animation: floatCard 7s ease-in-out infinite; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* Scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 92px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  color: #8ea3c4; text-decoration: none; z-index: 3;
}
.scroll-cue span {
  font-family: var(--font-head); font-weight: 600; font-size: 0.64rem;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-cue .mouse {
  width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px; position: relative;
}
.scroll-cue .mouse::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 7px;
  border-radius: 3px; background: var(--gold-500); transform: translateX(-50%);
  animation: wheel 1.9s ease-in-out infinite;
}
@keyframes wheel {
  0%   { opacity: 0; transform: translate(-50%, 0); }
  35%  { opacity: 1; }
  70%  { opacity: 0; transform: translate(-50%, 12px); }
  100% { opacity: 0; }
}
.scroll-cue:hover { color: #fff; }

@media (max-width: 980px) {
  .hero-vis { max-width: 420px; margin: 0 auto; width: 100%; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  .hero .logo-card { padding: 28px 24px 22px; }
  .gen-val b { font-size: 1.8rem; }
  /* the region label wraps badly on narrow screens */
  .gen-head small:last-child { display: none; }
  .gen-head { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .hero .logo-card { animation: none; }
  .gen-line { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
  .gen-fill { opacity: 1; animation: none; }
  .gen-head .live::before, .scroll-cue .mouse::after { animation: none; }
}

/* ============================================================
   HERO SCENE  (replaces the oversized logo card)
   ============================================================ */
.hero-scene {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
  background: #16294a;
}
.hero-scene svg { display: block; width: 100%; height: auto; }

/* Small brand chip so the logo is still present, but not dominant */
.scene-chip {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 11px; padding: 7px 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}
.scene-chip img { height: 22px; width: auto; }

/* Capacity badge, bottom right of the scene */
.scene-badge {
  position: absolute; right: 16px; bottom: 16px; z-index: 3;
  display: flex; align-items: center; gap: 9px;
  background: rgba(14, 27, 49, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  border-radius: 999px; padding: 8px 15px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.78rem; color: #fff;
}
.scene-badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500);
}

/* The generation card now floats over the scene's lower edge */
.hero-vis .gen-card { margin: 14px 0 0; z-index: 4; }

/* --- Scene animations --- */
.sun-body { animation: sunRise 16s ease-in-out infinite; }
@keyframes sunRise {
  0%, 100% { transform: translate(0, 34px); opacity: .55; }
  50%      { transform: translate(0, -6px); opacity: 1; }
}
.sun-halo { animation: haloBreathe 6s ease-in-out infinite; transform-origin: center; }
@keyframes haloBreathe {
  0%, 100% { opacity: .30; transform: scale(1); }
  50%      { opacity: .55; transform: scale(1.1); }
}
.cloud-a { animation: driftA 42s linear infinite; }
.cloud-b { animation: driftB 62s linear infinite; }
@keyframes driftA { from { transform: translateX(-90px); } to { transform: translateX(600px); } }
@keyframes driftB { from { transform: translateX(-160px); } to { transform: translateX(620px); } }

/* Light sweeping across the array */
.glint { animation: glintSweep 7s ease-in-out infinite; }
@keyframes glintSweep {
  0%, 62%, 100% { opacity: 0; transform: translateX(-140px); }
  70%           { opacity: .5; }
  86%           { opacity: 0; transform: translateX(430px); }
}
/* Power travelling down the cable to the inverter */
.flow { stroke-dasharray: 7 11; animation: flowDash 1.5s linear infinite; }
@keyframes flowDash { to { stroke-dashoffset: -36; } }
/* Inverter status light */
.led { animation: ledBlink 2.6s ease-in-out infinite; }
@keyframes ledBlink { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

@media (max-width: 640px) {
  .scene-chip img { height: 18px; }
  .scene-badge { font-size: 0.72rem; padding: 7px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .sun-body, .sun-halo, .cloud-a, .cloud-b, .glint, .flow, .led { animation: none; }
  .glint { opacity: 0; }
  .sun-body { transform: translate(0, -6px); opacity: 1; }
}

/* ============================================================
   PHOTOGRAPHY
   ============================================================ */

/* Hero sits on the drone shot. The overlay is angled: darkest on the
   left where the headline sits, lighter on the right so the photo is
   actually visible. */
.hero {
  background:
    linear-gradient(100deg,
      rgba(14, 27, 49, 0.94) 0%,
      rgba(20, 36, 63, 0.88) 38%,
      rgba(30, 53, 96, 0.72) 68%,
      rgba(30, 53, 96, 0.62) 100%),
    url("../images/bg-farm.jpg") center 58% / cover no-repeat;
}

/* The CTA band shows the photo far more openly — only a short
   heading sits on it, so it needs much less protection. */
.cta-band {
  background:
    linear-gradient(90deg, rgba(14, 27, 49, 0.92) 0%, rgba(20, 36, 63, 0.72) 55%, rgba(30, 53, 96, 0.55) 100%),
    url("../images/bg-farm.jpg") center 45% / cover no-repeat;
}

/* Dark contact section gets it too, kept subtle behind the form */
.contact-dark {
  background:
    linear-gradient(120deg, rgba(14, 27, 49, 0.95) 0%, rgba(20, 36, 63, 0.90) 50%, rgba(30, 53, 96, 0.78) 100%),
    url("../images/bg-farm.jpg") center 60% / cover no-repeat;
}

/* Real project photo in the hero card */
.hero-shot { display: block; width: 100%; height: auto; aspect-ratio: 1.45; object-fit: cover; }

/* Photos inside the category cards */
.scene .art img { width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; display: block; }

/* Installation photo band on the Services page */
.workband {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  margin-top: 26px;
  box-shadow: var(--shadow);
}
.workband .shot { position: relative; }
.workband .shot img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }
.workband .shot .stamp {
  position: absolute; left: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 9px;
  background: rgba(14, 27, 49, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  border-radius: 999px; padding: 8px 15px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.78rem; color: #fff;
}
.workband .shot .stamp::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500);
}
.workband .say { padding: 34px 34px; align-self: center; }
.workband .say h3 { font-size: 1.3rem; }
.workband .say p { font-size: 0.96rem; margin-bottom: 0; }

@media (max-width: 880px) {
  .workband { grid-template-columns: 1fr; }
  .workband .say { padding: 26px 24px; }
}

/* Project location line */
.proj .ploc {
  font-family: var(--font-head); font-weight: 600; font-size: 0.76rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-600);
  margin: 4px 0 0;
}

/* ============================================================
   ANIMATED SCENE CARDS (commercial / residential)
   ============================================================ */
.scene .art svg { display: block; width: 100%; height: auto; }

.sc-halo   { animation: scHalo 5s ease-in-out infinite; transform-origin: center; }
@keyframes scHalo { 0%,100% { opacity:.35; transform:scale(1); } 50% { opacity:.6; transform:scale(1.12); } }

.sc-rays   { animation: scSpin 26s linear infinite; transform-origin: center; }
@keyframes scSpin { to { transform: rotate(360deg); } }

.sc-cloud1 { animation: scDrift1 46s linear infinite; }
.sc-cloud2 { animation: scDrift2 68s linear infinite; }
@keyframes scDrift1 { from { transform: translateX(-110px); } to { transform: translateX(470px); } }
@keyframes scDrift2 { from { transform: translateX(-170px); } to { transform: translateX(490px); } }

/* light sweeping over the panel glass */
.sc-glint  { animation: scGlint 8s ease-in-out infinite; }
@keyframes scGlint {
  0%, 58%, 100% { opacity: 0; transform: translateX(-150px); }
  66%           { opacity: .55; }
  90%           { opacity: 0; transform: translateX(420px); }
}

/* windows waking up one after another */
.sc-win    { animation: scWin 6s ease-in-out infinite; }
.sc-win:nth-of-type(2n)  { animation-delay: 1.1s; }
.sc-win:nth-of-type(3n)  { animation-delay: 2.3s; }
.sc-win:nth-of-type(5n)  { animation-delay: 3.4s; }
@keyframes scWin { 0%,100% { opacity:.25; } 45% { opacity:1; } }

/* power travelling to the meter */
.sc-flow   { stroke-dasharray: 6 10; animation: scFlow 1.6s linear infinite; }
@keyframes scFlow { to { stroke-dashoffset: -32; } }

.sc-led    { animation: scLed 2.4s ease-in-out infinite; }
@keyframes scLed { 0%,100% { opacity:.3; } 50% { opacity:1; } }

/* meter bars ticking up */
.sc-bar1 { animation: scBar 4s ease-in-out infinite; }
.sc-bar2 { animation: scBar 4s ease-in-out .5s infinite; }
.sc-bar3 { animation: scBar 4s ease-in-out 1s infinite; }
@keyframes scBar { 0%,100% { opacity:.35; } 50% { opacity:1; } }

/* tree breathing in the breeze */
.sc-tree { animation: scSway 7s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes scSway { 0%,100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg); } }

.sc-bird { animation: scFly 22s linear infinite; }
@keyframes scFly { from { transform: translate(-40px, 12px); } to { transform: translate(440px, -18px); } }

@media (prefers-reduced-motion: reduce) {
  .sc-halo, .sc-rays, .sc-cloud1, .sc-cloud2, .sc-glint,
  .sc-win, .sc-flow, .sc-led, .sc-bar1, .sc-bar2, .sc-bar3,
  .sc-tree, .sc-bird { animation: none; }
  .sc-glint { opacity: 0; }
  .sc-win { opacity: .85; }
}

/* Map on the contact page */
.map-wrap {
  margin-top: 20px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  line-height: 0;
}
.map-wrap iframe { width: 100%; height: 220px; border: 0; display: block; filter: saturate(0.9); }

/* Calculator page: the band sits under a page header, so it needs no heading of its own */
.calc-band--bare .inner { padding: 64px 0 78px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; }
.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  position: relative;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 24px; top: 50%;
  width: 11px; height: 11px;
  margin-top: -7px;
  border-right: 2.4px solid var(--gold-500);
  border-bottom: 2.4px solid var(--gold-500);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.faq[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq summary:hover { color: var(--gold-600); }
.faq-a { padding: 0 24px 22px; }
.faq-a p { margin: 0; font-size: 0.96rem; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ---------- Pricing tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tier {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 30px 28px; position: relative; display: flex; flex-direction: column;
}
.tier--best { border: 2px solid var(--gold-500); box-shadow: var(--shadow); }
.tier .flag {
  position: absolute; top: -12px; left: 28px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.66rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--gold-500); color: var(--navy-950);
  border-radius: 999px; padding: 5px 14px;
}
.tier .vol {
  font-family: var(--font-head); font-weight: 600; font-size: 0.74rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-600);
}
.tier h3 { font-size: 1.15rem; margin: 6px 0 12px; }
.tier .amt { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--navy-900); line-height: 1; }
.tier .amt i { font-style: normal; font-size: 0.95rem; color: var(--ink-muted); font-weight: 600; }
.tier p { font-size: 0.93rem; margin: 14px 0 0; }
.tier ul { list-style: none; margin: 16px 0 0; padding: 0; }
.tier li {
  display: block; position: relative;
  font-size: 0.9rem; color: var(--ink-muted); padding: 8px 0 8px 25px;
  border-bottom: 1px dashed var(--line);
}
.tier li:last-child { border: 0; }
.tier li svg { position: absolute; left: 0; top: 11px; width: 15px; height: 15px; color: var(--green-600); }
.price-note { margin-top: 22px; font-size: 0.86rem; color: var(--ink-muted); max-width: 780px; }

/* Software / standards row */
.tools-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tool {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; text-align: center;
}
.tool b { display: block; font-family: var(--font-head); font-weight: 700; color: var(--navy-900); font-size: 1rem; }
.tool span { display: block; font-size: 0.8rem; color: var(--ink-muted); margin-top: 4px; }

@media (max-width: 980px) {
  .tiers { grid-template-columns: 1fr; }
  .tools-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .tools-row { grid-template-columns: 1fr; } }

/* Team panel now holds three groups, not two */
.team .tt { flex: 0 0 250px; }
.tseg { flex-wrap: wrap; gap: 14px; }
.tseg .ts { flex: 1 1 190px; padding: 18px 18px; }
.tseg .ts b { font-size: 2rem; }
.tseg .ts span { font-size: 0.9rem; }
@media (max-width: 1100px) {
  .team { flex-direction: column; align-items: flex-start; }
  .team .tt { flex: none; }
  .tseg { width: 100%; }
}


/* ============================================================
   ============================================================
   REFINEMENT LAYER  ·  v2
   Everything below is a later pass over the styles above.
   It changes appearance only — no markup was restructured —
   so anything here can be deleted to return to the old look.
   Sections:
     1. Tokens & type scale
     2. Overlay header
     3. Cinematic hero (video)
     4. Dark page headers on inner pages
     5. Surfaces, cards, buttons
     6. Motion & reveals
     7. Footer
     8. Responsive + reduced motion
   ============================================================
   ============================================================ */

/* ---------- 1. Tokens & type scale ---------- */
:root {
  --container: 1200px;

  /* Layered elevation, tuned to the navy ink rather than pure black */
  --shadow-xs: 0 1px 2px rgba(16, 30, 54, .05);
  --shadow-sm: 0 1px 2px rgba(16, 30, 54, .05), 0 3px 8px rgba(16, 30, 54, .05);
  --shadow-md: 0 2px 6px rgba(16, 30, 54, .06), 0 14px 32px rgba(16, 30, 54, .08);
  --shadow-lg: 0 6px 16px rgba(16, 30, 54, .08), 0 28px 60px rgba(16, 30, 54, .13);
  --shadow-xl: 0 10px 24px rgba(9, 18, 34, .18), 0 40px 90px rgba(9, 18, 34, .30);

  --line: #e3eaf4;
  --line-strong: #d3ddec;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --gutter: clamp(20px, 4vw, 40px);
  --sec-y: clamp(74px, 7.2vw, 128px);
}

.container { padding: 0 var(--gutter); }
.section { padding: var(--sec-y) 0; }

body { font-size: 16.5px; line-height: 1.68; letter-spacing: -0.003em; }

h1 { font-size: clamp(2.3rem, 1.35rem + 3.3vw, 3.95rem); line-height: 1.06; letter-spacing: -0.028em; }
h2 { font-size: clamp(1.8rem, 1.22rem + 1.85vw, 2.65rem); line-height: 1.12; letter-spacing: -0.022em; }
h3 { font-size: clamp(1.14rem, 1.05rem + 0.3vw, 1.32rem); letter-spacing: -0.014em; }
h4 { letter-spacing: -0.012em; }

p { line-height: 1.72; }
.shead { margin-bottom: clamp(34px, 3.6vw, 54px); }
.shead p.hint { font-size: 1.02rem; max-width: 60ch; }
.shead .kick .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--chip-gold-bg); color: var(--gold-600);
  font-size: 0.86rem; letter-spacing: 0;
}
.on-dark .shead .kick .num { background: rgba(247, 196, 94, .16); color: var(--gold-300); }
.shead .kick .ln { background: linear-gradient(90deg, var(--line-strong), transparent); }

/* Gold words keep a hairline of warmth under them */
h1 .g, h2 .g { background: linear-gradient(180deg, var(--gold-300), var(--gold-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.on-dark h1 .g, .on-dark h2 .g, .page-header h1 .g { background: linear-gradient(180deg, #fbd68b, var(--gold-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }


/* ---------- 2. Overlay header ---------- */
/* The header now floats over the dark band that opens every page,
   then turns into frosted white glass as soon as you scroll. */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  box-shadow: none;
  transition: background .32s var(--ease), border-color .32s var(--ease),
              box-shadow .32s var(--ease), backdrop-filter .32s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, .90);
  backdrop-filter: blur(16px) saturate(1.7);
  -webkit-backdrop-filter: blur(16px) saturate(1.7);
  border-bottom-color: rgba(20, 36, 63, .09);
  box-shadow: 0 10px 30px rgba(13, 25, 48, .07);
}
.nav { padding: 15px var(--gutter); transition: padding .32s var(--ease); }
.site-header.is-scrolled .nav { padding-top: 11px; padding-bottom: 11px; }

/* Two logos cross-fade so the mark stays legible on both backgrounds */
.brand { position: relative; display: inline-flex; }
.brand-logo { height: 46px; width: auto; transition: opacity .3s var(--ease), height .32s var(--ease); }
.brand-logo--dark { position: absolute; top: 0; left: 0; opacity: 0; }
.site-header.is-scrolled .brand-logo--light,
.site-header.is-open .brand-logo--light { opacity: 0; }
.site-header.is-scrolled .brand-logo--dark,
.site-header.is-open .brand-logo--dark { opacity: 1; }
.site-header.is-scrolled .brand-logo { height: 42px; }

.nav-links a { color: rgba(255, 255, 255, .88); font-size: 0.9rem; letter-spacing: -0.005em; }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; }
.site-header.is-scrolled .nav-links a { color: var(--navy-700); }
.site-header.is-scrolled .nav-links a:hover,
.site-header.is-scrolled .nav-links a.active { color: var(--navy-900); }

.nav-toggle span { background: #fff; transition: background .3s var(--ease), transform .25s var(--ease), opacity .25s var(--ease); }
.site-header.is-scrolled .nav-toggle span,
.site-header.is-open .nav-toggle span { background: var(--navy-900); }

/* Slim scroll-progress rule along the very top of the page */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: var(--grad-rule);
  z-index: 120; pointer-events: none;
  opacity: 0; transition: opacity .3s var(--ease);
}
.site-header.is-scrolled ~ .scroll-progress,
body.scrolled .scroll-progress { opacity: 1; }


/* ---------- 3. Cinematic hero ---------- */
.hero {
  padding: clamp(148px, 14vw, 208px) 0 clamp(140px, 12vw, 178px);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 55%;
  display: block;
  /* the footage is graded down so the headline always wins */
  filter: saturate(.88) contrast(1.04);
  transform: scale(1.04);
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(8, 17, 33, .95) 0%, rgba(13, 25, 46, .90) 34%,
                    rgba(20, 36, 63, .78) 62%, rgba(26, 46, 84, .66) 100%),
    radial-gradient(120% 90% at 78% 18%, rgba(240, 166, 46, .16) 0%, transparent 58%),
    linear-gradient(180deg, rgba(8, 17, 33, .62) 0%, transparent 26%, transparent 62%, rgba(8, 17, 33, .55) 100%);
}
.hero .raysbg { z-index: 2; opacity: .34; }
.hero .hero-grid { z-index: 3; }
.hero .scroll-cue { z-index: 4; bottom: clamp(58px, 7vw, 96px); }

.hero h1 { text-shadow: 0 2px 30px rgba(6, 14, 28, .45); }
.hero p.sub { color: #cfdcee; font-size: clamp(1rem, .95rem + .25vw, 1.14rem); max-width: 33em; margin: 24px 0 34px; }
.hero-grid { gap: clamp(40px, 5vw, 68px); align-items: center; }

/* The project card no longer floats; it sits with a crisp glass frame */
.hero .logo-card, .hero-scene { animation: none; }
.hero-scene {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: var(--shadow-xl);
  transform: perspective(1400px) rotateY(-3deg) rotateX(1.2deg);
  transition: transform .7s var(--ease-out);
}
.hero-scene:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.hero-scene::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(180deg, rgba(8, 17, 33, 0) 55%, rgba(8, 17, 33, .55) 100%);
}
.scene-badge { z-index: 3; }
.gen-card { background: rgba(255, 255, 255, .085); border-color: rgba(255, 255, 255, .22); }

.trust-row .tname { background: rgba(255, 255, 255, .09); backdrop-filter: blur(6px); }


/* ---------- 4. Dark page headers ---------- */
/* Every page now opens on the same navy band, which is what lets the
   header float transparently and gives the site one consistent entrance. */
.page-header {
  background:
    linear-gradient(102deg, rgba(8, 17, 33, .955) 0%, rgba(14, 27, 49, .92) 42%, rgba(28, 50, 92, .80) 100%),
    radial-gradient(90% 120% at 88% 0%, rgba(240, 166, 46, .18) 0%, transparent 55%),
    url("../images/bg-farm.jpg") center 52% / cover no-repeat;
  color: #fff;
  padding: clamp(134px, 12vw, 178px) 0 clamp(54px, 5.6vw, 82px);
  border-bottom: 0;
}
.page-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
}
.page-header h1 { color: #fff; text-shadow: 0 2px 26px rgba(6, 14, 28, .4); }
.page-header .kicker { color: var(--gold-300); }
.page-header .lead { color: #cbd8ea; font-size: clamp(1rem, .95rem + .22vw, 1.12rem); max-width: 62ch; }
.page-header .lead b { color: #fff; }
.page-header .lead a { color: var(--gold-300); text-decoration-color: rgba(247, 196, 94, .5); }
.page-header .lead a:hover { color: #fff; }
.page-header .rule-grad { margin-top: clamp(26px, 3vw, 40px); max-width: 220px; }
.page-header .hero-actions { margin-top: 28px; }

/* Contact & calculator open dark and stay dark — soften the seam */
.page-header + .contact-dark .inner,
.page-header + .calc-band .inner { padding-top: clamp(56px, 5vw, 74px); }


/* ---------- 5. Surfaces, cards, buttons ---------- */
.card, .svc, .proj, .scene, .why, .assure, .range, .tier, .faq, .tool, .form-card, .stats-strip .wrap {
  border-color: var(--line);
}
.card, .svc, .proj, .scene, .why, .assure, .range, .tier, .tool { box-shadow: var(--shadow-sm); }
.card, .svc, .proj, .scene, .tier {
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
}
.card:hover, .svc:hover, .proj:hover, .scene:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
.stats-strip .wrap { box-shadow: var(--shadow-lg); background: var(--line); }
.stat { padding: 32px 16px 28px; }
.stat b { font-size: clamp(1.8rem, 1.4rem + 1.1vw, 2.35rem); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 0.83rem; }

/* Cards on dark bands get a touch of inner light so they read as glass */
.svc-flag, .team, .pcard, .mv-mission {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), var(--shadow-md);
}
.svc-flag::after, .team::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 120% at 100% 0%, rgba(240, 166, 46, .13), transparent 60%);
}
.svc-flag > *, .team > * { position: relative; z-index: 1; }

.btn {
  padding: 14px 28px;
  letter-spacing: -0.004em;
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out),
              background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn--gold {
  background: linear-gradient(140deg, var(--gold-300) 0%, var(--gold-500) 62%);
  box-shadow: 0 4px 14px rgba(222, 148, 30, .28);
}
.btn--gold:hover { box-shadow: 0 12px 28px rgba(240, 166, 46, .42); }
.btn--line-light { border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); background: rgba(255, 255, 255, .06); }
.btn:active { transform: translateY(0) scale(.985); }
.btn svg { transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.schips span, .trust-row .tname, .proj .pt, .flag-tag, .scene .cap-bar .tag { letter-spacing: .04em; }
.schips span { transition: border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.schips span:hover { border-color: var(--gold-500); color: var(--navy-900); box-shadow: var(--shadow-sm); }

.field input, .field textarea { border-radius: 12px; }
.field input:focus, .field textarea:focus { box-shadow: 0 0 0 4px rgba(240, 166, 46, .16); }
.form-card { box-shadow: var(--shadow-xl); border-radius: 22px; }

.faq { box-shadow: var(--shadow-xs); transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
.faq[open], .faq:hover { box-shadow: var(--shadow-sm); border-color: var(--line-strong); }


/* ---------- 6. Motion & reveals ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
  transition-delay: var(--rd, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* Section headings get a slightly longer, calmer entrance */
.shead.reveal { transition-duration: .9s; }


/* ---------- 7. Footer ---------- */
.site-footer { background: linear-gradient(180deg, #0c1729 0%, var(--navy-950) 100%); }
.footer-grid { padding: clamp(56px, 5.5vw, 78px) 0 clamp(42px, 4vw, 56px); gap: clamp(32px, 4vw, 64px); }
.fbrand img { box-shadow: var(--shadow-md); }
.footer-heading { color: var(--gold-300); }
.footer-links a { transition: color .22s var(--ease), padding-left .22s var(--ease); }
.footer-links li:not(.footer-contact li) a:hover { padding-left: 4px; }
.footer-bottom { border-top-color: rgba(255, 255, 255, .1); }


/* ---------- 8. Responsive ---------- */
@media (max-width: 1000px) {
  .nav-links {
    background: #0a1426;
    padding: 12px var(--gutter) 22px;
    border-top: 1px solid rgba(255, 255, 255, .1);
  }
  .nav-links a, .site-header.is-scrolled .nav-links a { color: #fff; }
  .nav-links a.active, .site-header.is-scrolled .nav-links a.active { color: var(--gold-300); }
}

@media (max-width: 980px) {
  .hero { padding: clamp(118px, 22vw, 150px) 0 clamp(120px, 20vw, 160px); }
  .hero-scene { transform: none; }
  .hero-scene:hover { transform: none; }
  .page-header { padding-top: clamp(112px, 22vw, 148px); }
}

@media (max-width: 640px) {
  .brand-logo, .site-header.is-scrolled .brand-logo { height: 38px; }
  .hero p.sub { margin: 18px 0 26px; }
  .stat { padding: 24px 12px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scene, .btn, .btn svg, .card, .svc, .proj, .scene, .site-header, .nav,
  .brand-logo, .footer-links a, .schips span { transition: none; }
  .scroll-progress { display: none; }
}


/* ---------- 9. Split page header (US Permits) ---------- */
.page-header--split .ph-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 4vw, 60px);
  align-items: center;
}
.ph-art { position: relative; }
.planset {
  width: 100%; height: auto;
  filter: drop-shadow(0 30px 60px rgba(4, 11, 24, .55));
}
.ps-sheet-3 { opacity: .72; }
.ps-sheet-2 { opacity: .88; }

/* Modules populate the roof one row at a time, like a layout being drawn */
.ps-mod { opacity: 0; animation: psMod .5s var(--ease-out) forwards; }
.ps-modules .ps-mod:nth-child(n)   { animation-delay: calc(0.5s + (var(--i, 0) * 0.04s)); }
@keyframes psMod { to { opacity: 1; } }

.ps-outline { stroke-dasharray: 900; stroke-dashoffset: 900; animation: psDraw 2.2s var(--ease-out) .15s forwards; }
.ps-dim     { stroke-dasharray: 220; stroke-dashoffset: 220; animation: psDraw 1s var(--ease-out) 1.6s forwards; }
@keyframes psDraw { to { stroke-dashoffset: 0; } }

.ps-scan { opacity: 0; animation: psScan 9s ease-in-out 2.6s infinite; }
@keyframes psScan {
  0%, 8%   { opacity: 0; transform: translateX(0); }
  14%      { opacity: 1; }
  40%      { opacity: 0; transform: translateX(330px); }
  100%     { opacity: 0; transform: translateX(330px); }
}
.ps-led { animation: psLed 2.4s ease-in-out infinite; }
@keyframes psLed { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

@media (max-width: 900px) {
  .page-header--split .ph-grid { grid-template-columns: 1fr; gap: 34px; }
  .ph-art { max-width: 480px; }
}
@media (prefers-reduced-motion: reduce) {
  .ps-mod { opacity: 1; animation: none; }
  .ps-outline, .ps-dim { stroke-dashoffset: 0; animation: none; }
  .ps-scan { display: none; }
  .ps-led { animation: none; }
}


/* ---------- 10. Contact: what happens next ---------- */
.next-steps { margin-top: 30px; }
.next-steps h3 {
  color: #fff; font-size: 1.05rem; margin-bottom: 16px;
  letter-spacing: .01em;
}
.nsteps { list-style: none; margin: 0 0 26px; padding: 0; }
.nsteps li { display: flex; gap: 14px; align-items: flex-start; padding: 0 0 18px; position: relative; }
.nsteps li:not(:last-child)::before {
  content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 2px;
  background: linear-gradient(180deg, rgba(240, 166, 46, .5), rgba(240, 166, 46, .06));
}
.nsteps .n {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 0.86rem;
  color: var(--gold-300); background: rgba(240, 166, 46, .14);
  border: 1px solid rgba(240, 166, 46, .4);
  position: relative; z-index: 1;
}
.nsteps b { display: block; font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 0.97rem; }
.nsteps p { margin: 3px 0 0; font-size: 0.89rem; color: #adbdd6; line-height: 1.6; }

.send-list {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px; padding: 20px 22px;
}
.send-list .slbl {
  display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.7rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 12px;
}
.send-list ul { list-style: none; margin: 0; padding: 0; }
.send-list li {
  position: relative; padding: 6px 0 6px 22px; font-size: 0.9rem; color: #cbd8ea;
}
.send-list li::before {
  content: ""; position: absolute; left: 2px; top: 14px;
  width: 7px; height: 7px; border-radius: 2px; background: var(--green-500);
}
.send-list .conf {
  margin: 14px 0 0; padding-top: 14px; font-size: 0.8rem; color: #93a6c4;
  border-top: 1px dashed rgba(255, 255, 255, .16);
}


/* ---------- 11. Hero video fade, page-header facts ---------- */
/* The poster holds the frame until the video is genuinely playing,
   then the two cross-fade so there is never a visible swap. */
.hero-video { opacity: 0; transition: opacity 1.1s var(--ease); }
.hero-video.is-playing { opacity: 1; }
.hero-media::before {
  content: ""; position: absolute; inset: 0;
  background: url("../images/hero-poster.jpg") center 55% / cover no-repeat;
}

/* Three plain facts under the page heading — no claims the site
   does not already make elsewhere. */
.ph-facts {
  display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 44px);
  margin-top: clamp(26px, 3vw, 36px);
}
.phf { position: relative; padding-left: 16px; }
.phf::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px;
  border-radius: 3px; background: var(--grad-rule);
}
.phf b {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); color: #fff; line-height: 1.15;
  letter-spacing: -0.02em;
}
.phf span { display: block; font-size: 0.82rem; color: #a9bad4; margin-top: 3px; }

/* The decorative sun crowds the burger menu on small screens */
@media (max-width: 900px) {
  .hero .raysbg { top: -110px; right: -140px; opacity: .2; }
}
@media (max-width: 560px) { .hero .raysbg { display: none; } }


/* ---------- 12. Closing bands ---------- */
/* The final call to action was reading as a thin strip against the
   generous sections above it. */
.cta-inner { padding: clamp(84px, 8vw, 128px) 0; }
.cta-inner h2 { margin-bottom: 14px; }
.cta-inner > div { max-width: 620px; }
.cta-band { background-position: center 40%; }

/* Process steps: larger bubbles, clearer connecting line */
.steps { margin-top: 18px; }
.bub {
  width: 74px; height: 74px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(20, 36, 63, .10);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.step:hover .bub { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(20, 36, 63, .16); }
.steps::before { top: 37px; }
.step h4 { margin-top: 20px; }
@media (prefers-reduced-motion: reduce) { .bub { transition: none; } }


/* ---------- 13. Lighter images for phones ---------- */
/* Below 900px no video is loaded, so the poster IS the hero. Serve a
   900px version of it, and a smaller field photo behind the page
   headers, rather than making a phone download desktop-sized files. */
@media (max-width: 900px) {
  .hero-media::before { background-image: url("../images/hero-poster-sm.jpg"); }
  .page-header {
    background:
      linear-gradient(102deg, rgba(8, 17, 33, .955) 0%, rgba(14, 27, 49, .92) 42%, rgba(28, 50, 92, .80) 100%),
      radial-gradient(90% 120% at 88% 0%, rgba(240, 166, 46, .18) 0%, transparent 55%),
      url("../images/bg-farm-sm.jpg") center 52% / cover no-repeat;
  }
  .cta-band {
    background:
      linear-gradient(90deg, rgba(14, 27, 49, .92) 0%, rgba(20, 36, 63, .72) 55%, rgba(30, 53, 96, .55) 100%),
      url("../images/bg-farm-sm.jpg") center 45% / cover no-repeat;
  }
  .contact-dark {
    background:
      linear-gradient(120deg, rgba(14, 27, 49, .95) 0%, rgba(20, 36, 63, .90) 50%, rgba(30, 53, 96, .78) 100%),
      url("../images/bg-farm-sm.jpg") center 60% / cover no-repeat;
  }
}

/* The hero's own photo sits entirely behind .hero-media, so it can
   never be seen — dropping it saves every visitor a 168 KB download.
   The navy gradient stays as the colour behind the video/poster. */
.hero { background: var(--grad-navy); }


/* ---------- 14. Dark-on-dark seams ---------- */
/* Contact and Calculator open on the photographic header and then run
   straight into another navy band. Without this the two gradients meet
   in a visible step across the full width of the page. */
.page-header + .calc-band,
.page-header + .contact-dark { position: relative; }
.page-header + .calc-band::after,
.page-header + .contact-dark::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 220px;
  pointer-events: none; z-index: 0;
  background: linear-gradient(180deg, rgba(8, 17, 33, .92) 0%, rgba(9, 19, 36, .45) 48%, transparent 100%);
}
.page-header + .calc-band .inner,
.page-header + .contact-dark .inner { position: relative; z-index: 1; }
.page-header:has(+ .calc-band)::after,
.page-header:has(+ .contact-dark)::after { display: none; }
