:root {
  --background: #f7f4ef;
  --surface: #ffffff;
  --surface-soft: #efe8dc;
  --ink: #17201f;
  --muted: #65716f;
  --accent: #165f5a;
  --accent-dark: #0e3f3b;
  --accent-soft: #d8ebe7;
  --line: rgba(23, 32, 31, 0.12);
  --shadow: 0 24px 70px rgba(24, 42, 39, 0.13);
  --radius-large: 32px;
  --radius-medium: 22px;
  --radius-small: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(22, 95, 90, 0.13), transparent 36rem),
    var(--background);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 239, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(22, 95, 90, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  transition: color 180ms ease;
}

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

.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--ink);
}

.hero {
  padding-top: 104px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 8vw, 6.7rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.hero-text,
.section-heading p,
.approach-grid > div > p,
.result-card p,
.cta-card p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-text {
  max-width: 660px;
  margin-bottom: 34px;
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.button.primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(22, 95, 90, 0.24);
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
}

.button.light {
  background: #ffffff;
  color: var(--accent-dark);
  box-shadow: none;
}

.hero-card {
  position: relative;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius-large);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.62)),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero-card::before {
  position: absolute;
  inset: auto -90px -100px auto;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: rgba(22, 95, 90, 0.13);
  content: "";
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 72px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #2fa66f;
  box-shadow: 0 0 0 6px rgba(47, 166, 111, 0.14);
}

.metric {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.metric span,
.hero-card-grid small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.metric strong {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.progress-track {
  height: 12px;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-soft);
}

.progress-bar {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #6db3a9);
}

.hero-card-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.hero-card-grid div,
.service-card,
.result-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.74);
}

.hero-card-grid div {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.hero-card-grid strong {
  font-size: 1.05rem;
}

.trust-strip {
  padding: 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--line);
}

.trust-grid span {
  display: grid;
  min-height: 82px;
  place-items: center;
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 38px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  padding: 30px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.icon {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.approach-section {
  background: #182a27;
  color: #ffffff;
}

.approach-section .eyebrow,
.approach-section p {
  color: #b9d9d2;
}

.approach-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.06);
}

.step span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 800;
}

.step p {
  margin-bottom: 0;
}

.results-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 18px;
}

.result-card {
  padding: 28px;
}

.result-card.featured {
  grid-row: span 2;
  background: var(--accent-soft);
}

.result-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.result-card p {
  margin-bottom: 0;
}

.cta-section {
  padding-top: 34px;
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  align-items: start;
  gap: 32px;
  padding: 42px;
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.28), transparent 22rem),
    var(--accent);
  color: #ffffff;
}

.cta-card .eyebrow,
.cta-card p {
  color: #d5ece7;
}

.cta-card h2 {
  margin-bottom: 12px;
}

.cta-card p {
  max-width: 680px;
  margin-bottom: 0;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(14, 63, 59, 0.24);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #eef8f5;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-form input {
  min-height: 48px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 132px;
  padding: 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}

.contact-form .button {
  border: 0;
  cursor: pointer;
}

.form-hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.4em;
  font-size: 0.95rem;
  font-weight: 700;
}

.form-status.is-success {
  color: #e9fff5;
}

.form-status.is-error {
  color: #ffe6e6;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-grid p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .section {
    padding: 70px 0;
  }

  .hero {
    padding-top: 78px;
  }

  .hero-grid,
  .approach-grid,
  .cta-card,
  .results-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .result-card.featured {
    grid-row: auto;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav-links {
    position: fixed;
    inset: 76px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
  }

  .nav-toggle {
    display: block;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .services-grid,
  .trust-grid,
  .form-grid,
  .hero-card-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .service-card,
  .result-card,
  .cta-card {
    border-radius: 24px;
  }

  .hero-card {
    padding: 22px;
  }
}
