/* ============================================================
   PWC Services LLC — site styles
   Light mode default; dark mode via [data-theme="dark"] on <html>
   ============================================================ */

:root {
  /* Brand greens sampled from logo */
  --green: #1faa00;
  --green-bright: #2bd62b;
  --green-text: #157a02;        /* AA on white / warm gray */
  --green-deep: #0e5a04;
  --green-glow: #3fe04a;

  /* Neutrals — warm */
  --ink: #161a16;
  --ink-soft: #3d443d;
  --muted: #5c645c;
  --bg: #fdfdfb;
  --surface: #f4f4ef;
  --surface-2: #ecede6;
  --card: #ffffff;
  --line: #e0e2d9;
  --line-strong: #c8cabf;

  --band-bg: #11150f;
  --band-ink: #f2f5ee;

  --shadow-sm: 0 1px 2px rgba(22, 26, 22, 0.06);
  --shadow-md: 0 4px 16px rgba(22, 26, 22, 0.08);
  --shadow-lg: 0 12px 40px rgba(22, 26, 22, 0.12);

  --radius: 14px;
  --radius-lg: 22px;

  --font-display: "Bricolage Grotesque", "Helvetica Neue", sans-serif;
  --font-body: "Public Sans", "Helvetica Neue", Helvetica, sans-serif;

  --header-h: 72px;
  color-scheme: light;
}

[data-theme="dark"] {
  --green-text: #4fdf58;
  --green-deep: #b9f0bc;
  --ink: #eef2ec;
  --ink-soft: #c4ccc2;
  --muted: #95a093;
  --bg: #101410;
  --surface: #161b15;
  --surface-2: #1d231c;
  --card: #1a201a;
  --line: #2a322a;
  --line-strong: #3b443a;
  --band-bg: #0a0d09;
  --band-ink: #f2f5ee;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--green-text); }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  background: var(--green);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(31, 170, 0, 0.32);
}
.btn-primary:hover { background: #1c9900; box-shadow: 0 6px 20px rgba(31, 170, 0, 0.42); }
[data-theme="dark"] .btn-primary { color: #06230a; background: var(--green-glow); }
[data-theme="dark"] .btn-primary:hover { background: #58e862; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover { border-color: var(--green); color: var(--green-text); }
.btn-on-dark {
  background: var(--green-glow);
  color: #06230a;
}
.btn-on-dark:hover { background: #58e862; }
.btn-ghost-on-dark {
  background: transparent;
  color: var(--band-ink);
  border-color: rgba(242, 245, 238, 0.4);
}
.btn-ghost-on-dark:hover { border-color: var(--green-glow); color: var(--green-glow); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand img { height: 44px; width: auto; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.main-nav { display: flex; gap: 4px; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 15.5px;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--green-text); background: var(--surface); }

.theme-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  font-size: 18px;
}
.theme-toggle:hover { border-color: var(--green); }
.theme-toggle .icon-sun, .theme-toggle .icon-moon { display: none; line-height: 1; }
:root:not([data-theme="dark"]) .icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: block; }

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
}
.hero-sweep {
  position: absolute;
  top: -440px;
  right: -380px;
  width: 880px;
  height: 880px;
  border-radius: 50%;
  background:
    conic-gradient(from 140deg, rgba(31,170,0,0) 0deg, rgba(31,170,0,0.10) 80deg, rgba(43,214,43,0.20) 150deg, rgba(31,170,0,0) 230deg);
  mask: radial-gradient(farthest-side, transparent calc(100% - 110px), #000 calc(100% - 109px), #000 calc(100% - 2px), transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 110px), #000 calc(100% - 109px), #000 calc(100% - 2px), transparent 100%);
  pointer-events: none;
  z-index: 0;
}
[data-theme="dark"] .hero-sweep { opacity: 0.55; }
.hero-grid { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--green-text);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 800;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 30px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
}
.trust-strip li { display: flex; align-items: center; }
.trust-strip li + li::before {
  content: "·";
  margin: 0 10px;
  color: var(--green);
  font-weight: 900;
}
.hero-media { position: relative; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: -22px -22px auto auto;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  border: 3px solid var(--green);
  border-bottom-color: transparent;
  border-left-color: transparent;
  transform: rotate(18deg);
  opacity: 0.55;
  pointer-events: none;
}
.hero-media img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: 50% 28%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-media figcaption {
  position: absolute;
  left: 16px; bottom: 16px;
  background: color-mix(in srgb, var(--band-bg) 82%, transparent);
  color: var(--band-ink);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
}
.section-lede { font-size: 18px; color: var(--ink-soft); }

.divider-sweep {
  height: 72px;
  background:
    radial-gradient(120% 200% at 50% -100%, transparent 64%, var(--surface) 64.5%);
}

/* ---------- Pain cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pain-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.pain-card h3 { font-size: 21px; margin-bottom: 10px; }
.pain-card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.pain-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--green-text);
  display: block;
  margin-bottom: 14px;
}
.closing-line {
  margin: 44px 0 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 700;
  color: var(--ink);
  max-width: 30ch;
}
.closing-line em { color: var(--green-text); font-style: normal; }

/* ---------- Solution ---------- */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 8px;
}
.solution-col {
  border-top: 3px solid var(--green);
  padding-top: 22px;
}
.solution-col h3 { font-size: 20px; margin-bottom: 10px; }
.solution-col p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.solution-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 56px;
}
.solution-photos img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--green) 45%, var(--line));
}
.service-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--green) 12%, var(--card));
  color: var(--green-text);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 17.5px; margin-bottom: 6px; }
.service-card p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- Plan callout band ---------- */
.band {
  position: relative;
  overflow: hidden;
  background: var(--band-bg);
  color: var(--band-ink);
  padding: 88px 0;
}
.band .eyebrow { color: var(--green-glow); }
.band h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.band p { color: rgba(242, 245, 238, 0.78); font-size: 18px; max-width: 64ch; }
.band-sweep {
  position: absolute;
  bottom: -420px;
  left: -240px;
  width: 820px; height: 820px;
  border-radius: 50%;
  border: 2px solid rgba(63, 224, 74, 0.35);
  box-shadow: 0 0 120px rgba(63, 224, 74, 0.18), inset 0 0 120px rgba(63, 224, 74, 0.10);
  pointer-events: none;
}
.band-inner { position: relative; max-width: 820px; }
.band .btn { margin-top: 10px; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
  padding: 0;
  margin: 0;
  list-style: none;
}
.steps li {
  counter-increment: step;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  position: relative;
}
.steps li::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  color: color-mix(in srgb, var(--green) 70%, var(--ink) 0%);
  opacity: 0.9;
  display: block;
  margin-bottom: 16px;
}
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Service areas ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 26px;
  list-style: none;
}
.chips li {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 15.5px;
}
.areas-note { color: var(--muted); font-size: 16px; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: none;
  border: 0;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-size: 18.5px;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  min-height: 44px;
}
.faq-q:hover { color: var(--green-text); }
.faq-q .chev {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 400;
  transition: transform 0.18s ease;
}
.faq-q[aria-expanded="true"] .chev { transform: rotate(45deg); border-color: var(--green); color: var(--green-text); }
.faq-a { padding: 0 40px 22px 4px; color: var(--ink-soft); font-size: 16px; }
.faq-a[hidden] { display: none; }
.faq-a p { margin: 0; }

/* ---------- Lead form ---------- */
.form-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.lead-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 6px;
}
.field .opt { font-weight: 500; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid color-mix(in srgb, var(--green) 55%, transparent);
  outline-offset: 0;
  border-color: var(--green);
}
.field.invalid input, .field.invalid select { border-color: #c43421; }
.field-error {
  display: none;
  color: #c43421;
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 5px;
}
[data-theme="dark"] .field-error { color: #ff8d7a; }
[data-theme="dark"] .field.invalid input, [data-theme="dark"] .field.invalid select { border-color: #ff8d7a; }
.field.invalid .field-error { display: block; }
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 4px 0 22px;
}
.consent input {
  flex: none;
  width: 22px; height: 22px;
  margin-top: 3px;
  accent-color: var(--green);
}
.consent label { font-size: 14.5px; color: var(--ink-soft); }
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-success {
  background: color-mix(in srgb, var(--green) 10%, var(--card));
  border: 1.5px solid var(--green);
  border-radius: var(--radius);
  padding: 26px;
  font-size: 16.5px;
}
.form-success strong { font-family: var(--font-display); font-size: 19px; display: block; margin-bottom: 8px; }
.form-success[hidden] { display: none; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta h2 { max-width: 22ch; margin-inline: auto; }
.final-cta .hero-ctas { justify-content: center; margin-top: 28px; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--band-bg);
  color: rgba(242, 245, 238, 0.75);
  padding: 64px 0 110px;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}
.site-footer img { height: 52px; width: auto; margin-bottom: 16px; }
.site-footer h3 {
  color: var(--band-ink);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(242, 245, 238, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--green-glow); }
.footer-phone {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--green-glow) !important;
}
.footer-legal {
  border-top: 1px solid rgba(242, 245, 238, 0.14);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  font-size: 13.5px;
}
.footer-legal nav { display: flex; gap: 22px; }

/* ---------- Mobile sticky call bar ---------- */
.mobile-call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 110;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-call-bar .btn { flex: 1; min-height: 50px; }

/* ---------- Chat widget ---------- */
.chat-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 0;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(31, 170, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.14s ease;
}
.chat-launcher:hover { transform: scale(1.06); }
[data-theme="dark"] .chat-launcher { background: var(--green-glow); color: #06230a; }
.chat-launcher svg { width: 26px; height: 26px; }

.chat-panel {
  position: fixed;
  right: 20px;
  bottom: 90px;
  z-index: 130;
  width: min(360px, calc(100vw - 32px));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.chat-panel[hidden] { display: none; }
.chat-head {
  background: var(--band-bg);
  color: var(--band-ink);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.chat-head h2 { font-size: 17px; margin: 0 0 4px; color: var(--band-ink); }
.chat-head p { margin: 0; font-size: 13.5px; color: rgba(242,245,238,0.75); }
.chat-close {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 0;
  background: rgba(242,245,238,0.12);
  color: var(--band-ink);
  font-size: 17px;
  cursor: pointer;
}
.chat-close:hover { background: rgba(242,245,238,0.22); }
.chat-body { padding: 18px 20px 20px; }
.chat-body .field { margin-bottom: 12px; }
.chat-body .field input, .chat-body .field textarea { min-height: 44px; font-size: 15px; }
.chat-body .field textarea { min-height: 76px; }
.chat-call {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
}
.chat-success { padding: 8px 0 0; font-size: 15px; }
.chat-success[hidden] { display: none; }

/* ---------- Scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Hidden state only applies once JS confirms reveals will run (fail-safe) */
  body.reveal-armed .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  body.reveal-armed .reveal.revealed { opacity: 1; transform: none; }
}

/* ---------- Legal pages ---------- */
.legal-main { padding: 64px 0 96px; }
.legal-main .container { max-width: 780px; }
.legal-main h1 { font-size: clamp(34px, 4vw, 46px); font-weight: 800; }
.legal-updated { color: var(--muted); font-size: 15px; margin-bottom: 40px; }
.legal-main h2 { font-size: 23px; margin-top: 44px; }
.legal-main p, .legal-main li { color: var(--ink-soft); font-size: 16.5px; }
.legal-callout {
  background: var(--surface);
  border-left: 4px solid var(--green);
  padding: 18px 22px;
  border-radius: 0 10px 10px 0;
  font-weight: 600;
  color: var(--ink);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) and (min-width: 768px) {
  .header-inner { gap: 14px; }
  .main-nav a { padding: 8px 10px; font-size: 14.5px; }
  .header-call { padding: 10px 16px; font-size: 14.5px; min-height: 44px; }
  .brand img { height: 38px; }
  .brand-name { font-size: 17px; }
}

@media (max-width: 1023px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media img { height: 380px; }
  .form-wrap { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { min-height: 48px; font-size: 17px; }
  .nav-burger { display: flex; }
  .header-call .call-label-long { display: none; }
  .card-grid, .solution-grid, .steps { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .service-card { padding: 18px 16px; }
  .solution-photos { grid-template-columns: 1fr; }
  .solution-photos img { height: 240px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .mobile-call-bar { display: flex; }
  .site-footer { padding-bottom: 140px; }
  .chat-launcher { bottom: 86px; }
  .chat-panel { bottom: 156px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .lead-form { padding: 24px 20px; }
  .hero-media::before { display: none; }
}

@media (max-width: 420px) {
  .services-grid { grid-template-columns: 1fr; }
  .brand-name { display: none; }
}
