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

:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --navy-mid: #1e3a5f;
  --blue: #3b82f6;
  --blue-hover: #2563eb;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --text-dark: #0f172a;
  --text-slate: #64748b;
  --text-slate-light: #94a3b8;
  --text-muted: #475569;
  --border-light: #e2e8f0;
  --border-dark: #334155;
  --gold: #f59e0b;
  --font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1100px;
  --nav-height: 64px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-stack);
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
}

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

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

/* ===== Shared Section Styles ===== */
.section-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-heading {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.section-heading--light {
  color: var(--white);
}

.section-subtext {
  color: var(--text-slate);
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s, opacity 0.2s;
  font-family: var(--font-stack);
}

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

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

.btn--secondary {
  background: transparent;
  color: var(--text-slate-light);
  border: 1px solid var(--border-dark);
}

.btn--secondary:hover {
  border-color: var(--text-slate-light);
  color: var(--white);
}

.btn--full {
  width: 100%;
  text-align: center;
}

.btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-light);
  transition: background-color 0.3s;
}

.nav--scrolled {
  background: rgba(15, 23, 42, 0.97);
}

.nav__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  font-size: 0.875rem;
  color: var(--text-slate-light);
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--white);
}

.nav__cta {
  background: var(--blue);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background-color 0.2s;
}

.nav__cta:hover {
  background: var(--blue-hover);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy) 100%);
  padding: 140px 24px 80px;
  text-align: center;
}

.hero__container {
  max-width: 650px;
  margin: 0 auto;
}

.hero__title {
  font-size: 2.75rem;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  font-weight: 700;
}

.hero__subtitle {
  color: var(--text-slate-light);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__trust {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__trust-divider {
  color: var(--border-dark);
}

/* ===== Services ===== */
.services {
  background: var(--light-bg);
  padding: 80px 24px;
  text-align: center;
}

.services__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 2rem;
}

.services__card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.services__card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.services__icon {
  color: var(--blue);
  margin-bottom: 12px;
}

.services__card h3 {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.services__card p {
  color: var(--text-slate);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ===== About ===== */
.about {
  background: var(--navy);
  padding: 80px 24px;
}

.about__container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: center;
}

.about__text {
  flex: 1;
}

.about__body {
  color: var(--text-slate-light);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.about__stats {
  display: flex;
  gap: 40px;
}

.about__stat {
  text-align: center;
}

.about__stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
}

.about__stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-slate);
  margin-top: 2px;
}

.about__image {
  flex: 0 0 280px;
  height: 240px;
  background: linear-gradient(135deg, var(--navy-light), var(--border-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== Results / Social Proof ===== */
.results {
  background: var(--light-bg);
  padding: 80px 24px;
  text-align: center;
}

.results__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 2rem;
}

.results__card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 28px;
  text-align: left;
}

.results__stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 12px;
}

.results__quote {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 16px;
}

.results__author {
  color: var(--text-slate);
  font-size: 0.8rem;
  font-weight: 600;
  font-style: normal;
}

/* ===== Process ===== */
.process {
  background: var(--navy);
  padding: 80px 24px;
  text-align: center;
}

.process__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.process__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 2.5rem;
}

.process__step {
  flex: 1;
  max-width: 240px;
  text-align: center;
}

.process__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-light);
  border: 2px solid var(--blue);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 16px;
}

.process__step h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 8px;
}

.process__step p {
  color: var(--text-slate);
  font-size: 0.85rem;
  line-height: 1.5;
}

.process__connector {
  width: 60px;
  height: 2px;
  background: var(--navy-light);
  flex-shrink: 0;
  margin-top: 24px;
}

/* ===== Contact ===== */
.contact {
  background: var(--light-bg);
  padding: 80px 24px;
  text-align: center;
}

.contact__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact__form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

.contact__row {
  display: flex;
  gap: 12px;
}

.contact__field {
  margin-bottom: 16px;
}

.contact__row .contact__field {
  flex: 1;
}

.contact__field label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-weight: 500;
}

.contact__field input,
.contact__field textarea,
.contact__field select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: var(--font-stack);
  background: var(--white);
  color: var(--text-dark);
  transition: border-color 0.2s;
}

.contact__field input:focus,
.contact__field textarea:focus,
.contact__field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.contact__field textarea {
  resize: vertical;
}

.contact__success {
  max-width: 500px;
  margin: 0 auto;
  padding: 40px 20px;
}

.contact__success h3 {
  color: var(--text-dark);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.contact__success p {
  color: var(--text-slate);
  font-size: 1rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  padding: 28px 24px;
  text-align: center;
  border-top: 1px solid var(--navy-light);
}

.footer__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ===== Mobile Responsive (<=768px) ===== */
@media (max-width: 768px) {
  /* Nav */
  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--navy-light);
  }

  .nav__links--open {
    display: flex;
  }

  .nav__cta {
    text-align: center;
  }

  /* Hamburger animation when open */
  .nav__hamburger--open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav__hamburger--open span:nth-child(2) {
    opacity: 0;
  }

  .nav__hamburger--open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Hero */
  .hero {
    padding: 120px 20px 60px;
  }

  .hero__title {
    font-size: 1.85rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__trust {
    flex-direction: column;
    gap: 8px;
  }

  .hero__trust-divider {
    display: none;
  }

  /* Section headings */
  .section-heading {
    font-size: 1.5rem;
  }

  /* Services */
  .services {
    padding: 60px 20px;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* About */
  .about {
    padding: 60px 20px;
  }

  .about__container {
    flex-direction: column;
    gap: 32px;
  }

  .about__image {
    flex: none;
    width: 100%;
    height: 200px;
  }

  .about__stats {
    justify-content: space-between;
  }

  /* Results */
  .results {
    padding: 60px 20px;
  }

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

  /* Process */
  .process {
    padding: 60px 20px;
  }

  .process__steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .process__connector {
    width: 2px;
    height: 32px;
    margin: 0;
  }

  /* Contact */
  .contact {
    padding: 60px 20px;
  }

  .contact__row {
    flex-direction: column;
    gap: 0;
  }

  /* Footer */
  .footer {
    padding: 24px 20px;
  }
}
