/* ============================================================
   Prime Spear Healthcare — Stylesheet
   ============================================================ */

:root {
  --navy: #0F4C81;
  --blue: #1E6FDB;
  --blue-dark: #164EA0;
  --slate: #1E293B;
  --muted: #64748B;
  --light-blue: #E0F2FE;
  --pale-blue: #B4C8DC;
  --accent-light: #A0C8FF;
  --white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-navy: #0B3A63;
  --border: #E2E8F0;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(15, 76, 129, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 76, 129, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 76, 129, 0.14);

  --radius: 12px;
  --radius-lg: 20px;
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--light-blue);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head {
  max-width: 700px;
  margin-bottom: 56px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.section-head p {
  font-size: 17px;
  color: var(--muted);
}

.bg-light { background: var(--bg-light); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--pale-blue);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

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

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

.brand-text { line-height: 1.2; }
.brand-text .name { font-weight: 700; font-size: 16px; color: var(--navy); }
.brand-text .tag { font-size: 11.5px; color: var(--muted); letter-spacing: 0.02em; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a.active { color: var(--blue); font-weight: 700; }
.mobile-nav a.active { color: var(--blue); font-weight: 700; }

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: linear-gradient(160deg, var(--bg-navy) 0%, var(--navy) 45%, var(--blue) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 110px 0 80px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(160, 200, 255, 0.18), transparent 60%),
    radial-gradient(500px 350px at 10% 90%, rgba(160, 200, 255, 0.12), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--accent-light); }

.hero p.lead {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 14px;
  color: rgba(255,255,255,0.68);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-light); }

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(6px);
}

.hero-card .headline {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.stat-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-item .num {
  font-size: 34px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.stat-item .label {
  font-size: 13px;
  color: rgba(255,255,255,0.68);
  margin-top: 4px;
}

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  position: relative;
  background: linear-gradient(160deg, var(--bg-navy) 0%, var(--navy) 45%, var(--blue) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 64px 0 56px;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 400px at 90% 0%, rgba(160, 200, 255, 0.16), transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--accent-light); }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.8); max-width: 620px; }

/* ---------- Stat strip ---------- */

.stat-strip {
  background: var(--navy);
  padding: 0;
}
.stat-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-strip .cell {
  text-align: center;
  padding: 40px 12px;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.stat-strip .cell:first-child { border-left: none; }
.stat-strip .num { font-size: 30px; font-weight: 700; color: var(--white); }
.stat-strip .label { font-size: 13px; color: rgba(255,255,255,0.68); margin-top: 6px; }

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-copy p { color: var(--muted); margin-bottom: 16px; font-size: 15.5px; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 28px 0;
}
.about-stats .box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.about-stats .num { font-size: 26px; font-weight: 700; color: var(--navy); }
.about-stats .label { font-size: 13px; color: var(--muted); margin-top: 2px; }

.mission-box {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 8px;
}
.mission-box h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-light);
  margin-bottom: 10px;
}
.mission-box p { font-size: 15px; color: rgba(255,255,255,0.92); }

.tier-list h3 { font-size: 20px; color: var(--navy); margin-bottom: 18px; }

.tier-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.tier-item:last-child { border-bottom: none; }
.tier-item .mark {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light-blue);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.tier-item strong { display: block; color: var(--slate); font-size: 15px; margin-bottom: 2px; }
.tier-item span { color: var(--muted); font-size: 14px; }

/* ---------- Services ---------- */

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.service-card.featured {
  border-color: var(--blue);
  background: linear-gradient(180deg, var(--light-blue) 0%, var(--white) 30%);
}

.service-card .top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.service-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: var(--light-blue);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: 999px;
}

.service-card h3 { font-size: 18px; color: var(--slate); margin-bottom: 8px; }
.service-card .count { font-size: 13px; color: var(--blue); font-weight: 600; margin-bottom: 12px; }
.service-card ul { display: flex; flex-direction: column; gap: 6px; }
.service-card ul li { font-size: 14px; color: var(--muted); padding-left: 16px; position: relative; }
.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

/* Service detail sub-blocks */
.service-detail {
  border-top: 1px solid var(--border);
  padding-top: 64px;
  margin-top: 64px;
}
.service-detail:first-child { border-top: none; padding-top: 0; margin-top: 0; }

.service-detail-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}
.service-detail-head .idx {
  font-size: 34px;
  font-weight: 700;
  color: var(--light-blue);
  -webkit-text-stroke: 1px var(--blue);
}
.service-detail-head h3 { font-size: 24px; color: var(--navy); }
.service-detail .sub { color: var(--muted); font-size: 15px; margin-bottom: 28px; }

.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.item-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
}
.item-card h4 { font-size: 15.5px; color: var(--slate); margin-bottom: 8px; }
.item-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.item-card .tags { font-size: 12px; color: var(--blue); font-weight: 600; }

/* ---------- Process timeline ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px 16px;
}
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }

.process-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: left;
}
.process-step .num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.process-step h4 { font-size: 14.5px; color: var(--slate); margin-bottom: 6px; }
.process-step p { font-size: 12.5px; color: var(--muted); }

/* ---------- KPI ---------- */

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.kpi-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 16px;
}
.kpi-card .num { font-size: 36px; font-weight: 700; color: var(--blue); }
.kpi-card .label { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ---------- Journey timeline ---------- */

.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border);
}
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--light-blue);
}
.timeline-item .when { font-size: 12.5px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.04em; }
.timeline-item h4 { font-size: 17px; color: var(--navy); margin: 4px 0 6px; }
.timeline-item p { font-size: 14px; color: var(--muted); }

/* ---------- Why us ---------- */

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.reason-card {
  display: flex;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.reason-card .num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.reason-card h4 { font-size: 15.5px; color: var(--slate); margin-bottom: 6px; }
.reason-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- Testimonials ---------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.testimonial-card .quote-mark { font-size: 42px; color: var(--accent-light); line-height: 1; font-weight: 700; margin-bottom: 8px; }
.testimonial-card p.quote { font-size: 14.5px; color: var(--slate); flex-grow: 1; margin-bottom: 20px; }
.testimonial-card .result {
  display: inline-flex;
  flex-direction: column;
  background: var(--light-blue);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 18px;
}
.testimonial-card .result .num { font-size: 22px; font-weight: 700; color: var(--blue); }
.testimonial-card .result .label { font-size: 12px; color: var(--navy); }
.testimonial-card .person strong { display: block; font-size: 14.5px; color: var(--slate); }
.testimonial-card .person span { font-size: 13px; color: var(--muted); }

/* ---------- Payer network ---------- */

.payer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}
.payer-list { display: flex; flex-direction: column; gap: 14px; }
.payer-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: var(--bg-light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.payer-item strong { font-size: 14.5px; color: var(--slate); }
.payer-item span { font-size: 13px; color: var(--muted); }

.specialty-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.specialty-tags span {
  font-size: 13px;
  color: var(--navy);
  background: var(--light-blue);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--pale-blue);
}

/* ---------- Platform strip ---------- */

.platform-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.platform-cats h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--blue); margin-bottom: 12px; }
.platform-cats p { font-size: 13.5px; color: var(--muted); line-height: 1.9; }

.ai-caps {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}
.ai-caps h4 { grid-column: 1 / -1; font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.ai-caps span { font-size: 14px; color: var(--slate); padding-left: 18px; position: relative; }
.ai-caps span::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

/* ---------- CTA / Contact ---------- */

.cta-section {
  background: linear-gradient(160deg, var(--bg-navy), var(--navy) 60%, var(--blue));
  color: var(--white);
  padding: 96px 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
}

.cta-inner h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; margin-bottom: 16px; }
.cta-inner > div p.lead { color: rgba(255,255,255,0.8); font-size: 16px; margin-bottom: 32px; max-width: 480px; }

.cta-options { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.cta-option {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.cta-option .ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(160,200,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-light);
  font-weight: 700;
  flex-shrink: 0;
}
.cta-option strong { display: block; font-size: 14.5px; }
.cta-option span { font-size: 12.5px; color: rgba(255,255,255,0.65); }

.cta-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cta-stats .box { text-align: center; }
.cta-stats .num { font-size: 24px; font-weight: 700; }
.cta-stats .label { font-size: 11.5px; color: rgba(255,255,255,0.65); margin-top: 2px; }

.contact-card {
  background: var(--white);
  color: var(--slate);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 20px; }

.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; color: var(--slate); margin-bottom: 6px; }
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--slate);
  background: var(--bg-light);
}
.form-row input:focus,
.form-row textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; background: var(--white); }
.form-row textarea { resize: vertical; min-height: 90px; }

.form-note { font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; }

.contact-direct { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--muted); }
.contact-direct div { margin-bottom: 6px; }
.contact-direct strong { color: var(--slate); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--slate);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.footer-brand img { width: 34px; height: 34px; }
.footer-brand strong { color: var(--white); font-size: 15.5px; }
.footer-col p { font-size: 13.5px; line-height: 1.8; color: rgba(255,255,255,0.6); }
.footer-col h5 { color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 13.5px; color: rgba(255,255,255,0.65); transition: color 0.15s ease; }
.footer-col ul a:hover { color: var(--accent-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .about-grid, .payer-grid, .cta-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .reasons-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .platform-cats { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stat-strip .container { grid-template-columns: repeat(2, 1fr); }
  .stat-strip .cell:nth-child(3) { border-left: none; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}

@media (max-width: 640px) {
  .services-grid, .process-grid, .kpi-grid, .ai-caps, .about-stats, .cta-stats { grid-template-columns: 1fr 1fr; }
  .platform-cats { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .header-actions .btn span.full-label { display: none; }
}

/* ---------- Mobile nav drawer ---------- */

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 8px 24px 16px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--slate);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
