/* Patiently — nowa strona. Fonty ładowane w index.html (preload + fonts/fonts.css).
   Zasady: tekst min. 12 px, treść 16 px (15 px na małym telefonie), pola formularza 16 px,
   kontrast tekstu min. 4.5:1 (duże nagłówki min. 3:1). */
:root {
  --green: #193e35;
  --green-hover: #2b5546;
  --deep: #12342c;
  --card-dark: #20453a;
  --ink: #243d35;
  --muted: #56665d;          /* 5.0–6.1:1 na wszystkich jasnych tłach */
  --muted-dark: #b9c8be;     /* 6.1–7.8:1 na zielonych tłach */
  --accent: #758865;         /* tylko duże nagłówki (>= 24 px): 3.2–3.6:1 */
  --accent-text: #5d7053;    /* drobny tekst akcentowy: 4.4–5.4:1 */
  --cream: #f7f7f0;
  --sage: #e5ebe2;
  --mist: #f0f2e9;
  --lime: #d9e7b2;
  --line: #dbe1d7;
  --field-line: #7f8d83;     /* obramowanie pól: > 3:1 (WCAG 1.4.11) */
  --focus: #2f6b45;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font: 16px/1.6 'DM Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.systems :focus-visible, .contact-copy :focus-visible, footer :focus-visible, dialog :focus-visible { outline-color: var(--lime); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: 'Manrope', Arial, sans-serif; color: inherit; }
h1, h2 { font-weight: 500; line-height: 1.1; letter-spacing: -.045em; }
h1 { font-size: clamp(44px, 4.85vw, 72px); }
h2 { font-size: clamp(34px, 3.9vw, 54px); }
h3 { font-weight: 600; line-height: 1.3; letter-spacing: -.025em; }
em { font-weight: 400; font-style: normal; color: var(--accent); }

.container { max-width: 1296px; margin: 0 auto; padding: 0 52px; }
.section { padding: 112px 0; }
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--accent-text);
}

/* Buttons and links */
.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  min-height: 52px;
  background: var(--green); color: #fff; border: 1px solid var(--green);
  padding: 15px 24px;
  font-size: 16px; font-weight: 600; line-height: 1.3;
  border-radius: var(--radius); cursor: pointer;
  transition: background .2s, transform .2s;
}
.button:hover { background: var(--green-hover); transform: translateY(-2px); }
.button .arrow { font-size: 22px; font-weight: 400; line-height: 1; }
.button-small { min-height: 44px; font-size: 15px; padding: 10px 16px; gap: 14px; }
.button-small .arrow { font-size: 19px; }
.cta-short { display: none; }
.text-link {
  display: inline-flex; justify-content: space-between; align-items: center; gap: 24px;
  font-size: 16px; font-weight: 600; padding: 10px 0; border-bottom: 1px solid currentColor;
}
.text-link span { font-size: 21px; }
.link-button {
  background: none; border: 0; padding: 6px 0; margin-top: 22px;
  font-size: 15px; font-weight: 600; color: var(--green);
  text-decoration: underline; text-underline-offset: 4px; cursor: pointer;
}
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--green); color: #fff; padding: 12px 16px; border-radius: var(--radius); font-weight: 600;
}
.skip:focus { top: 8px; }
main:focus { outline: none; }

/* Header */
.header {
  height: 84px; background: var(--cream);
  position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #e1e5dc;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-family: 'Manrope', Arial, sans-serif; font-size: 30px; font-weight: 800; letter-spacing: -1.8px; line-height: 1; }
.brand-dot { color: #95ab6c; }
.nav { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; }
.nav a:hover::after { content: ''; height: 1px; position: absolute; left: 0; right: 0; bottom: 0; background: currentColor; }
.menu-toggle {
  display: none; background: none; border: 1px solid #b7c4b0; border-radius: var(--radius);
  width: 44px; height: 44px; padding: 0;
  align-items: center; justify-content: center; flex-direction: column; gap: 6px;
  color: var(--green); cursor: pointer; flex-shrink: 0;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { padding-top: 64px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 58px; align-items: center; }
.hero-copy .eyebrow { display: flex; gap: 13px; align-items: center; margin-bottom: 28px; }
.line { width: 24px; height: 1px; background: currentColor; flex-shrink: 0; }
.hero-description { font-size: 18px; line-height: 1.6; max-width: 500px; margin: 26px 0 30px; color: var(--muted); }
.micro { font-size: 14px; color: var(--muted); margin-top: 14px; }
.hero-visual { position: relative; background: #d3d9ce; border-radius: var(--radius); overflow: hidden; isolation: isolate; }
.hero-image { width: 100%; height: 500px; object-fit: cover; object-position: 53% center; }
.hero-visual::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(12, 28, 23, .9) 0%, rgba(12, 28, 23, .66) 28%, transparent 60%);
}
.image-label {
  position: absolute; top: 22px; left: 22px; z-index: 1;
  background: var(--cream); padding: 7px 14px; border-radius: 30px;
  display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 500;
}
.status-dot { height: 7px; width: 7px; flex-shrink: 0; border-radius: 50%; background: #6f9150; display: inline-block; }
.hero-caption {
  position: absolute; bottom: 30px; left: 30px; right: 30px; z-index: 1;
  color: #fff; font-family: 'Manrope', Arial, sans-serif; font-size: 25px; line-height: 1.3; letter-spacing: -.02em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}
.hero-bottom {
  margin-top: 56px; padding-top: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.hero-systems { display: flex; flex: 1; justify-content: space-between; gap: 20px; max-width: 760px; }
.hero-systems li { font-size: 13px; letter-spacing: .1em; font-weight: 600; text-transform: uppercase; }
.hero-bottom > a { font-size: 15px; display: flex; gap: 20px; font-weight: 500; }

/* Section heading */
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 45px; margin-bottom: 52px; }
.section-heading > .eyebrow { padding-top: 12px; }
.section-heading > div > p { margin-top: 22px; max-width: 580px; color: var(--muted); font-size: 17px; }

/* Problems */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.problem-grid article { padding: 28px 28px 32px 0; border-top: 1px solid var(--line); }
.problem-grid article:nth-child(3n+2), .problem-grid article:nth-child(3n+3) { padding-left: 28px; border-left: 1px solid var(--line); }
.item-number { display: block; font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--accent-text); margin-bottom: 14px; }
.problem-grid h3 { font-size: 20px; margin-bottom: 10px; }
.problem-grid p { font-size: 16px; color: var(--muted); max-width: 340px; }
.section-note { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 8px; color: var(--muted); font-size: 16px; }

/* Systems */
.systems { background: var(--green); color: #eff1e8; }
.systems .eyebrow { color: #c0cebe; }
.systems em { color: var(--lime); }
.systems .section-heading > div > p { color: var(--muted-dark); }
.system-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.system-card { padding: 30px 28px 28px; border: 1px solid #496257; border-radius: var(--radius); background: var(--card-dark); display: flex; flex-direction: column; }
.system-mark {
  height: 46px; width: 46px; border-radius: 50%; border: 1px solid #687e66;
  display: flex; justify-content: center; align-items: center; font-size: 24px; color: var(--lime); margin-bottom: 28px;
}
.system-card h3 { font-size: 25px; color: #f4f5ef; margin-bottom: 16px; }
.system-card > p { color: var(--muted-dark); font-size: 16px; flex-grow: 1; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.tags li { border: 1px solid #5b7468; padding: 4px 10px; border-radius: 3px; font-size: 13px; color: #c9d5c6; }
.system-result { display: flex; gap: 10px; align-items: center; justify-content: center; font-size: 16px; color: #c9d5c6; margin-top: 36px; }

/* Process */
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.process-intro .eyebrow { margin-bottom: 24px; }
.process-intro > p:not(.eyebrow) { font-size: 17px; color: var(--muted); margin-top: 22px; max-width: 470px; }
.process-intro > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-top: 32px; }
.steps { padding-top: 40px; }
.steps article { display: flex; gap: 24px; border-top: 1px solid var(--line); padding: 28px 0; }
.steps article > span {
  width: 38px; height: 38px; border: 1px solid #b7c4b0; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600;
}
.steps h3 { font-size: 22px; margin-bottom: 10px; }
.steps p { font-size: 16px; color: var(--muted); }
.steps .text-link { margin: 12px 0 0 62px; }

/* Experience */
.experience { background: var(--sage); }
.experience-grid { display: grid; grid-template-columns: minmax(0, 470px) 1fr; gap: 90px; align-items: center; }
.experience-photo { position: relative; }
.experience-photo img { width: 100%; max-width: 470px; aspect-ratio: 588 / 654; object-fit: cover; border-radius: var(--radius); }
.photo-caption { position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(247, 247, 240, .97); padding: 13px 16px; font-size: 14px; border-radius: 3px; }
.experience-copy .eyebrow { margin-bottom: 24px; color: #4e6248; }
.experience-copy .lead { font-size: 19px; color: var(--ink); margin-top: 24px; line-height: 1.55; }
.experience-copy > p:not(.eyebrow):not(.lead) { font-size: 16px; margin-top: 18px; color: #48594f; }
.experience-facts { display: flex; gap: 60px; border-top: 1px solid #c3cdbe; margin-top: 30px; padding-top: 22px; }
.experience-facts > div { display: flex; flex-direction: column; }
.experience-facts dt { font-family: 'Manrope', Arial, sans-serif; font-size: 44px; font-weight: 500; line-height: 1.2; letter-spacing: -.05em; }
.experience-facts dd { font-size: 14px; line-height: 1.5; margin-top: 6px; color: #48594f; }
.experience-copy > .experience-footnote { font-size: 14px; line-height: 1.6; margin-top: 22px; }

/* Stories */
.testimonial-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.testimonial { padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; background: #fbfbf6; }
.testimonial.featured { background: #e8eddc; border-color: #e8eddc; }
.quote-sign { font-family: Georgia, serif; font-size: 54px; line-height: 1; height: 32px; color: #839971; }
.testimonial blockquote { font-family: 'Manrope', Arial, sans-serif; margin: 16px 0 28px; font-size: 21px; letter-spacing: -.03em; line-height: 1.35; flex-grow: 1; }
.person { display: flex; gap: 12px; align-items: center; }
.person img { height: 48px; width: 48px; border-radius: 50%; flex-shrink: 0; object-fit: cover; object-position: 50% 20%; }
.person strong { font-size: 15px; display: block; line-height: 1.35; }
.person span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.testimonial-note { font-size: 13px; color: var(--muted); margin: -12px 0 22px; line-height: 1.5; }
.nowrap { white-space: nowrap; }

.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.video-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 22px;
  text-align: left; background: #fbfbf6; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px; cursor: pointer; transition: border-color .2s, background .2s;
}
.video-card:hover { border-color: #b7c4b0; background: #fff; }
.video-thumb { position: relative; display: block; border-radius: 4px; overflow: hidden; aspect-ratio: 16 / 9; background: #d3d9ce; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px;
  border-radius: 50%; background: rgba(25, 62, 53, .92); box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  transition: transform .2s;
}
.play::after {
  content: ''; position: absolute; left: 21px; top: 17px;
  border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff;
}
.video-card:hover .play { transform: scale(1.06); }
.video-meta strong { display: block; font-family: 'Manrope', Arial, sans-serif; font-size: 17px; line-height: 1.35; font-weight: 600; letter-spacing: -.02em; }
.video-meta span { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; }
.video-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.case-story { border-top: 1px solid var(--line); padding-top: 26px; }
.case-label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.case-story h3 { font-size: 24px; margin-top: 12px; }
.case-story dl { margin-top: 20px; }
.case-story dl > div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; margin-top: 16px; }
.case-story dt { font-size: 14px; font-weight: 600; line-height: 1.6; }
.case-story dd { font-size: 16px; color: var(--muted); }

.client-logos { display: flex; align-items: center; gap: 40px; border-bottom: 1px solid var(--line); padding: 44px 0 30px; flex-wrap: wrap; }
.logos-label { font-size: 13px; color: var(--muted); max-width: 160px; line-height: 1.5; }
.logos-row { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.logos-row img { height: 60px; width: auto; max-width: 160px; object-fit: contain; }
.logos-row img.logo-square { height: 54px; }
.logos-row img.logo-wide { height: 48px; }
.client-logos .text-link { margin-left: auto; }

/* Fit */
.fit { padding-top: 16px; padding-bottom: 100px; }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; }
.fit-grid .eyebrow { margin-bottom: 22px; }
.fit-grid h2 { font-size: clamp(34px, 3.1vw, 44px); }
.fit-grid > div > p:not(.eyebrow) { font-size: 17px; color: var(--muted); margin-top: 22px; max-width: 470px; }
.fit-grid .button { margin-top: 28px; }
.fit-checklist { padding-top: 20px; }
.fit-checklist li { display: flex; align-items: flex-start; gap: 14px; font-size: 16px; border-bottom: 1px solid var(--line); padding: 16px 0; }
.fit-checklist li > span {
  font-size: 13px; color: #3f5a2f; background: #e2e9d8; border-radius: 50%;
  height: 24px; width: 24px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.fit-note { background: var(--sage); padding: 20px 22px; font-size: 15px; color: #48594f; margin-top: 24px; border-radius: var(--radius); }

/* FAQ */
.faq { background: var(--mist); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: 84px; }
.faq-grid .eyebrow { margin-bottom: 22px; }
details { border-top: 1px solid #cbd4c2; }
details:last-child { border-bottom: 1px solid #cbd4c2; }
summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 17px; font-weight: 500; padding: 22px 0; }
summary::-webkit-details-marker { display: none; }
summary > span { font-size: 24px; font-weight: 400; color: var(--accent-text); transition: transform .2s; flex-shrink: 0; }
details[open] summary > span { transform: rotate(45deg); }
details > p { font-size: 16px; color: var(--muted); padding-bottom: 24px; max-width: 640px; }

/* Contact and form */
.contact { background: var(--green); color: var(--cream); }
.contact-grid { display: grid; grid-template-columns: .87fr 1.15fr; gap: 90px; align-items: start; }
.contact-copy .eyebrow { color: #c0cebe; margin-bottom: 28px; }
.contact h2 { font-size: clamp(40px, 3.7vw, 53px); }
.contact h2 em { color: var(--lime); }
.contact-copy .lead { font-size: 19px; color: #e5ebdf; margin-top: 28px; line-height: 1.55; }
.contact-copy > p:not(.eyebrow):not(.lead) { font-size: 16px; color: var(--muted-dark); margin-top: 20px; }
.contact-steps { margin-top: 32px; }
.contact-steps li { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.contact-steps span {
  border: 1px solid #7d9681; border-radius: 50%; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0;
}
.contact-steps p { font-size: 16px; color: #d3ddcf; }
.contact-copy > .contact-note { font-size: 14px !important; margin-top: 32px !important; padding-top: 22px; border-top: 1px solid #456350; }

.form-card { background: var(--cream); color: var(--ink); padding: 34px; border-radius: var(--radius); }
.form-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.form-step { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.form-time { font-size: 13px; color: var(--ink); background: #e5eadc; padding: 4px 10px; border-radius: 3px; }
.form-required { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
#lead-form label:not(.consent) { display: flex; flex-direction: column; font-size: 14px; font-weight: 600; margin-bottom: 18px; gap: 7px; }
input:not([type=checkbox]), select, textarea {
  width: 100%; min-width: 0; min-height: 50px;
  background: #fff; border: 1px solid var(--field-line); border-radius: 4px;
  padding: 12px 14px; font-size: 16px; line-height: 1.4; font-weight: 400; color: var(--ink);
}
input:not([type=checkbox]):focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 1px; border-color: var(--green); }
input::placeholder, textarea::placeholder { color: #5a6a60; opacity: 1; }
input[aria-invalid=true], select[aria-invalid=true], textarea[aria-invalid=true] { border-color: #9a3a2c; }
textarea { resize: vertical; min-height: 110px; }
select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  height: auto; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23243d35' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 12px 8px;
}
.consent-block { margin: 4px 0 18px; }
.consent { display: flex; flex-direction: row; align-items: flex-start; gap: 11px; font-size: 14px; font-weight: 400; line-height: 1.55; cursor: pointer; }
.consent input { margin: 2px 0 0; accent-color: var(--green); height: 20px; width: 20px; flex-shrink: 0; cursor: pointer; }
.consent-info { font-size: 13px; color: var(--muted); margin: 8px 0 0 31px; line-height: 1.55; }
.consent-info a { text-decoration: underline; text-underline-offset: 3px; }
.form-submit { width: 100%; font-size: 16px; padding: 15px 20px; }
.form-submit:disabled { opacity: .7; cursor: wait; transform: none; }
.form-footnote { text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }
.form-status { font-size: 15px; color: #8f3326; margin-bottom: 14px; }
.form-status:empty { display: none; }
#booking-step { padding: 8px 0 4px; }
#booking-step h3 { font-size: 26px; margin-bottom: 12px; }
#booking-step h3:focus { outline: none; }
#booking-message { font-size: 17px; color: var(--ink); }
#calendar-container iframe { width: 100%; height: 700px; border: 0; margin-top: 22px; border-radius: 3px; background: #fff; }

/* Footer */
footer { padding: 46px 0; background: var(--deep); color: #e8eddf; border-top: 1px solid #3a5744; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner .brand { font-size: 28px; }
.footer-inner > p { font-size: 14px; color: #c0cebe; }
.footer-inner > a:not(.brand) { font-size: 15px; }
.footer-inner > .back-top { font-size: 14px; color: #c0cebe; }

/* Video dialog */
dialog { padding: 0; border: 0; border-radius: var(--radius); background: var(--green); color: #fff; width: min(900px, 94vw); }
dialog::backdrop { background: rgba(10, 24, 20, .84); }
.video-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px 10px 20px; font-size: 15px; }
.video-dialog-header button { background: transparent; color: #fff; border: 0; font-size: 20px; cursor: pointer; width: 44px; height: 44px; }
#video-container { aspect-ratio: 16 / 9; }
#video-container iframe { height: 100%; width: 100%; border: 0; display: block; }
[hidden] { display: none !important; }

/* Wide screens */
@media (min-width: 1500px) {
  .hero-grid { gap: 72px; }
  .hero-image { height: 540px; }
}

/* Tablet */
@media (max-width: 1100px) {
  .container { padding: 0 32px; }
  .nav { gap: 18px; font-size: 14px; }
  .brand { font-size: 27px; }
  .button-small { font-size: 14px; padding: 10px 12px; gap: 10px; }
  .hero-grid { gap: 36px; }
  .hero-image { height: 440px; }
  .section { padding: 88px 0; }
  .process-grid, .experience-grid, .fit-grid, .contact-grid { gap: 50px; }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .video-card { grid-template-columns: 1fr; gap: 14px; }
  .form-card { padding: 26px; }
  .experience-facts { gap: 36px; }
  .system-card { padding: 26px 22px; }
  .system-card h3 { font-size: 23px; }
  .faq-grid { gap: 50px; }
  .fit { padding-top: 0; }
  .hero-systems li { font-size: 12px; }
}

/* Mobile */
@media (max-width: 780px) {
  html { scroll-padding-top: 80px; }
  .container { padding: 0 22px; }
  .header { height: 68px; }
  .header-inner { gap: 10px; }
  .brand, .header .brand { font-size: 25px; }
  .nav { display: none; }
  .menu-toggle { display: flex; order: 3; }
  .header-inner > .button { margin-left: auto; order: 2; }
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 22px 18px;
    box-shadow: 0 16px 24px rgba(18, 52, 44, .08); gap: 0; font-size: 17px;
  }
  .nav.is-open a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open a:last-child { border-bottom: 0; }
  .nav a:hover::after { display: none; }
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: clamp(40px, 8vw, 60px); max-width: 660px; }
  .hero-copy .eyebrow { margin-bottom: 22px; }
  .hero-description { font-size: 17px; max-width: 560px; margin-top: 20px; }
  .hero-image { height: 380px; object-position: center 40%; }
  .hero-caption { font-size: 22px; bottom: 24px; left: 24px; right: 24px; }
  .hero-bottom { margin-top: 32px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-systems { flex-direction: column; gap: 8px; }
  .hero-systems li { font-size: 13px; }
  .section { padding: 72px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 34px; }
  .section-heading > .eyebrow { padding: 0; }
  .section-heading > div > p { font-size: 16px; margin-top: 18px; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .problem-grid article { padding: 24px 18px 26px 0 !important; border-left: 0 !important; }
  .problem-grid article:nth-child(even) { padding-left: 18px !important; border-left: 1px solid var(--line) !important; }
  .problem-grid h3 { font-size: 18px; }
  .system-grid { grid-template-columns: 1fr; gap: 14px; }
  .system-card { position: relative; padding: 26px 24px; }
  .system-mark { position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; font-size: 20px; margin: 0; }
  .system-card h3 { font-size: 24px; margin-bottom: 14px; padding-right: 50px; }
  .tags { margin-top: 18px; }
  .system-result { justify-content: flex-start; margin-top: 26px; }
  .process-grid, .experience-grid, .fit-grid, .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .steps { padding-top: 0; }
  .steps article { padding: 24px 0; gap: 18px; }
  .steps h3 { font-size: 21px; }
  .steps .text-link { margin-left: 56px; }
  .experience-photo { order: 2; }
  .experience-photo img { max-width: 100%; aspect-ratio: 4 / 4.2; object-position: 50% 30%; }
  .experience-copy .lead { font-size: 18px; }
  .experience-facts { gap: 48px; }
  .testimonial-grid { gap: 12px; }
  .testimonial { padding: 24px 20px; }
  .testimonial blockquote { font-size: 20px; }
  .video-grid { grid-template-columns: 1fr; }
  .video-card { grid-template-columns: minmax(0, 1fr); }
  .case-grid { grid-template-columns: 1fr; gap: 28px; }
  .case-story dl > div { grid-template-columns: 1fr; gap: 2px; }
  .case-story h3 { font-size: 22px; }
  .client-logos { gap: 22px; padding: 32px 0; flex-direction: column; align-items: flex-start; }
  .logos-label { max-width: none; }
  .logos-row { gap: 32px; }
  .logos-row img { height: 50px; }
  .logos-row img.logo-square { height: 46px; }
  .logos-row img.logo-wide { height: 40px; }
  .client-logos .text-link { margin-left: 0; }
  .fit { padding-top: 0; }
  .fit-grid { gap: 24px; }
  .fit-checklist { padding: 0; }
  .faq-grid { gap: 26px; }
  .faq h2 br { display: none; }
  summary { font-size: 17px; padding: 20px 0; }
  .contact-copy .lead { max-width: 560px; font-size: 18px; }
  .contact-steps { margin-top: 24px; }
  .contact-copy > .contact-note { margin-top: 24px !important; }
  .form-card { padding: 26px 20px; }
  .form-row { gap: 14px; }
  .footer-inner { flex-wrap: wrap; gap: 24px; }
  .footer-inner > p { width: 100%; order: 3; }
  .footer-inner > .back-top { order: 4; }
}

@media (max-width: 520px) {
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .header-inner > .button { font-size: 14px; padding: 9px 12px; gap: 8px; min-height: 44px; }
  .header-inner > .button .arrow { font-size: 17px; }
}

/* Small phones */
@media (max-width: 430px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .hero h1 { font-size: 40px; }
  .hero-description { font-size: 16px; }
  .hero-copy > .button { width: 100%; }
  .hero-image { height: 320px; }
  .hero-caption { font-size: 20px; }
  .image-label { left: 14px; top: 14px; }
  .hero-copy .eyebrow { font-size: 12px; letter-spacing: .1em; }
  .eyebrow { font-size: 12px; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-grid article { padding: 22px 0 !important; }
  .problem-grid article:nth-child(even) { padding-left: 0 !important; border-left: 0 !important; }
  .problem-grid p, .steps p, .system-card > p, details > p, .case-story dd, .fit-checklist li,
  .experience-copy > p:not(.eyebrow):not(.lead), .contact-copy > p:not(.eyebrow):not(.lead), .contact-steps p, .section-note { font-size: 15px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial blockquote { font-size: 21px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-heading { flex-direction: column; align-items: flex-start; gap: 8px; }
  .form-card { padding: 24px 16px; }
  .experience-facts { gap: 32px; }
  .experience-facts dt { font-size: 40px; }
  .steps .text-link { margin-left: 0; }
}

@media (max-width: 360px) {
  .header .brand { font-size: 22px; }
  .header-inner { gap: 8px; }
  .header-inner > .button .arrow { display: none; }
  .header-inner > .button { padding: 9px 10px; }
  .hero h1 { font-size: 36px; }
  .button { gap: 14px; padding: 15px 18px; }
}

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