/* === BASE === */
body {
  font-family: 'Quicksand', sans-serif;
  background-color: #FDFBF6;
  color: #5E5E5E;
}

:focus-visible {
  outline: 3px solid #6A8F72;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 2000;
  background: #6A8F72;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

a {
  text-decoration: none;
}

.section-title {
  color: #6A8F72;
  font-weight: 600;
}

.btn-cta {
  background-color: #F4E3B2;
  color: #5E5E5E;
  font-weight: 600;
  border: none;
}

.btn-cta:hover {
  background-color: #e0d0a8;
  color: #5E5E5E;
}

/* === NAVBAR === */
.navbar {
  transition: all 0.3s ease;
  background-color: transparent;
}

.navbar .nav-link {
  position: relative;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  width: 0;
  height: 2px;
  background: #6A8F72;
  transform: translateX(-50%);
  transition: width 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus-visible {
  color: #2f5138 !important;
  background-color: rgba(244, 227, 178, 0.85);
  box-shadow: inset 0 0 0 1px rgba(106, 143, 114, 0.4);
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus-visible::after {
  width: 72%;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  height: auto;
  position: relative;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.4);
  height: 100%;
  width: 100%;
  padding: 80px 20px;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-title {
  color: #6A8F72;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  font-size: 4rem;
}

.hero-subtitle {
  color: #A8C8A0;
  font-size: 1.5rem;
}

.hero-benefits {
  list-style: none;
  margin: 18px auto 0;
  padding: 0;
  max-width: 880px;
  text-align: left;
  display: grid;
  gap: 6px;
}

.hero-benefits__item {
  font-size: 1rem;
  color: #eef5e7;
}

.hero-benefits__icon {
  color: #f4e3b2;
  font-weight: 700;
  margin-right: 8px;
}

.hero-actions .btn {
  min-width: 220px;
}

.hero-micro-cta__link {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-micro-cta__link:hover {
  color: #f4e3b2;
}

.hero-transparency {
  color: #e9f2de;
}

.section-cta .btn {
  font-weight: 600;
}

.section-cta__link {
  color: #5E5E5E;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.family-fit-card {
  border-radius: 16px;
}

.family-fit-card__title {
  color: #6A8F72;
}

.team-member-photo {
  display: block;
  width: 50%;
  max-width: 220px;
  height: auto;
}

.family-fit-list {
  padding-left: 1.1rem;
}

.family-fit-list li + li {
  margin-top: 0.5rem;
}

.family-transparency-box {
  background: #f2f7ef;
  border: 1px solid #d6e4d0;
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
}

.family-fit-cta .btn {
  min-width: 220px;
}

.testimonials-intro {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-mobile-controls .btn {
  min-width: 44px;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.mobile-sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 1060;
  display: none;
  gap: 8px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(6px);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.mobile-sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-sticky-cta__btn {
  flex: 1 1 50%;
  text-align: center;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 8px;
  font-size: 0.95rem;
}

.mobile-sticky-cta__btn--whatsapp {
  background: #6A8F72;
  color: #fff;
}

.mobile-sticky-cta__btn--contact {
  background: #F4E3B2;
  color: #3f4f43;
}

@media (max-width: 767.98px) {
  .hero-benefits {
    text-align: left;
    max-width: 95%;
  }

  .hero-benefits__item {
    font-size: 0.95rem;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 340px;
    min-width: 0;
  }

  .team-member-photo {
    width: 60%;
    max-width: 200px;
  }

  .family-fit-cta .btn {
    width: 100%;
    max-width: 340px;
    min-width: 0;
  }

  .testimonial-slide {
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .testimonial-slide.testimonial-slide-hidden {
    display: none;
  }

  .mobile-sticky-cta {
    display: flex;
  }

  body.mobile-sticky-cta-visible {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }
}

/* === AOS animation helper (optional override) === */
[data-aos] {
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* === FORM SUCCESS MODAL === */
.success-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1055;
}

.success-modal__content {
  background: #fff;
  color: #5E5E5E;
  border-radius: 16px;
  padding: 28px 24px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.success-modal__icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.success-modal__title {
  color: #6A8F72;
  font-weight: 700;
  margin-bottom: 8px;
}

.success-modal__text {
  margin-bottom: 16px;
}

.success-modal__btn {
  min-width: 120px;
}
