/* ═══════════════════════════════════════════════════
   IRIS HEALTH — Refined Healthcare Design System
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;0,800;1,400&display=swap');

:root {
  --bg: #f7fbff;
  --surface: #ffffff;
  --surface-2: #eef5ff;
  --ink: #0e1f38;
  --ink-soft: #3a4f6d;
  --muted: #617892;
  --line: #d4e3f7;
  --blue-900: #0b3f87;
  --blue-800: #1457b5;
  --blue-700: #2a73d8;
  --blue-600: #4a90ec;
  --blue-100: #dbeaff;
  --blue-050: #f1f7ff;
  --teal: #117b72;
  --success: #169268;
  --warning: #d47a00;
  --shadow-sm: 0 2px 8px rgba(12, 44, 90, 0.04), 0 12px 32px rgba(12, 44, 90, 0.06);
  --shadow-md: 0 4px 16px rgba(12, 55, 120, 0.06), 0 24px 60px rgba(12, 55, 120, 0.10);
  --shadow-lg: 0 8px 24px rgba(12, 55, 120, 0.08), 0 40px 80px rgba(12, 55, 120, 0.14);
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1200px;
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1.02rem;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { margin: 0 0 18px; color: var(--ink-soft); }

h1, h2, h3, h4 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); font-family: var(--font-body); font-weight: 700; letter-spacing: -0.02em; }
h4 { font-family: var(--font-body); font-weight: 800; font-size: 0.88rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
small { color: var(--muted); }

::selection { background: var(--blue-100); color: var(--blue-900); }

/* ── Layout ───────────────────────────────────────── */
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section.tight { padding: 76px 0; }

/* ── Eyebrow ──────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--blue-700);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-700), var(--blue-600));
  border-radius: 999px;
}

.section-head { max-width: 760px; margin-bottom: 44px; }

/* ── Scroll Reveal Animations ─────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

/* ── Sticky Navbar ────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(212, 227, 247, 0.7);
  transition: box-shadow 0.3s ease;
}
.topbar.scrolled {
  box-shadow: 0 4px 24px rgba(12, 44, 90, 0.08);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand img { width: 168px; transition: opacity 0.2s ease; }
.brand:hover img { opacity: 0.8; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}
.nav-links a {
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--blue-800); background: var(--blue-050); }
.nav-links a.active { color: var(--blue-800); background: var(--blue-050); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  box-shadow: 0 4px 16px rgba(20, 87, 181, 0.24);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(20, 87, 181, 0.32);
}

/* ── Mobile Nav ───────────────────────────────────── */
.mobile-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.2s ease;
}
.mobile-toggle:hover { background: var(--blue-050); }

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px 0 20px;
  background: rgba(255, 255, 255, 0.96);
}
.mobile-panel.open { display: block; }
.mobile-panel a {
  display: block;
  padding: 11px 0;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.mobile-panel a:hover { color: var(--blue-800); }

/* ── Hero ──────────────────────────────────────────── */
.page-hero {
  padding: 60px 0 36px;
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(74, 144, 236, 0.09), transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -5%;
  width: 45%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(20, 87, 181, 0.07), transparent 65%);
  pointer-events: none;
}

/* ── Grid Systems ─────────────────────────────────── */
.hero-grid, .feature-grid, .stats-grid, .cards-2, .cards-3, .cards-4 {
  display: grid;
  gap: 28px;
}
.hero-grid { grid-template-columns: 1.15fr 0.9fr; align-items: center; }
.feature-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Cards ─────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card a {
  color: var(--blue-700);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  transition: color 0.2s ease, gap 0.2s ease;
}
.card a:hover { color: var(--blue-900); gap: 8px; }

.card.soft {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border-color: rgba(212, 227, 247, 0.7);
}

/* ── Panel ─────────────────────────────────────────── */
.panel {
  background: linear-gradient(180deg, #ffffff 0%, #f3f9ff 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-700), var(--blue-600), var(--teal));
  border-radius: 24px 24px 0 0;
}

/* ── Icon Badges ──────────────────────────────────── */
.icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-050), #e8f1ff);
  border: 1px solid var(--blue-100);
  color: var(--blue-800);
  font-size: 1.3rem;
  margin-bottom: 16px;
  transition: transform 0.3s var(--ease-spring);
}
.card:hover .icon { transform: scale(1.08) rotate(-3deg); }

/* ── Buttons ──────────────────────────────────────── */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease, background 0.2s ease;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  color: #fff;
  box-shadow: 0 4px 16px rgba(20, 87, 181, 0.22);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(20, 87, 181, 0.30);
}
.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(12, 44, 90, 0.04);
}
.btn-secondary:hover {
  transform: translateY(-1px);
  border-color: var(--blue-100);
  background: var(--blue-050);
  box-shadow: 0 4px 16px rgba(12, 44, 90, 0.08);
}

/* ── Stat Band ────────────────────────────────────── */
.stat-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  position: relative;
}
.stat-band .wrap { padding: 32px 0; }
.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 400;
  color: var(--blue-900);
  margin-bottom: 8px;
}
.stat span { font-size: 0.9rem; color: var(--muted); }

/* ── Checklist ────────────────────────────────────── */
.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.list-check li {
  position: relative;
  padding-left: 36px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-050), #e4effe);
  border: 1px solid var(--blue-100);
  color: var(--blue-700);
  font-size: 0.75rem;
  font-weight: 800;
}

/* ── KPI Grid ─────────────────────────────────────── */
.kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.kpi {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  transition: border-color 0.2s ease;
}
.kpi:hover { border-color: var(--blue-100); }
.kpi strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--blue-900);
  margin-bottom: 6px;
}
.kpi span { font-size: 0.88rem; color: var(--muted); }

/* ── Queue / Workflow Rows ────────────────────────── */
.queue { display: grid; gap: 10px; }
.queue-row {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.93rem;
  transition: border-color 0.2s ease, transform 0.2s var(--ease-out);
}
.queue-row:hover {
  border-color: var(--blue-100);
  transform: translateX(3px);
}

.status-pill {
  font-size: 0.72rem;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue-050), #e4effe);
  color: var(--blue-700);
  border: 1px solid var(--blue-100);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* ── CTA Band ─────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, #0c3d7f 0%, var(--blue-700) 60%, #1a6dd4 100%);
  color: #fff;
  border-radius: 28px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.06), transparent 60%);
  pointer-events: none;
}
.cta-band p { color: rgba(255, 255, 255, 0.82); }
.cta-band h2 { color: #fff; }
.cta-band .btn-primary {
  background: #fff;
  color: var(--blue-900);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.cta-band .btn-primary:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}
.cta-band .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}
.cta-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

/* ── Page Anchor Nav ──────────────────────────────── */
.page-anchor-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.page-anchor-nav a {
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.page-anchor-nav a:hover {
  color: var(--blue-700);
  border-color: var(--blue-100);
  background: var(--blue-050);
}

/* ── Footer ───────────────────────────────────────── */
footer {
  padding: 0 0 60px;
  color: var(--muted);
  background: linear-gradient(180deg, var(--bg) 0%, #edf4fd 100%);
  position: relative;
}
footer::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-top: 40px;
}
.footer-grid a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 0.93rem;
  transition: color 0.15s ease;
}
.footer-grid a:hover { color: var(--blue-700); }
.footer-grid p { font-size: 0.92rem; }

/* ═══════════════════════════════════════════════════
   CASE STUDY PAGES
   ═══════════════════════════════════════════════════ */

.case-study-hero {
  padding: 60px 0 40px;
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.case-study-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(74, 144, 236, 0.10), transparent 70%);
  pointer-events: none;
}
.case-study-hero::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -5%;
  width: 45%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(20, 87, 181, 0.08), transparent 65%);
  pointer-events: none;
}

.case-study-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.meta-pill {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--blue-050);
  border: 1px solid var(--blue-100);
  color: var(--blue-700);
  font-size: 0.82rem;
  font-weight: 700;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.metric-strip .metric-card {
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}
.metric-card:hover { border-color: var(--blue-100); }
.metric-card strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--blue-900);
  font-size: 1.5rem;
  margin-bottom: 6px;
  line-height: 1.15;
}
.metric-card span { font-size: 0.86rem; color: var(--muted); }

/* ── Timeline ─────────────────────────────────────── */
.timeline {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 39px;
  top: 36px;
  bottom: 36px;
  width: 2px;
  background: linear-gradient(180deg, var(--blue-100), var(--line));
  border-radius: 999px;
}
.timeline-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 28px 24px 76px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.timeline-step:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.timeline-step .step-num {
  position: absolute;
  left: 22px;
  top: 24px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(20, 87, 181, 0.24);
  z-index: 1;
}
.timeline-step h3 {
  margin-bottom: 6px;
  color: var(--blue-900);
}
.timeline-step p {
  margin: 0;
  font-size: 0.95rem;
}

/* ── Quote Box ────────────────────────────────────── */
.quote-box {
  background: linear-gradient(135deg, #0c3d7f 0%, var(--blue-700) 60%, #1a6dd4 100%);
  color: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.quote-box::before {
  content: """;
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 8rem;
  font-family: var(--font-display);
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  pointer-events: none;
}
.quote-box p { color: rgba(255, 255, 255, 0.85); font-size: 1.02rem; }
.quote-box h2 { color: #fff; }

/* ── Outcome Items ────────────────────────────────── */
.outcome-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.outcome-item {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.2s ease;
}
.outcome-item:hover { border-color: var(--blue-100); }
.outcome-item h3 { margin-bottom: 6px; }

/* ── Case Study Card Links ────────────────────────── */
.case-card-link {
  display: block;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.case-card-link:hover { transform: translateY(-4px); }
.case-card-link .card { height: 100%; }

/* ═══════════════════════════════════════════════════
   LANDING PAGE
   ═══════════════════════════════════════════════════ */

.landing-hero { padding-bottom: 36px; }
.landing-grid { grid-template-columns: 1.1fr 0.9fr; }
.landing-form-wrap { max-width: var(--max); }
.landing-form-head { max-width: 760px; }
.landing-form-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
}
.lead-form label span { color: var(--ink); }

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 13px 16px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(74, 144, 236, 0.10);
}
.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #b0bfcf;
}

.full-width { grid-column: 1 / -1; }

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.form-note,
.form-success {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.form-success {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--blue-050);
  border: 1px solid var(--blue-100);
  color: var(--blue-900);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

@media (max-width: 1080px) {
  .hero-grid, .feature-grid, .cta-band, .footer-grid { grid-template-columns: 1fr; }
  .cta-band { text-align: center; }
  .cta-band .btn-row { justify-content: center; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .mobile-toggle { display: inline-grid; place-items: center; }
  .metric-strip { grid-template-columns: repeat(2, 1fr); }
  .landing-grid, .landing-form-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 39px; }
}

@media (max-width: 700px) {
  .section { padding: 64px 0; }
  .section.tight { padding: 52px 0; }
  .cards-2, .cards-3, .cards-4, .kpi-grid { grid-template-columns: 1fr; }
  .metric-strip { grid-template-columns: 1fr; }
  .brand img { width: 140px; }
  .card, .panel { padding: 22px; }
  .btn-row { flex-direction: column; }
  .btn { width: 100%; }
  .cta-band { padding: 28px; border-radius: 22px; }
  .timeline::before { display: none; }
  .timeline-step { padding: 20px; }
  .timeline-step .step-num { position: static; margin-bottom: 12px; }
  .lead-form { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; align-items: stretch; }
  .page-hero, .case-study-hero { padding: 40px 0 28px; }
  h1 { font-size: clamp(2rem, 7vw, 2.6rem); }
  .quote-box { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .wrap { width: calc(100% - 32px); }
}
