:root {
  --dark-green: #16220a;
  --dark-green-2: #1c2b0c;
  --sage: #d9e3c9;
  --sage-light: #eef2e5;
  --maroon: #7c3f49;
  --pink: #d98ea1;
  --cream: #faf9f5;
  --text-dark: #1f2a12;
  --text-gray: #5f6a54;
  --radius-lg: 28px;
  --radius-pill: 999px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--text-dark);
  line-height: 1.15;
}

p { margin: 0 0 12px; }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.muted { color: var(--text-gray); }

/* Scroll-reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Buttons & pills */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,.18); }
.btn:active { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.btn--light { background: #fff; color: var(--dark-green); }
.btn--dark { background: var(--dark-green); color: #fff; }
.btn--full { width: 100%; }

.pill-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pill:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(31,42,18,.12); }
.pill--ghost { background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(6px); }
.pill--light { background: #fff; color: var(--text-dark); }
.pill--soft { background: var(--sage-light); color: var(--text-dark); }

/* Navbar */
.navbar {
  position: sticky;
  top: 16px;
  z-index: 100;
  padding: 0 20px;
}
.navbar__inner {
  max-width: 1180px;
  margin: 0 auto;
  background: var(--dark-green);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 10px 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo__badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo__icon { color: var(--maroon); font-size: 1.2rem; }
.logo__text {
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .02em;
  max-width: 110px;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  opacity: .9;
  position: relative;
  padding-bottom: 4px;
  transition: opacity .2s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  min-height: 640px;
  margin: -76px 20px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 100px 56px 56px;
  background: var(--dark-green);
  gap: 24px;
  flex-wrap: wrap;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,15,5,.55), rgba(10,15,5,.15)), url('https://picsum.photos/seed/clarity-hero1/1600/900') center/cover no-repeat;
  animation: heroZoom 12s ease-out both;
  z-index: 0;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.hero__content { max-width: 720px; position: relative; z-index: 2; }
.hero__title {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0;
  animation: riseIn .9s cubic-bezier(.22,.61,.36,1) .15s both;
}
.hero .pill-row .pill {
  animation: riseIn .7s cubic-bezier(.22,.61,.36,1) both;
}
.hero .pill-row .pill:nth-child(2) { animation-delay: .12s; }
.hero__side {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  animation: riseIn .9s cubic-bezier(.22,.61,.36,1) .35s both;
}
.hero__note { color: #fff; font-weight: 500; margin: 0; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero__title, .hero .pill-row .pill, .hero__side { animation: none; }
}

/* Bands / sections */
.band {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
}
.band--sage { background: var(--sage); }
.band__blobs {
  position: absolute;
  top: -60px; left: -40px;
  width: 260px; height: 260px;
  background: var(--dark-green);
  border-radius: 50%;
  opacity: .9;
}
.band__blobs::after {
  content: '';
  position: absolute;
  top: 40px; left: 220px;
  width: 160px; height: 160px;
  background: var(--dark-green);
  border-radius: 50%;
}

.section { padding: 90px 0; }
.section--tight { padding-bottom: 40px; }

.center-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.center-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }

/* Stats */
.stats {
  display: flex;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.stats__circles {
  display: flex;
  flex-shrink: 0;
}
.stat-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--dark-green);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.stat-circle:hover { transform: scale(1.05); }
.stat-circle--overlap { margin-left: -40px; width: 180px; height: 180px; }
.stat-circle__num { font-family: 'Poppins', sans-serif; font-size: 2.4rem; font-weight: 700; }
.stat-circle__label { font-size: .9rem; margin-top: 4px; }
.stats__text { flex: 1; min-width: 300px; }
.stats__text h2 { color: var(--text-dark); font-size: clamp(1.5rem, 3vw, 2.1rem); }
.values-row { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 24px; }
.value-item { font-weight: 600; font-size: 1.05rem; }

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--reverse .split__text { order: 2; }
.split--reverse .split__media { order: 1; }
.split__text h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  max-height: 560px;
  transition: transform .6s ease;
}
.split__media:hover img { transform: scale(1.04); }
.media-caption {
  position: absolute;
  bottom: 24px; right: 24px; left: 24px;
  max-width: 320px;
  margin-left: auto;
  background: #fff;
  padding: 20px 22px;
  border-radius: 18px;
  font-size: .9rem;
  color: var(--text-dark);
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
}

.check-list { list-style: none; padding: 0; margin: 32px 0 0; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,.1);
  font-size: 1.1rem;
  color: var(--text-gray);
  transition: color .2s ease;
}
.check-list li:hover { color: var(--text-dark); }
.check { color: var(--dark-green); font-weight: 700; }

.feature-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  margin-top: 20px;
}
.service-media { grid-row: span 2; border-radius: var(--radius-lg); overflow: hidden; min-height: 320px; }
.service-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-card {
  background: var(--sage-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .35s ease, box-shadow .35s ease, background-color .35s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(31,42,18,.12);
  background: #e6ecd8;
}
.service-card--empty { background: transparent; padding: 0; }
.service-card--empty:hover { transform: none; box-shadow: none; background: transparent; }
.service-card__icon { font-size: 1.8rem; display: inline-block; transition: transform .35s ease; }
.service-card:hover .service-card__icon { transform: scale(1.15) rotate(-6deg); }
.service-card h3 { margin: 16px 0 8px; font-size: 1.2rem; }
.service-card p { color: var(--text-gray); margin: 0; }

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--sage-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(31,42,18,.12);
}
.testimonial-card h3 { font-size: 1.15rem; }
.testimonial-card p { color: var(--text-gray); font-size: .95rem; }
.testimonial-card__person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.testimonial-card__person img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-card__person div { display: flex; flex-direction: column; font-size: .9rem; }
.testimonial-card__person span { color: var(--text-gray); font-size: .8rem; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.team-card img {
  width: 160px; height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease;
}
.team-card:hover img {
  transform: scale(1.06);
  box-shadow: 0 16px 30px rgba(31,42,18,.18);
}
.team-card h3 { margin-bottom: 4px; font-size: 1.15rem; }
.team-card p { color: var(--text-gray); margin: 0; }

/* FAQ */
.faq-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
}
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  text-align: left;
}
.faq-item__toggle {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--dark-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-left: 16px;
  transition: transform .3s ease, background-color .3s ease;
}
.faq-item.is-open .faq-item__toggle { transform: rotate(180deg); }
.faq-item__question:hover .faq-item__toggle { background: var(--dark-green-2); transform: scale(1.08); }
.faq-item.is-open .faq-item__question:hover .faq-item__toggle { transform: rotate(180deg) scale(1.08); }
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 28px;
}
.faq-item__answer p { color: var(--text-gray); margin: 0 0 22px; }
.faq-item.is-open .faq-item__answer { max-height: 200px; }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,.2);
  padding: 12px 4px;
  font-family: inherit;
  font-size: 1rem;
  background: transparent;
  color: var(--text-dark);
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--dark-green); }
.form-row { display: flex; gap: 16px; }
.form-row input { flex: 1; }
.contact-form textarea { resize: vertical; }

/* Footer */
.footer { padding: 80px 0 40px; text-align: center; background: #fff; }
.footer__top h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 600px; margin: 0 auto 24px; }
.social-row { display: flex; justify-content: center; gap: 16px; margin-bottom: 20px; }
.social-row a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: background-color .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
}
.social-row a:hover {
  background: var(--dark-green);
  border-color: var(--dark-green);
  color: #fff;
  transform: translateY(-3px);
}
.copyright { color: var(--text-gray); font-size: .9rem; }
.footer__watermark {
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
}
.watermark-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 6vw, 4.5rem);
  color: #ededea;
  white-space: nowrap;
}
.chevron {
  width: 48px; height: 48px;
  background: var(--pink);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .split, .services-grid, .testimonial-grid, .team-grid { grid-template-columns: 1fr; }
  .service-media { grid-row: auto; min-height: 220px; }
  .split--reverse .split__text,
  .split--reverse .split__media { order: initial; }
  .stats { gap: 32px; }
  .nav-links { display: none; }
  .navbar__inner .btn { display: none; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }
  .nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; }
  .navbar.is-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 20px; right: 20px;
    background: var(--dark-green);
    border-radius: 20px;
    padding: 20px;
    gap: 16px;
    animation: menuDrop .3s cubic-bezier(.22,.61,.36,1) both;
    box-shadow: 0 18px 40px rgba(0,0,0,.3);
  }
  @keyframes menuDrop {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: none; }
  }
  .navbar.is-open .navbar__inner .btn {
    display: inline-block;
  }
  .hero { margin: -60px 12px 0; padding: 90px 28px 40px; align-items: stretch; }
  .footer__watermark { flex-wrap: wrap; }
}
