@import url("https://fonts.googleapis.com/css2?family=Domine:wght@500;700&family=Figtree:wght@400;500;600;700&display=swap");

:root {
  --bg: #f4fff5;
  --bg-soft: #e0f9e6;
  --surface: #ffffff;
  --primary: #2e4f21;
  --primary-strong: #1f3916;
  --text: #1f2620;
  --text-muted: #4f5f53;
  --line: #c9e4cf;
  --shadow: 0 14px 34px rgba(31, 57, 22, 0.12);

  --font-body: "Figtree", sans-serif;
  --font-head: "Domine", serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --container: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: radial-gradient(circle at 12% 10%, #d8f7e0 0, var(--bg) 55%);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

main > section {
  opacity: 0;
  transform: translateY(26px);
  animation: section-enter 0.8s ease forwards;
}

main > section:nth-child(1) {
  animation-delay: 0.06s;
}
main > section:nth-child(2) {
  animation-delay: 0.14s;
}
main > section:nth-child(3) {
  animation-delay: 0.22s;
}
main > section:nth-child(4) {
  animation-delay: 0.3s;
}
main > section:nth-child(5) {
  animation-delay: 0.38s;
}
main > section:nth-child(6) {
  animation-delay: 0.46s;
}
main > section:nth-child(7) {
  animation-delay: 0.54s;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 999;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
}

.eyebrow {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--primary-strong);
  line-height: 1.18;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  border-radius: 999px;
  font-weight: 600;
  padding: 0.8rem 1.2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  background: var(--primary-strong);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(31, 57, 22, 0.2);
}

.btn-sm {
  font-size: 0.9rem;
  padding: 0.62rem 1rem;
}

.btn-light {
  background: #fff;
  color: var(--primary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(8px);
  background: rgba(244, 255, 245, 0.85);
  border-bottom: 1px solid rgba(46, 79, 33, 0.08);
}

.navbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-strong);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-list > li > a {
  font-weight: 500;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-list > li > a:not(.btn):hover {
  background: #dff3e2;
  transform: translateY(-1px);
}

.hero {
  padding: 3rem 0 5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.2rem;
  align-items: center;
  background: linear-gradient(120deg, #d7f6df, #c1efce);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 5vw, 3.2rem);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-grid::before,
.hero-grid::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-grid::before {
  width: 280px;
  height: 280px;
  right: -80px;
  top: -110px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
  animation: drift 8s ease-in-out infinite;
}

.hero-grid::after {
  width: 220px;
  height: 220px;
  left: -60px;
  bottom: -100px;
  background: radial-gradient(circle, rgba(31, 57, 22, 0.12), rgba(31, 57, 22, 0));
  animation: drift 10s ease-in-out infinite reverse;
}

.hero-copy h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin: 0.85rem 0 1rem;
}

.hero-copy p {
  color: #2f4133;
  max-width: 60ch;
  margin-bottom: 1.5rem;
}

.hero-media {
  justify-self: center;
  max-width: 490px;
  animation: float-soft 6s ease-in-out infinite;
}

.section-head {
  max-width: 780px;
  text-align: center;
  margin: 0 auto 2.2rem;
  display: grid;
  gap: 0.9rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.section-head p {
  color: var(--text-muted);
}

.service-list {
  display: grid;
  gap: 1rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: minmax(130px, 200px) 1fr;
  gap: 1.25rem;
  align-items: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card img {
  width: 100%;
  max-width: 170px;
  margin-inline: auto;
  transition: transform 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #a9dbb6;
  box-shadow: 0 12px 28px rgba(46, 79, 33, 0.11);
}

.service-card:hover img {
  transform: scale(1.03) rotate(-2deg);
}

.service-card-reverse {
  grid-template-columns: 1fr minmax(130px, 200px);
}

.service-card-reverse img {
  grid-column: 2;
}

.service-card-reverse > div {
  grid-column: 1;
  grid-row: 1;
}

.service-card h3 {
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  margin-bottom: 0.55rem;
}

.service-card p {
  color: var(--text-muted);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.95rem;
}

.chip-list li {
  padding: 0.36rem 0.66rem;
  border-radius: 999px;
  background: #edf8ef;
  border: 1px solid #d9efde;
  color: #365239;
  font-size: 0.84rem;
  font-weight: 600;
}

.testimonials {
  background: linear-gradient(180deg, rgba(195, 235, 202, 0.28), rgba(233, 251, 237, 0));
}

.testimonials h2 {
  text-align: center;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  margin-bottom: 2rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1rem;
}

.testimonial-tags,
.testimonial-quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(46, 79, 33, 0.08);
}

.testimonial-tags {
  display: grid;
  align-content: center;
  gap: 0.7rem;
  padding: 1rem;
}

.testimonial-tags p {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
  color: #35523a;
  font-weight: 600;
  transition: transform 0.22s ease, background-color 0.22s ease;
}

.testimonial-tags p:hover {
  transform: translateX(4px);
  background: #eefaf1;
}

.testimonial-quote {
  padding: 1.5rem;
  display: grid;
  gap: 1.3rem;
}

blockquote {
  font-size: clamp(1.05rem, 2.3vw, 1.4rem);
  color: #2d4231;
}

figcaption {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #36523a;
  font-weight: 600;
}

figcaption img {
  width: 48px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}

.image-break img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
}

.split-head {
  max-width: none;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: left;
  align-items: start;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.benefit-list li {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 1.2rem;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.benefit-list li:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(31, 57, 22, 0.1);
}

.benefit-list i {
  color: var(--primary);
  font-size: 1.5rem;
  display: inline-block;
  animation: icon-bob 3s ease-in-out infinite;
}

.benefit-list h3 {
  margin-top: 0.75rem;
  font-size: 1.35rem;
}

.benefit-list h4 {
  font-size: 1rem;
  color: #314736;
  margin-top: 0.2rem;
}

.benefit-list p {
  color: var(--text-muted);
  margin-top: 0.7rem;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cta-card {
  background: var(--primary);
  border-radius: var(--radius-md);
  color: #fff;
  padding: clamp(1.4rem, 4vw, 2rem);
  display: grid;
  gap: 1rem;
  align-content: center;
  position: relative;
  overflow: hidden;
}

.cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.12) 45%,
    rgba(255, 255, 255, 0) 75%
  );
  transform: translateX(-120%);
  animation: sheen 7s ease-in-out infinite;
  pointer-events: none;
}

.cta-card h2,
.cta-card p {
  color: #fff;
}

.cta-card h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
}

.cta-media {
  background: #deffe6;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  border: 1px solid #c5eecf;
  overflow: hidden;
}

.cta-media img {
  animation: float-soft 7s ease-in-out infinite;
}

.expert-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #ffffff, #edfaf0);
  box-shadow: var(--shadow);
  text-align: center;
  padding: clamp(1.4rem, 4vw, 2.8rem);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.expert-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(31, 57, 22, 0.16);
}

.expert-box h2 {
  font-size: clamp(1.5rem, 4vw, 2.55rem);
  max-width: 26ch;
  margin: 0 auto 1.2rem;
}

.site-footer {
  padding: 2.6rem 0 1.2rem;
  background: var(--primary-strong);
  color: #f2fff4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.3rem;
  align-items: start;
}

.site-footer h2 {
  color: #fff;
  margin-bottom: 0.6rem;
}

.site-footer p {
  color: #d8eadc;
}

.site-footer .nav-list > li > a:not(.btn):hover {
  background: rgba(255, 255, 255, 0.12);
}

.copyright {
  width: min(100% - 2.5rem, var(--container));
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(221, 241, 226, 0.18);
  font-size: 0.85rem;
  color: #d8eadc;
}

@keyframes section-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes icon-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(10px) translateX(-8px);
  }
}

@keyframes sheen {
  0%,
  20% {
    transform: translateX(-120%);
  }
  35%,
  100% {
    transform: translateX(130%);
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .testimonial-grid,
  .cta-grid,
  .split-head,
  .benefit-list {
    grid-template-columns: 1fr;
  }

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

  .service-card-reverse img,
  .service-card-reverse > div {
    grid-column: auto;
    grid-row: auto;
  }

  .chip-list {
    justify-content: center;
  }

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

  .hero-grid::before,
  .hero-grid::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.4rem, var(--container));
  }

  .navbar {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.7rem 0;
  }

  .nav-list {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  main > section {
    opacity: 1;
    transform: none;
  }
}
