:root {
  --forest: #0d401c;
  --forest-deep: #072010;
  --green: #175229;
  --green-light: #51a245;
  --gold: #f7941d;
  --gold-light: #f8c32c;
  --charcoal: #0d401c;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebd5a;
  --text: #1c2b22;
  --text-light: #5c6b62;
  --bg-alt: #f5f8f5;
  --border: #e3e9e3;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(13, 64, 28, 0.1);
  --font-heading: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
}

h1, h2, h3, h4, .logo, .btn, .service-chip {
  font-family: var(--font-heading);
}

img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.container.narrow { max-width: 820px; }

a { color: inherit; text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(13, 64, 28, 0.18); }
.btn-small { padding: 8px 16px; font-size: 0.85rem; }
.btn-full { width: 100%; text-align: center; }

.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-light); }

.btn-outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: #fff; }

.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

.btn-call { background: var(--green); color: #fff; }
.btn-call:hover { background: var(--forest); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.scrolled {
  border-color: var(--border);
  box-shadow: 0 4px 20px rgba(13, 64, 28, 0.08);
}

.header-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.header-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.header-brand-row {
  display: flex;
  justify-content: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--charcoal);
  min-width: 0;
}
.logo img {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}
.logo span {
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 24px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover { border-color: var(--gold); color: var(--forest); }
.main-nav a.active { color: var(--forest); border-color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--charcoal);
  border-radius: 2px;
}

/* Hero */
.hero {
  aspect-ratio: 1568 / 1003;
  min-height: 560px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 60px 0;
}
.hero-inner { text-align: center; animation: hero-fade-up 0.8s ease both; }
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero-subtitle {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 20px;
  opacity: 0.95;
}
.hero-trust {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 8px 20px;
  border-radius: 9999px;
  border: 1px solid rgba(248, 195, 44, 0.6);
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-buttons .btn { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22); }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-stat { text-align: center; }
.hero-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.2;
}
.hero-stat span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  opacity: 0.85;
}

/* Sections */
.section { padding: 70px 0; }
.alt-bg { background: var(--bg-alt); }

.section-title {
  position: relative;
  font-size: 1.9rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 26px;
  padding-bottom: 18px;
  color: var(--forest);
}
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  border-radius: 4px;
  background: var(--gold);
}
.section-lead {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 10px;
  color: var(--forest);
  font-weight: 700;
  font-size: 1.1rem;
}
.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--text-light);
}

/* About */
.about-text { font-size: 1.05rem; color: var(--text-light); }
.about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.about-details div { font-size: 0.95rem; }
.about-details span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--forest);
  font-weight: 700;
  margin-bottom: 4px;
}
.about-details .span-2 { grid-column: 1 / -1; }

/* Product cards */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(13, 64, 28, 0.16);
}
.product-image { background: var(--bg-alt); overflow: hidden; aspect-ratio: 4 / 3; }
.product-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 0.25s ease; }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 700; color: var(--forest); }
.product-body p { color: var(--text-light); font-size: 0.92rem; flex: 1; }
.product-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }

/* Project video */
.project-video {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto 48px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}
.project-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Gallery */
.gallery-category { margin-bottom: 40px; }
.gallery-category h3 {
  color: var(--forest);
  border-left: 4px solid var(--gold);
  padding-left: 12px;
  margin-bottom: 16px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.gallery-item {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-empty { color: var(--text-light); font-style: italic; }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 14, 0.92);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 6px; }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
}

/* Clients */
.clients-marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.clients-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: clients-scroll 36s linear infinite;
}
.clients-marquee:hover .clients-track { animation-play-state: paused; }
.client-logo {
  flex: 0 0 auto;
  width: 280px;
  height: 160px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.client-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(13, 64, 28, 0.16);
}
.client-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

@media (max-width: 720px) {
  .client-logo { width: 200px; height: 120px; padding: 14px; }
}

@keyframes clients-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; }
  .clients-marquee { overflow-x: auto; }
}

/* Why choose us */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.feature-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(13, 64, 28, 0.16);
}
.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--green), var(--forest));
  border: 3px solid var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.2s ease;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-box:hover .feature-icon { transform: scale(1.08) rotate(-4deg); }
.feature-box h3 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 700; color: var(--forest); }
.feature-box p { color: var(--text-light); font-size: 0.9rem; margin: 0; }

/* Services */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.service-chip {
  background: var(--forest);
  color: #fff;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.15s ease;
}
.service-chip:hover { background: var(--gold); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-details p { margin: 0 0 12px; }
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.enquiry-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.enquiry-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
}
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
}
.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-error { color: #b3261e; font-weight: 600; margin: 0; }

/* Footer */
.site-footer { background: var(--forest-deep); color: #dfe8e5; padding: 50px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  padding-bottom: 30px;
}
.footer-col h3, .footer-col h4 { color: #fff; margin: 0 0 14px; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 8px; font-size: 0.9rem; color: #b9c6c3; }
.footer-list a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #9aa9a6;
}
.footer-bottom p { margin: 0 0 6px; }
.footer-bottom p:last-child { margin-bottom: 0; }
.footer-credit { font-size: 0.8rem; }
.footer-credit a { color: #9aa9a6; text-decoration: underline; }
.footer-credit a:hover { color: var(--gold-light); }

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 22px;
  right: 90px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 150;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--bg-alt); }

/* Scroll-reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-inner { animation: none; }
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: var(--whatsapp);
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  z-index: 150;
}
.whatsapp-float:hover { background: var(--whatsapp-dark); }

/* Responsive */
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .about-details { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .header-brand-row { text-align: center; }
  .logo {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
  .logo span {
    white-space: normal;
    font-size: 1rem;
    line-height: 1.25;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    transition: max-height 0.25s ease;
  }
  .main-nav.open { max-height: 400px; }
  .main-nav a { padding: 14px 0; width: 100%; text-align: center; border-bottom: 1px solid var(--border); }
  .hamburger { display: flex; }
  .header-actions .btn-call { display: none; }
  .hero { aspect-ratio: auto; min-height: 0; padding: 44px 0; }
  .hero h1 { font-size: 1.8rem; }
  .hero-stats { padding-top: 20px; gap: 20px 28px; }
  .section { padding: 50px 0; }
}

@media (max-width: 480px) {
  .header-actions .btn-whatsapp.btn-small { padding: 8px 10px; font-size: 0.8rem; }
  .back-to-top { right: 16px; bottom: 88px; width: 40px; height: 40px; }
  .whatsapp-float { right: 16px; bottom: 16px; }
  .hero-stats { gap: 22px; }
}
