:root {
  --ink: #111827;
  --muted: #3e4855;
  --line: #dbe2e1;
  --soft: #f4fbf8;
  --green: #159a77;
  --green-dark: #0a7561;
  --footer: #101b27;
  --footer-2: #0b1520;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(20, 31, 45, .09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--white);
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  width: 100%;
  padding: 24px clamp(22px, 5vw, 72px);
  background: rgba(255, 255, 255, .93);
  border-bottom: 1px solid rgba(219, 226, 225, .7);
  backdrop-filter: blur(14px);
}

.brand img,
.footer-brand img {
  width: 190px;
  height: auto;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 4vw, 54px);
  font-size: 15px;
  font-weight: 700;
}

.primary-nav a {
  position: relative;
  padding: 9px 0;
}

.primary-nav a::after {
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--green);
  transition: width .2s ease;
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
  width: 100%;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.header-cta,
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #18a982, #0f846c);
  box-shadow: 0 16px 30px rgba(21, 154, 119, .22);
}

.header-cta:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(21, 154, 119, .28);
}

.btn-outline {
  border: 1px solid #a9b4b2;
  color: #111827;
  background: rgba(255, 255, 255, .72);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(340px, .9fr) minmax(420px, 1.1fr);
  min-height: 640px;
  overflow: hidden;
  border-radius: 0 0 18px 18px;
  background: radial-gradient(circle at 13% 83%, #dff4ef 0, rgba(223, 244, 239, 0) 28%), #f8fbfa;
}

.hero-content {
  align-self: center;
  padding: 78px 0 78px clamp(28px, 7vw, 88px);
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: 1.09;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--green);
}

.hero p {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 38px;
}

.hero-image {
  min-height: 560px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section,
.about-section,
.why-section {
  padding: 38px clamp(24px, 7vw, 120px);
}

.services {
  padding-top: 36px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.18;
  letter-spacing: 0;
}

.title-rule {
  width: 46px;
  height: 3px;
  margin: 18px auto 24px;
  background: var(--green);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.service-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 26px;
  align-items: center;
  padding: 34px 30px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(20, 31, 45, .04);
}

.service-card h3,
.why-grid h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.25;
}

.service-card p,
.why-grid p,
.about-copy p {
  margin: 0;
  color: var(--muted);
}

.service-card a {
  display: inline-flex;
  gap: 12px;
  margin-top: 18px;
  color: var(--green-dark);
  font-weight: 900;
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: #e8f5f1;
}

.icon-badge.small {
  width: 86px;
  height: 86px;
}

.icon-badge.small img {
  width: 48px;
  height: 48px;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(380px, 1.2fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding-top: 18px;
  padding-bottom: 42px;
}

.about-copy h2 {
  max-width: 460px;
  margin-bottom: 24px;
}

.about-copy p + p {
  margin-top: 20px;
}

.about-copy .btn {
  margin-top: 24px;
}

.about-media img {
  width: 100%;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.why-section {
  padding-top: 36px;
  padding-bottom: 46px;
  background: linear-gradient(180deg, #f8faf9, #fff);
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1180px;
  margin: 22px auto 0;
}

.why-grid article {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 22px;
  align-items: center;
  padding: 0 30px;
  text-align: left;
  border-right: 1px solid #ccd5d3;
}

.why-grid article:last-child {
  border-right: 0;
}

.site-footer {
  color: #fff;
  background: radial-gradient(circle at 8% 0, rgba(21, 154, 119, .14), transparent 26%), linear-gradient(135deg, var(--footer), var(--footer-2));
  padding: 54px clamp(24px, 7vw, 78px) 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr;
  gap: clamp(34px, 6vw, 76px);
  max-width: 1220px;
  margin: 0 auto;
}

.footer-brand img {
  filter: brightness(0) invert(1);
}

.footer-brand p,
.site-footer li,
.contact-block p {
  color: rgba(255, 255, 255, .82);
}

.footer-brand p {
  max-width: 290px;
  margin: 22px 0;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 50%;
  font-weight: 800;
}

.site-footer h2 {
  margin: 0 0 18px;
  font-size: 17px;
}

.site-footer ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer a:hover {
  color: #7ce0c4;
}

.contact-block p {
  position: relative;
  margin: 0 0 16px;
  padding-left: 32px;
}

.contact-block span {
  position: absolute;
  left: 0;
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1220px;
  margin: 42px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom span {
  margin: 0 18px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    gap: 18px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .primary-nav,
  .header-cta {
    display: none;
  }

  .primary-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    padding-top: 12px;
  }

  .primary-nav.is-open a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 64px clamp(24px, 7vw, 70px) 36px;
  }

  .hero-image {
    min-height: 380px;
  }

  .service-grid,
  .about-section,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .why-grid article {
    border-right: 0;
    border-bottom: 1px solid #ccd5d3;
    padding: 22px 0;
  }

  .why-grid article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 16px 20px;
  }

  .brand img,
  .footer-brand img {
    width: 156px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-actions,
  .footer-bottom {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .service-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .icon-badge {
    margin: 0 auto;
  }

  .why-grid article {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    display: grid;
  }
}
