:root {
  --ink: #172026;
  --muted: #55636d;
  --subtle: #eef1f0;
  --paper: #f7f8f7;
  --white: #ffffff;
  --line: rgba(23, 32, 38, 0.1);
  --teal: #1b978d;
  --teal-dark: #147c74;
  --green: #5d8a65;
  --amber: #d79a34;
  --shadow: 0 18px 46px rgba(23, 32, 38, 0.1);
  --shadow-strong: 0 26px 70px rgba(23, 32, 38, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Avenir, "Avenir Next", Arial, sans-serif;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(247, 248, 247, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 900;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #e4eceb 44%, var(--teal) 100%);
  box-shadow: 0 10px 28px rgba(27, 151, 141, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.8vw, 34px);
  color: #46505a;
  font-size: 17px;
  font-weight: 900;
}

.site-nav a {
  padding: 12px 0;
  border-bottom: 3px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--teal-dark);
  border-color: var(--teal);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 3px 0;
  background: var(--ink);
}

.section-pad {
  padding-left: clamp(20px, 5vw, 72px);
  padding-right: clamp(20px, 5vw, 72px);
}

.hero {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1fr);
  align-items: center;
  gap: clamp(38px, 5vw, 72px);
  padding-top: 64px;
  padding-bottom: 48px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(48px, 5.7vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.08;
}

.lead,
.section-heading p,
.feature-copy p,
.about-grid p,
.contact-copy p {
  color: var(--muted);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.38;
}

.lead {
  max-width: 660px;
  margin-bottom: 32px;
}

.button-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 18px 34px rgba(27, 151, 141, 0.22);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--teal-dark);
}

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

.hero-image,
.feature-image {
  width: 100%;
  aspect-ratio: 1.16;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 90px;
}

.summary-card,
.service-card {
  min-height: 126px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.summary-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 160ms ease, border-color 160ms ease;
}

.summary-card:hover,
.summary-card:focus-visible {
  border-color: rgba(27, 151, 141, 0.45);
  transform: translateY(-3px);
}

.summary-card strong {
  margin-bottom: 10px;
  font-size: 25px;
}

.summary-card span,
.service-card p,
.check-list,
.credential-list,
.form-note {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.4;
}

.services,
.about {
  padding-top: 92px;
  padding-bottom: 96px;
  background: var(--white);
}

.section-heading {
  max-width: 980px;
  margin-bottom: 36px;
}

.section-heading.compact {
  margin-bottom: 20px;
}

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

.service-card {
  min-height: 280px;
}

.card-number {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 8px;
  background: #e7f4f2;
  color: var(--teal-dark);
  font-weight: 900;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  padding-top: 96px;
  padding-bottom: 96px;
  background: linear-gradient(135deg, #f7f8f7 0%, #eef4f2 100%);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 30px;
  list-style: none;
}

.check-list li {
  padding-left: 24px;
  position: relative;
}

.check-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.64em;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 42px;
  align-items: start;
}

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

.credential-list span {
  padding: 18px 20px;
  background: var(--paper);
  border-left: 6px solid var(--teal);
  border-radius: 8px;
  color: #35434c;
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.72fr);
  gap: 56px;
  padding-top: 96px;
  padding-bottom: 96px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.contact-links a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: #35434c;
  font-weight: 900;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: #35434c;
  font-size: 15px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(23, 32, 38, 0.16);
  border-radius: 8px;
  background: #fbfcfc;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(27, 151, 141, 0.18);
  border-color: var(--teal);
}

.form-note {
  margin: -4px 0 0;
  font-size: 14px;
}

.site-footer {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: #202a31;
  color: rgba(255, 255, 255, 0.8);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: white;
  font-weight: 900;
}

@media (max-width: 1080px) {
  .hero,
  .feature,
  .contact,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .hero-image,
  .feature-image {
    max-height: 560px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 76px;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    display: none;
    position: fixed;
    inset: 76px 16px auto 16px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-strong);
  }

  .site-nav.is-open {
    display: grid;
    gap: 8px;
  }

  .site-nav a {
    padding: 14px 10px;
  }

  .hero {
    gap: 30px;
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(44px, 13vw, 58px);
  }

  h2 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .service-strip,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-strip {
    padding-bottom: 64px;
  }

  .services,
  .feature,
  .about,
  .contact {
    padding-top: 70px;
    padding-bottom: 72px;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 24px;
    padding-bottom: 24px;
  }
}
