/* =========================================================
   Hagen Group – style
   Paleta: butelkowa zieleń + piasek + oliwka
   ========================================================= */

:root {
  --green-950: #102218;
  --green-900: #16301F;
  --green-800: #1F3D2B;
  --green-700: #2A5139;
  --green-600: #3A6A4B;
  --sand-50:  #FAF8F3;
  --sand-100: #F4EFE5;
  --sand-200: #EEE8DC;
  --sand-300: #DFD5C2;
  --olive:    #A3B86C;
  --olive-600:#8AA052;
  --olive-700:#6E8240;
  --ink:      #18211B;
  --muted:    #56645A;
  --line:     #DCD4C4;
  --white:    #FFFFFF;
  --brand-stroke: #EEE8DC;

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(16, 34, 24, .06), 0 10px 30px -12px rgba(16, 34, 24, .18);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sand-50);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-serif); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; color: var(--green-900); }
h1 em, h2 em { font-style: italic; color: var(--olive); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--green-900); color: var(--sand-100); border-radius: var(--radius-sm); }
.skip-link:focus { top: 16px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--olive-700);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow-light { color: var(--olive); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 16px; letter-spacing: .01em; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--olive); color: var(--green-950); }
.btn-primary:hover { background: #B4C97C; color: var(--green-950); }
.btn-ghost { border-color: rgba(238, 232, 220, .6); color: var(--sand-100); }
.btn-ghost:hover { background: rgba(238, 232, 220, .12); color: var(--white); border-color: var(--sand-100); }
.btn-light { background: var(--sand-100); color: var(--green-900); }
.btn-light:hover { background: var(--white); color: var(--green-900); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--sand-100);
  transition: background-color .3s, box-shadow .3s, color .3s;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(250, 248, 243, .96);
  color: var(--green-900);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: saturate(1.4) blur(10px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand-mark { width: 40px; height: 40px; color: var(--green-800); flex: none; }
.site-header:not(.is-scrolled):not(.is-open) .brand-mark { color: rgba(16, 34, 24, .55); }
.brand-text { font-family: var(--font-serif); font-size: 22px; letter-spacing: .01em; }
.brand-text strong { font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav a:not(.btn) { color: inherit; text-decoration: none; font-weight: 600; font-size: 15px; opacity: .92; position: relative; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--olive); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.main-nav a:not(.btn):hover { opacity: 1; }
.main-nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; position: relative; color: inherit; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 11px; width: 24px; height: 2px; background: currentColor; transition: transform .25s, opacity .25s; content: ""; }
.nav-toggle-bar { top: 22px; }
.nav-toggle-bar::before { left: 0; top: -7px; }
.nav-toggle-bar::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 920px);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--sand-100);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 34, 24, .88) 0%, rgba(16, 34, 24, .7) 38%, rgba(16, 34, 24, .15) 72%, rgba(16, 34, 24, 0) 100%),
    linear-gradient(180deg, rgba(16, 34, 24, .55) 0%, rgba(16, 34, 24, 0) 22%, rgba(16, 34, 24, 0) 60%, rgba(16, 34, 24, .6) 100%);
}
.hero-content { padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero h1 { max-width: 15ch; color: var(--white); font-size: clamp(40px, 6.2vw, 78px); font-weight: 400; line-height: 1.04; }
.hero-lead { max-width: 52ch; margin-top: 24px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(244, 239, 229, .9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-strip { border-top: 1px solid rgba(238, 232, 220, .2); background: rgba(16, 34, 24, .35); backdrop-filter: blur(6px); }
.hero-strip-inner { display: flex; flex-wrap: wrap; gap: 8px 40px; padding-block: 18px; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: rgba(244, 239, 229, .85); }
.hero-strip-inner span { display: inline-flex; align-items: center; gap: 10px; }
.hero-strip-inner span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--olive); }

/* ---------- Stats ---------- */
.stats { position: relative; isolation: isolate; padding-block: clamp(56px, 7vw, 88px); background: var(--green-900); color: var(--sand-100); overflow: hidden; }
.stats-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; z-index: -1; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { display: flex; flex-direction: column; gap: 8px; padding-left: 22px; border-left: 2px solid rgba(163, 184, 108, .5); }
.stat-value { font-family: var(--font-serif); font-size: clamp(40px, 4.6vw, 60px); line-height: 1; color: var(--white); }
.stat:nth-child(2) .stat-value { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.2; }
.stat-label { font-size: 15px; color: rgba(244, 239, 229, .78); max-width: 24ch; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(56px, 7vw, 88px); }
.section-sand { background: var(--sand-200); }
.section-dark { background: var(--green-900); color: var(--sand-100); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 52px); }
.section-lead { margin-top: 18px; font-size: 18px; color: var(--muted); }
.section-dark .section-lead { color: rgba(244, 239, 229, .75); }
.section-head-left { margin-left: 0; text-align: left; }
.section-head-left .eyebrow { justify-content: flex-start; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(16,34,24,.06), 0 22px 40px -16px rgba(16,34,24,.3); }
.service-img { aspect-ratio: 4 / 3; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-card:hover .service-img img { transform: scale(1.05); }
.service-body { padding: 22px 22px 26px; }
.service-no { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--olive-700); }
.service-body h3 { font-size: 22px; margin-bottom: 10px; }
.service-body p { font-size: 15.5px; color: var(--muted); line-height: 1.6; }

/* ---------- Audience ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.audience-card { position: relative; isolation: isolate; min-height: 380px; border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: flex-end; color: var(--sand-100); }
.audience-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s; }
.audience-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,34,24,0) 25%, rgba(16,34,24,.55) 55%, rgba(16,34,24,.92) 100%); }
.audience-card:hover img { transform: scale(1.04); }
.audience-body { padding: 32px; max-width: 46ch; }
.audience-body h3 { color: var(--white); font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 8px; }
.audience-body p { color: rgba(244, 239, 229, .88); font-size: 16px; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.process-media { position: relative; }
.process-media img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 50%; width: 100%; }
.process-media::before { content: ""; position: absolute; inset: 28px -18px -18px 28px; border: 2px solid var(--olive); border-radius: var(--radius-lg); z-index: -1; }
.process .section-head { margin-bottom: 36px; }
.steps { display: flex; flex-direction: column; gap: 6px; counter-reset: step; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step-no { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green-800); color: var(--sand-100); font-family: var(--font-serif); font-size: 19px; }
.step h3 { font-size: 21px; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 16px; }

/* ---------- Projects ---------- */
.todo-banner {
  max-width: 760px; margin: -16px auto 36px; padding: 14px 20px;
  border: 1.5px dashed rgba(163, 184, 108, .7); border-radius: var(--radius);
  font-size: 15px; text-align: center; color: rgba(244, 239, 229, .85); background: rgba(163, 184, 108, .08);
}
.todo-banner strong { color: var(--olive); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.filter {
  min-height: 42px; padding: 0 20px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(238, 232, 220, .3); background: transparent; color: var(--sand-100);
  font-size: 15px; font-weight: 600; transition: background-color .2s, border-color .2s, color .2s;
}
.filter:hover { border-color: var(--olive); }
.filter.is-active { background: var(--olive); border-color: var(--olive); color: var(--green-950); }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card { border-radius: var(--radius); overflow: hidden; background: var(--green-800); border: 1px solid rgba(238, 232, 220, .08); }
.project-card[hidden] { display: none; }
.project-img { aspect-ratio: 4 / 3; }
.placeholder-img {
  display: grid; place-items: center; text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(163,184,108,.09) 0 14px, rgba(163,184,108,0) 14px 28px),
    var(--green-700);
  border-bottom: 1.5px dashed rgba(163, 184, 108, .5);
}
.placeholder-img span { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: rgba(244, 239, 229, .75); }
.placeholder-img span::before {
  content: ""; width: 44px; height: 44px; opacity: .8;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3B86C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8a2 2 0 0 1 2-2h2l2-2h6l2 2h2a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E");
}
.project-body { padding: 22px 22px 26px; }
.project-meta { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--olive); margin-bottom: 8px; }
.project-body h3 { font-size: 22px; margin-bottom: 6px; }
.project-client { color: rgba(244, 239, 229, .85); font-size: 15px; }
.project-scope { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(238, 232, 220, .12); color: rgba(244, 239, 229, .65); font-size: 14.5px; }
.is-placeholder .project-body h3, .is-placeholder .project-client, .is-placeholder .project-scope { opacity: .7; }
.filters-empty { text-align: center; color: rgba(244, 239, 229, .7); margin-top: 24px; }

/* ---------- Clients ---------- */
.clients { background: var(--sand-100); border-bottom: 1px solid var(--line); }
.clients-title { text-align: center; font-family: var(--font-sans); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.clients-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.client-logo {
  display: grid; place-items: center; height: 76px; border-radius: var(--radius-sm);
  border: 1.5px dashed var(--sand-300); color: #9A9483; font-size: 13px; font-weight: 600; letter-spacing: .04em;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--olive); color: var(--green-950); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; padding-block: clamp(40px, 5vw, 56px); flex-wrap: wrap; }
.cta-band h2 { color: var(--green-950); font-size: clamp(26px, 3vw, 36px); }
.cta-band p { margin-top: 6px; font-size: 17px; color: rgba(16, 34, 24, .78); }
.cta-band .btn-light { background: var(--green-900); color: var(--sand-100); }
.cta-band .btn-light:hover { background: var(--green-950); color: var(--white); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-family: var(--font-serif); font-size: clamp(19px, 1.8vw, 22px); color: var(--green-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--sand-200) no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%231F3D2B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform .25s, background-color .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--olive); }
.faq-item p { padding: 0 48px 26px 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { position: relative; isolation: isolate; padding-block: var(--section-y); background: var(--green-900); color: var(--sand-100); overflow: hidden; }
.contact-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16,34,24,.94) 0%, rgba(16,34,24,.86) 45%, rgba(16,34,24,.55) 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact h2 { color: var(--white); font-size: clamp(32px, 4vw, 50px); }
.contact-lead { margin-top: 18px; color: rgba(244, 239, 229, .82); font-size: 18px; max-width: 44ch; }
.contact-list { margin: 36px 0 0; display: grid; gap: 22px; }
.contact-list dt { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); margin-bottom: 4px; }
.contact-list dd { margin: 0; font-size: 18px; }
.contact-list a { color: var(--sand-100); }
.contact-list a:hover { color: var(--white); }

.contact-form { background: var(--sand-50); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); display: grid; gap: 16px; }
.contact-form h3 { font-size: 26px; margin-bottom: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 600; color: var(--green-800); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(163, 184, 108, .35); }
.field .is-invalid, .field input.is-invalid, .field textarea.is-invalid { border-color: #B54A3A; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green-700); }
.consent.is-invalid span { color: #B54A3A; }
.form-status { font-size: 15px; min-height: 1.4em; }
.form-status.is-info { color: var(--green-700); }
.form-status.is-error { color: #B54A3A; }

/* ---------- Placeholder markers (do uzupełnienia) ---------- */
.todo {
  display: inline-block; padding: 2px 10px; border: 1.5px dashed var(--olive); border-radius: 6px;
  color: inherit; opacity: .85;
}
.todo::after { content: "do uzupełnienia"; margin-left: 10px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--olive); vertical-align: 2px; }
.todo-link { text-decoration-style: dashed; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: rgba(244, 239, 229, .75); padding-top: 64px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer h4 { font-family: var(--font-sans); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); margin-bottom: 14px; }
.brand-footer { color: var(--sand-100); }
.brand-footer .brand-mark { color: var(--green-700); }
.footer-claim { margin-top: 16px; max-width: 30ch; }
.footer-links { display: grid; gap: 8px; }
.site-footer a { color: rgba(244, 239, 229, .85); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid rgba(238, 232, 220, .1); font-size: 14px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav ul { gap: 20px; }
  .main-nav { gap: 20px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 24px var(--gutter) 32px;
    background: var(--sand-50); color: var(--green-900);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(16, 34, 24, .3);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-header.is-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a:not(.btn) { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .main-nav a:not(.btn)::after { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .process { grid-template-columns: 1fr; }
  .process-media img { aspect-ratio: 16 / 10; }
  .process-media::before { display: none; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .faq { grid-template-columns: 1fr; }
  .faq .section-head { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { min-height: 100svh; }
  .hero-bg { object-position: 70% 50%; }
  .hero-shade { background: linear-gradient(180deg, rgba(16,34,24,.55) 0%, rgba(16,34,24,.55) 30%, rgba(16,34,24,.88) 100%); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-strip-inner { gap: 6px 20px; font-size: 13px; }
  .services-grid, .audience-grid, .projects-grid { grid-template-columns: 1fr; }
  .audience-card { min-height: 320px; }
  .audience-body { padding: 24px; }
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .stat-value { font-size: 40px; }
  .stat:nth-child(2) .stat-value { font-size: 32px; }
  .stat-label { max-width: none; }
  .form-row { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner .btn { width: 100%; }
  .faq-item p { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .todo::after { display: block; margin: 2px 0 0; }
}
