:root {
  --ink: #151515;
  --muted: #5d5d5d;
  --soft: #f6f2ec;
  --paper: #fffaf4;
  --line: #e5ddd2;
  --accent: #d36b3d;
  --accent-dark: #a94822;
  --green: #1e4032;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(21, 21, 21, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255, 250, 244, 0.88);
  border-bottom: 1px solid rgba(229, 221, 210, 0.7);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.9rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -0.045em;
  font-size: 1.12rem;
  line-height: 1.05;
}
.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--paper);
  font-weight: 900;
  font-size: 1.34rem;
  line-height: 1;
  letter-spacing: -0.09em;
  transform: translateY(1px);
}

.logo small {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.005em;
  margin-top: 0.15rem;
  line-height: 1.25;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.95rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 650;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 0.65rem 0.8rem;
  font-weight: 700;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.78rem 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(21, 21, 21, 0.12);
}
.button:hover { transform: translateY(-1px); }
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
.button.light {
  background: var(--paper);
  color: var(--ink);
  box-shadow: none;
}
.button.accent {
  background: var(--accent);
  color: var(--white);
}
.button.small { min-height: 38px; padding: 0.58rem 0.85rem; }

.nav-links a.button,
.nav-links a.button:visited {
  color: var(--white);
}
.nav-links a.button:hover,
.nav-links a.button[aria-current="page"] {
  color: var(--white);
  background: #2a2a2a;
}

main { overflow: hidden; }
.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.section { padding: 5rem 0; }
.section.compact { padding: 3rem 0; }

.hero {
  padding: 5.2rem 0 3.5rem;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto auto;
  width: 45vw;
  height: 45vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, rgba(211, 107, 61, 0.17), rgba(211, 107, 61, 0));
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr);
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}
h1, h2, h3 {
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin: 0;
}
h1 { font-size: clamp(2.7rem, 5.6vw, 4.9rem); }
h2 { font-size: clamp(2.2rem, 4vw, 3.75rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
.lede {
  font-size: clamp(1.16rem, 2vw, 1.45rem);
  color: #3a3a3a;
  margin: 1.35rem 0 0;
  max-width: 730px;
}
.copy {
  color: var(--muted);
  font-size: 1.05rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1.1rem;
  padding: 1rem 0 0;
  margin: 2rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  max-width: 760px;
}
.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--muted);
  background: transparent;
  font-size: 0.92rem;
  font-weight: 720;
}
.trust-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
  flex: 0 0 auto;
}

.diagnostic-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}
.diagnostic-card h2 {
  font-size: 1.3rem;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
}
.signal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.signal:last-child { border-bottom: 0; }
.signal span { color: var(--muted); font-weight: 650; }
.signal strong { color: var(--green); }
.card-note {
  margin: 1.1rem 0 0;
  background: var(--soft);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-weight: 700;
}

.band {
  background: var(--green);
  color: var(--paper);
  padding: 3.3rem 0;
}
.band-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}
.band-item {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  background: rgba(255,255,255,0.05);
}
.band-item strong { display: block; font-size: 1.7rem; line-height: 1; margin-bottom: 0.5rem; }
.band-item span { color: rgba(255,250,244,0.78); }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.section-head { max-width: 760px; margin-bottom: 2.4rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .copy { margin-top: 1rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem;
  box-shadow: 0 12px 40px rgba(21,21,21,0.04);
}
.what-section .section-head {
  max-width: 880px;
  margin-bottom: 1.8rem;
}
.equal-cards .card {
  min-height: 282px;
  display: flex;
  flex-direction: column;
}
.equal-cards .card-link {
  margin-top: auto;
}
.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--soft);
  margin-bottom: 1rem;
  color: var(--accent-dark);
  font-weight: 900;
}
.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--muted); margin: 0 0 1rem; }
.card ul, .check-list {
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}
.card li, .check-list li {
  position: relative;
  padding-left: 1.35rem;
  margin: 0.62rem 0;
  color: var(--muted);
}
.card li::before, .check-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  font-weight: 800;
  color: var(--ink);
  margin-top: 0.4rem;
}

.process {
  counter-reset: steps;
  display: grid;
  gap: 0.9rem;
}
.step {
  counter-increment: steps;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.2rem 1.2rem 4.3rem;
  position: relative;
}
.step::before {
  content: counter(steps);
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--paper);
  font-weight: 850;
}
.step h3 { font-size: 1.25rem; margin-bottom: 0.35rem; }
.step p { margin: 0; color: var(--muted); }

.cta-panel {
  background: var(--ink);
  color: var(--white);
  border-radius: calc(var(--radius) + 10px);
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow);
}
.cta-panel p { color: rgba(255,255,255,0.75); margin: 1rem 0 0; max-width: 680px; }

.page-hero {
  padding: 4.5rem 0 2.5rem;
}
.page-hero .lede { max-width: 860px; }
.breadcrumb {
  color: var(--muted);
  margin-bottom: 1.2rem;
  font-weight: 650;
  font-size: 0.92rem;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

.service-list {
  display: grid;
  gap: 1rem;
}
.service-row {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.5rem;
}
.service-row p { margin: 0; color: var(--muted); }
.service-row h2 { font-size: 1.8rem; }

.callout {
  background: rgba(246, 242, 236, 0.58);
  border: 0;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.4rem;
}
.callout strong { display: block; margin-bottom: 0.4rem; }

.quote {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin: 0;
}


.testimonials-section {
  background: linear-gradient(180deg, rgba(246, 242, 236, 0.45), rgba(246, 242, 236, 0));
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.testimonial-stack {
  display: grid;
  gap: 1rem;
}
.testimonial {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 12px 40px rgba(21,21,21,0.04);
}
.testimonial.featured {
  background: var(--green);
  color: var(--paper);
  border-color: rgba(255,255,255,0.14);
}
.testimonial blockquote {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  letter-spacing: -0.025em;
  font-weight: 780;
}
.testimonial.featured blockquote {
  font-size: 1.28rem;
}
.testimonial figcaption {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.testimonial.featured figcaption {
  border-top-color: rgba(255,255,255,0.18);
}
.testimonial figcaption strong,
.testimonial figcaption span {
  display: block;
}
.testimonial figcaption strong {
  font-weight: 850;
}
.testimonial figcaption span {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.18rem;
}
.testimonial.featured figcaption span {
  color: rgba(255,250,244,0.72);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-field { margin-bottom: 1rem; }
.form-field.full { grid-column: 1 / -1; }
label {
  display: block;
  font-weight: 800;
  margin-bottom: 0.4rem;
}
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}
textarea { min-height: 160px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  outline: 3px solid rgba(211, 107, 61, 0.18);
  border-color: var(--accent);
}
.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0.5rem 0 1.4rem;
  padding: 1rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.consent-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 0.25rem 0 0;
  padding: 0;
  border-radius: 4px;
  accent-color: var(--accent);
  cursor: pointer;
}

.consent-field label {
  margin: 0;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
  cursor: pointer;
}

.consent-field a {
  color: var(--ink);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.consent-field a:hover {
  color: var(--accent-dark);
}
.footer {
  border-top: 1px solid var(--line);
  padding: 2.4rem 0;
  color: var(--muted);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}
.footer a { color: var(--muted); text-decoration: none; font-weight: 700; }
.footer a:hover { color: var(--ink); }
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero-grid, .split, .service-row, .cta-panel { grid-template-columns: 1fr; }
  .cards, .band-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .equal-cards .card { min-height: auto; }
  .cta-panel { text-align: left; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 0.5rem;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 0.85rem 1rem; border-radius: 12px; }
  .nav-links a:hover { background: var(--soft); }
  .nav-links .button { margin: 0.4rem; }
}

@media (max-width: 620px) {
  .container, .nav { width: min(100% - 28px, var(--max)); }
  .hero { padding-top: 3.5rem; }
  .section { padding: 3.6rem 0; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  h1 { font-size: clamp(2.35rem, 12vw, 3.4rem); }
}
