:root {
  --paper: #ffffff;
  --paper-soft: #f6f7f8;
  --paper-warm: #fbfbfa;
  --ink: #151515;
  --ink-soft: #34383f;
  --muted: #71757d;
  --line: #e5e7eb;
  --line-dark: rgba(255, 255, 255, 0.14);
  --carbon: #07090d;
  --midnight: #0b111a;
  --midnight-2: #111923;
  --brand-red: #921919;
  --brand-red-bright: #d12b2b;
  --signal-blue: #1f7ae0;
  --signal-teal: #0fbea7;
  --success: #24a86b;
  --shadow-soft: 0 18px 60px rgba(10, 15, 25, 0.1);
  --shadow-dark: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 8px;
  --radius-small: 6px;
  --header-height: 92px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.05;
}

h1 {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 0;
}

h2 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

h4 {
  font-size: 18px;
  font-weight: 700;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(209, 43, 43, 0.34);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-small);
}

.skip-link:focus {
  top: 16px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand img {
  width: 52px;
  height: 52px;
}

.brand span {
  max-width: 170px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--ink-soft);
  font-family: "Jost", "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding: 12px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--brand-red);
  transition: width 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--paper);
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Jost", "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand-red);
  color: var(--paper);
  box-shadow: 0 16px 36px rgba(146, 25, 25, 0.25);
}

.btn-primary:hover {
  background: var(--brand-red-bright);
}

.btn-outline {
  background: transparent;
  border-color: rgba(21, 21, 21, 0.65);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.btn-light {
  background: var(--paper);
  color: var(--ink);
}

.btn-light:hover {
  color: var(--brand-red);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--paper);
}

.btn-ghost:hover {
  border-color: var(--paper);
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: 104px 0;
}

.section-tight {
  padding: 76px 0;
}

.section-dark {
  background: var(--carbon);
  color: var(--paper);
}

.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark .section-title {
  color: var(--paper);
}

.section-dark p,
.section-dark .muted {
  color: rgba(255, 255, 255, 0.72);
}

.section-soft {
  background: var(--paper-soft);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}

.section-header.center {
  display: block;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--brand-red);
  font-family: "Jost", "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.8px;
}

.eyebrow::before {
  display: inline-block;
  width: 34px;
  height: 2px;
  content: "";
  background: currentColor;
}

.muted {
  color: var(--muted);
}

.lead {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.8;
}

.hero-home {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 82svh;
  overflow: hidden;
  background: var(--carbon);
  color: var(--paper);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 7, 12, 0.92) 0%, rgba(4, 7, 12, 0.72) 48%, rgba(4, 7, 12, 0.48) 100%),
    linear-gradient(180deg, rgba(4, 7, 12, 0.2), rgba(4, 7, 12, 0.68));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  gap: 48px;
  align-items: end;
  padding: 86px 0 66px;
}

.hero-copy {
  max-width: 820px;
}

.hero-copy h1 {
  max-width: 920px;
  color: var(--paper);
}

.hero-copy p {
  max-width: 760px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

.hero-cta,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 54px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
}

.hero-proof li {
  min-height: 88px;
  padding: 18px;
  background: rgba(7, 9, 13, 0.72);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.growth-panel {
  align-self: center;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(18px);
}

.growth-panel img {
  width: 100%;
  height: 188px;
  object-fit: cover;
  border-radius: var(--radius-small);
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.metric {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-small);
  background: rgba(0, 0, 0, 0.22);
}

.metric strong {
  display: block;
  color: var(--paper);
  font-size: 24px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
}

.trust-item {
  padding: 24px 18px;
  border-left: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: "Jost", "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1.1px;
}

.trust-item:last-child {
  border-right: 1px solid var(--line);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.48fr);
  gap: 56px;
  align-items: center;
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.image-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.34));
}

.image-frame img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.mini-stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--paper);
}

.mini-stat strong {
  display: block;
  color: var(--ink);
  font-size: 19px;
}

.mini-stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card,
.case-card,
.industry-card,
.blog-card,
.testimonial-card,
.value-card,
.insight-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.case-card:hover,
.industry-card:hover,
.blog-card:hover,
.value-card:hover,
.insight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(146, 25, 25, 0.28);
  box-shadow: var(--shadow-soft);
}

.service-card {
  min-height: 274px;
  padding: 28px;
}

.card-kicker {
  color: var(--brand-red);
  font-family: "Jost", "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.service-card h3,
.value-card h3,
.industry-card h3,
.blog-card h3 {
  margin-top: 18px;
}

.service-card p,
.value-card p,
.industry-card p,
.blog-card p {
  margin-top: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--brand-red);
  font-family: "Jost", "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.1px;
}

.text-link::after {
  content: ">";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.value-card {
  min-height: 214px;
  padding: 26px;
  border: 0;
  border-radius: 0;
  background: var(--midnight);
}

.value-card h3 {
  color: var(--paper);
  font-size: 18px;
}

.value-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.case-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.case-body {
  padding: 24px;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: "Jost", "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-dark .pill {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.7);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.industry-card {
  padding: 24px;
  min-height: 170px;
}

.seo-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(146, 25, 25, 0.92), rgba(15, 19, 28, 0.94)),
    var(--carbon);
  color: var(--paper);
}

.seo-band h2,
.seo-band p {
  color: var(--paper);
}

.seo-band .lead {
  color: rgba(255, 255, 255, 0.78);
}

.seo-band .check-list li,
.section-dark .check-list li {
  color: rgba(255, 255, 255, 0.8);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.process-step {
  min-height: 220px;
  padding: 24px;
  background: var(--paper);
}

.process-step span {
  color: var(--brand-red);
  font-family: "Jost", "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.process-step h3 {
  margin-top: 22px;
  font-size: 20px;
}

.process-step p {
  margin-top: 12px;
  font-size: 14px;
}

.testimonial-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.testimonial-card,
.blog-card {
  padding: 24px;
}

.testimonial-card blockquote {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.testimonial-card cite {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-style: normal;
  font-weight: 700;
}

.placeholder-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(146, 25, 25, 0.08);
  color: var(--brand-red);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card {
  min-height: 260px;
}

.blog-card time {
  display: block;
  color: var(--brand-red);
  font-family: "Jost", "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-band {
  padding: 84px 0;
  background: var(--carbon);
  color: var(--paper);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) auto;
  gap: 36px;
  align-items: center;
}

.cta-panel h2 {
  color: var(--paper);
}

.cta-panel p {
  max-width: 700px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
}

.cta-panel .cta-row {
  justify-content: flex-end;
  margin-top: 0;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 76px;
  background: var(--midnight);
  color: var(--paper);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 9, 13, 0.88), rgba(7, 9, 13, 0.66)),
    var(--page-image, none);
  background-position: center;
  background-size: cover;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 900px;
  color: var(--paper);
  font-size: 56px;
}

.page-hero p {
  max-width: 760px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 19px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Jost", "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.breadcrumbs a {
  color: var(--paper);
}

.breadcrumbs span::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.45);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.28fr);
  gap: 54px;
  align-items: start;
}

.prose h2 {
  margin-top: 44px;
  margin-bottom: 18px;
  font-size: 34px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 30px;
  margin-bottom: 12px;
}

.prose p {
  font-size: 17px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  content: "";
  background: linear-gradient(135deg, var(--brand-red), var(--signal-blue));
}

.side-panel {
  position: sticky;
  top: 116px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.side-panel h3 {
  font-size: 20px;
}

.side-panel ul {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.side-panel a {
  color: var(--ink-soft);
  font-weight: 700;
}

.side-panel a:hover {
  color: var(--brand-red);
}

.side-panel .btn {
  width: 100%;
  margin-top: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.feature-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.feature-box h3 {
  font-size: 20px;
}

.feature-box p {
  margin-top: 12px;
  font-size: 15px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--paper);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 700;
}

.faq-list details p {
  padding: 0 20px 20px;
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.48fr) minmax(0, 0.52fr);
  gap: 40px;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.contact-list a {
  color: var(--brand-red);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--ink);
  font-family: "Jost", "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  padding: 14px 16px;
  background: var(--paper);
  color: var(--ink);
}

.field textarea {
  min-height: 148px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  background: #050609;
  color: var(--paper);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) repeat(3, minmax(170px, 0.35fr));
  gap: 42px;
  padding: 72px 0 54px;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-col h3 {
  margin-bottom: 18px;
  color: var(--paper);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a,
.footer-col li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--paper);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 480ms ease, transform 480ms ease;
}

.reveal.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;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 36px;
  }

  .header-inner {
    gap: 16px;
  }

  .site-nav {
    gap: 16px;
  }

  .header-actions .btn {
    display: none;
  }

  .hero-grid,
  .split-grid,
  .content-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .growth-panel,
  .side-panel {
    position: static;
  }

  .hero-proof,
  .trust-strip .container,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid,
  .case-grid,
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid,
  .testimonial-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 76px;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .site-header {
    min-height: var(--header-height);
  }

  .header-inner {
    min-height: var(--header-height);
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand span {
    font-size: 12px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: calc(var(--header-height) + 10px);
    display: grid;
    gap: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
  }

  .nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 13px 10px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero-home {
    min-height: auto;
  }

  .hero-grid {
    padding: 70px 0 48px;
  }

  .hero-copy p,
  .page-hero p,
  .lead {
    font-size: 17px;
  }

  .hero-proof,
  .trust-strip .container,
  .mini-stats,
  .card-grid,
  .case-grid,
  .industry-grid,
  .why-grid,
  .process-grid,
  .testimonial-grid,
  .blog-grid,
  .feature-grid,
  .footer-main,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 1px solid var(--line);
  }

  .section,
  .section-tight {
    padding: 68px 0;
  }

  .section-header {
    display: block;
  }

  .section-header p {
    margin-top: 18px;
  }

  .page-hero {
    padding: 62px 0 58px;
  }

  .page-hero h1 {
    font-size: 38px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .cta-panel .cta-row {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 27px;
  }

  .btn {
    width: 100%;
  }

  .hero-cta,
  .cta-row {
    width: 100%;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .service-card,
  .value-card,
  .industry-card,
  .testimonial-card,
  .blog-card,
  .contact-form,
  .contact-card {
    padding: 22px;
  }
}
