/* ═══════════════════════════════════════════
   Compliance-Focused Pentesting Landing Page
   Design System — 8px spacing grid, fluid type scale
   ═══════════════════════════════════════════ */

:root {
  /* Colors */
  --navy:      #0f1d36;
  --navy-2:    #162544;
  --blue:      #2563eb;
  --blue-h:    #1d4ed8;
  --blue-l:    #dbeafe;
  --green:     #059669;
  --green-l:   #d1fae5;
  --amber:     #d97706;
  --amber-l:   #fef3c7;
  --red:       #dc2626;
  --red-l:     #fef2f2;
  --white:     #ffffff;
  --gray-50:   #f8fafc;
  --gray-100:  #f1f5f9;
  --gray-200:  #e2e8f0;
  --gray-300:  #cbd5e1;
  --gray-400:  #94a3b8;
  --gray-500:  #64748b;
  --gray-600:  #475569;
  --gray-700:  #334155;
  --gray-800:  #1e293b;
  --gray-900:  #0f172a;

  /* Spacing (8px grid) */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-14: 56px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-28: 112px;
  --sp-32: 128px;

  /* Radii */
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-pill: 100px;

  /* Shadows — deeper than before for better depth */
  --shadow-sm:  0 1px 2px rgba(15,23,42,0.07);
  --shadow:     0 2px 4px rgba(15,23,42,0.08), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md:  0 4px 8px -2px rgba(15,23,42,0.10), 0 2px 4px -2px rgba(15,23,42,0.06);
  --shadow-lg:  0 12px 16px -4px rgba(15,23,42,0.08), 0 4px 6px -4px rgba(15,23,42,0.04);

  /* Fluid type scale using clamp() */
  --text-h1: clamp(2.25rem, 1.5rem + 2.5vw, 3.25rem);    /* 36px → 52px */
  --text-h2: clamp(1.75rem, 1.25rem + 1.5vw, 2.25rem);    /* 28px → 36px */
  --text-h3: clamp(1.15rem, 1rem + 0.5vw, 1.25rem);       /* 18px → 20px */
  --text-h4: 1.125rem;  /* 18px */
  --text-body: 1rem;      /* 16px */
  --text-sm: 0.875rem;    /* 14px */
  --text-xs: 0.8125rem;   /* 13px */
  --text-caption: 0.75rem;/* 12px */

  --leading-tight: 1.15;
  --leading-snug:  1.3;
  --leading-normal: 1.6;
  --leading-relaxed: 1.7;

  --max-width: 1120px;
  --max-width-narrow: 760px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--text-body);
  line-height: var(--leading-normal);
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── FOCUS VISIBLE ── */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  min-height: 44px;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-h);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-primary:active { transform: translateY(0); }
.btn-lg {
  padding: 14px 32px;
  font-size: var(--text-body);
}
.btn-submit {
  width: 100%;
  padding: var(--sp-4) var(--sp-8);
  font-size: 1.0625rem;
  min-height: 52px;
}
.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── SECTION SHARED ── */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-8);
}
.section-header {
  margin-bottom: var(--sp-14);
}
.section-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-l);
  padding: var(--sp-1) 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-4);
}
.section-header h2 {
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: var(--leading-tight);
  color: var(--gray-900);
  letter-spacing: -0.02em;
}
.section-sub {
  margin-top: var(--sp-4);
  font-size: var(--text-body);
  color: var(--gray-500);
  max-width: 36rem;
  line-height: var(--leading-relaxed);
}
.text-accent { color: var(--blue); }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 var(--sp-8);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--gray-900);
}
.nav-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--gray-200);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  list-style: none;
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--gray-900); }
.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--blue-h) !important;
  color: var(--white) !important;
  box-shadow: var(--shadow-md);
}
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px; min-height: 44px;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ── HERO ── */
.hero {
  padding: var(--sp-32) 0 var(--sp-24);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(5,150,105,0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--sp-8);
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--green);
  background: var(--green-l);
  padding: var(--sp-1) var(--sp-4);
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-6);
}
.hero h1 {
  font-size: var(--text-h1);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--gray-900);
  margin-bottom: var(--sp-5);
}
.hero-accent {
  background: linear-gradient(135deg, var(--blue), var(--navy));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: var(--text-h4);
  color: var(--gray-500);
  margin-bottom: var(--sp-10);
  line-height: var(--leading-relaxed);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* ── HERO CHECKLIST ── */
.hero-checklist {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-8);
  margin-bottom: var(--sp-8);
  text-align: left;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-sm);
}
.checklist-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-4);
}
.checklist-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) 0;
  font-size: var(--text-sm);
  color: var(--gray-600);
  cursor: pointer;
  transition: color 0.15s;
  min-height: 44px;
}
.checklist-item:hover { color: var(--gray-800); }
.checklist-cb {
  width: 20px; height: 20px;
  accent-color: var(--blue);
  cursor: pointer;
  flex-shrink: 0;
}
.checklist-foot {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--gray-200);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--green);
}
.checklist-foot a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
}

/* ── SERVICES ── */
.services {
  padding: var(--sp-24) 0;
  background: var(--gray-50);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
  transform: translateY(-2px);
}
.svc-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--blue-l);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
}
.svc-title {
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--sp-2);
}
.svc-desc {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: var(--leading-normal);
  margin-bottom: var(--sp-5);
}
.svc-features {
  list-style: none;
  margin-bottom: var(--sp-6);
  flex-grow: 1;
}
.svc-features li {
  font-size: var(--text-xs);
  color: var(--gray-600);
  padding: 5px 0 5px 18px;
  position: relative;
}
.svc-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.svc-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--gray-100);
}
.svc-price {
  font-size: var(--text-sm);
  color: var(--gray-600);
}
.svc-price strong {
  font-size: var(--text-h3);
  color: var(--gray-900);
}
.svc-timeline {
  font-size: var(--text-xs);
  color: var(--gray-400);
  background: var(--gray-50);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-pill);
}

/* ── PROCESS ── */
.process {
  padding: var(--sp-28) 0;
  background: var(--white);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
  pointer-events: none;
}
.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.step-number {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  font-size: var(--text-h3);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-5);
  flex-shrink: 0;
}
.step-title {
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--sp-2);
}
.step-desc {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: var(--leading-normal);
  margin-bottom: var(--sp-3);
}
.step-time {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--green);
  background: var(--green-l);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-pill);
  display: inline-block;
}

/* ── BUG BOUNTY ── */
.bounty {
  padding: var(--sp-24) 0;
  background: var(--gray-50);
}
.bounty-marquee {
  margin-bottom: var(--sp-10);
  padding: var(--sp-6) var(--sp-8);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}
.bounty-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
}
.bounty-company {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-600);
  padding: var(--sp-2) var(--sp-5);
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.bounty-company:hover {
  background: var(--blue-l);
  color: var(--blue);
}
.bounty-stats {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 2rem + 4vw, 4rem);
  margin-bottom: var(--sp-6);
  text-align: center;
}
.bounty-stat-num {
  font-size: clamp(1.75rem, 1.25rem + 1.5vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.bounty-stat-label {
  font-size: var(--text-sm);
  color: var(--gray-500);
  margin-top: var(--sp-1);
}
.bounty-disclaimer {
  font-size: var(--text-xs);
  color: var(--gray-400);
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
  font-style: italic;
  line-height: var(--leading-normal);
}

/* ── CERTIFICATIONS ── */
.certs {
  padding: var(--sp-24) 0;
  background: var(--white);
}
.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.cert-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.cert-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--gray-300);
}
.cert-issuer {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: var(--sp-3);
}
.cert-name {
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--sp-2);
}
.cert-domains {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: var(--leading-normal);
}

/* ── METHODOLOGY ── */
.methodology {
  padding: var(--sp-24) 0;
  background: var(--navy);
  color: var(--white);
}
.methodology .section-tag {
  background: rgba(255,255,255,0.12);
  color: var(--blue-l);
}
.methodology .section-header h2,
.methodology .text-accent { color: var(--white); }
.methodology .section-sub {
  color: rgba(255,255,255,0.6);
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}
.method-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: var(--sp-6);
  transition: background 0.2s, border-color 0.2s;
}
.method-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.15);
}
.method-card h4 {
  font-size: var(--text-h4);
  font-weight: 700;
  margin-bottom: var(--sp-2);
  color: var(--white);
}
.method-card p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  line-height: var(--leading-normal);
}

/* ── FAQ ── */
.faq {
  padding: var(--sp-24) 0;
  background: var(--gray-50);
}
.faq-list {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: var(--sp-3);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover {
  border-color: var(--gray-300);
}
.faq-item[open] {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}
.faq-item summary {
  padding: var(--sp-5) var(--sp-6);
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  min-height: 56px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 24px; height: 24px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: var(--sp-4);
  transition: background 0.2s;
  position: relative;
}
.faq-item summary::before {
  content: '+';
  position: absolute;
  right: 28px;
  font-size: 18px;
  font-weight: 400;
  color: var(--gray-500);
  z-index: 1;
  transition: transform 0.2s;
}
.faq-item[open] summary::before {
  content: '−';
}
.faq-answer {
  padding: 0 var(--sp-6) var(--sp-5);
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: var(--leading-relaxed);
}
.faq-answer p { max-width: 48rem; }
.faq-answer a { color: var(--blue); text-decoration: underline; }

/* ── CONTACT ── */
.contact {
  padding: var(--sp-24) 0;
  background: var(--white);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--sp-12);
  align-items: flex-start;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  max-width: 580px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.form-group label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--gray-700);
}
.required { color: var(--blue); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-family: inherit;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  min-height: 44px;
}
.form-group textarea {
  min-height: 100px;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.form-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  color: var(--gray-600);
  cursor: pointer;
  padding: var(--sp-2) var(--sp-3);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-pill);
  transition: all 0.15s;
  min-height: 36px;
}
.form-checkbox:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-l);
}
.form-checkbox:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-l);
  color: var(--blue);
  font-weight: 600;
}
.form-checkbox input[type="checkbox"] {
  accent-color: var(--blue);
}
.form-success {
  padding: var(--sp-3) var(--sp-5);
  background: var(--green-l);
  color: var(--green);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 500;
}
.form-error {
  padding: var(--sp-3) var(--sp-5);
  background: var(--red-l);
  color: var(--red);
  border-radius: var(--radius);
  font-size: var(--text-sm);
}
.form-error a { color: var(--blue); text-decoration: underline; }
.contact-card-info {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  position: sticky;
  top: 80px;
}
.contact-card-info h4 {
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--sp-4);
}
.contact-link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--gray-600);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--gray-100);
  transition: color 0.15s;
  min-height: 44px;
}
.contact-link:hover { color: var(--blue); }
.contact-link:last-child { border-bottom: none; }

/* ── FOOTER ── */
footer {
  background: var(--gray-900);
  color: var(--white);
  padding: var(--sp-6) var(--sp-8);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.footer-left { display: flex; flex-direction: column; gap: 2px; }
.footer-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--white);
}
.footer-desc {
  font-size: var(--text-xs);
  color: var(--gray-500);
}
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
}
.footer-copy, .footer-loc {
  font-size: var(--text-xs);
  color: var(--gray-500);
}

/* ═══════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   Mobile-first adjustments
   ═══════════════════════════════════════════ */

/* Tablet landscape (1024px) — before mobile nav kicks in */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: var(--sp-5) var(--sp-8);
    gap: var(--sp-4);
    box-shadow: var(--shadow-lg);
  }
  .nav-mobile-toggle { display: flex; }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps::before { display: none; }

  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-card:last-child {
    grid-column: span 2;
    max-width: 520px;
    justify-self: center;
    width: 100%;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-form { max-width: none; }
  .contact-card-info { position: static; }
}

/* Tablet portrait (768px) — intentional 2-col layouts */
@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-card:last-child {
    grid-column: span 2;
    max-width: 520px;
    justify-self: center;
    width: 100%;
  }
}

/* Small tablet / large phone (640px) */
@media (max-width: 640px) {
  :root {
    --sp-8: 24px;
    --sp-32: 100px;
    --sp-28: 80px;
    --sp-24: 72px;
    --sp-20: 64px;
  }

  .hero { padding: 120px 0 72px; }

  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
  }
  .process-step { display: flex; gap: var(--sp-4); align-items: flex-start; }
  .process-step .step-number { margin: 0; flex-shrink: 0; }
  .step-content { flex: 1; min-width: 0; }
  .process-step + .process-step {
    padding-top: var(--sp-8);
    border-top: 1px solid var(--gray-200);
  }
  .process-step > div { flex: 1; }

  .method-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card:last-child {
    grid-column: auto;
    max-width: none;
  }

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

  .bounty-stats { flex-direction: column; gap: var(--sp-8); align-items: center; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-right { text-align: center; }
  .nav-inner { padding: 0 var(--sp-6); }
}

/* Phone (480px) */
@media (max-width: 480px) {
  :root {
    --sp-8: 20px;
  }

  .hero-checklist { padding: var(--sp-5) var(--sp-5); }
  .hero h1 { font-size: clamp(1.75rem, 1.25rem + 2.5vw, 2rem); }
  .section-header { margin-bottom: var(--sp-10); }
  .service-card { padding: var(--sp-6); }
  .bounty-marquee { padding: var(--sp-5) var(--sp-5); }
}
