@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=DM+Serif+Display:ital@0;1&display=swap');

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

:root {
  --navy: #0c1a35;
  --navy-mid: #152847;
  --navy-light: #1e3a6e;
  --blue: #2a6cbf;
  --blue-light: #5eaaf7;
  --blue-pale: #a8d4ff;
  --slate: #4a6080;
  --muted: #7a93b0;
  --border: rgba(255, 255, 255, 0.08);
  --border-light: #dde5f2;
  --white: #ffffff;
  --off-white: #f5f7fb;
  --text-dark: #0c1a35;
  --text-mid: #3d5470;
  --text-muted: #6b80a0;
  --radius: 10px;
  --radius-lg: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--border);
  padding: 0 2.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  color: var(--white);
  display: flex;
  align-items: center;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-logo span {
  color: var(--blue-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  background: var(--blue-light);
  color: var(--navy) !important;
  padding: 8px 18px;
  border-radius: 6px;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--blue-pale) !important;
  color: var(--navy) !important;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 3rem 2.5rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 0.75rem;
  display: block;
  text-decoration: none;
}

.footer-brand .logo span {
  color: var(--blue-light);
}

.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 500;
  color: var(--blue-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--slate);
}

/* ── SHARED SECTIONS ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3.5rem 0;
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 0.75rem;
}

.eyebrow.dark {
  color: var(--blue);
}

h1,
h2,
h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: clamp(32px, 5vw, 52px);
}

h2 {
  font-size: clamp(26px, 3.5vw, 38px);
}

h3 {
  font-size: 20px;
}

.lead {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--blue-light);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--blue-pale);
}

.btn-outline {
  background: transparent;
  color: var(--blue-pale);
  border: 1px solid rgba(168, 212, 255, 0.3);
}

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

.btn-dark {
  background: var(--navy);
  color: var(--white);
  border: 1px solid var(--border-light);
}

.btn-dark:hover {
  background: var(--navy-mid);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy);
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 170, 247, 0.06) 0%, transparent 70%);
}

.page-hero .eyebrow {
  color: var(--blue-light);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero .lead {
  color: var(--muted);
  max-width: 600px;
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

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

/* ── SERVICE BLOCKS ── */
.service-block {
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.service-block h3 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.service-block p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 1.5rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  font-size: 12px;
  font-weight: 500;
  background: #e8f1fd;
  color: var(--blue);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid #c8dcf5;
}

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 0;
}

/* ── FORM ── */
.form-group {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 11px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(94, 170, 247, 0.12);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.6s ease both;
}

.fade-up-2 {
  animation: fadeUp 0.6s 0.1s ease both;
}

.fade-up-3 {
  animation: fadeUp 0.6s 0.2s ease both;
}

.fade-up-4 {
  animation: fadeUp 0.6s 0.3s ease both;
}

/* ── HOW WE WORK GRID ── */
.how-we-work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav {
    justify-content: center;
  }

  .nav-logo img {
    display: block;
    margin: 0 auto;
  }

  .nav-links {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .how-we-work-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .how-we-work-grid>div:first-child {
    text-align: center;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 1.25rem;
  }
}