@import url("/assets/public-pages-liquid.css");
/* LIGHTMGROUP public brand layer
   Forest, burgundy and gold — used with restraint on quiet surfaces. */
:root {
  --ink: #141816;
  --muted: #5d6560;
  --paper: #ffffff;
  --canvas: #f5f6f3;
  --soft: #eef1ec;
  --line: rgba(20, 24, 22, .08);
  --forest: #00552e;
  --forest-deep: #003d22;
  --burgundy: #8b0d22;
  --burgundy-deep: #6e0a1b;
  --gold: #f5a800;
  --footer: #0c1610;
  --radius: 22px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shell-ink: var(--ink);
  --shell-muted: var(--muted);
  --shell-blue: var(--forest);
  --shell-orange: var(--burgundy);
  --shell-gold: var(--gold);
  --shell-soft: var(--soft);
  --shell-line: var(--line);
}

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

body {
  background-color: var(--canvas) !important;
  color: var(--ink);
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap { width: min(1200px, calc(100% - 44px)); margin-inline: auto; }

/* ——— Navigation ——— */
.global-nav {
  position: sticky;
  top: 0;
  z-index: 400;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  color: var(--ink);
  transition: box-shadow .2s ease;
}
.global-nav.is-scrolled {
  box-shadow: 0 12px 32px rgba(12, 22, 16, .1);
}
.nav-inner { display: flex; height: 68px; align-items: center; gap: 32px; }
.brand img { display: block; width: auto; height: 38px !important; max-width: 150px !important; object-fit: contain; }
.desktop-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 550;
}
.desktop-nav a:hover,
.nav-drop > button:hover { color: var(--forest); }
.nav-drop { display: flex; height: 68px; align-items: center; }
.nav-drop > button {
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 13px;
  cursor: pointer;
}
.nav-drop > button:after { content: "⌄"; margin-left: 5px; color: #8a8f8b; }
.dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 68px;
  padding: 36px 0 44px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 48px rgba(12, 22, 16, .08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: .2s var(--ease);
}
.nav-drop:hover .dropdown,
.nav-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.drop-inner { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 48px; }
.drop-inner small { display: block; margin-bottom: 14px; color: #8a8f8b; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.drop-primary, .drop-list { display: grid; }
.drop-primary { gap: 8px; }
.drop-primary a { font-size: 24px; font-weight: 650; letter-spacing: -.03em; }
.drop-list { align-content: start; gap: 12px; }
.drop-list a { font-size: 14px; }
.nav-build {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--burgundy) !important;
  color: #fff !important;
  font-weight: 600;
}
.nav-build:hover { background: var(--burgundy-deep) !important; }
.menu-button { display: none; margin-left: auto; border: 0; background: none; font-size: 24px; }
.mobile-nav { display: none; }

/* Premium olive glass shell shared across the public site */
:root {
  --shell-bg: #182900;
  --shell-accent: #c8eb72;
  --shell-text: #f7faf1;
  --shell-glass: rgba(52, 79, 4, .76);
}
.global-nav {
  position: fixed;
  top: 22px;
  left: 50%;
  width: min(1240px, calc(100% - 44px));
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 22px;
  background: rgba(32,52,0,.62);
  color: var(--shell-text);
  transform: translateX(-50%);
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
  box-shadow: inset 0 1px rgba(255,255,255,.08),0 18px 50px rgba(7,16,0,.2);
  transition: background .25s,box-shadow .25s;
}
.global-nav.is-scrolled { background: rgba(24,41,0,.9); box-shadow: 0 18px 48px rgba(6,15,0,.34); }
.global-nav .wrap { width: calc(100% - 32px); }
.nav-inner { height: 64px; gap: 25px; }
.brand img { filter: brightness(0) invert(1); height: 34px!important; }
.desktop-nav { gap: 22px; font-size: 11px; }
.nav-drop { height: 64px; }
.nav-drop > button { color: inherit; font-size: 11px; }
.desktop-nav a:hover,.nav-drop>button:hover { color: var(--shell-accent); }
.dropdown {
  left: 0; right: 0; top: 72px; padding: 32px;
  border: 1px solid rgba(255,255,255,.13); border-radius: 22px;
  background: rgba(29,48,0,.96); color: var(--shell-text);
  box-shadow: 0 30px 80px rgba(5,13,0,.38);
  backdrop-filter: blur(28px);
}
.dropdown .wrap { width: 100%; }
.drop-inner small { color: rgba(247,250,241,.45); }
.drop-list a { color: rgba(247,250,241,.74); }
.nav-build { padding: 11px 17px; background: var(--shell-accent)!important; color: #172600!important; }
.nav-build:hover { background: #dcff88!important; }

/* ——— Footer ——— */
.global-footer {
  padding: 80px 0 28px !important;
  background: #071000 !important;
  color: #fff !important;
  font-size: 13px !important;
}
.footer-wordmark { color: #f7faf1; font-size: clamp(54px,10.5vw,150px); font-weight: 800; line-height: .84; letter-spacing: -.075em; }
.footer-manifesto { margin: 25px 0 70px; color: #c8eb72; font-size: clamp(18px,2vw,28px); letter-spacing: -.03em; }
.footer-brand small { display:block; margin-top:22px; color:#c8eb72; font-size:10px; letter-spacing:.13em; text-transform:uppercase; }
.global-footer:before { display: none !important; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand img {
  display: block;
  height: 44px !important;
  max-width: 180px !important;
  object-fit: contain;
  filter: none !important;
}
.footer-brand p { max-width: 280px; color: rgba(255, 255, 255, .62) !important; line-height: 1.55; }
.footer-col h4 { margin: 0 0 13px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #c8eb72 !important; }
.footer-col a { display: block; margin: 10px 0; color: rgba(255, 255, 255, .72) !important; font-size: 13px !important; }
.footer-col a:hover { color: #fff !important; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; color: rgba(255, 255, 255, .5) !important; }

/* ——— WhatsApp ——— */
.whatsapp-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 10px 0 17px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: #25d366;
  color: #fff !important;
  box-shadow: 0 14px 35px rgba(0, 100, 45, .25);
  font-size: 12px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-widget:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(0, 100, 45, .32); text-decoration: none !important; }
.whatsapp-widget svg { width: 36px; height: 36px; }
.whatsapp-label { white-space: nowrap; }
body:has(.mobile-estimate) .whatsapp-widget { bottom: 80px; }

/* ——— Shared public pages ——— */
html, body { max-width: 100%; }
.page-hero,
.section.dark,
.home-page .hero {
  overflow: hidden;
}
.page-hero,
.section.dark {
  position: relative;
  background: var(--forest) !important;
  color: #fff;
}
.page-hero:before,
.section.dark:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 12%, rgba(245, 168, 0, .16), transparent 28%),
    radial-gradient(circle at 12% 92%, rgba(0, 20, 12, .35), transparent 36%);
}
.page-hero:after,
.section:after,
.site-footer:before { display: none !important; }
.page-hero { padding: 96px 0 88px; text-align: center; }
.page-hero .eyebrow,
.section.dark .number,
.section.dark .eyebrow { color: var(--gold) !important; }
.page-hero h1 {
  max-width: 900px;
  margin: 16px auto 0;
  color: #fff !important;
  font-size: clamp(2.35rem, 5.4vw, 4.2rem) !important;
  line-height: 1.05;
  letter-spacing: -.04em;
  text-wrap: pretty;
  overflow-wrap: break-word;
}
.page-hero p,
.section.dark .section-intro { color: rgba(255, 255, 255, .74) !important; }
.page-hero .pill {
  background: #fff !important;
  color: var(--burgundy) !important;
}
.page-hero .pill.secondary,
.page-hero .pill.ghost {
  border: 1px solid rgba(255, 255, 255, .4) !important;
  background: transparent !important;
  color: #fff !important;
}
.section.dark h2 {
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3.5rem) !important;
  letter-spacing: -.035em !important;
  overflow-wrap: break-word;
}
.section h2,
.section-head h2 {
  overflow-wrap: break-word;
  text-wrap: balance;
}
.section.dark .tile {
  border: 1px solid rgba(255, 255, 255, .12) !important;
  background: rgba(255, 255, 255, .08) !important;
  backdrop-filter: blur(12px);
  border-radius: var(--radius) !important;
}
.section.dark .tile h3 { color: #fff; }
.section.dark .tile p,
.section.dark .tile ul { color: rgba(255, 255, 255, .68) !important; }

main > .section { background-color: var(--canvas) !important; }
main > .section.soft { background-color: var(--soft) !important; }
main > .section.dark { background-color: var(--forest) !important; }

.tile,
.project,
.work-card,
.config-panel {
  background-color: var(--paper) !important;
  border-radius: var(--radius) !important;
}
.tile {
  min-height: 0 !important;
  padding: 36px 32px !important;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(12, 22, 16, .04);
}
.tile-grid { gap: 16px !important; }
.eyebrow,
.kicker,
.step-label,
.estimate-label { color: var(--gold) !important; }
.section .eyebrow { color: var(--burgundy) !important; }
.section.dark .eyebrow { color: var(--gold) !important; }

.nav-build,
.nav-cta,
.hero-cta,
.proposal-button,
.mobile-estimate-cta {
  background-color: var(--burgundy) !important;
  color: #fff !important;
}

/* ——— Homepage ——— */
.home-page .notice {
  background: var(--forest-deep) !important;
  color: rgba(255, 255, 255, .82);
}
.home-page .notice .wrap { color: rgba(255, 255, 255, .82) !important; }
.home-page .notice a { color: var(--gold) !important; }

.home-page .hero {
  isolation: isolate;
  background:
    radial-gradient(ellipse at 82% 38%, rgba(245, 168, 0, .14), transparent 42%),
    radial-gradient(ellipse at 8% 88%, rgba(139, 13, 34, .18), transparent 36%),
    linear-gradient(165deg, #02140d 0%, #003d22 46%, #00552e 100%) !important;
  color: #fff !important;
  animation: none !important;
  text-align: left;
}
.home-page .hero::before,
.home-page .hero::after { display: none !important; }
.home-page .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, .95fr);
  gap: 48px 40px;
  align-items: center;
  padding: 72px 0 56px !important;
}
.home-page .hero-copy-col { min-width: 0; }
.home-page .hero .eyebrow { color: var(--gold) !important; }
.home-page .hero h1,
.home-page .hero h1 span {
  max-width: 18ch !important;
  margin-left: 0 !important;
  color: #fff !important;
  font-size: clamp(2.6rem, 5.4vw, 4.8rem) !important;
  line-height: .94 !important;
  letter-spacing: -.05em !important;
  text-shadow: none !important;
  text-align: left;
}
.home-page .hero h1 span::after {
  width: 72px !important;
  height: 4px !important;
  margin: 22px 0 0 !important;
  background: var(--gold) !important;
}
.home-page .hero-copy {
  color: rgba(255, 255, 255, .76) !important;
  max-width: 540px !important;
  margin-left: 0 !important;
  text-align: left;
}
.home-page .hero-actions { justify-content: flex-start; }
.home-page .hero .pill {
  background: var(--burgundy) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(139, 13, 34, .28);
}
.home-page .hero .pill:hover { background: var(--burgundy-deep) !important; }
.home-page .hero .pill.ghost {
  border-color: var(--gold) !important;
  background: transparent !important;
  color: var(--gold) !important;
  box-shadow: none !important;
}
.home-page .hero-proof {
  justify-content: flex-start;
  color: rgba(255, 255, 255, .58) !important;
}
.home-page .hero-proof b { color: var(--gold) !important; }

.home-page .hero-chip,
.home-page .map-tag,
.home-page .map-caption { display: none !important; }

.home-page .hero-visual { min-width: 0; }
.home-page .map-stage {
  position: relative;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.home-page .africa-real {
  display: block;
  width: min(440px, 100%);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 18px 36px rgba(0, 12, 8, .32));
}
.home-page .matrix-map,
.home-page .africa-map-fallback,
.home-page .map-glow { display: none !important; }
.home-page .africa-land {
  fill: #1f7a4a !important;
  stroke: rgba(245, 168, 0, .35) !important;
  stroke-width: 1.6 !important;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.home-page .africa-land.madagascar { fill: #176b40 !important; }
.home-page .route { display: none; }
.home-page .dot { fill: rgba(255, 255, 255, .35); stroke: none; }
.home-page .dot.home {
  fill: var(--gold) !important;
  stroke: #fff !important;
  stroke-width: 2.5 !important;
}
.home-page .pulse {
  fill: none;
  stroke: var(--gold) !important;
  stroke-width: 1.6;
}
.home-page .map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin: 22px auto 8px;
  padding-bottom: 8px;
}
.home-page .map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 600;
}
.home-page .map-legend-item i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .08);
}
.home-page .map-legend-item.home i {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 168, 0, .18);
}

.home-page main > .section { background: var(--canvas) !important; }
.home-page .work-section { background: var(--paper) !important; }
.home-page .logos { background: var(--paper) !important; }
.home-page .logo-viewport::before { background: linear-gradient(90deg, var(--paper), transparent) !important; }
.home-page .logo-viewport::after { background: linear-gradient(-90deg, var(--paper), transparent) !important; }
.home-page .cta { background: transparent !important; padding: 0 0 100px !important; }
.home-page .cta-card {
  background: var(--forest) !important;
  border-radius: 28px !important;
}
.home-page .value {
  background: var(--paper) !important;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(12, 22, 16, .04);
}
.home-page .cap-card.blue {
  background: var(--forest) !important;
  animation: none !important;
}
.home-page .ai-orb {
  background: radial-gradient(circle at 32% 28%, #fff, rgba(245, 168, 0, .55) 10%, var(--forest) 42%, var(--forest-deep) 74%) !important;
  box-shadow: 0 0 80px rgba(0, 85, 46, .28) !important;
}
.home-page .cap-visual {
  background: radial-gradient(circle at 38% 35%, #fff 0 4%, rgba(255, 255, 255, .45) 5%, rgba(0, 85, 46, .16) 32%, transparent 64%) !important;
}

/* ——— Pricing ——— */
.price-hero {
  position: relative;
  min-height: 520px !important;
  padding-top: 88px !important;
  padding-bottom: 88px !important;
  background-color: #00552e !important;
  background-image: none !important;
  color: #fff !important;
  animation: none !important;
}
.price-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 80% 16%, rgba(245, 168, 0, .16), transparent 30%);
  animation: none !important;
}
.price-hero > * { position: relative; z-index: 1; }
.price-hero h1 {
  color: #fff !important;
  font-size: clamp(2.6rem, 5.2vw, 4.4rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.04em !important;
  max-width: 16ch;
}
.price-hero > div > p,
.price-hero-proof { color: rgba(255, 255, 255, .72) !important; }
.price-hero-proof { border-color: rgba(255, 255, 255, .16) !important; }
.price-hero-proof span:before { background: var(--gold) !important; }
.price-hero .hero-cta { background: #fff !important; color: var(--burgundy) !important; }
.price-hero .hero-secondary { color: #fff !important; }
.price-hero aside {
  border-color: rgba(255, 255, 255, .16) !important;
  background: rgba(255, 255, 255, .1) !important;
  backdrop-filter: blur(16px);
}
.calculator { width: min(1320px, calc(100% - 48px)) !important; margin-top: 48px !important; background: transparent !important; }
.calculator > .progress {
  position: sticky;
  top: 68px;
  z-index: 25;
  padding: 8px 12px 0;
  border: 1px solid var(--line) !important;
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 35px rgba(12, 22, 16, .06);
  backdrop-filter: blur(16px);
}
.progress button { border-radius: 10px 10px 0 0 !important; }
.progress button.active { border-color: var(--burgundy) !important; color: var(--burgundy) !important; }
.progress button.done { color: var(--forest) !important; }
.config-panel,
.estimate-panel { border-color: var(--line) !important; border-radius: 24px !important; }
.config-panel { box-shadow: 0 16px 48px rgba(12, 22, 16, .05) !important; }
.estimate-panel {
  top: 150px !important;
  background: var(--forest) !important;
  box-shadow: 0 24px 60px rgba(0, 85, 46, .22) !important;
}
.choice,
.feature-grid label,
.option-stack label,
.check-row label {
  border-color: var(--line) !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
}
.choice:hover,
.feature-grid label:hover,
.option-stack label:hover,
.check-row label:hover {
  border-color: var(--forest) !important;
  box-shadow: 0 8px 20px rgba(0, 85, 46, .08);
}
.choice:has(input:checked),
.feature-grid label:has(input:checked),
.option-stack label:has(input:checked),
.check-row label:has(input:checked) {
  border-color: var(--burgundy) !important;
  background: #faf7f6 !important;
  box-shadow: inset 0 0 0 1px var(--burgundy) !important;
}
.segmented button.selected { background: var(--burgundy) !important; }
.step-controls #next,
.proposal-button { border-color: var(--burgundy) !important; background: var(--burgundy) !important; }
.lead-card { border: 1px solid var(--line); background: var(--soft) !important; }
.mobile-estimate { background: var(--forest) !important; }
.price-nav img { height: 36px !important; max-width: 150px !important; object-fit: contain; }

/* ——— Work gallery ——— */
.work-page { background-color: var(--canvas) !important; }
.work-intro { background: var(--forest) !important; }
.work-gallery-section { background-color: var(--canvas) !important; }
.work-gallery-section:before { opacity: .5; }
.gallery-visual { background-color: var(--soft) !important; }
.work-heading-row span { color: var(--burgundy) !important; }

/* ——— Responsive ——— */
.page-hero .page-shell,
.home-page .hero-inner {
  max-width: 100%;
}
.page-hero h1,
.home-page .hero h1,
.home-page .hero h1 span {
  max-width: 100% !important;
}

@media (max-width: 900px) {
  .wrap,
  .page-shell {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
  }
  .page-hero h1,
  .section h2,
  .section-intro,
  .page-hero p {
    max-width: calc(100vw - 40px) !important;
    text-wrap: wrap !important;
    white-space: normal !important;
  }
  .global-nav { overflow: visible !important; }
  .desktop-nav { display: none !important; }
  .menu-button {
    display: grid !important;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--soft);
    color: var(--ink);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }
  .mobile-nav { display: none !important; }
  .mobile-nav.open {
    display: grid !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 68px !important;
    width: 100vw !important;
    height: calc(100dvh - 68px) !important;
    max-height: calc(100dvh - 68px) !important;
    z-index: 1000 !important;
    align-content: start;
    gap: 0;
    padding: 18px 22px 48px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, .1);
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  .mobile-nav a {
    display: flex !important;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--ink) !important;
    font-size: 20px;
    font-weight: 600;
  }
  .mobile-nav a:after { content: "›"; color: #8a8f8b; font-size: 24px; font-weight: 400; }
  .mobile-nav .mobile-drop {
    border-bottom: 1px solid var(--line);
  }
  .mobile-nav .mobile-drop summary {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 4px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
  }
  .mobile-nav .mobile-drop summary::-webkit-details-marker { display: none; }
  .mobile-nav .mobile-drop summary:after { content: "⌄"; color: #8a8f8b; font-size: 22px; font-weight: 400; }
  .mobile-nav .mobile-drop[open] summary:after { content: "⌃"; }
  .mobile-nav .mobile-drop-links { display: grid; padding: 0 0 10px 6px; }
  .mobile-nav .mobile-drop-links a {
    min-height: 44px !important;
    font-size: 16px !important;
    font-weight: 550 !important;
    border-bottom: 0 !important;
  }
  .mobile-nav .mobile-drop-links a:after { display: none !important; }
  .mobile-nav .mobile-estimate-cta {
    margin-top: 22px;
    min-height: 52px !important;
    justify-content: center;
    border: 0 !important;
    border-radius: 999px;
    background: var(--burgundy) !important;
    color: #fff !important;
    font-size: 16px !important;
  }
  .mobile-nav .mobile-estimate-cta:after { display: none; }

  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .page-hero { padding: 72px 0 64px; }
  .page-hero h1 { font-size: clamp(2.15rem, 8.2vw, 3rem) !important; letter-spacing: -.04em !important; }
  .page-hero p { font-size: 17px !important; max-width: 36rem; }
  .section h2 { font-size: clamp(1.9rem, 7.5vw, 2.7rem) !important; }
  .hero-links { flex-wrap: wrap; }

  .home-page .hero { text-align: center; }
  .home-page .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 56px 0 32px !important;
    text-align: center;
  }
  .home-page .hero h1,
  .home-page .hero h1 span {
    font-size: clamp(2.2rem, 8.6vw, 3.1rem) !important;
    margin-inline: auto !important;
    text-align: center;
  }
  .home-page .hero h1 span::after { margin-inline: auto !important; }
  .home-page .hero-copy { margin-inline: auto !important; text-align: center; }
  .home-page .hero-actions,
  .home-page .hero-proof { justify-content: center; }
  .home-page .hero .eyebrow { letter-spacing: .1em; font-size: 11px; }
  .home-page .africa-real { width: min(360px, 92%); }
  .home-page .cap-card { min-height: 420px !important; }
  .home-page .code-window,
  .home-page .phone,
  .home-page .ai-orb,
  .home-page .cap-visual { opacity: .55; }

  .price-hero { min-height: auto !important; padding: 64px 24px !important; }
  .calculator > .progress { top: 68px; }
  .estimate-panel { top: auto !important; }

  .tile-grid,
  .portfolio { grid-template-columns: 1fr !important; }
  .tile { padding: 28px 22px !important; }
}

@media (max-width: 600px) {
  .wrap,
  .page-shell {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
  }
  .page-hero h1,
  .section h2,
  .section-head h2,
  .home-page .section-head h2,
  .home-page .hero-copy,
  .section-intro {
    max-width: calc(100vw - 40px) !important;
  }
  .home-page .hero-proof {
    display: grid !important;
    gap: 6px !important;
    justify-items: center;
  }
  .home-page .map-legend {
    display: grid !important;
    justify-items: center;
    gap: 8px !important;
  }
  .brand img { height: 34px !important; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-widget { right: 14px; bottom: 14px; width: 54px; padding: 0; justify-content: center; }
  .whatsapp-label { display: none; }

  .home-page .hero h1,
  .home-page .hero h1 span,
  .page-hero h1,
  .section h2,
  .section-head h2,
  .home-page .section-head h2,
  .home-page .cap-card h3 {
    text-wrap: wrap !important;
    overflow-wrap: break-word;
    hyphens: manual;
  }
  .home-page .hero h1,
  .home-page .hero h1 span { font-size: 1.85rem !important; letter-spacing: -.055em !important; }
  .home-page .hero-copy-col { max-width: calc(100vw - 28px); }
  .home-page .hero-copy { font-size: 15px !important; padding: 0 8px !important; max-width: calc(100vw - 52px) !important; }
  .page-hero h1 { font-size: 1.65rem !important; letter-spacing: -.04em !important; }
  .page-hero p,
  .section-intro { font-size: 16px !important; max-width: 100%; }
  .section h2,
  .section-head h2,
  .home-page .section-head h2 { font-size: 1.65rem !important; }
  .home-page .hero-actions { flex-direction: column; align-items: stretch; }
  .home-page .hero-proof { justify-content: center; }
  .home-page .map-stage { margin-top: 8px !important; }
  .home-page .africa-real { width: min(300px, 94%); }
  .home-page .map-legend { gap: 8px 14px; }
  .home-page .map-legend-item { font-size: 11px; }
  .home-page .code-window,
  .home-page .phone,
  .home-page .ai-orb,
  .home-page .cap-visual { display: none !important; }
  .home-page .cap-card { min-height: 0 !important; padding: 28px 22px !important; }
  .home-page .cap-card h3 { font-size: 1.55rem !important; }
  .home-page .section { padding: 72px 0 !important; }
  .home-page .section-head { max-width: 100%; }
  .home-page .section-head h2 { font-size: 1.5rem !important; letter-spacing: -.04em !important; }
  .home-page .notice .wrap { font-size: 12px !important; line-height: 1.45; padding-inline: 10px !important; }
  .home-page .hero .eyebrow { letter-spacing: .06em; font-size: 10px !important; }
  .home-page .hero-proof { font-size: 11px; padding: 0 6px; }
  .home-page .map-legend { width: 100%; padding-inline: 8px; }
  .home-page .cta { padding-bottom: 72px !important; }
  .home-page .cta-card { padding: 52px 22px !important; }
  .home-page .cta-card h2 { font-size: clamp(2rem, 10vw, 2.8rem) !important; }

  .price-hero h1 { font-size: clamp(2.4rem, 12vw, 3.6rem) !important; }
  .calculator { width: calc(100% - 24px) !important; }
  .config-panel { border-radius: 20px !important; }
}

@media (max-width: 420px) {
  .footer-top { grid-template-columns: 1fr; }
}
