/* ═══════════════════════════════════════════════════════════════
   Desir Solutions — Enterprise Design System
   Inspired by BH Technologies: dark hero, bold type, clean sections
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* ── Core palette ── */
  --navy:        #0a1628;
  --navy-mid:    #122240;
  --navy-light:  #1a3058;
  --brand:       #2563eb;
  --brand-hover: #1d4ed8;
  --accent:      #38bdf8;
  --surface:     #ffffff;
  --bg:          #f1f5f9;
  --bg-alt:      #e8edf4;
  --ink:         #0f172a;
  --muted:       #475569;
  --line:        #cbd5e1;
  --success:     #22c55e;

  /* ── Typography scale ── */
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --heading: "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-hover); }

/* ── Layout ── */
.container { width: min(1120px, 90%); margin: 0 auto; }

/* ══════════════════════════════════
   HEADER — sticky dark bar
   ══════════════════════════════════ */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  gap: .9rem;
}

.logo {
  font-family: var(--heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

/* ── Desktop nav ── */
nav ul { list-style: none; display: flex; gap: .25rem; }
nav a {
  display: block;
  padding: .34rem .62rem;
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
nav a:hover,
nav a.active {
  color: #fff;
  background: rgba(255,255,255,.1);
}

/* ── Dropdown menus ── */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(10,22,40,.18);
  padding: 6px;
  z-index: 120;
}
.dropdown-menu li { margin: 0; }
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 500;
  font-size: .875rem;
}
.dropdown-menu a:hover { background: var(--bg); color: var(--brand); }
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { display: block; }

/* ── Mobile hamburger ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ══════════════════════════════════
   HERO — full-width dark section
   ══════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy-light) 100%);
  color: #fff;
  padding: 62px 0 44px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-family: var(--heading);
  font-size: clamp(1.7rem, 3.1vw, 2.45rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 20px;
  max-width: 820px;
}
.hero p {
  font-size: .98rem;
  color: rgba(255,255,255,.72);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Subhero (lighter intro bar under hero) ── */
.subhero {
  background: var(--navy-mid);
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.subhero p {
  color: rgba(255,255,255,.6);
  font-size: .95rem;
  text-align: center;
}

/* ══════════════════════════════════
   SECTIONS — alternating backgrounds
   ══════════════════════════════════ */
.section {
  padding: 44px 0;
}
.section--alt {
  background: var(--bg-alt);
}
.section--dark {
  background: var(--navy);
  color: #fff;
}
.section--dark h2 { color: #fff; }
.section--dark p, .section--dark li { color: rgba(255,255,255,.72); }
.section--dark .card {
  background: var(--navy-mid);
  border-color: rgba(255,255,255,.08);
}
.section--dark .card h3 { color: #fff; }
.section--dark .card p,
.section--dark .card li { color: rgba(255,255,255,.65); }

/* ── Section headings ── */
h2 {
  font-family: var(--heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 12px;
  color: var(--ink);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 18px;
  line-height: 1.65;
}

/* ══════════════════════════════════
   CARDS — elevated surfaces
   ══════════════════════════════════ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 16px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(10,22,40,.08);
  border-color: var(--brand);
}
.card h3 {
  font-family: var(--heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}
.card p,
.card li {
  color: var(--muted);
  font-size: .925rem;
  line-height: 1.6;
}

/* ── Feature card (icon left) ── */
.feature-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
}

/* ══════════════════════════════════
   STATS BAR — metrics strip
   ══════════════════════════════════ */
.stats-bar {
  background: var(--navy-mid);
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item h3 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -.03em;
  margin-bottom: 6px;
}
.stat-item p {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
}

/* ══════════════════════════════════
   PRACTICE-AREA LINKS (pill grid)
   ══════════════════════════════════ */
.practice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.practice-pill {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 40px;
  color: rgba(255,255,255,.8);
  font-size: .875rem;
  font-weight: 600;
  transition: background .2s, color .2s, border-color .2s;
  text-decoration: none;
}
.practice-pill:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* ══════════════════════════════════
   INDUSTRY CARDS
   ══════════════════════════════════ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.industry-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px 20px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.industry-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(10,22,40,.07);
  border-color: var(--brand);
}
.industry-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}
.industry-card p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ══════════════════════════════════
   SERVICES LIST (stacked items)
   ══════════════════════════════════ */
.service-block {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.service-block:last-child { border-bottom: none; }
.service-block h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.service-block p {
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 14px;
}
.service-block ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-block li {
  padding: 6px 14px;
  background: var(--bg);
  border-radius: 6px;
  font-size: .85rem;
  color: var(--muted);
  font-weight: 500;
}
.section--dark .service-block { border-color: rgba(255,255,255,.08); }
.section--dark .service-block h3 { color: #fff; }
.section--dark .service-block p { color: rgba(255,255,255,.65); }
.section--dark .service-block li {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.7);
}

/* ══════════════════════════════════
   DELIVERY FRAMEWORK (steps)
   ══════════════════════════════════ */
.step-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}
.step-list li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 16px 18px;
  border-radius: 10px;
  transition: border-color .2s;
}
.step-list li:hover { border-color: var(--brand); }
.step-list li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ══════════════════════════════════
   BUTTONS
   ══════════════════════════════════ */
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }

.btn.primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn.primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}

.btn.outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn.outline:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}

.btn.outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.outline-dark:hover {
  background: var(--bg);
  border-color: var(--brand);
  color: var(--brand);
}

/* ══════════════════════════════════
   FORMS
   ══════════════════════════════════ */
.form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: .925rem;
  background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
textarea { min-height: 130px; resize: vertical; }

/* Honeypot — visually hidden */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* ── Form card ── */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: 0 4px 20px rgba(10,22,40,.06);
}

/* ══════════════════════════════════
   LISTS
   ══════════════════════════════════ */
ul.clean {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}
ul.clean li {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .925rem;
}

/* ══════════════════════════════════
   CTA BANNER
   ══════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 44px 0;
  text-align: center;
  color: #fff;
}
.cta-banner h2 {
  color: #fff;
  margin-bottom: 16px;
}
.cta-banner p {
  color: rgba(255,255,255,.7);
  max-width: 600px;
  margin: 0 auto 18px;
  font-size: 1rem;
}

/* ══════════════════════════════════
   FOOTER
   ══════════════════════════════════ */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 24px 0 28px;
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  line-height: 1.6;
}
.site-footer a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .2s;
}
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.footer-brand { font-size: 1rem; color: #fff; font-weight: 700; margin-bottom: 12px; }
.footer-links h4 {
  color: rgba(255,255,255,.8);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: .85rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ══════════════════════════════════
   ENGAGEMENT TABS
   ══════════════════════════════════ */
.engage-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.engage-tab {
  padding: 11px 22px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.engage-tab:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.engage-tab.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.engage-panel {
  display: none;
}
.engage-panel.active {
  display: block;
}

.engage-content {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 22px 20px;
}
.engage-content h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.engage-content h4 {
  color: var(--accent);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 28px 0 16px;
}
.engage-content p {
  color: rgba(255,255,255,.68);
  max-width: 720px;
  line-height: 1.65;
  margin-bottom: 18px;
}
.engage-content .btn { margin-top: 8px; }

/* ── Contract-to-Hire toggle ── */
.engage-option {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 18px;
}
.toggle-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
  text-transform: none;
  letter-spacing: 0;
}
.toggle-check { display: none; }
.toggle-switch {
  position: relative;
  width: 42px;
  height: 24px;
  background: rgba(255,255,255,.15);
  border-radius: 12px;
  flex-shrink: 0;
  transition: background .2s;
}
.toggle-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s;
}
.toggle-check:checked + .toggle-switch {
  background: var(--brand);
}
.toggle-check:checked + .toggle-switch::after {
  transform: translateX(18px);
}
.engage-option-desc {
  font-size: .875rem !important;
  color: rgba(255,255,255,.5) !important;
  margin: 0 !important;
}

/* ── Specialization grid ── */
.specialize-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.specialize-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 18px 16px;
  transition: border-color .2s, background .2s;
}
.specialize-card:hover {
  border-color: var(--brand);
  background: rgba(255,255,255,.07);
}
.specialize-card h5 {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.specialize-card p {
  font-size: .825rem !important;
  color: rgba(255,255,255,.5) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* ── Phase Badge ── */
.phase-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(0,180,216,.15);
  color: #00b4d8;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ══════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
   ══════════════════════════════════ */
@media (max-width: 1024px) {
  .container { width: min(1200px, 92%); }

  .hero { padding: 54px 0 42px; }
  .hero h1 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }

  .section { padding: 40px 0; }

  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 28px; }

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

  .engage-content { padding: 20px 16px; }

  .form-card { padding: 20px 16px; }
  .cta-banner { padding: 40px 0; }
}

/* ══════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
   ══════════════════════════════════ */
@media (max-width: 768px) {
  /* ── Nav ── */
  .nav-toggle { display: block; }

  nav {
    display: none;
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,.3);
  }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 2px; }
  nav a {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 8px;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,.04);
    border-radius: 8px;
    margin-top: 4px;
    padding: 4px 8px;
  }
  .dropdown-menu a {
    color: rgba(255,255,255,.7);
    padding: 12px 14px;
  }
  .dropdown-menu a:hover { color: #fff; background: rgba(255,255,255,.08); }

  /* ── Hero ── */
  .hero { padding: 42px 0 32px; }
  .hero h1 { font-size: 1.65rem; line-height: 1.2; margin-bottom: 16px; }
  .hero p { font-size: .93rem; margin-bottom: 18px; line-height: 1.55; }
  .hero .actions { flex-direction: column; gap: 10px; }
  .hero .actions .btn { text-align: center; width: 100%; }

  /* ── Sections ── */
  .section { padding: 30px 0; }
  h2 { font-size: 1.35rem; }
  .section-subtitle { font-size: .93rem; margin-bottom: 20px; }

  /* ── Grids → single column ── */
  .card-grid { grid-template-columns: 1fr; gap: 12px; }
  .industry-grid { grid-template-columns: 1fr; gap: 10px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* ── Cards — touch-friendly ── */
  .card { padding: 18px 16px; }
  .card h3 { font-size: 1.05rem; }
  .industry-card { padding: 20px 18px; }

  /* ── Stats ── */
  .stats-bar { padding: 30px 0; }
  .stat-item h3 { font-size: 2rem; }
  .stat-item p { font-size: .8rem; }

  /* ── Practice pills ── */
  .practice-grid { gap: 8px; justify-content: center; }
  .practice-pill { padding: 8px 16px; font-size: .8rem; }

  /* ── Step list ── */
  .step-list li { padding: 16px 18px; gap: 14px; }
  .step-list li::before { width: 32px; height: 32px; font-size: .8rem; }
  .step-list li div strong { font-size: .95rem; }

  /* ── Buttons — full width on mobile ── */
  .btn { padding: 12px 20px; font-size: .88rem; width: 100%; text-align: center; }
  .actions { flex-direction: column; gap: 10px; }
  .actions .btn { width: 100%; }

  /* ── CTA Banner ── */
  .cta-banner { padding: 40px 0; }
  .cta-banner p { font-size: .95rem; }
  .cta-banner .btn { width: auto; display: inline-block; }

  /* ── Footer ── */
  .site-footer { padding: 24px 0 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  /* ── Forms ── */
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 20px 16px; }
  input, textarea, select { padding: 14px 14px; font-size: 1rem; }

  /* ── Engagement tabs ── */
  .engage-tabs { gap: 6px; }
  .engage-tab { padding: 12px 16px; font-size: .84rem; flex: 1 1 auto; text-align: center; min-width: 0; }
  .engage-content { padding: 20px 16px; }
  .engage-content h3 { font-size: 1.15rem; }
  .engage-content p { font-size: .9rem; }

  /* ── Specialization grid ── */
  .specialize-grid { grid-template-columns: 1fr; }
  .specialize-card { padding: 16px 14px; }

  /* ── Toggle ── */
  .engage-option { padding: 14px 16px; }
  .toggle-label { font-size: .9rem; }
}

/* ══════════════════════════════════
   RESPONSIVE — SMALL PHONES (≤ 480px)
   ══════════════════════════════════ */
@media (max-width: 480px) {
  .container { width: 94%; }

  .topbar { min-height: 54px; }
  .logo { font-size: 1rem; }

  .hero { padding: 34px 0 26px; }
  .hero h1 { font-size: 1.4rem; }
  .hero p { font-size: .9rem; }

  h2 { font-size: 1.2rem; }
  .section { padding: 22px 0; }
  .section-subtitle { font-size: .875rem; margin-bottom: 20px; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-item h3 { font-size: 1.65rem; }

  .practice-grid { justify-content: flex-start; }
  .practice-pill { padding: 7px 14px; font-size: .75rem; }

  .card { padding: 18px 16px; }
  .card h3 { font-size: 1rem; }
  .card p, .card li { font-size: .875rem; }

  .step-list li { flex-direction: column; gap: 10px; padding: 16px; }
  .step-list li::before { align-self: flex-start; }

  .engage-tabs { flex-direction: column; }
  .engage-tab { width: 100%; text-align: center; padding: 14px 16px; font-size: .9rem; }
  .engage-content { padding: 20px 16px; }

  .cta-banner { padding: 30px 0; }
  .cta-banner h2 { font-size: 1.15rem; }
  .cta-banner p { font-size: .875rem; }

  .footer-brand { font-size: .9rem; }
  .site-footer { font-size: .8rem; }
}



