:root {
  --bg: #ffffff;
  --ink: #0b0f17;
  --muted: #667085;
  --line: #d9e2ef;
  --soft: #f6f9fd;
  --soft-2: #e8f1fb;
  --brand: #3f78b8;
  --brand-dark: #2e5f96;
  --brand-deep: #173a63;
  --accent: #3f78b8;
  --card: #ffffff;
  --shadow: 0 20px 55px rgba(11, 15, 23, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; }

.skip-link {
  position: absolute;
  top: -40px;
  left: 12px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--brand);
  color: white;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}
.section { padding: 92px 0; }
.section-sm { padding: 44px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(228, 231, 236, 0.75);
  transition: box-shadow 180ms ease, background 180ms ease;
}
.site-header.scrolled { box-shadow: 0 10px 35px rgba(16, 24, 40, 0.08); }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.brand-logo { width: 218px; height: auto; }
.hero-logo { width: min(420px, 100%); height: auto; margin: 0 0 26px; }
.footer-logo { width: 240px; height: auto; filter: brightness(0) invert(1); opacity: 0.96; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  font-weight: 800;
}
.brand-text { font-size: 1.25rem; }
.site-nav { display: flex; align-items: center; gap: 28px; font-weight: 600; color: #344054; }
.nav-cta { color: var(--brand); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #0b0f17; margin: 5px 0; transition: transform 180ms ease; }

.hero {
  padding-top: 106px;
  background:
    radial-gradient(circle at top left, rgba(63, 120, 184, 0.18), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.75fr; gap: 54px; align-items: center; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(2.65rem, 6vw, 5.45rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
  margin-bottom: 26px;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin-bottom: 20px;
}
h3 { font-size: 1.15rem; line-height: 1.25; margin-bottom: 10px; letter-spacing: -0.025em; }
p { color: var(--muted); }
.hero-subtitle, .lead { font-size: 1.15rem; color: #475467; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--brand); color: white; box-shadow: 0 10px 24px rgba(63, 120, 184, 0.25); }
.button-primary:hover { color: white; background: var(--brand-dark); }
.button-secondary { background: white; border-color: var(--line); color: var(--ink); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
}
.hero-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.74);
}
.hero-stats dt { font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.hero-stats dd { margin: 4px 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.35; }
.hero-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: #0b0f17;
  color: white;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: -80px -70px auto auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(63, 120, 184, 0.28);
}
.card-topline { color: #a9c9ed; font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 28px; }
.hero-card h2 { font-size: clamp(1.85rem, 3vw, 2.75rem); color: white; }
.hero-card p, .hero-card li { color: #d0d5dd; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li { margin: 12px 0; padding-left: 28px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #a9c9ed; font-weight: 800; }

.logo-band { background: #0b0f17; color: white; }
.band-label { color: #98a2b3; font-weight: 700; text-transform: uppercase; letter-spacing: 0.11em; font-size: 0.75rem; }
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.client-grid span { padding: 16px; border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; color: #f2f4f7; background: rgba(255,255,255,0.04); text-align: center; font-weight: 700; }

.section-heading { max-width: 760px; margin-bottom: 42px; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card, .approach-item, .timeline-item, .contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  padding: 26px;
}
.service-card { min-height: 236px; transition: transform 180ms ease, box-shadow 180ms ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(16, 24, 40, 0.1); }
.icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: var(--soft-2);
  font-weight: 800;
  margin-bottom: 22px;
}
.muted-section { background: var(--soft); }
.two-col { display: grid; grid-template-columns: 0.82fr 1fr; gap: 58px; align-items: start; }
.timeline { display: grid; gap: 16px; }
.timeline-item span { color: var(--brand); font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; }
.approach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.approach-item { background: linear-gradient(180deg, #ffffff, #fbfdff); }
.cta-section { padding-top: 0; }
.cta-card {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding: 38px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0b0f17, #173a63);
  color: white;
  box-shadow: var(--shadow);
}
.cta-card h2 { color: white; }
.cta-card p { color: #d0d5dd; }
.contact-grid { display: grid; grid-template-columns: 0.82fr 1fr; gap: 54px; align-items: start; }
.contact-details { margin-top: 28px; }
.contact-details p { color: #475467; }
.contact-details a { color: var(--brand); font-weight: 700; }
.contact-form { display: grid; gap: 12px; }
.contact-form label { font-weight: 800; color: #344054; font-size: 0.9rem; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: white;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(63, 120, 184, 0.20); border-color: var(--brand); }
.form-note { font-size: 0.84rem; margin: 2px 0 0; }
.site-footer { padding: 46px 0; background: #05070b; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 24px; align-items: center; }
.footer-brand .brand-mark { background: white; color: var(--brand); }
.site-footer p, .site-footer a { color: #d0d5dd; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 700; }
.copyright { margin: 0; white-space: nowrap; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .section { padding: 70px 0; }
  .hero-grid, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: 1fr; }
  .cta-card { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .copyright { white-space: normal; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px; border-radius: 12px; }
  .site-nav a:hover { background: var(--soft); }
}

@media (max-width: 620px) {
  .brand-logo { width: 176px; }
  .hero-logo { width: min(330px, 100%); }
  .footer-logo { width: 210px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .hero { padding-top: 74px; }
  .cards-grid, .approach-grid, .client-grid { grid-template-columns: 1fr; }
  .hero-card, .cta-card { padding: 24px; }
  h1 { font-size: 3rem; }
  .hero-actions .button { width: 100%; }
}
