:root {
  --ink: #172522;
  --muted: #5d6965;
  --line: #d9e1dc;
  --paper: #fbfaf5;
  --soft: #eef4ef;
  --accent: #0d6b58;
  --accent-dark: #084b3f;
  --gold: #b98b32;
  --blue: #2d6678;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(23, 33, 31, 0.12);
  --shadow-soft: 0 12px 30px rgba(23, 37, 34, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(13, 107, 88, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 107, 88, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 36px 36px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(251, 252, 247, 0.92);
  border-bottom: 1px solid rgba(220, 228, 223, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(145deg, var(--accent-dark), var(--accent));
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 15px;
}

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

.nav-cta {
  padding: 10px 14px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--accent-dark);
  font-weight: 700;
  background: rgba(13, 107, 88, 0.06);
}

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

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(42px, 7vw, 92px) clamp(20px, 5vw, 72px) 42px;
  background:
    linear-gradient(125deg, rgba(13, 107, 88, 0.12), rgba(255, 255, 255, 0) 44%),
    radial-gradient(circle at 90% 15%, rgba(185, 139, 50, 0.18), transparent 28%);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 21px;
  line-height: 1.18;
}

.hero-lead {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--accent);
}

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

.button.secondary {
  border-color: var(--line);
  background: var(--white);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
}

.trust-list li {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-panel {
  width: min(100%, 520px);
  justify-self: center;
  padding: 24px;
  border: 1px solid rgba(220, 228, 223, 0.9);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-top span {
  color: var(--muted);
}

.panel-top strong {
  color: var(--accent-dark);
}

.hero-credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}

.hero-credentials div {
  padding: 16px;
  border-radius: 8px;
  background: var(--soft);
}

.hero-credentials strong,
.hero-credentials span {
  display: block;
}

.hero-credentials strong {
  font-size: 30px;
  line-height: 1.05;
}

.hero-credentials span {
  margin-top: 8px;
  color: var(--muted);
}

.hero-checklist {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 22px 0;
  list-style: none;
}

.hero-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
}

.hero-checklist li::before {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-block: 1px solid var(--line);
  background: var(--white);
}

.logo-strip span {
  padding: 9px 14px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.image-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: var(--white);
}

.image-feature-copy p,
.image-feature-copy address,
.office-photo figcaption,
.contact-address,
.site-footer address {
  color: var(--muted);
}

.image-feature-copy address,
.contact-address,
.site-footer address {
  font-style: normal;
  font-weight: 800;
}

.office-photo {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.office-photo img {
  display: block;
  width: 100%;
  height: clamp(260px, 32vw, 430px);
  object-fit: cover;
  object-position: center 58%;
}

.office-photo figcaption {
  padding: 12px 16px;
  font-size: 14px;
  background: var(--white);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
}

.services-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card,
figure {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover,
figure:hover,
.switch-grid article:hover,
.association-points article:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 107, 88, 0.28);
  box-shadow: var(--shadow);
}

.card p,
.two-column p,
.contact-copy p,
figure blockquote,
.article-list small,
.knowledge-item p,
.site-footer p {
  color: var(--muted);
}

.icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--ink);
}

.proof-band div {
  padding: 34px 22px;
  color: var(--white);
  background: var(--ink);
}

.proof-band strong,
.proof-band span {
  display: block;
}

.proof-band strong {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
}

.proof-band span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.association-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  background: var(--white);
}

.association-copy p,
.association-points span,
.switch-grid p {
  color: var(--muted);
}

.association-points {
  display: grid;
  gap: 14px;
}

.association-points article {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.steps {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.steps span {
  color: var(--gold);
  font-weight: 900;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.switch-section {
  background: var(--soft);
}

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

.switch-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.switch-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--accent-dark);
  font-weight: 900;
}

figure blockquote {
  margin: 0 0 18px;
  font-size: 19px;
}

figcaption {
  font-weight: 800;
}

.knowledge {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
}

.article-list {
  display: grid;
  gap: 12px;
}

.knowledge-item {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.knowledge-item[open] {
  border-color: rgba(13, 107, 88, 0.34);
  box-shadow: var(--shadow);
}

.knowledge-item summary {
  display: grid;
  gap: 6px;
  padding: 20px;
  cursor: pointer;
  list-style: none;
}

.knowledge-item summary::-webkit-details-marker {
  display: none;
}

.knowledge-item summary::after {
  content: "+";
  justify-self: end;
  margin-top: -34px;
  color: var(--accent-dark);
  font-size: 28px;
  font-weight: 800;
}

.knowledge-item[open] summary::after {
  content: "-";
}

.article-list span {
  font-size: 20px;
  font-weight: 800;
  padding-right: 36px;
}

.knowledge-item p {
  margin: 0;
  padding: 0 20px 20px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  background: var(--ink);
  color: var(--white);
}

.contact-section .eyebrow,
.contact-section p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-note {
  display: grid;
  gap: 4px;
  width: fit-content;
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.contact-address {
  margin-top: 18px;
}

.contact-section .contact-address {
  color: rgba(255, 255, 255, 0.86);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-progress {
  display: flex;
  gap: 10px;
  margin-bottom: 4px;
}

.form-progress span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: var(--paper);
  font-weight: 900;
}

.form-progress span.active {
  color: var(--white);
  border-color: var(--accent);
  background: var(--accent);
}

.form-step {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  border: 0;
}

.form-step.active {
  display: grid;
}

.form-step legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  font-size: 20px;
  font-weight: 900;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.form-status.success {
  padding: 16px;
  border: 1px solid rgba(13, 107, 88, 0.24);
  border-radius: 8px;
  background: var(--soft);
}

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--accent-dark);
  font-weight: 800;
}

.form-status strong,
.form-status span {
  display: block;
}

.form-status span {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 600;
}

.mobile-action-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 20;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(217, 225, 220, 0.9);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.mobile-action-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  color: var(--white);
  background: var(--accent);
  font-weight: 900;
}

.mobile-action-bar a:nth-child(2) {
  color: var(--accent-dark);
  background: var(--soft);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(20px, 5vw, 72px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer a {
  display: block;
  color: var(--accent-dark);
  font-weight: 800;
  text-align: right;
}

.site-footer address {
  margin-top: 10px;
}

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: 73px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .menu-button {
    display: block;
  }

  .hero,
  .split,
  .image-feature,
  .association-section,
  .two-column,
  .knowledge,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .proof-band,
  .switch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 82px;
  }

  .site-header {
    padding-inline: 16px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.02;
  }

  h2 {
    font-size: 30px;
  }

  .hero,
  .section {
    padding-inline: 16px;
  }

  .services-grid,
  .testimonial-grid,
  .switch-grid,
  .proof-band,
  .lead-form,
  .form-step,
  .hero-credentials {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .form-actions .button {
    flex: 1 1 100%;
  }

  .steps li {
    grid-template-columns: 1fr;
  }

  .office-photo img {
    height: 240px;
    object-position: center center;
  }

  .mobile-action-bar {
    display: grid;
  }

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

  .site-footer a {
    text-align: left;
  }
}
