/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;0,800;1,700&display=swap');

/* ── Reset / Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; }

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #52B788; border-radius: 3px; }

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease;
}
#navbar.scrolled { box-shadow: 0 2px 20px rgba(45,106,79,0.12); }

/* ── Mobile Menu ── */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
#mobile-menu.open { max-height: 600px; }

/* ── Hero ── */
.hero-section {
  background: linear-gradient(150deg, #0d2b1f 0%, #1a4731 35%, #2D6A4F 70%, #3d8464 100%);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(82,183,136,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(82,183,136,0.10) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(82,183,136,0.08) 0%, transparent 35%);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #f9fafb);
  pointer-events: none;
}

/* ── Stats Bar ── */
.stat-card {
  border-left: 2px solid rgba(82,183,136,0.3);
  padding-left: 1.5rem;
}
.stat-card:first-child { border-left: none; padding-left: 0; }

/* ── Section Titles ── */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #52B788;
}

/* ── Feature Cards ── */
.feature-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(45,106,79,0.12);
}

/* ── Gallery Grid ── */
.gallery-slot {
  background: #D8F3DC;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gallery-slot:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(45,106,79,0.15);
}
.gallery-slot img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.gallery-slot .placeholder-img {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #D8F3DC 0%, #bbf7d0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.gallery-slot.large .placeholder-img,
.gallery-slot.large img {
  height: 280px;
}

/* ── Benefit Cards ── */
.benefit-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid #D8F3DC;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(45,106,79,0.10);
}

/* ── Steps ── */
.step-connector {
  position: absolute;
  top: 28px;
  left: calc(50% + 2rem);
  right: calc(-50% + 2rem);
  height: 2px;
  background: linear-gradient(to right, #52B788, #D8F3DC);
}
.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #2D6A4F, #52B788);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

/* ── For You Cards ── */
.for-you-card {
  border-radius: 20px;
  padding: 2.5rem;
  transition: transform 0.25s ease;
}
.for-you-card:hover { transform: translateY(-4px); }
.for-you-card .check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.for-you-card .check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  margin-top: 2px;
}

/* ── Testimonials ── */
.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #D8F3DC;
  box-shadow: 0 2px 12px rgba(45,106,79,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(45,106,79,0.12);
}

/* ── FAQ Accordion ── */
.faq-item { border-bottom: 1px solid #D8F3DC; }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: #1a4731;
  gap: 1rem;
  transition: color 0.2s ease;
}
.faq-question:hover { color: #52B788; }
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #D8F3DC;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2D6A4F;
  font-size: 1.1rem;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.3s ease;
}
.faq-item.open .faq-icon {
  background: #2D6A4F;
  color: white;
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding-bottom: 0;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}
.faq-answer p {
  color: #374151;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ── Contact Form ── */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: white;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.5); }
.form-field select option { background: #1a4731; color: white; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.18);
}

/* ── Buttons ── */
.btn-gold {
  background: linear-gradient(135deg, #F4A261, #e8874a);
  color: white;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.85rem 2rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  display: inline-block;
  text-decoration: none;
  font-family: inherit;
  font-size: 1rem;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244,162,97,0.4);
}
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: white;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.85rem 2rem;
  border: 1.5px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  display: inline-block;
  text-decoration: none;
  font-family: inherit;
  font-size: 1rem;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.7);
}
.btn-green {
  background: linear-gradient(135deg, #2D6A4F, #3d8464);
  color: white;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.85rem 2rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
  text-decoration: none;
  font-family: inherit;
  font-size: 1rem;
}
.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,106,79,0.35);
}
.btn-outline-green {
  background: transparent;
  color: #2D6A4F;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.85rem 2rem;
  border: 2px solid #2D6A4F;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  display: inline-block;
  text-decoration: none;
  font-family: inherit;
  font-size: 1rem;
}
.btn-outline-green:hover {
  background: #2D6A4F;
  color: white;
}

/* ── Language Tabs ── */
.lang-btn {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  background: transparent;
  color: #6b7280;
}
.lang-btn.active {
  background: #2D6A4F;
  color: white;
}
.lang-btn:hover:not(.active) {
  background: #D8F3DC;
  color: #2D6A4F;
}

/* ── WhatsApp Button ── */
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: white;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.85rem 1.75rem;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.animate-fade-up { animation: fadeUp 0.7s ease-out both; }
.animate-fade-up-delay-1 { animation: fadeUp 0.7s ease-out 0.1s both; }
.animate-fade-up-delay-2 { animation: fadeUp 0.7s ease-out 0.2s both; }
.animate-fade-up-delay-3 { animation: fadeUp 0.7s ease-out 0.35s both; }
.animate-float { animation: float 4s ease-in-out infinite; }

/* ── Intersection Observer fade-in ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Display Font ── */
.font-display { font-family: 'Playfair Display', Georgia, serif; }

/* ── Utilities ── */
.text-marf-dark  { color: #1a4731; }
.text-marf       { color: #2D6A4F; }
.text-marf-mid   { color: #52B788; }
.bg-marf-dark    { background-color: #1a4731; }
.bg-marf         { background-color: #2D6A4F; }
.bg-marf-mid     { background-color: #52B788; }
.bg-marf-light   { background-color: #D8F3DC; }
.bg-marf-100     { background-color: #ecfdf5; }
.border-marf-light { border-color: #D8F3DC; }
.text-gold       { color: #F4A261; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-section::after { display: none; }
  .step-connector { display: none; }
  .for-you-card { padding: 2rem 1.5rem; }
}
