/* =========================================================
   WAAD Consulting — stylesheet
   Design tokens live at the top; components consume them.
   ========================================================= */

:root {
  --bg:            #F7F5F0;
  --bg-alt:        #FFFFFF;
  --surface:       #FFFFFF;
  --surface-2:     #F0EEE7;
  --ink:           #171B21;
  --ink-soft:      #4B5563;
  --ink-faint:     #8A8F98;
  --accent:        #33608D;
  --accent-strong: #1F3F5C;
  --accent-soft:   #E4ECF4;
  --accent-tint:   #EEF3F8;
  --line:          #E3E0D8;
  --nav-bg:        rgba(247, 245, 240, 0.90);
  --shadow:        0 20px 50px -25px rgba(23, 27, 33, 0.35);
  --radius-s:      6px;
  --radius-m:      14px;
  --radius-l:      28px;
  --maxw:          1180px;
  --font-display:  'Jost', 'Century Gothic', 'Futura', sans-serif;
  --font-body:     'Inter', 'Helvetica Neue', Arial, sans-serif;
  /* Fixed dark navy for sections designed to always be an inverse (dark-bg,
     white-text) band regardless of light/dark theme — unlike --accent-strong,
     this is intentionally NOT redefined in the dark-mode blocks below. */
  --inverse-bg:    #1F3F5C;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:            #10141B;
    --bg-alt:        #151A22;
    --surface:       #171C25;
    --surface-2:     #1B212B;
    --ink:           #F1F0EA;
    --ink-soft:      #AEB6C2;
    --ink-faint:     #6E7684;
    --accent:        #75A6D6;
    --accent-strong: #A9CBEC;
    --accent-soft:   #1E2C3B;
    --accent-tint:   #182230;
    --line:          #262D38;
    --nav-bg:        rgba(16, 20, 27, 0.86);
    --shadow:        0 20px 50px -20px rgba(0, 0, 0, 0.6);
  }
}

:root[data-theme="dark"] {
  --bg:            #10141B;
  --bg-alt:        #151A22;
  --surface:       #171C25;
  --surface-2:     #1B212B;
  --ink:           #F1F0EA;
  --ink-soft:      #AEB6C2;
  --ink-faint:     #6E7684;
  --accent:        #75A6D6;
  --accent-strong: #A9CBEC;
  --accent-soft:   #1E2C3B;
  --accent-tint:   #182230;
  --line:          #262D38;
  --nav-bg:        rgba(16, 20, 27, 0.86);
  --shadow:        0 20px 50px -20px rgba(0, 0, 0, 0.6);
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

p { margin: 0; }

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

.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 18px;
}

.section {
  padding: 108px 0;
}
.section--tight { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section--surface { background: var(--surface-2); }

.section-head {
  max-width: 680px;
  margin: 0 0 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.section-head .lead {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 17px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-ghost.on-photo { color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost.on-photo:hover { background: #fff; color: var(--ink); }
.btn-arrow { transition: transform 0.25s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.logo .mark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 25px;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.logo .sub {
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--accent);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 13.5px;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--accent); }

.nav-right { display: flex; align-items: center; gap: 20px; }

.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-switch button {
  border: none;
  background: transparent;
  color: var(--ink-faint);
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 32px; height: 32px;
  flex-direction: column; justify-content: center; align-items: flex-end;
  gap: 6px;
}
.nav-toggle span { display: block; width: 100%; height: 1.5px; background: var(--ink); transition: all 0.25s ease; }
.nav-toggle span:nth-child(2) { width: 70%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,15,20,0.55) 0%, rgba(12,15,20,0.35) 38%, rgba(10,13,18,0.82) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  width: 100%;
  padding: 200px 0 96px;
}
.hero .eyebrow { color: #CFE0F1; }
.hero h1 {
  font-size: clamp(38px, 6.4vw, 76px);
  max-width: 15ch;
  color: #fff;
}
.hero .tagline {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.6vw, 19px);
  color: #E7EEF5;
  margin-top: 22px;
  letter-spacing: 0.03em;
}
.hero .desc {
  margin-top: 20px;
  max-width: 46ch;
  color: rgba(255,255,255,0.86);
  font-size: 16.5px;
}
.hero-actions { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.hero-credit {
  position: absolute; right: 24px; bottom: 18px; z-index: 1;
  font-size: 11px; color: rgba(255,255,255,0.55);
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; z-index: 1;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.75);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0)); animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0.3); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% {transform-origin: bottom;} 100% { transform: scaleY(0.3); transform-origin: bottom; } }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--inverse-bg);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  border-left: 1px solid rgba(255,255,255,0.18);
  padding-left: 24px;
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: #BFDAF2;
}

/* ---------- About / mission ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: start;
}
.about-copy p + p { margin-top: 18px; }
.about-copy p { color: var(--ink-soft); font-size: 16.5px; }
.about-copy strong { color: var(--ink); font-weight: 600; }

.quote-block {
  margin-top: 34px;
  padding: 26px 28px;
  border-left: 2px solid var(--accent);
  background: var(--accent-tint);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
}
.quote-block p {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--accent-strong);
  letter-spacing: 0.01em;
}

.philosophy-list { display: flex; flex-direction: column; gap: 26px; }
.philosophy-list p { color: var(--ink-soft); font-size: 16px; }
.philosophy-list p:first-child { color: var(--ink); font-size: 17px; }

.pillars {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar {
  padding: 30px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}
.pillar .icon {
  width: 42px; height: 42px;
  color: var(--accent);
  margin-bottom: 18px;
}
.pillar h3 { font-size: 17px; font-weight: 500; }
.pillar p { margin-top: 10px; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Services (quick-switch console) ---------- */
.services-console {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.service-tabs {
  list-style: none;
  margin: 0; padding: 14px;
  background: var(--surface-2);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.service-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: var(--radius-s);
  border: none;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.service-tab .icon { width: 22px; height: 22px; flex: none; }
.service-tab .label { font-family: var(--font-display); font-size: 14.5px; letter-spacing: 0.01em; }
.service-tab .index { margin-left: auto; font-size: 11px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.service-tab:hover { background: var(--accent-tint); color: var(--ink); }
.service-tab[aria-selected="true"] {
  background: var(--accent);
  color: #fff;
}
.service-tab[aria-selected="true"] .index { color: rgba(255,255,255,0.75); }

.service-panels { position: relative; padding: 48px; min-height: 420px; }
.service-panel {
  display: none;
  animation: panelIn 0.35s ease;
}
.service-panel.is-active { display: block; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.service-panel .icon-lg { width: 46px; height: 46px; color: var(--accent); margin-bottom: 22px; }
.service-panel h3 { font-size: 26px; margin-bottom: 16px; }
.service-panel > p { color: var(--ink-soft); font-size: 16px; max-width: 62ch; }
.service-panel ul {
  margin: 24px 0 0; padding: 0; list-style: none;
  display: grid; gap: 12px;
}
.service-panel ul li {
  display: flex; gap: 12px; align-items: flex-start;
  color: var(--ink-soft); font-size: 15px;
}
.service-panel ul li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-top: 8px; flex: none;
}

/* ---------- Why WAAD (approach) ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.why-item { padding: 6px; }
.why-item .num {
  font-family: var(--font-display);
  font-size: 13px; color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.why-item h3 { font-size: 16px; font-weight: 500; }
.why-item p { margin-top: 10px; color: var(--ink-soft); font-size: 14px; }

/* ---------- Clients ---------- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.client-card {
  padding: 34px 30px;
  border-radius: var(--radius-m);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.client-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.client-card .icon { width: 38px; height: 38px; color: var(--accent); margin-bottom: 20px; }
.client-card h3 { font-size: 18px; font-weight: 500; }
.client-card p { margin-top: 12px; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.team-photo-wrap { position: relative; }
.team-photo {
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-frame {
  position: absolute; inset: -16px;
  border: 1px solid var(--accent);
  border-radius: calc(var(--radius-l) + 8px);
  z-index: -1;
}
.team-name { font-size: 15px; letter-spacing: 0.02em; margin-top: 20px; }
.team-name strong { display: block; font-family: var(--font-display); font-size: 19px; color: var(--ink); font-weight: 500; }
.team-name span { color: var(--ink-soft); font-size: 13.5px; }

.team-copy p + p { margin-top: 16px; }
.team-copy p { color: var(--ink-soft); font-size: 16px; }
.team-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.team-tags span {
  font-size: 12px; letter-spacing: 0.04em;
  padding: 7px 14px; border-radius: 999px;
  background: var(--accent-tint); color: var(--accent-strong);
  font-family: var(--font-display);
}
.team-cta { margin-top: 30px; }

/* ---------- Career track record ---------- */
.career-list {
  margin-top: 8px;
  border-left: 1px solid var(--line);
  margin-left: 6px;
}
.career-item {
  position: relative;
  padding: 0 0 40px 32px;
}
.career-item:last-child { padding-bottom: 0; }
.career-item::before {
  content: "";
  position: absolute; left: -6px; top: 4px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-alt);
}
.career-period {
  font-family: var(--font-display);
  font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.career-body h3 { font-size: 18px; font-weight: 500; }
.career-role {
  display: block;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 400;
  color: var(--ink-soft);
  margin-top: 2px;
}
.career-body p { margin-top: 8px; color: var(--ink-soft); font-size: 14.5px; max-width: 68ch; }
.career-earlier {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 13.5px;
}

/* ---------- Contact ---------- */
.contact {
  position: relative;
  background: var(--inverse-bg);
  color: #fff;
  overflow: hidden;
}
.contact-media { position: absolute; inset: 0; z-index: 0; opacity: 0.28; }
.contact-media img { width: 100%; height: 100%; object-fit: cover; }
.contact-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,29,43,0.86), rgba(17,29,43,0.95));
}
.contact-inner { position: relative; z-index: 1; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
}
.contact .eyebrow { color: #BFDAF2; }
.contact h2 { color: #fff; }
.contact-lead { margin-top: 18px; color: rgba(255,255,255,0.82); font-size: 16.5px; max-width: 42ch; }

.contact-list { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }
.contact-list a, .contact-list .row { display: flex; gap: 14px; align-items: flex-start; color: #fff; font-size: 15px; }
.contact-list .icon { width: 20px; height: 20px; color: #BFDAF2; flex: none; margin-top: 2px; }
.contact-list .label { display: block; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #9FBEDA; margin-bottom: 2px; }

.social-row { display: flex; gap: 12px; margin-top: 32px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.social-row a:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.social-row svg { width: 16px; height: 16px; }

.contact-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-l);
  padding: 40px;
  backdrop-filter: blur(6px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.form-row .field { margin-top: 0; }
.field label { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: #C9DCEC; }
.field input, .field textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-s);
  padding: 13px 15px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14.5px;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.4); }
.field input:focus, .field textarea:focus {
  outline: 2px solid #fff; outline-offset: 1px;
}
.contact-form .btn-primary { margin-top: 22px; width: 100%; justify-content: center; background: #fff; color: var(--inverse-bg); }
.contact-form .btn-primary:hover { background: #E7EEF5; }
.form-note { margin-top: 14px; font-size: 12.5px; color: rgba(255,255,255,0.6); }
.form-status { margin-top: 14px; font-size: 13.5px; display: none; }
.form-status.is-visible { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(241,240,234,0.72);
  padding: 56px 0 32px;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; flex-wrap: wrap;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-top .logo .mark, .footer-top .logo .sub { color: #F1F0EA; }
.footer-nav { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-nav a { font-size: 13.5px; color: rgba(241,240,234,0.72); }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  margin-top: 26px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: rgba(241,240,234,0.5);
}
.footer-bottom button { background: none; border: none; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Legal modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,13,18,0.6);
  display: none; align-items: flex-start; justify-content: center;
  padding: 64px 20px;
  overflow-y: auto;
}
.modal-backdrop.is-open { display: flex; }
.modal {
  background: var(--surface);
  color: var(--ink);
  max-width: 680px; width: 100%;
  border-radius: var(--radius-m);
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow);
}
.modal h2 { font-size: 22px; margin-bottom: 8px; }
.modal .modal-sub { color: var(--ink-faint); font-size: 13px; margin-bottom: 24px; }
.modal h3 { font-size: 14px; margin-top: 22px; margin-bottom: 8px; letter-spacing: 0.02em; }
.modal p, .modal li { font-size: 14px; color: var(--ink-soft); }
.modal ul { padding-left: 18px; margin: 6px 0; }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent;
  cursor: pointer; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--surface-2); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Focus ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid, .team-grid, .contact-grid { grid-template-columns: 1fr; }
  .team-grid { gap: 40px; }
  .team-photo { max-width: 380px; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .services-console { grid-template-columns: 1fr; }
  .service-tabs { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--line); }
  .service-tab { flex: none; }
  .service-tab .label { white-space: nowrap; }
  .clients-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { padding: 0 22px; }
  .section { padding: 76px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { padding: 150px 0 70px; }
  .scroll-cue { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .pillars, .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stat { border-left: none; padding-left: 0; }
  .services-console { border-radius: var(--radius-m); }
  .service-panels { padding: 32px 24px; }
  .contact-form { padding: 26px; }
  .footer-top { flex-direction: column; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; inset: 84px 0 0 0; z-index: 90;
  background: var(--bg-alt);
  display: none;
  flex-direction: column;
  padding: 18px 22px 32px;
  gap: 4px;
  border-top: 1px solid var(--line);
  overflow-y: auto;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 16px;
}
