:root {
  --bg: #ffffff;
  --text: #222428;
  --muted: #5f666b;
  --soft: #f7f8f7;
  --line: #e4e5e4;
  --accent: #35a997;
  --accent-dark: #20796f;
  --nav: #17191b;
  --max: 1180px;
  --copy: 820px;
  --header-expanded: 190px;
  --header-collapsed: 82px;
  --logo-expanded: 300px;
  --logo-collapsed: 92px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-collapsed) + 24px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Avenir Next", Avenir, "Gill Sans", "Trebuchet MS", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-expanded);
  background: rgba(255,255,255,.985);
  transition: height .24s ease, box-shadow .24s ease, border-color .24s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  height: var(--header-collapsed);
  border-bottom-color: var(--line);
  box-shadow: 0 5px 18px rgba(0,0,0,.045);
}
.nav-row {
  height: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
}
.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-right { justify-content: flex-end; }
.nav-left a,
.nav-right a {
  color: var(--nav);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1;
  white-space: nowrap;
}
.nav-left a.active,
.nav-right a.active { font-weight: 800; }
.nav-left a:hover,
.nav-right a:hover { color: var(--accent-dark); }
.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.logo {
  width: var(--logo-expanded);
  max-width: 34vw;
  display: block;
  transition: width .24s ease, transform .24s ease;
  image-rendering: auto;
}
.site-header.is-scrolled .logo { width: var(--logo-collapsed); }
.icon-user {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #111;
}

.site-main { padding-top: var(--header-expanded); min-height: 72vh; }
.section { padding: 58px 36px; }
.section-tight { padding: 28px 36px; }
.section-large { padding: 96px 36px; }
.container { max-width: var(--max); margin: 0 auto; }
.copy { max-width: var(--copy); margin: 0 auto; }
.center { text-align: center; }
.left { text-align: left; }

h1, h2, h3, h4 {
  margin: 0 0 18px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.23;
}
h1.page-title,
h2.section-title {
  color: var(--accent);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: .105em;
  text-align: center;
}
h1.hero-title {
  max-width: 920px;
  margin: 0 auto 14px;
  font-size: clamp(30px, 3.1vw, 43px);
  font-weight: 400;
  letter-spacing: .025em;
  text-align: center;
}
h2 { font-size: clamp(23px, 2.2vw, 31px); }
h3 { font-size: 21px; }
p { margin: 0 0 18px; color: var(--muted); }
strong { color: var(--text); font-weight: 800; }
.divider {
  display: block;
  width: 56px;
  height: 2px;
  background: var(--line);
  margin: 28px auto 0;
}

.btn-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 214px;
  min-height: 56px;
  padding: 14px 28px;
  border: 1px solid rgba(32,121,111,.62);
  border-radius: 999px;
  color: var(--accent-dark);
  background: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .13em;
}
.btn:hover { background: rgba(53,169,151,.07); color: var(--accent-dark); }
.btn-solid { background: var(--accent-dark); color: #fff; border-color: var(--accent-dark); }
.btn-solid:hover { background: #185e56; color: #fff; }
.btn-small { min-width: 168px; min-height: 48px; }

.hero-copy {
  max-width: 960px;
  margin: 0 auto;
  color: #202225;
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.48;
  text-align: center;
}
.hero-subcopy { max-width: 780px; margin: 18px auto 0; text-align: center; color: var(--muted); font-size: 18px; }
.price-line { font-size: clamp(22px, 2.2vw, 28px); color: #202225; margin-top: 14px; }
.price-line strong { letter-spacing: .05em; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 58px 74px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px; }
.service-card { text-align: center; }
.service-card h3 { margin-bottom: 18px; font-size: 23px; font-weight: 500; }
.service-card p { max-width: 360px; margin-left: auto; margin-right: auto; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 30px;
}
.card h2, .card h3 { margin-bottom: 13px; }
.card ul, .legal ul, .feature-list { margin: 0 0 0 20px; padding: 0; color: var(--muted); }
.card li, .legal li, .feature-list li { margin: 8px 0; }
.kicker {
  margin-bottom: 8px;
  color: var(--accent-dark);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .15em;
}
.callout {
  margin: 28px 0;
  padding: 26px 28px;
  background: var(--soft);
  border-left: 4px solid var(--accent);
}
.quote-box {
  margin: 20px 0;
  padding: 22px 26px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 20px;
}
.steps { counter-reset: step; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; position: relative; margin: 0 0 16px; padding-left: 46px; color: var(--muted); }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(32,121,111,.55);
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; max-width: 1120px; margin: 0 auto; }
.form-field,
textarea {
  width: 100%;
  min-height: 56px;
  margin-bottom: 26px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--text);
  font: inherit;
}
textarea { min-height: 220px; padding-top: 18px; resize: vertical; }
.form-note { margin-top: 22px; text-align: center; font-size: 14px; }
.contact-block { margin-bottom: 44px; }
.contact-block h2 { font-size: 24px; font-weight: 400; }
.hours { white-space: pre-line; }

.legal { max-width: 830px; margin: 0 auto; }
.legal h2 { margin-top: 32px; font-size: 20px; font-weight: 800; text-decoration: underline; }
.legal h3 { margin-top: 26px; font-size: 17px; font-weight: 800; }
.legal p { margin-bottom: 18px; }

.footer { margin-top: 54px; padding: 42px 36px; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; color: var(--muted); font-size: 14px; }
.footer a { display: block; margin-bottom: 8px; color: var(--accent-dark); text-decoration: none; }
.footer a.inline { display: inline; margin: 0; text-decoration: underline; }

@media (max-width: 860px) {
  :root { --header-expanded: 150px; --header-collapsed: 74px; --logo-expanded: 190px; --logo-collapsed: 76px; }
  .nav-row { padding: 0 18px; gap: 12px; grid-template-columns: 1fr auto 1fr; }
  .nav-left, .nav-right { gap: 14px; flex-wrap: wrap; align-content: center; }
  .nav-left a, .nav-right a { font-size: 11px; letter-spacing: .08em; }
  .icon-user { width: 20px; height: 20px; }
  .section, .section-tight, .section-large { padding-left: 22px; padding-right: 22px; }
  .section-large { padding-top: 60px; padding-bottom: 60px; }
  .grid-3, .grid-2, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .grid-3 { gap: 42px; }
  .hero-copy { font-size: 22px; }
}

@media (max-width: 520px) {
  :root { --header-expanded: 132px; --header-collapsed: 68px; --logo-expanded: 138px; --logo-collapsed: 64px; }
  .nav-row { padding: 0 12px; }
  .nav-left, .nav-right { gap: 8px; }
  .nav-left a, .nav-right a { font-size: 10px; letter-spacing: .05em; }
  .nav-right a:not(.icon-user) { max-width: 94px; white-space: normal; text-align: right; line-height: 1.25; }
  h1.page-title, h2.section-title { letter-spacing: .07em; }
  .btn { width: 100%; min-width: 0; }
}
