/* =====================================================================
   PPP SOLUTIONS — Refined stylesheet
   Keeps the original navy + white identity.
   Strips out the AI tells: gradient text, glow orbs, grid overlays,
   brand-gradient-on-everything, card top stripes, inset gloss rings.
   Replaces with flat color, real typography, hairline structure.
   Markup is unchanged.
   ===================================================================== */

:root {
  /* Ink + paper — kept close to the original but tightened */
  --c-ink:        #0C1322;
  --c-ink-2:      #2A3340;
  --c-muted:      #5A6473;
  --c-line:       #E5E8EE;
  --c-line-2:     #D5DAE4;
  --c-bg:         #FFFFFF;
  --c-bg-soft:    #F5F7FB;
  --c-bg-deep:    #0C1322;

  /* Brand — single flat blue, no gradients */
  --c-brand:      #0A4DA2;
  --c-brand-d:    #073A82;
  --c-brand-l:    #1F6BCE;
  --c-brand-tint: #EBF1FA;

  /* Action / status */
  --c-wa:         #25D366;
  --c-wa-d:       #128C7E;
  --c-success:    #1E9E6A;
  --c-warn:       #C0392B;

  /* Geometry — tighter, less rounded */
  --r-sm: 4px;
  --r:    6px;
  --r-lg: 10px;
  --r-pill: 999px;

  /* Restrained shadows */
  --shadow-1: 0 1px 0 rgba(15,23,34,.04), 0 1px 2px rgba(15,23,34,.04);
  --shadow-2: 0 1px 0 rgba(15,23,34,.04), 0 4px 14px rgba(15,23,34,.06);

  --max-w: 1200px;

  /* Type */
  --f-display: "Geist", "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-body:    "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-mono:    "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

/* -------- Reset / base -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--c-brand); text-decoration: none; }
a:hover { color: var(--c-brand-d); text-decoration: underline; text-underline-offset: 3px; }
button { font-family: inherit; cursor: pointer; }

/* -------- Type -------- */
h1, h2, h3, h4 {
  color: var(--c-ink);
  line-height: 1.15;
  margin: 0 0 .4em;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-family: var(--f-display);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2rem, 6.2vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.05;
}
h2 {
  font-size: clamp(1.6rem, 4.4vw, 2.4rem);
  letter-spacing: -0.022em;
  line-height: 1.1;
}
h3 {
  font-size: 1.08rem;
  letter-spacing: -0.012em;
}
h4 {
  font-size: .92rem;
  letter-spacing: -0.005em;
}
p { margin: 0 0 1em; color: var(--c-ink-2); text-wrap: pretty; }
strong { font-weight: 600; color: var(--c-ink); }

/* -------- Layout -------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 72px 0; }
.section--soft { background: var(--c-bg-soft); }
.section--dark { background: var(--c-bg-deep); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: #C5CCD7; }

/* -------- Eyebrow -------- */
.eyebrow {
  display: inline-block;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-brand);
  margin-bottom: 14px;
}
.section--dark .eyebrow { color: #79B4FF; }

.section-head { margin-bottom: 32px; max-width: 720px; }
.section-head p { max-width: 60ch; font-size: 1.02rem; color: var(--c-muted); margin: 6px 0 0; }

/* =====================================================================
   HEADER / NAV
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--c-ink);
}
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--c-brand);   /* flat, no gradient */
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 700; font-size: .98rem; letter-spacing: .02em;
  box-shadow: none;
}
.brand__name {
  font-family: var(--f-display);
  font-weight: 700; font-size: 1.02rem; line-height: 1.05; letter-spacing: -0.015em;
}
.brand__sub {
  font-family: var(--f-mono);
  font-size: .68rem; color: var(--c-muted); letter-spacing: .08em; text-transform: uppercase;
}

.nav__links {
  display: none;
  list-style: none; margin: 0; padding: 0;
  gap: 26px;
}
.nav__links a {
  color: var(--c-ink-2);
  font-family: var(--f-display);
  font-weight: 500; font-size: .94rem;
  letter-spacing: -0.005em;
}
.nav__links a:hover { color: var(--c-brand); text-decoration: none; }

.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-ink); color: #fff;     /* dark, flat — no gradient */
  padding: 10px 16px; border-radius: var(--r);
  font-family: var(--f-display);
  font-weight: 600; font-size: .9rem;
  text-decoration: none;
  border: 1px solid var(--c-ink);
  letter-spacing: -0.005em;
  transition: background .12s ease, border-color .12s ease;
}
.nav__cta:hover { background: var(--c-brand); border-color: var(--c-brand); text-decoration: none; }

/* =====================================================================
   BUTTONS — flat fills, no gradients, no inset gloss
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 20px;
  border-radius: var(--r);
  border: 1px solid transparent;
  font-family: var(--f-display);
  font-weight: 600; font-size: .98rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: background .12s ease, color .12s ease, border-color .12s ease, transform .06s ease;
  min-height: 48px;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--c-brand); color: #fff;
  border-color: var(--c-brand);
  box-shadow: none;
}
.btn--primary:hover { background: var(--c-brand-d); border-color: var(--c-brand-d); }

.btn--wa {
  background: var(--c-wa); color: #fff;
  border-color: var(--c-wa);
  box-shadow: none;
}
.btn--wa:hover { background: var(--c-wa-d); border-color: var(--c-wa-d); }

.btn--ghost {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.45);
}
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); }

.btn--outline {
  background: transparent; color: var(--c-ink); border-color: var(--c-line-2);
}
.btn--outline:hover { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }

.btn--block { width: 100%; }

/* =====================================================================
   HERO — flat navy panel, no orb, no grid, no gradient text
   ===================================================================== */
.hero {
  position: relative;
  background: var(--c-bg-deep);
  color: #fff;
  padding: 88px 0 76px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
/* Subtle single-color edge accent on the left — quiet, structural */
.hero::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--c-brand);
}
.hero::after { content: none; }       /* kill the glow orb */
.hero__inner { position: relative; z-index: 1; max-width: 880px; }
.hero .eyebrow { color: #79B4FF; }
.hero h1 {
  color: #fff;                         /* no gradient text */
  -webkit-text-fill-color: currentColor;
  background: none;
  margin: 0 0 18px;
}
.hero__lede {
  color: #BCC4D2;
  max-width: 58ch;
  font-size: 1.08rem;
  line-height: 1.55;
  margin: 0 0 28px;
}
.hero__ctas {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 36px;
}

/* Badges as flat outlined chips — no dot prefix */
.hero__badges {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-pill);
  color: #D7DCE6;
  font-family: var(--f-display);
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.badge::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--c-brand-l);
}

/* =====================================================================
   FAB — flat circle, single shadow
   ===================================================================== */
.fab-stack {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 10px;
  z-index: 100;
}
.fab {
  width: 54px; height: 54px; border-radius: var(--r-pill);
  display: grid; place-items: center;
  background: var(--c-brand);
  color: #fff;
  text-decoration: none;
  border: 0;
  box-shadow: 0 8px 20px rgba(10,77,162,.28);
  transition: transform .08s ease, background .15s ease;
}
.fab:hover { background: var(--c-brand-d); transform: translateY(-1px); text-decoration: none; }
.fab--wa { background: var(--c-wa); box-shadow: 0 8px 20px rgba(37,211,102,.25); }
.fab--wa:hover { background: var(--c-wa-d); }
.fab svg { width: 24px; height: 24px; }

/* =====================================================================
   SERVICE CARDS — flat white, hairline, NO top stripe, NO gloss ring
   icons get a flat brand-tint tile (single color, not gradient)
   ===================================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 379px) { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  padding: 22px 20px;
  box-shadow: none;
  transition: border-color .15s ease, transform .15s ease;
  overflow: hidden;
}
.service-card::before { content: none; }   /* kill the "futuristic" top stripe */
.service-card:hover {
  border-color: var(--c-line-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-1);
}
.service-card__icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--c-brand-tint);            /* single flat tint */
  color: var(--c-brand);
  display: grid; place-items: center;
  margin-bottom: 14px;
  box-shadow: none;                            /* no inset ring */
  border: 0;
}
.service-card__icon svg { width: 20px; height: 20px; }
.service-card h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  line-height: 1.25;
}
.service-card > p {
  font-size: .92rem;
  margin: 0 0 12px;
  color: var(--c-muted);
}
.service-card ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid; gap: 4px;
}
.service-card ul li {
  font-size: .88rem;
  color: var(--c-ink-2);
  line-height: 1.45;
  padding-left: 14px;
  position: relative;
}
.service-card ul li::before {
  content: "";
  position: absolute; left: 0; top: .65em;
  width: 6px; height: 1px;
  background: var(--c-line-2);
}

/* =====================================================================
   COC CALLOUT — flat navy panel, single accent stripe, no grid overlay
   ===================================================================== */
.coc-callout {
  position: relative;
  background: var(--c-bg-deep);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 32px 28px 24px 36px;
  display: grid;
  gap: 20px;
  grid-template-areas:
    "main"
    "cta"
    "note";
  box-shadow: none;
  overflow: hidden;
  border: 1px solid var(--c-bg-deep);
}
.coc-callout::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--c-brand);
}
.coc-callout > * { position: relative; z-index: 1; }
.coc-callout__main { grid-area: main; }
.coc-callout__cta { grid-area: cta; }
.coc-callout > .coc-note { grid-area: note; }
.coc-callout h2 { color: #fff; margin-bottom: 8px; }
.coc-callout p { color: #BCC4D2; max-width: 60ch; margin: 0; font-size: 1.02rem; }
.coc-callout .btn--primary {
  background: #fff; color: var(--c-ink);
  border-color: #fff;
}
.coc-callout .btn--primary:hover { background: var(--c-brand); color: #fff; border-color: var(--c-brand); }

.coc-note {
  display: grid; grid-template-columns: 18px 1fr; gap: 10px;
  margin: 4px 0 0;
  padding: 12px 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-sm);
  font-size: .82rem;
  line-height: 1.55;
  color: rgba(255,255,255,.72);
}
.coc-note__icon {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  color: #fff;
  display: grid; place-items: center;
  font-size: .58rem; font-weight: 700; font-style: italic;
  margin-top: 2px;
}
.coc-note__body { margin: 0; color: inherit; }
.coc-note__body strong { color: rgba(255,255,255,.92); font-weight: 600; }
.coc-note__sep {
  display: inline-block;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  vertical-align: middle;
  margin: 0 8px;
}

/* =====================================================================
   ESTATE AGENTS
   ===================================================================== */
.agent-block { display: grid; gap: 24px; }
.agent-points {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 12px;
}
.agent-points li {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px;
  font-size: .98rem;
  color: var(--c-ink-2);
  align-items: start;
}
.agent-points li::before {
  content: "";
  width: 18px; height: 18px;
  background: var(--c-brand);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat;
  margin-top: 3px;
}

.referral-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  padding: 20px 20px 18px;
  box-shadow: none;
  overflow: hidden;
}
.referral-card::before { content: none; }   /* drop the side-stripe accent */
.referral-card__head {
  display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 12px;
  margin-bottom: 10px;
}
.referral-card__icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--c-brand-tint);
  color: var(--c-brand);
  display: grid; place-items: center;
  flex: 0 0 auto;
  box-shadow: none;
  border: 0;
}
.referral-card__icon svg { width: 20px; height: 20px; }
.referral-card h3 {
  margin: 0;
  font-size: 1.05rem; line-height: 1.2;
}
.referral-card p { margin: 0; font-size: .94rem; color: var(--c-muted); }
.referral-card__perks {
  list-style: none; padding: 0; margin: 14px 0 0;
  display: grid; gap: 8px;
}
.referral-card__perks li {
  display: grid; grid-template-columns: 18px 1fr; gap: 8px;
  font-size: .9rem; color: var(--c-ink-2);
  align-items: start;
}
.referral-card__perks li::before {
  content: "";
  width: 14px; height: 14px;
  background: var(--c-brand);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat;
  margin-top: 3px;
}

/* =====================================================================
   GALLERY — clean borderless tiles, mono captions
   ===================================================================== */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.gallery figure {
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--c-bg-deep);
  position: relative;
  border: 0;
  box-shadow: var(--shadow-1);
}
.gallery figure img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .35s ease;
}
.gallery figure:hover img { transform: scale(1.02); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 12px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  color: #fff;
  font-size: .85rem;
  font-weight: 500;
  line-height: 1.4;
}
.gallery figure[data-focus="ceiling"]   img { object-position: center top; }
.gallery figure[data-focus="db-labels"] img { object-position: center 28%; }
.gallery figure[data-focus="db-wiring"] img { object-position: center 32%; }

/* =====================================================================
   TESTIMONIALS — clean cards with avatar restored, no inset gloss
   ===================================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.t-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  padding: 20px 20px 18px;
  box-shadow: none;
  transition: border-color .15s ease, transform .15s ease;
}
.t-card:hover { border-color: var(--c-line-2); transform: translateY(-1px); box-shadow: var(--shadow-1); }
.t-card__quote {
  font-size: .98rem;
  color: var(--c-ink);
  margin: 0 0 14px;
  line-height: 1.55;
}
.t-card__quote::before {
  content: "“";
  color: var(--c-brand);
  font-family: var(--f-display);
  font-size: 1.6em; line-height: 0; vertical-align: -0.28em; margin-right: 2px; font-weight: 700;
}
.t-card__meta {
  display: grid; grid-template-columns: 36px 1fr; gap: 12px;
  font-size: .84rem;
  color: var(--c-muted);
  line-height: 1.4;
  align-items: center;
}
.t-card__meta strong {
  font-family: var(--f-display);
  font-size: .92rem;
  color: var(--c-ink);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.t-card__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--c-brand-tint);
  display: grid; place-items: center;
  color: var(--c-brand);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .82rem;
  flex: 0 0 auto;
  box-shadow: none;                 /* drop the gradient/gloss avatar */
}
.t-card__tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: .7rem;
  color: var(--c-brand);
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-weight: 500;
  margin-top: 2px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* =====================================================================
   QUOTE FORM
   ===================================================================== */
.form-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: none;
}
.form-grid {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
.form-row { display: grid; gap: 6px; }
.form-row label {
  font-family: var(--f-display);
  font-weight: 600; font-size: .86rem;
  color: var(--c-ink);
  letter-spacing: -0.005em;
}
.form-row .req { color: var(--c-warn); margin-left: 2px; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-sm);
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--c-ink);
  background: #fff;
  transition: border-color .12s ease, box-shadow .12s ease;
  min-height: 48px;
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--c-brand);
  box-shadow: 0 0 0 3px rgba(10,77,162,.16);
}
.checkbox-group {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.checkbox-group label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: .92rem;
  color: var(--c-ink);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  cursor: pointer;
  min-height: 44px;
  transition: border-color .12s ease, background .12s ease;
  text-transform: none;
  letter-spacing: 0;
}
.checkbox-group label:hover { border-color: var(--c-line-2); }
.checkbox-group label:has(input:checked) {
  border-color: var(--c-brand);
  background: var(--c-brand-tint);
  color: var(--c-brand-d);
}
.checkbox-group input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--c-brand);
  margin: 0;
  min-height: 0;
}
.form-disclaimer {
  font-size: .84rem; color: var(--c-muted); margin: 0 0 6px;
  line-height: 1.55;
}
.form-error {
  font-size: .84rem; color: var(--c-warn); margin: 8px 0 0; display: none;
}
.form-error.is-visible { display: block; }
.form-success {
  display: none;
  background: rgba(30,158,106,.08);
  color: #14724E;
  border: 1px solid rgba(30,158,106,.22);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: .94rem;
  margin-bottom: 12px;
}
.form-success.is-visible { display: block; }

/* =====================================================================
   DISCLAIMERS
   ===================================================================== */
.disclaimer {
  background: var(--c-bg-soft);
  border-left: 3px solid var(--c-brand);
  padding: 10px 14px;
  font-size: .86rem;
  color: var(--c-ink-2);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin: 16px 0 0;
}

/* =====================================================================
   FOOTER — flat navy, no glow, no radial gradient
   ===================================================================== */
.site-footer {
  position: relative;
  background: var(--c-bg-deep);
  color: #C5CCD7;
  padding: 56px 0 28px;
  border-top: 0;
}
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 1px;
  background: rgba(255,255,255,.10);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.footer-grid h4 {
  color: #fff;
  font-family: var(--f-display);
  font-size: .95rem;
  margin: 0 0 12px;
  letter-spacing: -0.005em;
}
.footer-grid a { color: #C5CCD7; text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 6px; font-size: .94rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 18px;
  font-size: .82rem;
  color: #8E97A6;
  display: flex; flex-direction: column; gap: 8px;
}
.footer-bottom a { color: #C5CCD7; margin-right: 14px; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* =====================================================================
   TWEAKS PANEL
   ===================================================================== */
#ppp-tweaks {
  position: fixed;
  left: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 200;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  padding: 14px 16px 16px;
  width: 252px;
  font-family: var(--f-body);
  font-size: .92rem;
  color: var(--c-ink);
  box-shadow: 0 12px 36px rgba(15,23,34,.14);
  display: none;
}
#ppp-tweaks.is-on { display: block; }
#ppp-tweaks h5 {
  font-family: var(--f-mono);
  font-size: .68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 10px;
  color: var(--c-muted);
}
#ppp-tweaks .tw-row { display: flex; flex-direction: column; gap: 6px; }
#ppp-tweaks label.tw-opt {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  padding: 9px 11px;
  cursor: pointer;
  background: #fff;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: .92rem;
  transition: border-color .12s ease, background .12s ease;
}
#ppp-tweaks label.tw-opt:hover { border-color: var(--c-line-2); }
#ppp-tweaks label.tw-opt input { accent-color: var(--c-brand); margin: 0; }
#ppp-tweaks label.tw-opt.is-active { background: var(--c-brand-tint); border-color: var(--c-brand); color: var(--c-brand-d); }
#ppp-tweaks .tw-meta {
  margin-top: 12px;
  font-family: var(--f-mono);
  font-size: .66rem;
  letter-spacing: .06em;
  color: var(--c-muted);
  text-transform: uppercase;
  line-height: 1.45;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (min-width: 640px) {
  .container { padding: 0 28px; }
  .section { padding: 80px 0; }

  .service-grid { gap: 16px; }
  .service-card { padding: 24px; }
  .service-card h3 { font-size: 1.12rem; }

  .testimonial-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .t-card { padding: 24px; }
  .t-card__quote { font-size: 1.02rem; }

  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .gallery figure img { aspect-ratio: 4 / 5; }
  .gallery figure[data-focus="ceiling"]   img { object-position: center 40%; }
  .gallery figure[data-focus="db-labels"] img { object-position: center 32%; }
  .gallery figure[data-focus="db-wiring"] img { object-position: center 36%; }
  .gallery figcaption { font-size: .9rem; padding: 14px 16px; }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 40px; }

  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-row--full { grid-column: 1 / -1; }
  .checkbox-group { grid-template-columns: 1fr 1fr 1fr; }

  .coc-callout {
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-areas:
      "main cta"
      "note note";
    align-items: center;
    padding: 38px 36px 26px 44px;
    column-gap: 32px;
    row-gap: 22px;
  }
  .coc-callout__cta { min-width: 240px; }

  .hero { padding: 112px 0 92px; }
}

@media (min-width: 960px) {
  .nav__links { display: flex; }

  .hero { padding: 132px 0 108px; }

  .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }

  .agent-block {
    grid-template-columns: 1.15fr 1fr;
    align-items: start;
    gap: 44px;
  }

  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 2px solid var(--c-brand-l);
  outline-offset: 2px;
  border-radius: 3px;
}

::selection { background: var(--c-brand); color: #fff; }
