:root {
  color-scheme: light;
  --ink: #15201c;
  --muted: #586762;
  --soft: #f4f7f4;
  --paper: #ffffff;
  --line: rgba(21, 32, 28, 0.12);
  --line-strong: rgba(21, 32, 28, 0.2);
  --green: #1f6b55;
  --green-dark: #164d3f;
  --clay: #c7653d;
  --blue: #dce8ee;
  --amber: #f2c36b;
  --shadow: 0 18px 48px rgba(22, 36, 30, 0.11);
  --container: 1180px;
  --header: 74px;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--soft);
  color: var(--ink);
  font-family: inherit;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
  cursor: pointer;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: var(--header);
  background: rgba(244, 247, 244, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

.header-inner,
.header-actions,
.desktop-nav,
.brand {
  display: flex;
  align-items: center;
}

.header-inner {
  height: 100%;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 0.86rem;
}

.desktop-nav {
  gap: 28px;
}

.desktop-nav a,
.phone-link {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.phone-link:hover {
  color: var(--green);
}

.header-actions {
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  text-align: center;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease;
}

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

.button-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.button-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 28px rgba(31, 107, 85, 0.22);
}

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

.button-secondary {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.48);
  color: #fff;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
}

.button-secondary.dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.44);
}

.button-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.button-outline:hover {
  border-color: var(--green);
  color: var(--green);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
}

.menu-button span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition:
    top 0.22s ease,
    transform 0.22s ease,
    opacity 0.22s ease;
}

.menu-button span:first-child {
  top: 15px;
}

.menu-button span:last-child {
  top: 24px;
}

.menu-button.open span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

.menu-button.open span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

.mobile-panel {
  position: fixed;
  inset: var(--header) 0 0;
  z-index: 25;
  background: rgba(21, 32, 28, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.mobile-panel.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  width: min(100%, 360px);
  height: 100%;
  margin-left: auto;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 8px;
  background: var(--paper);
  box-shadow: -18px 0 46px rgba(21, 32, 28, 0.16);
  transform: translateX(100%);
  transition: transform 0.26s ease;
}

.mobile-panel.open .mobile-nav {
  transform: translateX(0);
}

.mobile-nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=2200&q=82');
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 24, 20, 0.92) 0%, rgba(13, 24, 20, 0.72) 42%, rgba(13, 24, 20, 0.3) 100%),
    linear-gradient(0deg, rgba(13, 24, 20, 0.58) 0%, rgba(13, 24, 20, 0.02) 42%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: 42px;
  padding: calc(var(--header) + 54px) 0 54px;
}

.hero-content {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--amber);
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 7.5vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

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

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 880px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px);
}

.hero-facts div {
  min-height: 106px;
  padding: 18px;
  display: grid;
  align-content: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-facts strong {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1;
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.trust-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
}

.trust-grid span {
  padding: 18px 12px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.trust-grid span:last-child {
  border-right: 1px solid var(--line);
}

.section {
  padding: 88px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head.narrow {
  display: block;
  max-width: 680px;
}

.section-head h2,
.outcomes-copy h2,
.faq-layout h2,
.contact-copy h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-head p:not(.section-kicker),
.outcomes-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid,
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.plan-card,
.timeline-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(21, 32, 28, 0.03);
}

.service-card {
  min-height: 290px;
  padding: 24px;
  display: grid;
  align-content: space-between;
  gap: 24px;
}

.service-card span {
  color: var(--green);
  font-weight: 800;
}

.service-card h3,
.timeline-step h3,
.plan-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.18;
}

.service-card p,
.timeline-step p,
.plan-card p,
.plan-card li,
.outcome-item span,
.faq-answer p,
.footer-inner {
  color: var(--muted);
}

.outcomes-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.outcomes-layout,
.faq-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 48px;
  align-items: start;
}

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

.outcome-item {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #f8faf8, #ffffff);
}

.outcome-item strong,
.outcome-item span {
  display: block;
}

.outcome-item strong {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.timeline-step {
  position: relative;
  min-height: 230px;
  padding: 24px;
  border-right: 0;
}

.timeline-step:last-child {
  border-right: 1px solid var(--line);
}

.timeline-step span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 54px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
}

.timeline-step::after {
  content: '';
  position: absolute;
  top: 41px;
  left: 64px;
  right: 0;
  height: 1px;
  background: var(--line-strong);
}

.timeline-step:last-child::after {
  display: none;
}

.plans-section {
  background: #edf3ef;
}

.plans-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-card {
  min-height: 430px;
  padding: 26px;
  display: grid;
  gap: 22px;
  align-content: start;
}

.plan-card.featured {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.plan-card.featured p,
.plan-card.featured li {
  color: rgba(255, 255, 255, 0.78);
}

.plan-top {
  min-height: 112px;
}

.price {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1;
  font-weight: 800;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 8px;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 18px;
}

.plan-card li::before {
  content: '';
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
}

.plan-card.featured li::before {
  background: var(--amber);
}

.faq-section {
  background: var(--paper);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  min-height: 74px;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: transparent;
  text-align: left;
}

.faq-question span:first-child {
  font-size: 1.08rem;
  font-weight: 800;
}

.faq-toggle {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--green);
  font-size: 1.25rem;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.24s ease;
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer p {
  padding-bottom: 22px;
}

.faq-item.open .faq-toggle {
  background: var(--green);
  color: #fff;
}

.contact-section {
  padding: 82px 0;
  background: var(--ink);
  color: #fff;
}

.contact-layout {
  align-items: center;
}

.contact-copy p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.76);
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.footer {
  padding: 24px 0;
  background: #101915;
  color: rgba(255, 255, 255, 0.6);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.92rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .desktop-nav,
  .phone-link,
  .header-actions .button {
    display: none;
  }

  .menu-button {
    display: inline-block;
  }

  .service-grid,
  .timeline,
  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-step,
  .timeline-step:last-child {
    border: 1px solid var(--line);
  }

  .timeline-step::after {
    display: none;
  }

  .section-head,
  .outcomes-layout,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --header: 66px;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand {
    font-size: 1rem;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(13, 24, 20, 0.92) 0%, rgba(13, 24, 20, 0.7) 100%),
      linear-gradient(0deg, rgba(13, 24, 20, 0.62) 0%, rgba(13, 24, 20, 0.05) 52%);
  }

  .hero-inner {
    padding: calc(var(--header) + 32px) 0 30px;
    gap: 24px;
  }

  h1 {
    max-width: 10ch;
    margin-bottom: 18px;
    font-size: clamp(2.2rem, 10.8vw, 3.15rem);
  }

  .hero-lead {
    margin-bottom: 22px;
    font-size: 1rem;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .trust-grid,
  .service-grid,
  .outcome-list,
  .timeline,
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-facts div {
    min-height: auto;
    padding: 12px 10px;
  }

  .hero-facts strong {
    font-size: 1.28rem;
  }

  .hero-facts span {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .trust-grid span,
  .trust-grid span:last-child {
    border-right: 1px solid var(--line);
  }

  .section {
    padding: 62px 0;
  }

  .section-head {
    gap: 16px;
    margin-bottom: 24px;
  }

  .service-card,
  .timeline-step,
  .plan-card,
  .outcome-item {
    min-height: auto;
  }

  .timeline-step span {
    margin-bottom: 28px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
