:root {
  --green: #40a629;
  --green-dark: #2f7d1e;
  --green-soft: #eef7ea;
  --orange: #f49829;
  --text: #2b2b2b;
  --muted: #666;
  --line: #e6e6e6;
  --bg-alt: #f6f6f6;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --container: 1140px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
}

h1, h2, h3, h4 {
  font-family: "Poppins", system-ui, sans-serif;
  line-height: 1.25;
  margin: 0 0 0.6em;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section__head p { color: var(--muted); margin: 0; }
.eyebrow {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 8px;
}
.title { font-size: clamp(1.7rem, 3vw, 2.3rem); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: #e2861a; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); }
.btn--outline { background: transparent; color: #fff; border-color: #fff; }
.btn--outline:hover { background: #fff; color: var(--green); }
.btn--ghost { background: #fff; color: var(--green); border-color: var(--green); }
.btn--ghost:hover { background: var(--green-soft); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-header__logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block;
  padding: 8px 14px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
}
.nav a:hover { color: var(--green); background: var(--green-soft); }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 12px 20px 20px;
    background: #fff;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
  }
  .site-header.is-open .nav { display: flex; }
  .site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 72px);
  min-height: calc(100svh - 72px);
  padding: 60px 0;
  background: #8cbf3f url("../img/hero-bg.webp") center / cover no-repeat;
  color: #fff;
  text-align: center;
}
.hero__logo { width: min(340px, 75vw); margin: 0 auto 24px; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.hero p {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  margin: 0 0 32px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about__img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about p { color: var(--muted); }
.partners {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 56px;
}
.partners img { max-height: 70px; width: auto; margin: 0 auto; filter: grayscale(1); opacity: 0.75; transition: 0.2s; }
.partners img:hover { filter: none; opacity: 1; }

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(4, 1fr); }
}

/* Package finder quiz */
.quiz {
  max-width: 620px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 20px;
  background: linear-gradient(135deg, #51a31a 0%, #92c437 100%);
  box-shadow: 0 20px 50px rgba(64, 166, 41, 0.3);
  color: #fff;
}
.quiz__progress {
  height: 8px;
  margin-bottom: 28px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.quiz__progress-fill { height: 100%; width: 20%; background: #fff; transition: width 0.3s ease; }
.quiz__step { display: none; }
.quiz__step.is-active { display: block; animation: fade-in 0.4s; }
.quiz__step h3 { font-size: 1.4rem; margin-bottom: 20px; }
.quiz__back {
  background: none;
  border: 0;
  padding: 6px 0;
  margin-bottom: 12px;
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
}
.quiz__back[hidden] { display: none; }
.quiz__option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 22px;
  margin: 12px 0;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}
.quiz__option:hover,
.quiz__option:focus-visible { border-color: var(--orange); transform: translateX(5px); outline: none; }
.quiz__icon { font-size: 1.7rem; min-width: 40px; text-align: center; }
.quiz__result { text-align: center; }
.quiz__result img { width: 100%; max-height: 300px; object-fit: cover; border-radius: 12px; margin-bottom: 20px; background: #fff; }
.quiz__result h3 { font-size: 1.6rem; margin-bottom: 10px; }
.quiz__result p { margin: 0 0 24px; }
.quiz__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.quiz__consult { display: inline-block; margin-top: 20px; color: #fff; font-weight: 600; }
.quiz-footer { text-align: center; margin-top: 32px; }

@keyframes fade-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  .quiz { padding: 28px 20px; }
}

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}
.value img { width: 80px; margin: 0 auto 16px; }
.value h3 { font-size: 1.15rem; color: var(--green); }
.value p { margin: 0; color: var(--muted); font-size: 0.95rem; }

@media (max-width: 900px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .values { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.gallery a { display: block; overflow: hidden; border-radius: 12px; aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery a:hover img { transform: scale(1.06); }

@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Testimonials */
.testimonials-section { background: var(--green); color: #fff; }
.testimonials-section .section__head p { color: rgba(255, 255, 255, 0.85); }
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}
.testimonial blockquote { margin: 0 0 20px; font-style: italic; flex: 1; }
.testimonial figcaption strong { display: block; font-family: "Poppins", sans-serif; color: var(--green); }
.testimonial figcaption span { font-size: 0.9rem; color: var(--muted); }

@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .testimonials { grid-template-columns: 1fr; } }

/* Products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  padding: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  background: var(--green) center / cover no-repeat;
  box-shadow: var(--shadow);
}
.product::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.75) 100%);
}
.product > * { position: relative; }
.product h3 { font-size: 1.3rem; margin-bottom: 14px; }
.product .btn { align-self: flex-start; padding: 9px 20px; font-size: 0.9rem; }

@media (max-width: 900px) { .products { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .products { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.faq summary {
  position: relative;
  padding: 18px 52px 18px 22px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--green);
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { color: var(--green); }
.faq__answer { padding: 0 22px 18px; color: var(--muted); }
.faq__answer p { margin: 0 0 8px; }
.faq__answer ul { margin: 0; padding-left: 20px; }

/* Contact / footer */
.contact { background: var(--green-dark); color: #fff; text-align: center; }
.contact__logo { width: 200px; margin: 0 auto 20px; }
.contact p { max-width: 560px; margin: 0 auto 28px; color: rgba(255, 255, 255, 0.9); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.site-footer {
  padding: 20px 0;
  background: #1f5514;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  text-align: center;
}

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Articles */
.page-hero { padding: 64px 0 48px; background: var(--green-soft); text-align: center; }
.page-hero p { color: var(--muted); margin: 0; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.post-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.post-card h2 { font-size: 1.15rem; }
.post-card h2 a { color: var(--text); text-decoration: none; }
.post-card h2 a:hover { color: var(--green); }
.post-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.post-meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; }
.post-meta .tag { color: var(--orange); font-weight: 600; }

@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

.article { max-width: 760px; margin: 0 auto; }
.article__header { text-align: center; margin-bottom: 32px; }
.article__header h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.article__cover { width: 100%; border-radius: var(--radius); margin-bottom: 36px; }
.article__body h2 { font-size: 1.45rem; margin-top: 1.6em; }
.article__body h3 { font-size: 1.2rem; margin-top: 1.6em; color: var(--green-dark); }
.article__body img { border-radius: 12px; margin: 24px auto; }
.article__body li { margin-bottom: 6px; }
.article__body { overflow-wrap: anywhere; }
.article-cta {
  margin-top: 48px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--green-soft);
  text-align: center;
}
.article-cta h2 { font-size: 1.4rem; }

.not-found { padding: 120px 0; text-align: center; }
