@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #16232e;
  --navy-deep: #0e1b26;
  --blue-deep: #2a6f9e;
  --blue: #4CA0D8;
  --blue-light: #b7d4e8;
  --taupe: #6B6560;
  --bg: #fbfaf8;
  --card-border: #e2ded8;
  --text: #232323;
  --muted: #6b6b6b;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 4px 18px rgba(22, 35, 46, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Sora', 'Segoe UI', sans-serif; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(22, 35, 46, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand .brand-icon { height: 46px; width: 46px; }

.brand-name {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: 0.2px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
}

.main-nav a {
  display: inline-block;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  color: var(--navy);
  border-radius: var(--radius);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.main-nav a:hover { transform: translateY(-1px); }

.main-nav a:hover,
.main-nav a.active {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: var(--white);
  box-shadow: 0 6px 16px rgba(42, 111, 158, 0.28);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--navy);
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--navy-deep) 0%, #16324a 45%, var(--blue-deep) 100%);
  color: var(--white);
  padding: 90px 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(183, 212, 232, 0.18) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -140px;
  right: -120px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 160, 216, 0.35) 0%, rgba(76, 160, 216, 0) 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero .eyebrow, .cta-band .eyebrow { color: var(--blue-light); }

.hero h1 {
  font-weight: 800;
  font-size: 2.3rem;
  line-height: 1.25;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 28px;
  max-width: 48ch;
}

.hero-image img {
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: var(--white);
  font-weight: 700;
  font-family: 'Sora', sans-serif;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 0.96rem;
  box-shadow: 0 10px 26px rgba(42, 111, 158, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(42, 111, 158, 0.48); }

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(42, 111, 158, 0.35); }
  50% { box-shadow: 0 10px 30px rgba(76, 160, 216, 0.7); }
}

.hero .btn:not(.btn-outline),
.cta-band .btn,
.intake-card .btn {
  animation: btnPulse 2.8s ease-in-out infinite;
}

.hero .btn:not(.btn-outline):hover,
.cta-band .btn:hover,
.intake-card .btn:hover {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .hero .btn:not(.btn-outline), .cta-band .btn, .intake-card .btn { animation: none; }
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  margin-left: 12px;
  box-shadow: none;
}

.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-outline-navy {
  background: transparent;
  border: 2px solid var(--blue-deep);
  color: var(--blue-deep);
  box-shadow: none;
}

.btn-outline-navy:hover { background: var(--blue-deep); color: var(--white); transform: translateY(-3px); }

/* Value props */
.value-props { padding: 60px 0; background: var(--bg); }

.value-props .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  background: var(--white);
  padding: 32px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 4px solid var(--blue);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(42, 111, 158, 0.22);
}

.value-card .icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(42, 111, 158, 0.3);
}

.value-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--navy); }
.value-card p { color: var(--muted); font-size: 0.95rem; }

/* Section generic */
.section { padding: 72px 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-header h2 {
  display: inline-block;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 14px;
  position: relative;
}

.section-header h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
}

.section-header p { color: var(--muted); }

/* Principle / function blocks (shared visual language with the Proposal/Case Study docs) */
.principle-list { max-width: 820px; margin: 0 auto; }

.principle {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--card-border);
  transition: transform 0.18s ease;
}

.principle:hover { transform: translateX(6px); }

.principle:last-child { border-bottom: none; }

.principle .num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(42, 111, 158, 0.3);
}

.principle-title { display: block; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.principle p, .principle { color: var(--muted); font-size: 0.97rem; }

/* Services / function grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border-top: 4px solid var(--blue);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(42, 111, 158, 0.22);
  border-top-color: var(--blue-deep);
}

.service-card .body { padding: 24px; }

.func-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  margin-bottom: 14px;
  box-shadow: 0 6px 14px rgba(42, 111, 158, 0.3);
}

.service-card h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 10px; }
.service-card h4 { font-size: 0.85rem; color: var(--blue-deep); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.service-card p { color: var(--muted); font-size: 0.93rem; }

/* Stat strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius);
  padding: 32px 24px;
  margin: 0 auto;
  box-shadow: 0 20px 44px rgba(22, 35, 46, 0.28);
}

.stat-item { text-align: center; }
.stat-item .num {
  display: block;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--white) 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-item .lbl { display: block; font-size: 0.78rem; color: var(--blue-light); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.4px; line-height: 1.3; }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 55%, var(--blue-deep) 100%);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(183, 212, 232, 0.14) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  pointer-events: none;
}

.cta-band .container { position: relative; z-index: 1; }

.cta-band h2 { font-size: 1.7rem; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 26px; }

/* About / phase track */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.phase-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.phase {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.phase:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(42, 111, 158, 0.22);
}

.phase-num {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 6px 14px rgba(42, 111, 158, 0.3);
}

.phase h4 { color: var(--navy); font-size: 1rem; margin-bottom: 8px; }
.phase p { color: var(--muted); font-size: 0.9rem; }

.checkpoint {
  max-width: 760px;
  margin: 32px auto 0;
  background: var(--bg);
  border-left: 4px solid var(--blue);
  padding: 16px 20px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.checkpoint b { color: var(--navy); }

.pullquote {
  max-width: 780px;
  margin: 0 auto;
  padding: 32px 40px;
  background: var(--bg);
  border-left: 4px solid var(--blue-deep);
  border-radius: 6px;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
}

.pullquote span { display: block; margin-top: 12px; font-size: 0.85rem; font-style: normal; font-weight: 600; color: var(--muted); }

/* Cost table */
table.cost-table { width: 100%; border-collapse: collapse; max-width: 900px; margin: 0 auto; }
table.cost-table th, table.cost-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--card-border); font-size: 0.92rem; }
table.cost-table th { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--white); font-family: 'Sora', sans-serif; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.4px; }
table.cost-table td { color: var(--muted); }
table.cost-table td:first-child { color: var(--navy); font-weight: 600; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--card-border); padding: 22px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item dt { font-family: 'Sora', sans-serif; font-weight: 700; color: var(--navy); margin-bottom: 8px; font-size: 1.02rem; }
.faq-item dd { color: var(--muted); font-size: 0.95rem; }

ul.check-list { list-style: none; margin-top: 18px; }
ul.check-list li { padding-left: 28px; position: relative; margin-bottom: 10px; color: var(--text); }
ul.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-deep);
  font-weight: 700;
}

/* Contact */
.intake-card {
  background: var(--bg);
  padding: 40px 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 4px solid var(--blue);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 720px;
  margin: 0 auto;
}

.intake-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(42, 111, 158, 0.2);
}

.intake-card h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: 12px; }
.intake-card p { color: var(--muted); margin-bottom: 24px; }

form.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--card-border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(76, 160, 216, 0.2);
}

.field textarea { resize: vertical; min-height: 130px; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.85); padding: 48px 0 24px; }

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }

.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-icon { height: 34px; width: 34px; }
.footer-brand span { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--white); }

.footer-grid h4 { color: var(--white); margin-bottom: 14px; font-size: 0.95rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--blue-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

/* Responsive */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .value-props .grid,
  .services-grid,
  .footer-grid,
  .phase-track,
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .about-grid, .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .main-nav { position: fixed; inset: 78px 0 0 0; background: var(--white); display: none; flex-direction: column; padding: 20px; }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; }
  .nav-toggle { display: block; }
  .value-props .grid, .services-grid, .footer-grid, .phase-track, .stat-strip { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.7rem; }
}
