:root {
  --green-primary: #1b5e20;
  --green-secondary: #2e7d32;
  --green-light: #e8f5e9;
  --gold-accent: #c8a96a;
  --bg-main: #f8fbf8;
  --text-main: #1a1a1a;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.page-loaded {
  opacity: 1;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  letter-spacing: 0.02em;
}

.font-display {
  font-family: "Playfair Display", serif;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.1;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
}

.card-title {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.nav-blur {
  backdrop-filter: blur(14px);
}

.luxury-gradient {
  background: linear-gradient(120deg, #174f1b 0%, #2f7d34 50%, #174f1b 100%);
}

.gold-line {
  width: 90px;
  height: 2px;
  background: linear-gradient(90deg, rgba(200, 169, 106, 0.1), rgba(200, 169, 106, 1));
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card,
.pricing-card,
.review-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover,
.pricing-card:hover,
.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 42px rgba(20, 53, 24, 0.18);
}

.gallery-item {
  overflow: hidden;
  border-radius: 1rem;
}

.gallery-item img {
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.masonry {
  column-count: 1;
  column-gap: 1rem;
}

@media (min-width: 768px) {
  .masonry {
    column-count: 2;
  }
}

@media (min-width: 1024px) {
  .masonry {
    column-count: 3;
  }
}

.masonry > * {
  break-inside: avoid;
  margin-bottom: 1rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 1rem;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 95vw);
  max-height: 90vh;
  border-radius: 1rem;
}

.testimonial-viewport {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s ease;
}

.testimonial-slide {
  min-width: 100%;
}

.ripple-btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 9999px;
  transform: scale(0);
  animation: ripple-effect 0.7s linear;
  background: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

@keyframes ripple-effect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
}

.active-link {
  color: var(--gold-accent);
}
