/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #1a2744;
  --navy-light: #2a3d5e;
  --sky-blue: #5ba4d9;
  --sky-blue-light: #87c4f0;
  --sky-blue-pale: #e8f2fb;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f0f2f5;
  --gray-200: #e2e5ea;
  --gray-400: #9aa1ad;
  --gray-600: #5a6270;
  --gray-800: #2d3240;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--sky-blue);
  text-decoration: none;
}

a:hover {
  color: var(--navy);
}

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo {
  height: 60px;
  width: auto;
}

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

.nav a {
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--navy);
}

.nav .nav-cta {
  background: var(--navy);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
}

.nav .nav-cta:hover {
  background: var(--navy-light);
  color: var(--white);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 24px;
  z-index: 99;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--gray-600);
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0;
}

.mobile-nav .nav-cta {
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
}

/* === Buttons === */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.btn-primary {
  background: var(--sky-blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy);
  color: var(--white);
}

/* === Hero === */
.hero {
  padding: 160px 0 100px;
  background:
    linear-gradient(180deg, rgba(26,39,68,0.45) 0%, rgba(26,39,68,0.25) 100%),
    url('/assets/hero-sky.png') center/cover no-repeat;
  color: var(--white);
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  max-width: 720px;
  margin: 0 auto 24px;
}

.hero-sub {
  font-size: 20px;
  line-height: 1.5;
  color: var(--white);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero .btn-primary {
  background: var(--white);
  color: var(--sky-blue);
}

.hero .btn-primary:hover {
  background: var(--navy-light);
}

/* === Sections === */
.section {
  padding: 80px 0;
}

.section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-intro {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 680px;
  margin-bottom: 48px;
}

/* === How We Help === */
.how-we-help {
  background: var(--gray-50);
  text-align: center;
}

.how-we-help .section-intro {
  margin-left: auto;
  margin-right: auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--sky-blue);
  border-radius: 12px;
  padding: 32px 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.benefit:hover {
  border-color: var(--sky-blue);
  box-shadow: 0 8px 24px rgba(91, 164, 217, 0.15);
  transform: translateY(-4px);
}

.benefit:hover .benefit-icon {
  background: var(--navy);
  color: var(--white);
}

.benefit-icon {
  color: var(--sky-blue);
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--sky-blue-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
}

.benefit p {
  font-size: 15px;
  color: var(--gray-800);
  font-weight: 600;
  line-height: 1.4;
}

/* === Services === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--sky-blue);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--sky-blue-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-blue);
  margin-bottom: 16px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card:hover {
  border-color: var(--sky-blue);
  box-shadow: 0 4px 20px rgba(91, 164, 217, 0.1);
}

.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-for {
  font-size: 14px;
  color: var(--sky-blue);
  font-weight: 500;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray-600);
  margin-bottom: 16px;
}

.pricing-note {
  background: var(--sky-blue-pale);
  border-radius: 8px;
  padding: 24px;
}

.pricing-note p {
  font-size: 14px;
  color: var(--gray-600);
  margin: 0;
}

/* === How It Works === */
.how-it-works {
  background: var(--gray-50);
}

.steps {
  display: flex;
  gap: 24px;
}

.step {
  flex: 1;
  text-align: center;
  padding: 24px 16px;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--gray-600);
}

/* === About === */
.about-layout {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  max-width: 840px;
}

.about-headshot {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.about-content {
  max-width: 720px;
}

.about-content p {
  font-size: 17px;
  color: var(--gray-600);
  margin-bottom: 20px;
  line-height: 1.7;
}

/* === Credentials === */
.credentials {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--gray-200);
}

.credential-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 48px;
}

.credential-stat {
  text-align: center;
}

.credential-number {
  display: block;
  font-size: 42px;
  font-weight: 800;
  color: var(--sky-blue);
  line-height: 1;
  margin-bottom: 8px;
}

.credential-label {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.4;
  max-width: 140px;
}

.logo-wall {
  text-align: center;
}

.logo-wall-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.logo-wall-names {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 2.2;
  max-width: 720px;
  margin: 0 auto;
  letter-spacing: 0.3px;
}

/* === Case Study === */
.case-study {
  background: var(--gray-50);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.case-study-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--sky-blue);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.case-study-card:hover {
  border-color: var(--sky-blue);
  box-shadow: 0 4px 20px rgba(91, 164, 217, 0.1);
}

.case-study-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.case-study-intro {
  font-size: 15px;
  color: var(--sky-blue);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 16px;
}

.case-study-card p {
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.7;
  font-size: 15px;
}

.case-study-card .results-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: auto 0 20px;
}

.case-study-card .result {
  padding: 16px 8px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.case-study-card .result-number {
  font-size: 24px;
}

.case-study-card .result-label {
  font-size: 12px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 24px 0;
}

.result {
  text-align: center;
  padding: 24px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
}

.result-number {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--sky-blue);
  margin-bottom: 4px;
}

.result-label {
  font-size: 14px;
  color: var(--gray-600);
}

/* === Case Study Link (homepage) === */
.case-study-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--sky-blue);
  transition: color 0.2s;
}

.case-study-link:hover {
  color: var(--navy);
}

/* === Case Study Page === */
.case-study-page {
  padding: 120px 0 96px;
}

.case-study-page h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  max-width: 720px;
}

.case-study-back {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 32px;
  transition: color 0.2s;
}

.case-study-back:hover {
  color: var(--navy);
}

.case-study-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 48px;
  padding: 20px 24px;
  background: var(--sky-blue-pale);
  border-radius: 8px;
  max-width: 720px;
}

.case-study-meta span {
  font-size: 14px;
  color: var(--gray-600);
}

.case-study-meta strong {
  color: var(--navy);
}

.case-study-body {
  max-width: 720px;
}

.case-study-body h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 48px;
  margin-bottom: 16px;
}

.case-study-body h2:first-child {
  margin-top: 0;
}

.case-study-body p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 16px;
}

.case-study-body ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
}

.case-study-body li {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 8px;
}

.case-study-body .results-grid {
  grid-template-columns: repeat(4, 1fr);
}

.case-study-cta {
  max-width: 720px;
  margin-top: 64px;
  padding: 48px;
  background: var(--gray-50);
  border-radius: 12px;
  text-align: center;
}

.case-study-cta h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.case-study-cta p {
  color: var(--gray-600);
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* === Contact === */
.contact {
  text-align: center;
}

.contact-headline {
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.contact > .container > p {
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 32px;
}

.contact-actions {
  margin-bottom: 64px;
}

.contact-alt {
  margin-top: 16px;
  font-size: 14px;
  color: var(--gray-400);
}

.contact-alt a {
  color: var(--sky-blue);
}

/* Intake Form */
.intake-form {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
  background: var(--gray-50);
  border-radius: 12px;
  padding: 40px;
}

.intake-form h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
  text-align: center;
}

.intake-form form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.intake-form .btn {
  width: 100%;
  margin-top: 4px;
}

.optional {
  font-weight: 400;
  color: var(--gray-400);
}

.form-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--gray-400);
  text-align: center;
}

.form-success {
  text-align: center;
  font-size: 17px;
  color: var(--navy);
  font-weight: 500;
  padding: 24px 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-800);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sky-blue);
  box-shadow: 0 0 0 3px rgba(91, 164, 217, 0.15);
}

.intake-form .btn {
  width: 100%;
}

/* === Footer === */
.footer {
  background: var(--navy);
  color: var(--gray-400);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer p {
  font-size: 14px;
}

.footer a {
  color: var(--sky-blue-light);
}

/* === Responsive === */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding: 120px 0 72px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-sub {
    font-size: 17px;
  }

  .section {
    padding: 64px 0;
  }

  .section h2 {
    font-size: 28px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .steps {
    flex-direction: column;
    gap: 16px;
  }

  .step {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 16px;
    padding: 16px;
  }

  .step-number {
    margin: 0;
    flex-shrink: 0;
  }

  .step h3 {
    margin-bottom: 4px;
  }

  .credential-stats {
    flex-wrap: wrap;
    gap: 32px;
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
  }

  .results-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .case-study-card .results-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .case-study-body .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-study-page {
    padding: 100px 0 64px;
  }

  .case-study-page h1 {
    font-size: 28px;
  }

  .case-study-meta {
    flex-direction: column;
    gap: 8px;
  }

  .case-study-cta {
    padding: 32px 24px;
  }

  .about-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-headshot {
    width: 120px;
    height: 120px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .intake-form {
    padding: 24px;
  }

}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .container {
    padding: 0 16px;
  }

  .case-study-body .results-grid {
    grid-template-columns: 1fr;
  }

  .intake-form {
    padding: 16px;
  }
}
