/* === TOKENS === */
:root {
  --green-deep: #2C3E2D;
  --green-dark: #3A5238;
  --green-mid: #4E6B4C;
  --green-olive: #6B7A3D;
  --green-olive-light: #8B9A5A;
  --white: #FFFFFF;
  --off-white: #F5F3EE;
  --cream: #EDE9DC;
  --text-light: rgba(255,255,255,0.85);
  --text-muted: rgba(255,255,255,0.55);
  --wa-green: #25D366;
  --wa-dark: #128C7E;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.18);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.28);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--green-deep);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }

/* === NAV === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(44,62,45,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img {
  height: 44px; width: auto; object-fit: contain; border-radius: 6px;
  background: var(--off-white); padding: 4px 8px;
}
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.03em;
  color: var(--text-light); transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--green-olive) !important; color: var(--white) !important;
  padding: 8px 20px; border-radius: 100px; font-weight: 600 !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--green-olive-light) !important; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; }
.mobile-menu {
  display: none; flex-direction: column;
  background: var(--green-dark); max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease;
}
.mobile-menu.open { max-height: 300px; }
.mobile-menu a {
  padding: 14px 24px; font-size: 0.95rem; font-weight: 500;
  color: var(--text-light); border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu a:hover { background: rgba(255,255,255,0.06); }

/* === HERO === */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-dark) 40%, var(--green-mid) 100%);
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1513364776144-60967b0f800f?w=1600&q=80') center/cover no-repeat;
  opacity: 0.12; mix-blend-mode: overlay;
}
.hero-bg::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(to bottom, transparent, var(--green-deep));
}
.hero-content {
  position: relative; z-index: 1; text-align: center;
  max-width: 760px; padding: 0 24px;
}
.hero-eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--green-olive-light); margin-bottom: 20px;
  padding: 6px 16px; border: 1px solid var(--green-olive); border-radius: 100px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 700; line-height: 1.1;
  color: var(--white); margin-bottom: 24px; letter-spacing: -0.02em;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-light);
  max-width: 540px; margin: 0 auto 40px; font-weight: 300; line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 1;
}
.hero-scroll span { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); }
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--green-olive), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 100px; font-weight: 600; font-size: 0.9rem;
  transition: var(--transition); cursor: pointer; border: none; letter-spacing: 0.02em;
}
.btn-primary { background: var(--green-olive); color: var(--white); }
.btn-primary:hover { background: var(--green-olive-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(107,122,61,0.4); }
.btn-outline { background: transparent; color: var(--green-olive); border: 2px solid var(--green-olive); }
.btn-outline:hover { background: var(--green-olive); color: var(--white); transform: translateY(-2px); }
.btn-wa { background: var(--wa-green); color: var(--white); }
.btn-wa svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.35); }
.btn-lg { padding: 18px 36px; font-size: 1rem; }

/* === SECTION LABELS === */
.section-label {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--green-olive); margin-bottom: 12px;
}
.section-label.light { color: var(--green-olive-light); }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.2;
  color: var(--green-deep); margin-bottom: 20px;
}
.section-title.light { color: var(--white); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-desc { font-size: 1.05rem; color: var(--text-light); max-width: 520px; margin: 0 auto; }

/* === MARQUEE === */
.marquee-wrap { background: var(--green-olive); padding: 16px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 28px; animation: marquee 30s linear infinite; }
.marquee-track span { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); flex-shrink: 0; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* === ABOUT === */
.about { background: var(--off-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-images { position: relative; height: 520px; }
.about-img-main {
  position: absolute; top: 0; left: 0; width: 75%; height: 80%;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
}
.about-img-accent {
  position: absolute; bottom: 0; right: 0; width: 55%; height: 50%;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 4px solid var(--off-white);
}
.about-text .section-title { color: var(--green-deep); }
.about-text p { color: #4a5a4a; line-height: 1.9; margin-bottom: 32px; font-size: 1.05rem; }

/* === SERVICES === */
.services { background: var(--green-dark); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.service-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 32px 24px; transition: var(--transition);
}
.service-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); border-color: var(--green-olive); }
.service-icon { font-size: 2.2rem; margin-bottom: 16px; }
.service-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.service-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* === GALLERY === */
.gallery { background: var(--off-white); }
.gallery .section-title { color: var(--green-deep); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; gap: 16px; }
.gallery-item { border-radius: var(--radius-sm); overflow: hidden; position: relative; cursor: pointer; }
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-item img { transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 16px 14px;
  background: linear-gradient(to top, rgba(30,50,30,0.85), transparent);
  color: var(--white); font-size: 0.85rem; font-weight: 500;
  opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* === LOCATION === */
.location { background: var(--green-deep); }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.location-addr { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 32px; }
.location-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.loc-item { display: flex; align-items: center; gap: 12px; color: var(--text-light); font-size: 0.95rem; }
.loc-item svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--green-olive-light); }
.loc-item a { color: var(--green-olive-light); transition: color var(--transition); }
.loc-item a:hover { color: var(--white); }
.map-wrap { border-radius: var(--radius); overflow: hidden; height: 420px; box-shadow: var(--shadow-lg); border: 2px solid rgba(255,255,255,0.08); }
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* === CONTACT === */
.contact { background: var(--green-mid); }
.contact-card {
  background: linear-gradient(135deg, var(--green-dark), var(--green-deep));
  border-radius: 24px; padding: 80px 60px; text-align: center;
  max-width: 700px; margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.08); box-shadow: var(--shadow-lg);
}
.contact-desc { color: var(--text-light); font-size: 1.05rem; max-width: 460px; margin: 0 auto 36px; line-height: 1.8; }

/* === FOOTER === */
.footer { background: var(--green-deep); border-top: 1px solid rgba(255,255,255,0.06); padding: 60px 0 32px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.footer-brand img { height: 56px; width: auto; object-fit: contain; background: var(--off-white); border-radius: 8px; padding: 6px 12px; margin: 0 auto 12px; }
.footer-brand p { color: var(--text-muted); font-size: 0.875rem; max-width: 360px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 0.875rem; color: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.25); }

/* === FLOATING WHATSAPP === */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa-green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: var(--transition); animation: waPulse 2.5s ease-in-out infinite;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { background: var(--wa-dark); transform: scale(1.1); animation: none; }
@keyframes waPulse {
  0%,100%{box-shadow:0 4px 20px rgba(37,211,102,0.5)}
  50%{box-shadow:0 4px 40px rgba(37,211,102,0.8), 0 0 0 8px rgba(37,211,102,0.15)}
}

/* === LIGHTBOX === */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,0.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox-close { position: absolute; top: 20px; right: 24px; font-size: 2rem; color: var(--white); background: none; border: none; cursor: pointer; line-height: 1; }
.lightbox-close:hover { color: var(--green-olive-light); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .about-grid, .location-grid { grid-template-columns: 1fr; }
  .about-images { height: 340px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 1; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .contact-card { padding: 48px 28px; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}
