/* MConnections 2026 theme
   Layout concept: white canvas, deep green (#0E2A47) "anchor" bands for the hero and key sections,
   lime (#C9A43B) for action (buttons) and the footer. Soft radial glows, large radii, pill controls. */
:root {
  --green-950: #071C2F;
  --green-900: #081A2B;
  --green: #0E2A47;          /* client primary */
  --green-700: #163B60;
  --green-600: #15436D;      /* links on white (5.8:1) */
  --green-100: #E3EBF3;
  --lime: #C9A43B;           /* client accent: buttons, footer */
  --lime-600: #BE992F;       /* hover */
  --lime-700: #7E6918;       /* lime-family text on white (4.6:1) */
  --lime-300: #E8CC7E;       /* lime text on dark green (5.6:1) */
  --lime-100: #F8F1DE;
  --on-lime: #0B2137;        /* text on lime (5.4:1) */
  --bg: #FFFFFF;
  --surface: #F3F6F9;
  --ink: #0E1C31;
  --muted: #445560;
  --line: #DDE4EB;
  --line-strong: #C2D4D7;
  --danger: #B42318;
  --on-dark: #FFFFFF;
  --on-dark-muted: #C1D3DF;

  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.3rem;
  --step-3: clamp(1.55rem, 1.25rem + 1.1vw, 2rem);
  --step-4: clamp(1.95rem, 1.45rem + 2.1vw, 2.85rem);
  --step-5: clamp(2.3rem, 1.5rem + 3.4vw, 3.9rem);

  --r-xl: 32px;
  --r-lg: 24px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(11, 33, 55, .05), 0 12px 32px rgba(11, 33, 55, .08);
  --shadow-lg: 0 24px 60px rgba(11, 33, 55, .16);
  --gutter: clamp(16px, 4vw, 32px);
  --container: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: var(--step-0); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--green-600); text-underline-offset: 3px; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--green); line-height: 1.15; margin: 0; text-wrap: balance; font-weight: 800; letter-spacing: -0.025em; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: var(--on-lime); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--green); color: var(--on-dark); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 12px; color: var(--on-dark); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; justify-self: start; align-self: start; max-width: 100%;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--lime-700); background: var(--lime-100); padding: 6px 14px 6px 10px; border-radius: 999px; line-height: 1.3; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: none; box-shadow: 0 0 0 3px rgba(201, 164, 59, .25); }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 62ch; }
.ledger-mark { color: var(--lime-700); }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.prose { display: grid; gap: 18px; max-width: 68ch; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 26px;
  border-radius: 999px; font-family: var(--font-body); font-weight: 700; font-size: 0.98rem; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; line-height: 1.2; text-align: center;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary, .btn-light { background: var(--lime); color: var(--on-lime); box-shadow: 0 8px 20px rgba(201, 164, 59, .32); }
.btn-primary:hover, .btn-light:hover { background: var(--lime-600); color: var(--on-lime); box-shadow: 0 10px 26px rgba(201, 164, 59, .42); }
.btn-outline { border-color: var(--line-strong); color: var(--green); background: var(--bg); }
.btn-outline:hover { border-color: var(--green); color: var(--green); background: var(--green-100); }
.btn-dark { background: var(--green); color: var(--on-dark); }
.btn-dark:hover { background: var(--green-700); color: var(--on-dark); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .35); color: var(--on-dark); background: rgba(255, 255, 255, .04); }
.btn-ghost-light:hover { border-color: var(--on-dark); color: var(--on-dark); background: rgba(255, 255, 255, .1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green); text-decoration: none; }
.text-link svg { width: 18px; height: 18px; color: var(--lime-700); transition: transform .2s ease; }
.text-link:hover { color: var(--green-700); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px rgba(11, 33, 55, .07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green); min-width: 0; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: grid; line-height: 1.05; min-width: 0; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; letter-spacing: -0.03em; color: var(--green); }
.brand-sub { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime-700); margin-top: 5px; white-space: nowrap; }
.primary-nav ul { list-style: none; display: flex; align-items: center; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px; }
.primary-nav a { display: block; padding: 8px 15px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.93rem; border-radius: 999px; transition: background-color .2s, color .2s; }
.primary-nav a:hover { color: var(--green); background: var(--bg); }
.primary-nav a[aria-current="page"] { color: var(--on-dark); background: var(--green); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { min-height: 46px; padding: 10px 20px; font-size: 0.92rem; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--bg); color: var(--green); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-only { display: none; }
@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav { position: absolute; left: 12px; right: 12px; top: calc(100% + 6px); background: var(--bg); border: 1px solid var(--line);
    border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 10px; display: none; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; background: none; border: 0; padding: 0; border-radius: 0; }
  .primary-nav a { padding: 14px 16px; font-size: 1.05rem; border-radius: var(--radius-sm); }
  .mobile-only { display: block; }
  .primary-nav li.mobile-only { padding-top: 10px; }
  .primary-nav .btn { width: 100%; color: var(--on-lime); }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .brand-name { font-size: 1.15rem; }
  .brand-sub { font-size: 0.54rem; letter-spacing: 0.1em; }
  .brand-mark { width: 38px; height: 38px; }
  .header-inner { min-height: 70px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section-alt { background: var(--surface); }
.section-tight { padding-block: clamp(48px, 6vw, 72px); }
.split { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; } .split.reverse > :first-child { order: 2; } }

/* Dark green bands share one surface treatment */
.hero, .page-hero, .section-dark { background-color: var(--green); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .page-hero::before, .section-dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 420px at 88% 8%, rgba(201, 164, 59, .28), transparent 70%),
    radial-gradient(520px 420px at 4% 100%, rgba(21, 67, 109, .55), transparent 70%),
    radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.2px) 0 0 / 26px 26px;
}
.hero h1, .hero h2, .hero h3, .page-hero h1, .section-dark h2, .section-dark h3 { color: var(--on-dark); }
.hero .lede, .page-hero .lede, .section-dark .lede { color: var(--on-dark-muted); }
.hero .eyebrow, .page-hero .eyebrow, .section-dark .eyebrow, .cta-band .eyebrow { color: var(--lime-300); background: rgba(201, 164, 59, .16); }
.hero .ledger-mark { color: var(--lime-300); }
.hero .btn-outline { background: transparent; border-color: rgba(255, 255, 255, .4); color: var(--on-dark); }
.hero .btn-outline:hover { background: rgba(255, 255, 255, .1); border-color: var(--on-dark); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(56px, 7vw, 100px) clamp(110px, 12vw, 160px); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: clamp(44px, 6vw, 72px); align-items: center; }
.hero-grid > * { min-width: 0; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }
.hero-copy { display: grid; gap: 24px; }
.hero h1 { font-size: clamp(2.2rem, 1.4rem + 2.9vw, 3.5rem); letter-spacing: -0.035em; }
.hero-copy .lede { font-size: clamp(1.02rem, .98rem + .3vw, 1.15rem); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark); font-size: 0.9rem; font-weight: 600;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); padding: 7px 14px 7px 10px; border-radius: 999px; }
.hero-points svg { width: 16px; height: 16px; color: var(--lime-300); }
.hero-visual { position: relative; padding: 0 0 28px 28px; }
.hero-visual::before { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%;
  border: 2px dashed rgba(232, 204, 126, .45); z-index: 0; }
.hero-visual svg { width: 100%; height: auto; display: block; }

/* ---------- Trust strip ---------- */
.trust { position: relative; margin-top: clamp(-90px, -7vw, -64px); z-index: 3; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-item { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: grid; gap: 12px; align-content: start;
  min-width: 0; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.trust-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.trust-item h3 { font-size: 1.03rem; font-weight: 800; letter-spacing: -0.01em; }
.trust-item p { color: var(--muted); font-size: 0.93rem; line-height: 1.6; }
.icon-badge { width: 48px; height: 48px; border-radius: 14px; background: var(--lime-100); color: var(--green); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.icon-badge svg { width: 22px; height: 22px; }
@media (max-width: 980px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .trust-grid { grid-template-columns: 1fr; gap: 12px; }
  .trust-item { grid-template-columns: auto 1fr; column-gap: 16px; padding: 20px; }
  .trust-item .icon-badge { grid-row: span 2; }
}

/* ---------- About block ---------- */
.about-figure { position: relative; }
.about-figure svg { width: 100%; height: auto; display: block; }
.pillars { display: grid; gap: 14px; list-style: none; margin-top: 4px; }
.pillars li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.pillars svg { width: 22px; height: 22px; color: var(--lime-700); flex: none; margin-top: 2px; }

/* ---------- Service categories (bento) ---------- */
.categories { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) { .categories { grid-template-columns: 1fr 1fr; } }
.category { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease; }
.category:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.category-head { padding: clamp(26px, 3vw, 36px); display: grid; gap: 12px; background: var(--green); color: var(--on-dark); position: relative; overflow: hidden; }
.category-head::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 164, 59, .35), transparent 70%); }
.category:nth-child(2) .category-head { background: var(--green-700); }
.category-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime-700); }
.category-head .category-tag { color: var(--lime-300); }
.category-head h3 { font-size: var(--step-3); color: var(--on-dark); position: relative; }
.category-head p { color: var(--on-dark-muted); position: relative; }
.category-list { list-style: none; padding: 10px clamp(26px, 3vw, 36px); flex: 1; }
.category-list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 18px 0; align-items: start; }
.category-list li + li { border-top: 1px solid var(--line); }
.category-list h4 { font-size: 1.02rem; font-weight: 800; color: var(--green); margin-bottom: 4px; letter-spacing: -0.01em; }
.category-list p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.category-foot { padding: 20px clamp(26px, 3vw, 36px) 28px; }
.icon-line { width: 44px; height: 44px; border-radius: 12px; background: var(--lime-100); color: var(--green); display: inline-flex; align-items: center; justify-content: center; }
.icon-line svg { width: 21px; height: 21px; }

/* ---------- Why (dark) ---------- */
.section-dark > .container { position: relative; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-grid > * { min-width: 0; }
@media (max-width: 1040px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 30px 26px; background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(6px); display: grid; gap: 14px; align-content: start; transition: transform .25s ease, background-color .25s ease, border-color .25s ease; }
.feature:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .09); border-color: rgba(232, 204, 126, .5); }
.feature h3 { font-size: 1.22rem; }
.feature p { color: var(--on-dark-muted); font-size: 0.96rem; line-height: 1.65; }
.feature .icon-badge { background: var(--lime); color: var(--on-lime); }
.section-cta-row { margin-top: clamp(32px, 5vw, 48px); display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-lg); padding: 24px 28px; }
.section-cta-row p { color: var(--on-dark-muted); max-width: 56ch; }

/* Light cards */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card-grid > * { min-width: 0; }
@media (max-width: 720px) { .card-grid { grid-template-columns: 1fr; } }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3vw, 34px); display: grid; gap: 14px; align-content: start;
  transition: box-shadow .25s ease, transform .25s ease; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card p { color: var(--muted); }
.card h3 { font-size: 1.3rem; }

/* ---------- Process ---------- */
.process { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.process::before { content: ""; position: absolute; top: 31px; left: 32px; right: 32px; border-top: 2px dashed var(--line-strong); }
.process li { position: relative; display: grid; gap: 12px; align-content: start; min-width: 0; padding-right: 8px; }
.step-num { width: 64px; height: 64px; border-radius: 20px; background: var(--lime); color: var(--on-lime); display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.15rem; position: relative; box-shadow: 0 0 0 8px var(--bg); }
.section-alt .step-num { box-shadow: 0 0 0 8px var(--surface); }
.process li:last-child .step-num { background: var(--green); color: var(--on-dark); }
.process h3 { font-size: 1.3rem; margin-top: 8px; }
.process p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process::before { top: 32px; bottom: 32px; left: 31px; right: auto; border-top: 0; border-left: 2px dashed var(--line-strong); }
  .process li { grid-template-columns: 64px 1fr; column-gap: 20px; padding-bottom: 30px; }
  .process li:last-child { padding-bottom: 0; }
  .process .step-num { grid-row: span 2; }
  .process h3 { margin-top: 14px; }
}

/* ---------- Who we serve ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; }
.audience-grid > * { min-width: 0; }
@media (max-width: 860px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .audience-grid { grid-template-columns: 1fr; } }
.audience { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);
  font-weight: 700; color: var(--green); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.audience:hover { border-color: var(--lime); box-shadow: var(--shadow); transform: translateY(-2px); }
.audience-note { margin-top: 32px; max-width: 70ch; color: var(--muted); font-size: var(--step-1); }

/* ---------- CTA (rounded dark card) ---------- */
.cta-band { background: var(--bg); padding-block: clamp(32px, 5vw, 64px) clamp(72px, 9vw, 112px); }
.cta-inner { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center;
  background: var(--green); color: var(--on-dark); border-radius: var(--r-xl); padding: clamp(36px, 6vw, 72px) clamp(24px, 6vw, 72px); max-width: calc(var(--container) - 2 * var(--gutter)); }
.cta-band > .cta-inner { width: calc(100% - 2 * var(--gutter)); }
.cta-inner::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(520px 360px at 100% 0%, rgba(201, 164, 59, .42), transparent 70%), radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.2px) 0 0 / 26px 26px; }
.cta-inner::after { content: ""; position: absolute; right: 40px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; border: 2px dashed rgba(232, 204, 126, .4); z-index: -1; }
.cta-inner > * { min-width: 0; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.5fr auto; gap: 48px; } }
.cta-band h2 { color: var(--on-dark); font-size: var(--step-4); }
.cta-band p { color: var(--on-dark-muted); margin-top: 16px; max-width: 60ch; font-size: var(--step-1); }
.cta-band .eyebrow { margin-bottom: 18px; }

/* ---------- Page header (inner pages) ---------- */
.page-hero { padding-block: clamp(48px, 6vw, 84px); }
.page-hero .container { position: relative; display: grid; gap: 18px; }
.page-hero h1 { max-width: 22ch; font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.4rem); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; font-size: 0.86rem; font-weight: 600; color: var(--on-dark-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--on-dark); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--lime-300); }
.page-hero.has-art .container { grid-template-columns: 1fr; gap: clamp(32px, 5vw, 56px); align-items: center; }
.page-hero.has-art .container > * { min-width: 0; }
.page-hero-text { display: grid; gap: 18px; }
.page-hero-art { max-width: 540px; width: 100%; position: relative; }
.page-hero-art svg { width: 100%; height: auto; display: block; }
@media (min-width: 960px) { .page-hero.has-art .container { grid-template-columns: 1.1fr 0.9fr; } .page-hero-art { justify-self: end; } }
@media (max-width: 959px) { .page-hero-art { max-width: 460px; } }

/* ---------- Detailed service cards ---------- */
.service-block + .service-block { margin-top: clamp(64px, 8vw, 96px); }
.service-block-head { display: grid; gap: 14px; grid-template-columns: 1fr; align-items: end; margin-bottom: 32px; }
.service-block-head > * { min-width: 0; }
@media (min-width: 860px) { .service-block-head { grid-template-columns: 1fr auto; gap: 32px; } }
.service-block-head p { color: var(--muted); max-width: 64ch; margin-top: 12px; }
.service-block-head .category-tag { display: block; margin-bottom: 10px; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.service-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .service-grid.cols-2 { grid-template-columns: 1fr; } }
.service-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 32px); display: flex; flex-direction: column; gap: 16px; min-width: 0;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--lime); }
.service-card h3 { font-size: 1.35rem; }
.service-card > p { color: var(--muted); }
.benefits-label { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime-700); margin-bottom: 10px; }
.benefits { list-style: none; display: grid; gap: 9px; }
.benefits li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; line-height: 1.5; }
.benefits svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--on-lime); background: var(--lime); border-radius: 50%; padding: 3px; }
.service-card-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; }
.service-card-foot .btn { min-height: 42px; padding: 8px 18px; font-size: 0.9rem; }

/* Detail rows (category pages) */
.detail-list { display: grid; gap: 24px; }
.detail { display: grid; grid-template-columns: 1fr; gap: 24px; padding: clamp(26px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.detail > * { min-width: 0; }
.detail-title { display: grid; gap: 14px; align-content: start; }
.detail-title h2 { font-size: var(--step-3); }
.detail-body { display: grid; gap: 22px; align-content: start; }
.detail-body > p { max-width: 62ch; }
.benefit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
@media (max-width: 600px) { .benefit-cols { grid-template-columns: 1fr; } }
.detail.with-viz { align-items: center; }
@media (min-width: 900px) { .detail.with-viz { grid-template-columns: 1fr 1fr; gap: 48px; } .detail.with-viz.flip .detail-viz { order: -1; } }
@media (max-width: 1100px) { .detail.with-viz .benefit-cols { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); transition: border-color .2s ease, box-shadow .2s ease; }
.faq details[open] { border-color: var(--lime); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 700; font-size: 1.04rem; color: var(--green); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 32px; height: 32px; flex: none; color: var(--on-lime); background: var(--lime-100); border-radius: 50%; padding: 7px; transition: transform .25s ease, background-color .2s; }
.faq details[open] summary .chev { transform: rotate(45deg); background: var(--lime); }
.faq .answer { padding: 0 22px 22px; color: var(--muted); max-width: 72ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.contact-grid > * { min-width: 0; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }
.contact-card { border-radius: var(--r-lg); background: var(--green); color: var(--on-dark); overflow: hidden; position: relative; isolation: isolate; }
.contact-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(360px 260px at 100% 0%, rgba(201, 164, 59, .35), transparent 70%); }
.contact-card-head { padding: 30px 30px 8px; display: grid; gap: 6px; }
.contact-card-head h2 { color: var(--on-dark); font-size: 1.5rem; }
.contact-card-head p { color: var(--on-dark-muted); font-size: 0.93rem; }
.contact-list { list-style: none; padding: 8px 30px 24px; }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 16px 0; align-items: start; }
.contact-list li + li { border-top: 1px solid rgba(255, 255, 255, .12); }
.contact-list .icon-badge { background: rgba(201, 164, 59, .2); color: var(--lime-300); width: 44px; height: 44px; }
.contact-label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-card .contact-label { color: var(--lime-300); }
.contact-value { font-weight: 700; color: var(--green); overflow-wrap: anywhere; }
.contact-card .contact-value, .contact-card .contact-value a { color: var(--on-dark); }
.placeholder { display: inline-block; font-size: 0.82rem; font-weight: 600; color: var(--muted); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 8px; padding: 3px 10px; line-height: 1.5; overflow-wrap: anywhere; }
.contact-card .placeholder { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .3); color: var(--on-dark-muted); }
.site-footer .placeholder { background: rgba(11, 33, 55, .06); border-color: rgba(11, 33, 55, .35); color: var(--on-lime); }
.contact-aside { display: grid; gap: 20px; }
.next-steps { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 30px; background: var(--surface); }
.next-steps h2 { font-size: 1.2rem; margin-bottom: 14px; }
.next-steps ol { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 12px; counter-reset: ns; }
.next-steps li { display: grid; grid-template-columns: auto 1fr; gap: 12px; counter-increment: ns; color: var(--muted); font-size: 0.95rem; align-items: start; }
.next-steps li::before { content: counter(ns); width: 26px; height: 26px; border-radius: 8px; background: var(--lime); color: var(--on-lime); font-weight: 800; font-size: 0.8rem; display: inline-flex; align-items: center; justify-content: center; }

.form-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.form-card h2 { font-size: var(--step-3); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.form-grid > * { min-width: 0; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { font-weight: 700; font-size: 0.92rem; color: var(--green); }
.field .req { color: var(--danger); margin-left: 2px; }
.field .opt { font-weight: 500; color: var(--muted); font-size: 0.85rem; margin-left: 4px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 16px; min-height: 52px; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23224F4D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); background: var(--bg); box-shadow: 0 0 0 4px rgba(201, 164, 59, .22); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); background: #FFF8F7; }
.field-error { display: flex; gap: 6px; align-items: center; color: var(--danger); font-size: 0.86rem; font-weight: 600; }
.field-error svg { width: 16px; height: 16px; flex: none; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 4px; }
.form-foot small { color: var(--muted); max-width: 46ch; }
.form-summary { grid-column: 1 / -1; border: 1px solid var(--danger); background: #FEF3F2; color: var(--danger); border-radius: 12px; padding: 12px 16px; font-weight: 600; font-size: 0.93rem; }
.form-success { display: grid; gap: 16px; padding-block: 12px; }
.form-success .success-icon { width: 60px; height: 60px; border-radius: 18px; background: var(--lime); color: var(--on-lime); display: inline-flex; align-items: center; justify-content: center; }
.form-success .success-icon svg { width: 28px; height: 28px; }
.form-success h2 { font-size: var(--step-3); }
.form-success p { color: var(--muted); max-width: 56ch; }
.preview-note { font-size: 0.82rem; color: var(--muted); border-top: 1px dashed var(--line-strong); padding-top: 12px; }

/* ---------- Legal ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.45rem; margin-top: 44px; margin-bottom: 12px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 22px; display: grid; gap: 8px; margin-top: 12px; }
.legal li::marker { color: var(--lime-700); }
.legal-meta { font-size: 0.86rem; font-weight: 600; color: var(--muted); }

/* ---------- Footer (lime) ---------- */
.site-footer { background: var(--lime); color: var(--on-lime); font-size: 0.95rem; position: relative; overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(520px 360px at 100% 0%, rgba(255, 255, 255, .22), transparent 70%), radial-gradient(rgba(11, 33, 55, .08) 1px, transparent 1.2px) 0 0 / 26px 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 40px; padding-block: clamp(60px, 7vw, 88px) 48px; }
.footer-grid > * { min-width: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.site-footer h2 { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-lime); margin-bottom: 18px; opacity: .8; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--on-lime); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--on-lime); text-decoration: underline; text-decoration-thickness: 2px; }
.footer-brand .brand, .footer-brand .brand-name { color: var(--on-lime); }
.footer-brand .brand-sub { color: var(--on-lime); opacity: .75; }
.footer-brand p { margin-top: 18px; max-width: 34ch; }
.footer-brand p strong { color: var(--on-lime) !important; }
.footer-brand .btn { margin-top: 22px; background: var(--green); color: var(--on-dark); border-color: var(--green); }
.footer-brand .btn:hover { background: var(--green-900); color: var(--on-dark); text-decoration: none; }
.footer-contact li { display: grid; gap: 4px; }
.footer-contact .contact-label { color: var(--on-lime); opacity: .75; margin: 0; }
.footer-bottom { border-top: 1px solid rgba(11, 33, 55, .2); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 0.88rem; font-weight: 500; }
.footer-bottom ul { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Illustrations & charts ---------- */
.viz { margin: 0; display: grid; gap: 12px; min-width: 0; }
.viz > svg { width: 100%; height: auto; display: block; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(10px, 2vw, 18px); }
.viz-illo > svg { border: 0; padding: 0; background: transparent; border-radius: var(--r-lg); }
.viz figcaption { font-size: 0.88rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.viz-tag { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime-700); background: var(--lime-100); border-radius: 999px; padding: 4px 10px; }
.viz svg path[fill]:hover, .viz svg rect:hover { opacity: .88; }

/* ---------- Photos ---------- */
.photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--green-100); box-shadow: var(--shadow); max-width: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(11, 33, 55, .08); pointer-events: none; }
.photo-fallback, .photo-fallback svg { width: 100%; height: 100%; display: block; }
.page-hero-art .photo { box-shadow: var(--shadow-lg); border: 6px solid rgba(255, 255, 255, .12); }
.hero-photo { aspect-ratio: 5 / 4; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); border: 6px solid rgba(255, 255, 255, .12); position: relative; z-index: 1; }
.hero-photo .photo-fallback { background: var(--bg); }
.float-card { position: absolute; z-index: 2; background: var(--bg); color: var(--ink); border-radius: 20px; box-shadow: 0 18px 44px rgba(7, 28, 47, .28); }
.float-report { left: 0; bottom: 0; width: min(250px, 52%); padding: 18px 20px; display: grid; gap: 12px; }
.float-label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.float-bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; }
.float-bars i { flex: 1; background: var(--green-100); border-radius: 6px 6px 3px 3px; }
.float-bars i.hl { background: var(--lime); }
.float-chip { display: inline-flex; align-items: center; gap: 6px; justify-self: start; background: var(--lime-100); color: var(--lime-700); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 800; padding: 5px 12px 5px 7px; border-radius: 999px; }
.float-chip svg { width: 14px; height: 14px; }
.float-tag { right: -10px; top: 26px; display: flex; gap: 12px; align-items: center; padding: 12px 18px 12px 12px; }
.float-tag .icon-badge { width: 40px; height: 40px; background: var(--lime); color: var(--on-lime); border-radius: 12px; }
.float-tag strong { display: block; font-size: 0.92rem; color: var(--green); line-height: 1.2; }
.float-tag small { display: block; color: var(--muted); font-size: 0.8rem; }
@media (max-width: 980px) { .float-tag { right: 8px; } .hero-visual::before { right: 0; } }
@media (max-width: 520px) {
  .hero-visual { padding: 0 0 22px 0; }
  .hero-visual::before { display: none; }
  .float-report { left: 12px; width: 190px; padding: 12px 14px; gap: 8px; }
  .float-bars { height: 36px; }
  .float-tag { top: 12px; right: 12px; padding: 8px 12px 8px 8px; }
  .float-tag .icon-badge { width: 32px; height: 32px; }
  .float-tag small { display: none; }
}
.hero-visual:has(.photo-fallback:not([hidden])) .float-card { display: none; }

/* ---------- Insights ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; min-width: 0;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--lime); }
.post-card-img { display: block; }
.post-card .photo { border-radius: 0; box-shadow: none; aspect-ratio: 16 / 10; }
.post-card-body { padding: 22px 26px 28px; display: grid; gap: 10px; align-content: start; flex: 1; }
.post-card h3 { font-size: 1.3rem; }
.post-card h3 a { color: var(--green); text-decoration: none; }
.post-card h3 a:hover { color: var(--green-700); }
.post-card-body > p:not(.post-meta) { color: var(--muted); font-size: 0.97rem; }
.post-meta { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime-700); }
.page-hero .post-meta { color: var(--lime-300); }
.post-hero h1 { max-width: 26ch; }
.post-cover { aspect-ratio: 16 / 10; }
.article-wrap { max-width: 840px; display: grid; gap: clamp(28px, 4vw, 44px); }
.article { display: grid; gap: 18px; font-size: 1.08rem; line-height: 1.8; }
.article h2 { font-size: 1.65rem; margin-top: 14px; }
.article h3 { font-size: 1.25rem; margin-top: 8px; }
.article ul { padding-left: 22px; display: grid; gap: 8px; }
.article li::marker { color: var(--lime); }
.article-cta { background: var(--lime-100); border-radius: var(--r-lg); padding: 24px 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.article-cta p { font-weight: 700; color: var(--green); }

/* ---------- Motion ---------- */
.reveal-ready { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal-ready.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal-ready { opacity: 1; transform: none; }
}
@media (max-width: 520px) { .btn-row > .btn { flex: 1 1 100%; } }
.brand-logo { height: 48px; width: auto; max-width: 240px; object-fit: contain; display: block; }
@media (max-width: 560px) { .brand-logo { height: 40px; max-width: 180px; } }
.brand-logo-default { height: 54px; max-width: 320px; }
.site-footer .brand-logo-default { height: 60px; }
@media (max-width: 560px) { .brand-logo-default { height: 42px; max-width: 240px; } }
.directions { display: inline-block; margin-top: 6px; font-size: 0.86rem; font-weight: 700; color: var(--lime-300); }
.site-footer .directions { color: inherit; }

/* ---------- Theme choices (admin panel) ---------- */
:root {
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
html { font-size: 100%; }
.site-footer { background: var(--green-950); color: var(--on-dark-muted); }
.site-footer::before { background: radial-gradient(520px 360px at 100% 0%, rgba(201, 164, 59, .22), transparent 70%), radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.2px) 0 0 / 26px 26px; }
.site-footer h2 { color: var(--lime-300); opacity: 1; }
.site-footer a, .site-footer a:hover { color: var(--on-dark); }
.footer-brand .brand, .footer-brand .brand-name, .footer-brand p strong { color: var(--on-dark) !important; }
.footer-brand .brand-sub { color: var(--lime-300); opacity: 1; }
.footer-brand .btn { background: var(--lime); color: var(--on-lime); border-color: var(--lime); }
.footer-brand .btn:hover { background: var(--lime-600); color: var(--on-lime); }
.footer-contact .contact-label { color: var(--lime-300); opacity: 1; }
.footer-bottom { border-top-color: rgba(255, 255, 255, .14); }
.site-footer .placeholder { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .3); color: var(--on-dark-muted); }
