/* =========================================================
   RAPID POWER — DESIGN SYSTEM
   Edit colours, fonts and spacing in the :root block below.
   ========================================================= */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colour tokens (from the brand brief) */
  --ink: #111827;          /* primary dark */
  --gold: #C9A24D;         /* premium gold */
  --gold-deep: #8A6A1F;    /* gold for text on light backgrounds (AA contrast) */
  --cream: #FAF9F6;        /* warm white */
  --white: #FFFFFF;
  --slate: #64748B;        /* secondary text */
  --orange: #E88B2A;       /* subtle highlight */
  --line: #E7E3D8;         /* hairlines on cream */
  --cream-2: #F3F0E7;      /* slightly deeper cream band */

  /* Type */
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --radius: 6px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; letter-spacing: -0.005em; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--slate); line-height: 1.6; max-width: 58ch; }
.muted { color: var(--slate); }
.small { font-size: 0.875rem; }
.kicker { font-weight: 700; color: var(--gold-deep); margin-bottom: 14px; font-size: 0.95rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 0.97rem; line-height: 1;
  padding: 16px 26px; border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #D6B25F; transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #1f2937; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-line-light { border-color: rgba(255,255,255,.4); color: var(--white); background: transparent; }
.btn-line-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 12px 18px; font-size: 0.9rem; }
.header-cta { white-space: nowrap; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.link-arrow { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; color: var(--ink); }
.link-arrow:hover { color: var(--gold-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 249, 246, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(17,24,39,.35); }
.site-header .wrap { max-width: 1400px; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; transition: height .25s; }
.site-header.is-scrolled .bar { height: 68px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand img { height: 50px; width: auto; transition: height .25s; }
.site-header.is-scrolled .brand img { height: 42px; }
@media (max-width: 520px) { .brand img { height: 42px; } .site-header.is-scrolled .brand img { height: 38px; } }
.brand small { display: block; font-weight: 600; font-size: .72rem; color: var(--slate); letter-spacing: 0; margin-top: 1px; }

.nav { display: none; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a, .nav button.sub-toggle {
  font: inherit; font-weight: 600; font-size: .92rem; color: var(--ink); text-decoration: none;
  background: none; border: 0; cursor: pointer; padding: 10px 11px; border-radius: var(--radius); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.nav a:hover, .nav button.sub-toggle:hover { color: var(--gold-deep); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.has-sub { position: relative; }
.sub-toggle svg { width: 10px; height: 10px; transition: transform .2s; }
.nav .sub { position: absolute; top: 100%; left: 0; min-width: 270px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 24px 40px -24px rgba(17,24,39,.35); padding: 8px; display: none; flex-direction: column; align-items: stretch; gap: 0; }
.nav .sub a { white-space: nowrap; }
.nav .sub a { display: block; padding: 11px 14px; font-weight: 600; }
.nav .has-sub:hover > .sub, .nav .has-sub:focus-within > .sub, .nav .has-sub.open > .sub { display: flex; }
.has-sub:hover .sub-toggle svg, .has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.header-cta { display: none; }

.menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 11px; background: var(--ink); border: 0; border-radius: var(--radius); cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--white); transition: transform .25s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; background: var(--cream); border-top: 1px solid var(--line); max-height: calc(100vh - 84px); overflow-y: auto; }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 0 24px; }
.mobile-nav li > a, .mobile-nav .m-label { display: block; padding: 14px var(--gutter); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav .m-label { color: var(--slate); font-weight: 600; font-size: .85rem; border-bottom: 0; padding-bottom: 4px; padding-top: 16px; }
.mobile-nav .m-sub a { padding-left: calc(var(--gutter) + 14px); font-weight: 600; }
.mobile-nav .btn { margin: 20px var(--gutter) 0; display: flex; }

@media (min-width: 1320px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 8vw, 104px); background: var(--cream); }
.hero-grid { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--slate); font-size: .92rem; font-weight: 600; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }

/* The load-profile panel: the one memorable element */
.loadchart { background: var(--ink); color: var(--white); border-radius: 10px; padding: clamp(18px, 2.4vw, 30px); position: relative; box-shadow: 0 40px 70px -40px rgba(17,24,39,.65); }
.loadchart header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.loadchart header b { font-weight: 700; font-size: .98rem; }
.loadchart header span { font-size: .78rem; color: #94A3B8; font-weight: 600; }
.loadchart svg { width: 100%; height: auto; overflow: visible; }
.loadchart text { font-family: var(--font); font-size: 11px; fill: #94A3B8; font-weight: 600; }
.loadchart .t-gold { fill: var(--gold); font-weight: 700; }
.loadchart .t-orange { fill: var(--orange); font-weight: 700; }
.lc-grid { stroke: rgba(255,255,255,.08); stroke-width: 1; }
.lc-area { fill: rgba(201,162,77,.13); }
.lc-line { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lc-after { fill: none; stroke: var(--orange); stroke-width: 2.2; stroke-dasharray: 6 6; stroke-linecap: round; }
.lc-peak { fill: rgba(232,139,42,.14); }
.lc-limit { stroke: rgba(255,255,255,.45); stroke-width: 1; stroke-dasharray: 3 5; }
.loadchart footer { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .8rem; color: #CBD5E1; font-weight: 600; }
.loadchart footer i { display: inline-block; width: 18px; height: 3px; margin-right: 8px; vertical-align: middle; background: var(--gold); border-radius: 2px; }
.loadchart footer i.o { background: var(--orange); }
.loadchart .disclaimer { margin: 14px 0 0; font-size: .75rem; color: #94A3B8; max-width: none; }

/* One orchestrated load-in sequence (hero chart only) */
@media (prefers-reduced-motion: no-preference) {
  .lc-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s .3s cubic-bezier(.4,.1,.2,1) forwards; }
  .lc-area, .lc-peak, .lc-after, .lc-note { opacity: 0; animation: appear .8s 2.1s ease forwards; }
  .lc-after { animation-delay: 2.5s; }
  .lc-note { animation-delay: 2.7s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-cream2 { background: var(--cream-2); }
.section-white { background: var(--white); }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .lead, .section-dark p { color: #CBD5E1; }
.section-dark .kicker { color: var(--gold); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; }
.section-head.row > div { max-width: 640px; }

/* Credibility */
.cred { display: grid; gap: 40px; }
@media (min-width: 900px) { .cred { grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; } }
.stats { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.stat { display: flex; align-items: baseline; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.stat b { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.04em; min-width: 3.3ch; line-height: 1; }
.stat span { color: var(--slate); font-weight: 600; max-width: 28ch; }

/* Services: one anchor panel and five supporting panels, different weights on purpose */
.services { display: grid; gap: 20px; }
.svc { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 28px; text-decoration: none; position: relative; transition: border-color .2s, transform .2s; }
.svc:hover { border-color: var(--gold); transform: translateY(-3px); }
.svc .ico { width: 56px; height: 56px; color: var(--gold-deep); margin-bottom: 22px; }
.svc .ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { margin-bottom: 10px; }
.svc p { color: var(--slate); font-size: .98rem; }
.svc .more { margin-top: auto; font-weight: 700; color: var(--ink); padding-top: 8px; }
.svc .more::after { content: " \2192"; color: var(--gold-deep); }
.svc-feature { background: var(--ink); color: var(--white); border-color: var(--ink); padding: clamp(28px, 4vw, 48px); }
.svc-feature .ico { color: var(--gold); width: 72px; height: 72px; }
.svc-feature h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.svc-feature p { color: #CBD5E1; font-size: 1.05rem; }
.svc-feature .more { color: var(--gold); }
.svc-feature:hover { border-color: var(--gold); }
@media (min-width: 720px) { .services { grid-template-columns: repeat(2, 1fr); } .svc-feature { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .svc-feature { grid-column: span 2; grid-row: span 2; }
}

/* Why choose */
.why { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.why li { list-style: none; padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px 40px; }
.why h3 { margin: 0; font-size: 1.15rem; }
.why p { margin: 0; color: var(--slate); }
ul.why { padding: 0; margin: 0; }
@media (min-width: 800px) { .why li { grid-template-columns: 340px 1fr; align-items: baseline; } }

/* Energy audit feature (home) */
.audit-feature { display: grid; gap: 48px; align-items: center; }
@media (min-width: 940px) { .audit-feature { grid-template-columns: 1fr 1.1fr; gap: 80px; } }
.audit-feature h2 { color: var(--white); }
.looks { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 12px; }
.looks li { display: flex; gap: 14px; color: #E2E8F0; }
.looks li::before { content: ""; flex: 0 0 8px; height: 8px; margin-top: .6em; background: var(--gold); border-radius: 50%; }

/* Process (a true sequence, so numbered) */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 28px 64px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 800; display: grid; place-items: center; z-index: 1; }
.steps li::after { content: ""; position: absolute; left: 20px; top: 42px; bottom: 0; width: 2px; background: rgba(201,162,77,.45); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h4 { margin: 6px 0 4px; }
.steps p { margin: 0; color: var(--slate); font-size: .98rem; }
.section-dark .steps p { color: #CBD5E1; }
.steps.on-dark h4 { color: var(--white); }
.steps.cols { }
@media (min-width: 900px) {
  .steps.cols { grid-template-columns: repeat(3, 1fr); gap: 0 36px; }
  .steps.cols li { padding: 64px 0 0; }
  .steps.cols li::after { left: 42px; right: -36px; top: 20px; bottom: auto; width: auto; height: 2px; }
  .steps.cols li:nth-child(3)::after { display: none; }
  .steps.cols li:nth-child(n+4) { margin-top: 36px; }
  .steps.cols li:nth-child(6)::after { display: none; }
}

/* Industries */
.industries { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--ink); }
.industries li { padding: 22px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 1.15rem; }
.industries li span { color: var(--slate); font-weight: 500; font-size: .95rem; text-align: right; max-width: 34ch; }
@media (min-width: 800px) { .industries { grid-template-columns: 1fr 1fr; column-gap: 64px; } }
@media (max-width: 560px) { .industries li { flex-direction: column; } .industries li span { text-align: left; } }

/* Projects */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { font: inherit; font-weight: 700; font-size: .88rem; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; transition: background .2s, color .2s; }
.chip:hover { background: var(--cream-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.projects { display: grid; gap: 20px; }
@media (min-width: 700px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .projects { grid-template-columns: repeat(3, 1fr); } }
.proj { border: 1px solid var(--line); background: var(--white); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.proj[hidden] { display: none; }
.proj .shot { aspect-ratio: 16 / 10; background: repeating-linear-gradient(135deg, var(--cream-2) 0 14px, #ECE8DB 14px 28px); display: grid; place-items: center; color: var(--slate); font-weight: 700; font-size: .85rem; text-align: center; padding: 16px; }
.proj .body { padding: 22px; }
.proj .tag { display: inline-block; font-weight: 700; font-size: .78rem; padding: 4px 10px; background: var(--cream-2); border-radius: 999px; margin-bottom: 12px; }
.proj h3 { font-size: 1.1rem; margin-bottom: 6px; }
.proj p { color: var(--slate); font-size: .94rem; margin: 0; }

/* Leadership */
.leaders { display: grid; gap: 28px; }
@media (min-width: 760px) { .leaders { grid-template-columns: 1fr 1fr; gap: 40px; } }
.leader { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; }
@media (max-width: 480px) { .leader { grid-template-columns: 1fr; } }
.portrait { aspect-ratio: 4 / 5; background: var(--cream-2); border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; color: var(--gold-deep); }
.portrait svg { width: 56%; fill: none; stroke: currentColor; stroke-width: 2; }
.leader h3 { margin-bottom: 2px; }
.leader .role { font-weight: 700; color: var(--gold-deep); margin-bottom: 12px; }
.leader p { color: var(--slate); font-size: .97rem; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--white); padding-block: clamp(64px, 8vw, 104px); }
.cta-band h2 { color: var(--white); max-width: 18ch; }
.cta-band p { color: #CBD5E1; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.cta-band .gold-rule { width: 64px; height: 4px; background: var(--gold); margin-bottom: 28px; border-radius: 2px; }

/* Footer */
.site-footer { background: #000; color: #CBD5E1; padding-top: 72px; border-top: 4px solid var(--gold); }
.foot-grid { display: grid; gap: 40px; padding-bottom: 56px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; } }
.site-footer h4 { color: var(--gold); font-size: .95rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; }
.site-footer a { text-decoration: none; color: #E2E8F0; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand { color: var(--white); margin-bottom: 16px; }
.site-footer .brand img { height: 64px; }
.site-footer .tag { color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.site-footer address { font-style: normal; font-size: .95rem; line-height: 1.7; }
.foot-bottom { border-top: 1px solid #1f2937; padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .85rem; color: #94A3B8; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #06371c; font-weight: 800; font-size: .92rem; text-decoration: none; padding: 14px 18px; border-radius: 999px; box-shadow: 0 14px 28px -12px rgba(0,0,0,.45); transition: transform .2s; }
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 22px; height: 22px; fill: currentColor; }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 15px; } }

/* ---------- Inner pages ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); max-width: 18ch; }
.page-hero .lead { margin-bottom: 28px; }
.crumbs { font-size: .88rem; color: var(--slate); margin-bottom: 22px; font-weight: 600; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold-deep); }

.groups { display: grid; gap: 40px 56px; }
@media (min-width: 800px) { .groups { grid-template-columns: repeat(2, 1fr); } }
.group h3 { padding-bottom: 12px; border-bottom: 2px solid var(--gold); display: inline-block; }
.group ul { list-style: none; margin: 14px 0 0; padding: 0; }
.group li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 56px; border-top: 1px solid var(--ink); }
.checklist li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); position: relative; font-weight: 600; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 1.35em; width: 12px; height: 7px; border-left: 2.5px solid var(--gold-deep); border-bottom: 2.5px solid var(--gold-deep); transform: rotate(-45deg); }
@media (min-width: 800px) { .checklist.two { grid-template-columns: 1fr 1fr; } }

.notice { border-left: 4px solid var(--gold); background: var(--white); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; color: var(--slate); font-size: .96rem; max-width: 76ch; }
.notice b { color: var(--ink); }

.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; } }

/* Sample report preview */
.report { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 30px 50px -36px rgba(17,24,39,.4); position: relative; }
.report .stamp { position: absolute; top: 18px; right: 18px; border: 2px solid var(--orange); color: var(--orange); font-weight: 800; font-size: .72rem; padding: 4px 9px; border-radius: 4px; transform: rotate(3deg); background: var(--white); }
.report h3 { margin-bottom: 4px; padding-right: 130px; }
.report .sub { color: var(--slate); font-size: .9rem; margin-bottom: 20px; }
.report table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.report th { text-align: left; font-weight: 700; padding: 10px 8px; border-bottom: 2px solid var(--ink); }
.report td { padding: 11px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.report td:last-child, .report th:last-child { text-align: right; white-space: nowrap; }
.report .scroll { overflow-x: auto; }
.bar-row { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .85rem; font-weight: 600; color: var(--slate); }
.bar-row .track { flex: 1; height: 10px; background: var(--cream-2); border-radius: 5px; overflow: hidden; }
.bar-row .fill { height: 100%; background: var(--gold); border-radius: 5px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--ink); }
.faq summary { cursor: pointer; font-weight: 700; padding: 20px 40px 20px 0; position: relative; list-style: none; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 500; color: var(--gold-deep); transition: transform .2s; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--slate); padding-bottom: 20px; margin: 0; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: clamp(22px, 4vw, 40px); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 7px; }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border: 1.5px solid #CBD5E1; border-radius: var(--radius); background: var(--cream); color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-deep); outline: 3px solid rgba(201,162,77,.35); outline-offset: 0; }
.field .err { display: none; color: #B42318; font-size: .85rem; font-weight: 600; margin-top: 6px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #B42318; }
.field.invalid .err { display: block; }
.field .hint { font-size: .82rem; color: var(--slate); margin-top: 6px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--slate); }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: 0 0 auto; accent-color: var(--gold-deep); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 18px; padding: 16px 18px; border-radius: var(--radius); font-weight: 600; }
.form-status.ok { display: block; background: #ECFDF3; color: #05603A; border: 1px solid #A6F4C5; }
.form-status.bad { display: block; background: #FEF3F2; color: #912018; border: 1px solid #FECDCA; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid rgba(17,24,39,.25); border-top-color: var(--ink); animation: spin .7s linear infinite; display: none; }
.btn[disabled] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.contact-grid { display: grid; gap: 48px; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1fr 1.5fr; gap: 72px; } }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list b { display: block; font-size: .85rem; color: var(--slate); font-weight: 700; margin-bottom: 2px; }
.contact-list a { font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--gold-deep); }

.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; max-width: 68ch; }

.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }

@media print { .site-header, .wa-float, .cta-band, .site-footer { display: none; } }

/* =========================================================
   PHOTO BANNERS
   Each banner shows, from the top: a dark overlay (keeps text readable),
   your photo (assets/img/banners/<name>.jpg) and, if that file is
   missing, a gold line illustration (assets/img/art/*.svg).
   ========================================================= */
.photo-banner {
  background-color: var(--ink);
  --ov: linear-gradient(90deg, rgba(17,24,39,.93) 0%, rgba(17,24,39,.78) 50%, rgba(17,24,39,.35) 100%);
  background-size: cover, cover, cover;
  background-position: center, center, right center;
  background-repeat: no-repeat;
  color: var(--white);
}
.photo-banner.dim { --ov: linear-gradient(rgba(17,24,39,.8), rgba(17,24,39,.8)); }
.cta-band.photo-banner { --ov: linear-gradient(90deg, rgba(17,24,39,.93) 0%, rgba(17,24,39,.78) 45%, rgba(17,24,39,.35) 100%); }
.photo-banner h1, .photo-banner h2 { color: var(--white); }
.photo-banner .lead, .photo-banner p { color: #E2E8F0; }
.photo-banner .crumbs, .photo-banner .crumbs a { color: #CBD5E1; }
.photo-banner .kicker { color: var(--gold); }
.photo-banner .btn-line { border-color: rgba(255,255,255,.55); color: var(--white); }
.photo-banner .btn-line:hover { background: var(--white); color: var(--ink); }
.page-hero.photo-banner { border-bottom: 0; }
.hero.photo-banner .hero-note { border-top-color: rgba(255,255,255,.2); color: #CBD5E1; }
.hero.photo-banner .loadchart { border: 1px solid rgba(255,255,255,.14); background: rgba(17,24,39,.88); }
.hero.photo-banner .loadchart p { color: #94A3B8; }

/* Service panel photos */
.svc { --pad: 28px; padding: var(--pad); overflow: hidden; }
.svc-feature { --pad: clamp(28px, 4vw, 48px); }
.svc-media { position: relative; height: 180px; margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 22px; background: var(--cream-2); }
.svc-feature .svc-media { height: 280px; }
.svc-photo { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,24,39,0) 50%, rgba(17,24,39,.55) 100%); border-bottom: 3px solid var(--gold); pointer-events: none; }

@media (max-width: 700px) {
  .photo-banner { --ov: linear-gradient(rgba(17,24,39,.88), rgba(17,24,39,.8)); }
  .photo-banner.dim { --ov: linear-gradient(rgba(17,24,39,.8), rgba(17,24,39,.8)); }
.cta-band.photo-banner { --ov: linear-gradient(90deg, rgba(17,24,39,.93) 0%, rgba(17,24,39,.78) 45%, rgba(17,24,39,.35) 100%); }
}

.inline-photo { margin: 0 0 28px; }
.inline-photo img { width: 100%; height: auto; border-radius: 10px; border-bottom: 3px solid var(--gold); }
.inline-photo figcaption { font-size: .82rem; color: var(--slate); margin-top: 8px; }
