:root {
  --primary-green: #2e8b57;
  --secondary-green: #3cb371;
  --dark-green: #1b4d3e;
  --light-green: #e8f5e9;
  --accent-gold: #daa520;
  --text-dark: #2c3e50;
  --text-light: #ffffff;
  --bg-white: #ffffff;
  --bg-soft: #f9f9f9;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(44, 62, 80, 0.08);
  --transition: 0.3s ease;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(92%, var(--container));
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--dark-green);
  margin-bottom: 0.6rem;
}

.section__subtitle {
  max-width: 760px;
  margin-bottom: 2.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  padding: 0.8rem 1.4rem;
  font-weight: 600;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
}

.btn:focus-visible,
.nav__link:focus-visible,
.social-link:focus-visible,
.form__input:focus-visible,
.form__select:focus-visible,
.form__textarea:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 2px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--primary-green);
  color: var(--text-light);
}

.btn--primary:hover {
  background: var(--dark-green);
}

.btn--secondary {
  border-color: var(--accent-gold);
  color: var(--dark-green);
  background: var(--bg-white);
}

.btn--secondary:hover {
  background: var(--light-green);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(27, 77, 62, 0.12);
}

.header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  color: var(--dark-green);
}

.brand__logo {
  width: 46px;
  height: 46px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav__list {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  padding: 0.5rem 0.8rem;
  border-radius: 9px;
  font-weight: 500;
  color: var(--text-dark);
  transition: background var(--transition), color var(--transition);
}

.nav__link:hover,
.nav__link--active {
  background: var(--light-green);
  color: var(--dark-green);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  color: var(--dark-green);
  cursor: pointer;
}

.hero {
  position: relative;
  color: var(--text-light);
  min-height: 78vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(27, 77, 62, 0.72), rgba(46, 139, 87, 0.56));
}

.hero--subpage {
  min-height: 52vh;
}

.hero--subpage::before {
  background: linear-gradient(120deg, rgba(27, 77, 62, 0.48), rgba(46, 139, 87, 0.35));
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 4rem 0;
}

.hero__title {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero__text {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 1.8rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.grid {
  display: grid;
  gap: 1.3rem;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem;
  border: 1px solid rgba(27, 77, 62, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(44, 62, 80, 0.14);
}

.icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: var(--light-green);
  color: var(--primary-green);
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
}

.service-link {
  color: var(--primary-green);
  font-weight: 600;
}

.stats {
  background: linear-gradient(120deg, var(--secondary-green), var(--primary-green));
  color: var(--text-light);
}

.stat {
  text-align: center;
  padding: 1rem;
}

.stat__value {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
}

.stat__label {
  margin-top: 0.25rem;
}

.testimonials {
  position: relative;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.is-active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.testimonial__quote {
  font-size: 1.1rem;
}

.testimonial__author {
  margin-top: 1rem;
  color: var(--primary-green);
  font-weight: 600;
}

.testimonial-dots {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

.testimonial-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  background: #b8cec1;
  cursor: pointer;
}

.testimonial-dot.is-active {
  background: var(--dark-green);
}

.image-slider {
  position: relative;
  overflow: hidden;
}

.image-slide {
  display: none;
}

.image-slide.is-active {
  display: block;
  animation: fadeIn 0.55s ease;
}

.image-slide img {
  width: 100%;
  height: clamp(260px, 40vw, 420px);
  object-fit: cover;
  border-radius: var(--radius);
}

.image-slider__caption {
  margin-top: 0.65rem;
  font-weight: 500;
  color: var(--dark-green);
}

.image-slider__dots {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.image-slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: #bfd8ca;
  cursor: pointer;
}

.image-slider__dot.is-active {
  background: var(--dark-green);
}

.final-cta {
  background: var(--light-green);
  border-top: 2px solid rgba(46, 139, 87, 0.25);
  border-bottom: 2px solid rgba(46, 139, 87, 0.25);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-image,
.image-rounded {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.value-card {
  background: linear-gradient(165deg, #ffffff, #f3fbf5);
}

.team-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.8rem;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.checklist i {
  margin-top: 0.25rem;
  color: var(--primary-green);
}

.accordion {
  display: grid;
  gap: 0.85rem;
}

.accordion__item {
  border: 1px solid rgba(27, 77, 62, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.accordion__button {
  width: 100%;
  border: 0;
  text-align: left;
  background: #fff;
  padding: 1rem 1.1rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dark-green);
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion__content {
  padding: 0 1.1rem 1rem;
}

.accordion__item.is-open .accordion__button {
  background: var(--light-green);
}

.pricing {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing .card {
  position: relative;
}

.pricing .card--highlight {
  border: 2px solid var(--accent-gold);
}

.badge {
  position: absolute;
  top: -12px;
  right: 12px;
  background: var(--accent-gold);
  color: #222;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.form-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.form {
  display: grid;
  gap: 1rem;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form__group {
  display: grid;
  gap: 0.4rem;
}

.form__input,
.form__select,
.form__textarea {
  border: 1px solid #c8d6ce;
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  font: inherit;
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

.error-text {
  color: #b22222;
  font-size: 0.9rem;
  min-height: 1.15rem;
}

.form-success {
  background: var(--light-green);
  border: 1px solid rgba(46, 139, 87, 0.45);
  border-radius: var(--radius);
  color: var(--dark-green);
  padding: 0.8rem 1rem;
}

.inline-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.map-wrap iframe {
  width: 100%;
  min-height: 340px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal {
  max-width: 900px;
}

.legal h2 {
  margin-top: 2rem;
  color: var(--dark-green);
}

.legal p {
  margin-bottom: 1rem;
}

.site-footer {
  background: var(--dark-green);
  color: var(--text-light);
  margin-top: 3rem;
}

.footer-grid {
  padding: 3rem 0 2rem;
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 1.2rem;
}

.footer-col h3 {
  margin-top: 0;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: #deefe4;
}

.footer-links a:hover {
  color: #ffffff;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  padding: 0.8rem 0 1.2rem;
  color: #d2e5da;
}

.attribution {
  font-size: 0.82rem;
  color: #527062;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1fr;
  }

  .pricing {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: relative;
  }

  .nav__list {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 230px;
    background: #fff;
    border: 1px solid rgba(27, 77, 62, 0.12);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 0.5rem;
    flex-direction: column;
    display: none;
  }

  .nav__list.is-open {
    display: flex;
  }

  .grid--3 {
    grid-template-columns: 1fr;
  }

  .form__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero--subpage {
    min-height: 42vh;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
