:root {
  --brand-primary: #255f38;
  --brand-accent: #ffef91;
  --brand-dark: #18230f;
  --brand-white: #ffffff;
  --surface-soft: #f7f9f4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--brand-dark);
  background: var(--brand-white);
  padding-bottom: 74px;
}

.announcement-bar {
  background: var(--brand-dark);
  color: var(--brand-accent);
  font-weight: 600;
}

.landing-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(24, 35, 15, 0.08);
}

.landing-navbar .navbar-brand {
  color: var(--brand-primary);
}

.navbar-logo {
  height: 44px;
  width: auto;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.navbar-brand-text {
  font-size: 1.05rem;
}

/* Mobile navbar spacing */
@media (max-width: 991.98px) {
  .landing-navbar .navbar-nav .nav-item {
    margin-bottom: 0.5rem;
  }
  .landing-navbar .navbar-nav .nav-item:last-child {
    margin-bottom: 0;
  }
  .landing-navbar .navbar-nav .dropdown {
    margin-top: 0.5rem;
  }
}

.landing-navbar .nav-link {
  color: var(--brand-dark);
  font-weight: 500;
}

.landing-navbar .nav-link:hover,
.landing-navbar .nav-link:focus {
  color: var(--brand-primary);
}

.hero-section {
  background: linear-gradient(180deg, var(--brand-white), #fffaf0);
  padding: 4.5rem 0 3.5rem;
}

.hero-badge {
  color: var(--brand-primary);
  border: 1px solid rgba(37, 95, 56, 0.35);
}

.hero-card,
.content-card {
  background: var(--brand-white);
  border: 1px solid rgba(24, 35, 15, 0.08);
  border-radius: 1rem;
  box-shadow: 0 14px 30px rgba(24, 35, 15, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-card i,
.content-card i {
  color: var(--brand-primary);
}

.hero-card:hover {
  box-shadow: 0 20px 45px rgba(24, 35, 15, 0.12);
  transform: translateY(-4px);
}

.hero-main {
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 239, 145, 0.6);
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-title {
  margin: 1rem 0 0.75rem;
  font-size: clamp(2.7rem, 4.7vw, 3.7rem);
  line-height: 1.15;
}

.hero-title-line {
  display: block;
}

.hero-title-primary {
  color: var(--brand-dark);
}

.hero-title-accent {
  color: var(--brand-primary);
}

.hero-subtitle {
  max-width: 580px;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
}

.hero-subnote {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: rgba(24, 35, 15, 0.75);
}

.hero-visual {
  margin-top: 1.5rem;
}

.hero-image-card {
  position: relative;
  min-height: 220px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
}

.hero-stats-card {
  background: var(--brand-white);
}

.hero-stat-pill {
  background: rgba(37, 95, 56, 0.06);
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border: 1px solid rgba(37, 95, 56, 0.15);
}

.hero-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(24, 35, 15, 0.7);
}

.hero-stat-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-primary);
}

.hero-stats-title {
  color: var(--brand-dark);
}

.hero-stats-copy {
  color: rgba(24, 35, 15, 0.8);
}

.section-surface {
  background: var(--surface-soft);
}

.section-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(24, 35, 15, 0.7);
}

.section-surface {
  background: var(--surface-soft);
}

.benefits-section {
  border-top: 1px solid rgba(24, 35, 15, 0.05);
}

.benefit-card {
  border-radius: 0.9rem;
  background: var(--brand-white);
  border: 1px solid rgba(24, 35, 15, 0.06);
  box-shadow: 0 6px 20px rgba(24, 35, 15, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(24, 35, 15, 0.08);
}

.benefit-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--brand-white);
  border: 1px solid rgba(37, 95, 56, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon {
  font-size: 1.5rem;
  color: var(--brand-primary);
}

.step-card {
  border-radius: 0.8rem;
  border: 1px solid rgba(24, 35, 15, 0.08);
  background: var(--brand-white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(24, 35, 15, 0.08);
}

.step-number {
  color: var(--brand-primary);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.section-how {
  background: var(--brand-white);
}

.how-steps-wrapper {
  position: relative;
  padding-top: 0.5rem;
}

.how-progress-line {
  position: absolute;
  top: 34px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, rgba(37, 95, 56, 0.1), rgba(37, 95, 56, 0.4));
  z-index: 0;
}

.how-step-card {
  position: relative;
  z-index: 1;
  background: var(--brand-white);
  border-radius: 1rem;
  padding: 1.25rem 1rem;
  border: 1px solid rgba(24, 35, 15, 0.06);
  box-shadow: 0 4px 16px rgba(24, 35, 15, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.how-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(24, 35, 15, 0.1);
}

.how-step-badge {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(37, 95, 56, 0.08);
  color: var(--brand-primary);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.btn-whatsapp {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--brand-white);
  font-weight: 600;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background: #1d4d2d;
  border-color: #1d4d2d;
  color: var(--brand-white);
}

.btn-toggle {
  border: 1px solid rgba(24, 35, 15, 0.2);
  color: var(--brand-dark);
  background: var(--brand-white);
  min-width: 145px;
  font-weight: 600;
}

.btn-toggle.is-active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--brand-white);
}

.listing-panel {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: none;
}

.listing-panel.is-active {
  opacity: 1;
  transform: translateY(0);
  display: block;
}

.cta-side {
  background: var(--brand-accent);
}

.why-card {
  background: var(--brand-white);
  border-radius: 1.5rem;
  border: 1px solid rgba(24, 35, 15, 0.08);
  box-shadow: 0 12px 28px rgba(24, 35, 15, 0.08);
}

.why-image-frame {
  border-radius: 1.5rem;
  padding: 0.4rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
}

.why-image-inner {
  border-radius: 1.3rem;
  overflow: hidden;
  background: var(--brand-dark);
}

.why-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.why-cta-row .btn {
  min-width: 180px;
}

.why-subtitle {
  font-size: 0.95rem;
  color: rgba(24, 35, 15, 0.8);
}

.why-text-card ul li {
  display: flex;
  align-items: flex-start;
}

.why-text-card ul li i {
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.testimonial-card {
  border-radius: 1rem;
  border: 1px solid rgba(24, 35, 15, 0.06);
  background: var(--brand-white);
  box-shadow: 0 8px 20px rgba(24, 35, 15, 0.06);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: var(--brand-white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.testimonial-name {
  font-weight: 600;
}

.testimonial-role {
  color: rgba(24, 35, 15, 0.7);
}

.section-contact {
  background: var(--surface-soft);
}

.contact-card {
  background: var(--brand-white);
  border-radius: 1.2rem;
  border: 1px solid rgba(24, 35, 15, 0.06);
  box-shadow: 0 10px 26px rgba(24, 35, 15, 0.08);
}

.contact-map iframe {
  border-radius: 1rem;
}

.contact-link {
  color: inherit;
  text-decoration: none;
}

.contact-link:hover {
  color: var(--brand-primary);
}

.contact-details-list i {
  color: var(--brand-primary);
}

.form-control:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 0.2rem rgba(37, 95, 56, 0.15);
}

.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--brand-white);
  border-top: 1px solid rgba(24, 35, 15, 0.12);
  z-index: 1040;
}

.site-footer {
  background: var(--brand-dark);
  color: var(--brand-white);
  padding: 2.5rem 0;
}

.footer-link {
  color: inherit;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--brand-accent);
}

.footer-social {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-white);
  text-decoration: none;
}

.footer-social:hover {
  background: var(--brand-accent);
  color: var(--brand-dark);
  border-color: var(--brand-accent);
}

.footer-bottom {
  border-color: rgba(255, 255, 255, 0.16) !important;
}

/* Footer "Back to top" button */
.footer-back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--brand-white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-back-to-top-btn:hover {
  background: var(--brand-accent);
  color: var(--brand-dark);
  border-color: var(--brand-accent);
}

.hero-main,
.hero-title,
.hero-subtitle,
.hero-cta-group {
  opacity: 0;
  transform: translateY(12px);
  animation: fade-up 0.7s ease forwards;
}

.hero-title {
  animation-delay: 0.05s;
}

.hero-subtitle {
  animation-delay: 0.12s;
}

.hero-cta-group {
  animation-delay: 0.2s;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Language toggle button */
.lang-toggle-btn {
  font-size: 0.85rem;
  font-weight: 600;
  border-color: rgba(24, 35, 15, 0.2);
  color: var(--brand-dark);
}

.lang-toggle-btn:hover,
.lang-toggle-btn:focus {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.dropdown-item.is-active {
  background: rgba(37, 95, 56, 0.1);
  color: var(--brand-primary);
  font-weight: 600;
}

/* Testimonial carousel arrows */
#testimonialsCarousel .carousel-control-prev,
#testimonialsCarousel .carousel-control-next {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--brand-primary);
  border-radius: 50%;
  opacity: 0.85;
  border: 2px solid var(--brand-white);
  box-shadow: 0 2px 8px rgba(24, 35, 15, 0.2);
}

#testimonialsCarousel .carousel-control-prev {
  left: -22px;
}

#testimonialsCarousel .carousel-control-next {
  right: -22px;
}

#testimonialsCarousel .carousel-control-prev:hover,
#testimonialsCarousel .carousel-control-next:hover {
  opacity: 1;
  background: #1d4d2d;
}

#testimonialsCarousel .carousel-control-prev-icon,
#testimonialsCarousel .carousel-control-next-icon {
  width: 20px;
  height: 20px;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .how-progress-line {
    left: 10%;
    right: 10%;
  }
}
