:root {
  --page-bg: #ece8e6;
  --surface: #fffdfc;
  --surface-soft: #f4f1ee;
  --surface-tint: #e4eeea;
  --text: #20323c;
  --text-soft: #5d6d74;
  --line: #ddd7d2;
  --brand: #2d8a70;
  --brand-deep: #1b6452;
  --brand-soft: #d9eee7;
  --shadow: 0 28px 60px rgba(25, 35, 43, 0.08);
  --radius-lg: 18px;
  --radius-xl: 28px;
  --content-width: 1040px;
  --page-gutter: max(1.5rem, calc((100vw - var(--content-width)) / 2));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.85), transparent 24rem),
    linear-gradient(180deg, #f6f3f2 0%, var(--page-bg) 100%);
}

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

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

.page-shell {
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  min-height: 100vh;
}

.site-header,
.section,
.site-footer {
  padding-inline: var(--page-gutter);
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-block: 1.5rem;
}

.brand {
  flex: 0 0 auto;
}

.brand img,
.footer-brand img {
  width: clamp(9.75rem, 19vw, 13rem);
}

.site-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav {
  width: 100%;
  color: #47575e;
}

.site-nav a,
.footer-nav a,
.footer-contact a {
  transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a:hover,
.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--brand);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.8rem 1.35rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

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

.button-solid {
  color: #fff;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: 0 12px 24px rgba(27, 100, 82, 0.18);
}

.button-solid:hover {
  box-shadow: 0 16px 28px rgba(27, 100, 82, 0.22);
}

.button-ghost {
  color: var(--text);
  border-color: transparent;
  background: rgba(32, 50, 60, 0.04);
}

.button-ghost:hover {
  background: rgba(32, 50, 60, 0.08);
}

.button-light {
  color: var(--text);
  background: #fff;
  box-shadow: 0 18px 28px rgba(18, 44, 37, 0.18);
}

.header-cta {
  font-size: 0.9rem;
}

.hero {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 0.5rem var(--page-gutter) 3.75rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6.2rem;
  background:
    radial-gradient(125% 180% at 25% 5%, rgba(195, 214, 206, 0.95) 0%, rgba(228, 238, 234, 0.95) 46%, rgba(244, 241, 238, 0) 47%),
    linear-gradient(180deg, rgba(244, 241, 238, 0) 0%, rgba(244, 241, 238, 0.94) 100%);
  pointer-events: none;
}

.hero-copy,
.hero-media {
  position: relative;
  z-index: 1;
}

.hero-copy h1,
.section-heading h2,
.cta-content h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: #21353d;
}

.hero-copy h1 {
  max-width: 8ch;
  font-size: clamp(2.8rem, 7vw, 4.85rem);
  line-height: 0.94;
}

.hero-lede {
  max-width: 31rem;
  margin: 1.25rem 0 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.hero-media {
  aspect-ratio: 1.12 / 1;
  overflow: hidden;
  border-radius: 48% 1.25rem 0 48% / 48% 1.25rem 0 48%;
  box-shadow: 0 24px 52px rgba(29, 61, 53, 0.14);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.section {
  padding-block: 2.25rem 1.4rem;
}

.section-heading {
  margin-bottom: 1.8rem;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 5vw, 2.9rem);
}

.card-grid,
.benefit-grid,
.partner-strip {
  display: grid;
}

.card-grid {
  gap: 1.35rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-height: 100%;
  padding: 1.65rem 1.35rem 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 22px rgba(29, 35, 39, 0.04);
}

.service-icon,
.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  background:
    linear-gradient(180deg, rgba(45, 138, 112, 0.2) 0%, rgba(45, 138, 112, 0.12) 100%);
}

.service-icon {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 1.25rem;
}

.benefit-icon {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 999px;
}

.icon-svg {
  width: 2.1rem;
  height: 2.1rem;
}

.service-card h3,
.benefit-item h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.service-card p,
.benefit-item p,
.cta-content p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-card p {
  flex: 1 1 auto;
}

.why {
  padding-top: 2.7rem;
}

.benefit-grid {
  gap: 2rem 1.75rem;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  max-width: 19rem;
  margin-inline: auto;
  text-align: center;
}

.partner-strip {
  gap: 1rem 1.25rem;
  align-items: center;
  justify-items: center;
  margin-top: 2.1rem;
  padding-bottom: 0.5rem;
}

.partner-wordmark,
.partner-seal {
  color: #8f8a86;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.partner-wordmark {
  font-family: "Fraunces", Georgia, serif;
}

.partner-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.8rem;
  min-height: 2.6rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid #c8c2bd;
  border-radius: 0.75rem;
  transform: rotate(-10deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(233, 229, 225, 0.88) 100%);
  font-size: 1rem;
}

.cta-band {
  position: relative;
  overflow: hidden;
  margin-top: 1.15rem;
  padding: 3.35rem 1.5rem 3.4rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 35%, rgba(255, 255, 255, 0) 35% 100%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.08) 0 28%, rgba(255, 255, 255, 0) 28% 100%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.12) 0 16%, rgba(255, 255, 255, 0) 16% 100%),
    linear-gradient(135deg, #155849 0%, #2c8e72 100%);
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.cta-band::before {
  inset: -20% 60% 10% -5%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  transform: skewY(-10deg);
}

.cta-band::after {
  inset: 15% -10% -25% 58%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  transform: skewY(8deg);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  margin-inline: auto;
  text-align: center;
}

.cta-content h2 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
}

.cta-content p {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
}

.cta-content .button {
  margin-top: 1.45rem;
}

.site-footer {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding-block: 1.45rem 1.65rem;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(180deg, #1e6e5b 0%, #145444 100%);
}

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

.footer-nav {
  color: rgba(255, 255, 255, 0.88);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
}

.button:focus-visible,
.site-nav a:focus-visible,
.footer-nav a:focus-visible,
.footer-contact a:focus-visible {
  outline: 3px solid rgba(34, 131, 106, 0.35);
  outline-offset: 3px;
}

@media (min-width: 40rem) {
  .page-shell {
    width: 100%;
    margin: 0;
  }

  .partner-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 48rem) {
  .site-header {
    flex-wrap: nowrap;
  }

  .site-nav {
    width: auto;
    margin-inline: auto;
  }

  .hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(1.75rem, 4vw, 3rem);
    padding-bottom: 4.75rem;
  }

  .card-grid,
  .benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: auto 1fr auto;
  }

  .footer-nav {
    justify-content: center;
  }

  .footer-contact {
    align-items: flex-end;
  }
}

@media (max-width: 47.99rem) {
  .header-cta {
    width: 100%;
  }

  .hero-copy h1 {
    max-width: 10ch;
  }

  .hero-media {
    order: -1;
  }

  .partner-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
