:root {
  --navy-950: #07152E;
  --navy-900: #0B1E3F;
  --navy-800: #122A55;
  --navy-700: #1C3A6E;
  --navy-600: #294D85;
  --navy-500: #3E6BA8;
  --navy-100: #E8EEF7;
  --navy-050: #F4F7FB;

  --orange-600: #D94F14;
  --orange-500: #E85D1F;
  --orange-400: #F27330;

  --ink-900: #0E1726;
  --ink-700: #2A3648;
  --ink-500: #5B6677;
  --ink-400: #8591A3;
  --ink-300: #B9C1CD;
  --ink-200: #E1E6ED;
  --ink-100: #EEF1F6;
  --ink-050: #F7F9FC;
  --paper: #FFFFFF;

  --success: #1E8E5A;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --shadow-sm: 0 1px 2px rgba(11, 30, 63, 0.06), 0 1px 1px rgba(11, 30, 63, 0.04);
  --shadow-md: 0 6px 16px -4px rgba(11, 30, 63, 0.12), 0 2px 4px rgba(11, 30, 63, 0.06);
  --shadow-lg: 0 24px 48px -12px rgba(11, 30, 63, 0.22), 0 8px 16px -8px rgba(11, 30, 63, 0.14);

  --font-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

html[data-type="manrope-inter"] {
  --font-head: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}
html[data-type="archivo-plex"] {
  --font-head: 'Archivo', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
}
html[data-type="instrument-inter"] {
  --font-head: 'Instrument Serif', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}
html[data-type="instrument-inter"] h1,
html[data-type="instrument-inter"] h2,
html[data-type="instrument-inter"] h3 { font-weight: 400; letter-spacing: -0.01em; }

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: transparent;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
}
.nav.scrolled {
  background: rgba(7, 21, 46, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.brand-dot { color: var(--orange-500); font-size: 26px; line-height: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: #fff; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--orange-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--orange-500);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: background 0.2s, transform 0.1s;
}
.nav-cta:hover { background: var(--orange-600); }
.nav-cta:active { transform: translateY(1px); }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  width: 40px; height: 40px;
  color: #fff;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  color: #fff;
  overflow: hidden;
  padding: 140px 0 80px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,21,46,0.78) 0%, rgba(7,21,46,0.55) 40%, rgba(7,21,46,0.88) 100%),
    linear-gradient(90deg, rgba(7,21,46,0.92) 0%, rgba(7,21,46,0.35) 55%, rgba(7,21,46,0.15) 100%);
  z-index: 1;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.78);
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.04);
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(232, 93, 31, 0.2);
}
.hero h1 {
  font-size: clamp(44px, 6.2vw, 84px);
  margin-top: 22px;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.hero h1 .accent {
  color: var(--orange-500);
  font-style: italic;
}
html[data-type="instrument-inter"] .hero h1 .accent { font-style: italic; }
.hero-sub {
  margin-top: 22px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
}
.hero-actions {
  margin-top: 38px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all 0.2s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange-500);
  color: #fff;
  box-shadow: 0 6px 16px -4px rgba(232,93,31,0.45);
}
.btn-primary:hover {
  background: var(--orange-600);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -6px rgba(232,93,31,0.55);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.35);
}
.btn-dark {
  background: var(--navy-900);
  color: #fff;
}
.btn-dark:hover { background: var(--navy-800); }
.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--ink-200);
}
.btn-outline:hover { border-color: var(--navy-900); background: var(--navy-050); }

.hero-meta {
  position: relative;
  z-index: 2;
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.14);
  max-width: 900px;
}
.hero-meta-item .label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}
.hero-meta-item .value {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

/* ---------- PARTNERS ---------- */
.partners {
  padding: 56px 0 48px;
  background: var(--paper);
  border-bottom: 1px solid var(--ink-100);
}
.partners-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-500);
  text-align: center;
  margin-bottom: 32px;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 8px;
}
.partner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  color: var(--ink-500);
  filter: grayscale(1);
  opacity: 0.72;
  transition: all 0.25s;
  padding: 0 8px;
  border-right: 1px solid var(--ink-100);
}
.partner:last-child { border-right: 0; }
.partner:hover { opacity: 1; color: var(--navy-900); filter: grayscale(0.1); }

/* Amey */
.lg-amey {
  display: flex; align-items: center; gap: 4px;
  font-family: var(--font-head);
  font-size: 28px; font-weight: 700; letter-spacing: -0.04em;
  color: currentColor;
}
.lg-amey .chev {
  width: 0; height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 11px solid currentColor;
  margin-left: 2px;
}

/* Balfour Beatty */
.lg-balfour {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  font-family: var(--font-head);
  font-weight: 700; letter-spacing: -0.02em;
  line-height: 1;
  color: currentColor;
}
.lg-balfour .r1 { font-size: 18px; }
.lg-balfour .r2 { font-size: 18px; }
.lg-balfour .bar {
  width: 32px; height: 3px; background: currentColor;
  margin-top: 4px;
}

/* Milestone */
.lg-milestone {
  display: flex; align-items: center; gap: 6px;
}
.lg-milestone .mk {
  width: 22px; height: 22px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.lg-milestone .txt {
  font-family: var(--font-head);
  font-size: 19px; font-weight: 700; font-style: italic;
  letter-spacing: -0.02em;
  color: currentColor;
}

/* KIER */
.lg-kier {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: currentColor;
}
.lg-kier .txt {
  font-family: var(--font-head);
  font-size: 26px; font-weight: 800;
  letter-spacing: 0.02em;
  font-stretch: condensed;
  transform: scaleX(0.88);
}
.lg-kier .block {
  width: 52px; height: 6px; background: currentColor;
}

/* National Highways */
.lg-nh {
  display: flex; align-items: center; gap: 8px;
  color: currentColor;
}
.lg-nh .mk {
  width: 28px; height: 24px;
  background: currentColor;
  clip-path: polygon(15% 0, 85% 0, 100% 50%, 85% 100%, 15% 100%, 0 50%);
  position: relative;
}
.lg-nh .mk::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 2px; height: 12px;
  background: #fff;
}
.lg-nh .txt {
  display: flex; flex-direction: column; line-height: 1;
  font-family: var(--font-head);
  font-weight: 700; letter-spacing: -0.01em;
}
.lg-nh .txt span:first-child { font-size: 12px; }
.lg-nh .txt span:last-child { font-size: 15px; margin-top: 2px; }

/* ---------- SERVICES ---------- */
.section {
  padding: 120px 0;
}
.section-header {
  max-width: 780px;
  margin-bottom: 64px;
}
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--orange-500);
  font-weight: 500;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--orange-500);
}
.section h2 {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--navy-900);
  margin-bottom: 20px;
}
.section-lede {
  font-size: 18px;
  color: var(--ink-500);
  max-width: 620px;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--navy-900);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.service-card:hover {
  border-color: var(--navy-900);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-400);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.service-icon {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
}
.service-card h3 {
  font-size: 24px;
  color: var(--navy-900);
  margin-bottom: 14px;
  line-height: 1.2;
}
.service-desc {
  color: var(--ink-500);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.6;
}
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--ink-100);
  padding-top: 20px;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-700);
  padding: 8px 0;
}
.service-list li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  background: var(--navy-900);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8l3.5 3.5L13 5' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8l3.5 3.5L13 5' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}

/* ---------- WHY CHOOSE ---------- */
.why {
  background: var(--navy-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.why-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.why h2 { color: #fff; }
.why .section-eyebrow { color: var(--orange-400); }
.why .section-eyebrow::before { background: var(--orange-400); }
.why-lede { color: rgba(255,255,255,0.72); font-size: 18px; line-height: 1.6; max-width: 520px; }

.why-list {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
}
.why-list li {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  align-items: center;
}
.why-list li:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }
.why-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange-400);
}
.why-item-text { font-size: 17px; font-weight: 500; color: rgba(255,255,255,0.95); }
.why-item-text small {
  display: block;
  font-weight: 400;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-top: 3px;
}

.why-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--navy-800);
}
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7,21,46,0.5) 100%);
}
.why-badge {
  position: absolute;
  left: 24px; bottom: 24px; right: 24px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: rgba(7, 21, 46, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.why-badge-text { font-size: 13px; color: rgba(255,255,255,0.7); font-family: var(--font-mono); letter-spacing: 0.04em; }
.why-badge-certs { display: flex; gap: 8px; }
.why-badge-cert {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #fff;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  letter-spacing: 0.08em;
}

/* ---------- STATS ---------- */
.stats {
  background: var(--navy-050);
  padding: 100px 0;
  border-bottom: 1px solid var(--ink-100);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--ink-200);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  background: var(--paper);
  padding: 48px 32px;
  text-align: left;
}
.stat-value {
  font-family: var(--font-head);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 600;
  color: var(--navy-900);
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex;
  align-items: baseline;
}
.stat-value .suffix {
  font-size: 0.5em;
  color: var(--orange-500);
  margin-left: 4px;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-500);
  margin-top: 14px;
}
.stat-desc {
  font-size: 14px;
  color: var(--ink-500);
  margin-top: 10px;
  max-width: 200px;
  line-height: 1.45;
}

/* ---------- TESTIMONIAL ---------- */
.testimonial {
  padding: 120px 0;
  background: var(--paper);
}
.testimonial-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.quote-mark {
  font-family: var(--font-head);
  font-size: 80px;
  color: var(--orange-500);
  line-height: 0.6;
  margin-bottom: 24px;
}
.testimonial blockquote {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.25;
  color: var(--navy-900);
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.02em;
}
html[data-type="instrument-inter"] .testimonial blockquote { font-weight: 400; font-style: italic; }
.testimonial cite {
  display: block;
  margin-top: 32px;
  font-style: normal;
  font-size: 14px;
  color: var(--ink-500);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}
.testimonial cite strong { color: var(--navy-900); font-weight: 600; }

/* ---------- CAPABILITY CTA ---------- */
.cta-band {
  background: var(--navy-900);
  color: #fff;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 70%);
}
.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.cta-inner h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); }
.cta-inner p { color: rgba(255,255,255,0.72); margin-top: 14px; font-size: 17px; max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-ghost-light { padding: 16px 26px; }

/* ---------- FOOTER ---------- */
footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { color: #fff; font-size: 28px; font-family: var(--font-head); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px; }
.footer-brand .dot { color: var(--orange-500); }
.footer-desc { max-width: 320px; line-height: 1.6; }
.footer h4 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-weight: 500;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-links a:hover { color: var(--orange-400); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}
.footer-certs { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-cert {
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 0.1em;
}

/* ---------- MODAL ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 21, 46, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal {
  background: var(--paper);
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-lg);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--ink-100);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.modal-header h3 { color: var(--navy-900); font-size: 22px; margin-bottom: 6px; }
.modal-header p { color: var(--ink-500); font-size: 14px; }
.modal-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink-100);
  color: var(--ink-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.modal-close:hover { background: var(--ink-200); }

.steps-indicator {
  display: flex;
  gap: 8px;
  padding: 16px 32px 0;
}
.step-dot {
  flex: 1;
  height: 3px;
  background: var(--ink-200);
  border-radius: 2px;
  transition: background 0.3s;
}
.step-dot.active { background: var(--orange-500); }
.step-dot.completed { background: var(--navy-900); }

.modal-body { padding: 24px 32px 28px; }
.step { display: none; }
.step.active { display: block; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
  margin-bottom: 8px;
}
.field label .req { color: var(--orange-500); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink-900);
  background: var(--paper);
  transition: all 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-900);
  box-shadow: 0 0 0 3px rgba(11,30,63,0.1);
}
.field textarea { resize: vertical; min-height: 90px; }
.field-error { border-color: var(--orange-500) !important; }
.error-msg {
  color: var(--orange-500);
  font-size: 12px;
  margin-top: 6px;
  display: none;
}
.error-msg.show { display: block; }

.radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.radio-tile {
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  padding: 14px;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}
.radio-tile:hover { border-color: var(--ink-400); }
.radio-tile input { display: none; }
.radio-tile.selected {
  border-color: var(--navy-900);
  background: var(--navy-050);
  box-shadow: 0 0 0 1px var(--navy-900);
}
.radio-tile .tile-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all 0.15s;
}
.radio-tile.selected .tile-check {
  border-color: var(--navy-900);
  background: var(--navy-900);
}
.radio-tile.selected .tile-check::after {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
}
.tile-title { font-weight: 500; color: var(--navy-900); }
.tile-desc { font-size: 12px; color: var(--ink-500); margin-top: 2px; }

.modal-footer {
  padding: 18px 32px 24px;
  border-top: 1px solid var(--ink-100);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.modal-footer .btn { padding: 12px 20px; font-size: 14px; }

.success-state {
  text-align: center;
  padding: 20px 0;
}
.success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--navy-050);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.success-state h3 { color: var(--navy-900); font-size: 22px; margin-bottom: 10px; }
.success-state p { color: var(--ink-500); font-size: 15px; max-width: 400px; margin: 0 auto; }

/* ---------- MOBILE DRAWER ---------- */
.drawer {
  position: fixed;
  inset: 0;
  background: var(--navy-950);
  z-index: 150;
  padding: 80px 32px 32px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer a {
  display: block;
  color: #fff;
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 500;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.drawer-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
}

/* ---------- TWEAKS ---------- */
.tweaks-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 280px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 300;
  font-family: var(--font-body);
  display: none;
  overflow: hidden;
}
.tweaks-panel.open { display: block; }
.tweaks-header {
  padding: 14px 18px;
  background: var(--navy-900);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.tweaks-body { padding: 18px; }
.tweaks-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-500);
  font-family: var(--font-mono);
  margin-bottom: 10px;
}
.tweak-option {
  display: block;
  padding: 10px 12px;
  margin-bottom: 6px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  transition: all 0.15s;
  color: var(--ink-700);
}
.tweak-option:hover { border-color: var(--ink-400); }
.tweak-option.active {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}
.tweak-option .tweak-preview {
  display: block;
  font-size: 11px;
  opacity: 0.7;
  margin-top: 2px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 120px 0 60px; min-height: 0; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .partner { font-size: 18px; }
  .partner:nth-child(4), .partner:nth-child(5) { display: none; }
  .section { padding: 80px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-photo { aspect-ratio: 16/10; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .container { padding: 0 20px; }
  .section-header { margin-bottom: 48px; }
}
@media (max-width: 560px) {
  .radio-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
}
