/* ── Custom Properties ── */
:root {
  --forest-dark: #1a3a2a;
  --forest-green: #2d5a3f;
  --forest-light: #4a7c5c;
  --forest-green-light: #6b9e7e;
  --off-white: #f4f2ed;
  --off-white-light: #faf9f6;
  --text-muted: rgba(26, 58, 42, 0.5);
  --text-light-muted: rgba(232, 240, 228, 0.6);
  --shadow-card: 0 4px 24px rgba(26, 58, 42, 0.08);
  --shadow-card-hover: 0 8px 40px rgba(26, 58, 42, 0.14);
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--forest-dark);
  background-color: var(--off-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ── */
.font-serif { font-family: 'Playfair Display', Georgia, serif; }
.font-sans { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }

/* ── Section Label ── */
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--forest-light);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--forest-dark);
  color: var(--off-white);
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--forest-green);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 58, 42, 0.2);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--forest-dark);
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(26, 58, 42, 0.2);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-secondary:hover {
  background: var(--forest-dark);
  color: var(--off-white);
  border-color: var(--forest-dark);
  transform: translateY(-1px);
}

/* ── CTA Buttons ── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--off-white);
  color: var(--forest-dark);
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-cta:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--off-white);
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid rgba(232, 240, 228, 0.3);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-cta-secondary:hover {
  background: rgba(232, 240, 228, 0.1);
  border-color: rgba(232, 240, 228, 0.6);
  transform: translateY(-2px);
}

/* ── Inputs ── */
.input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(26, 58, 42, 0.15);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--forest-dark);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.input:focus {
  border-color: var(--forest-green);
  box-shadow: 0 0 0 3px rgba(45, 90, 63, 0.1);
}
.input::placeholder { color: var(--text-muted); }

/* ── Navigation ── */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--forest-green);
  transition: width var(--transition);
}
.nav-link:hover::after { width: 100%; }
.mobile-link {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(26, 58, 42, 0.06);
}

/* ── Hero ── */
.hero {
  background: var(--off-white);
  position: relative;
}
.hero-bg-pattern {
  background-image: radial-gradient(circle at 1px 1px, var(--forest-dark) 1px, transparent 0);
  background-size: 40px 40px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(26, 58, 42, 0.06);
  border-radius: 100px;
  border: 1px solid rgba(26, 58, 42, 0.08);
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest-green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.badge-text { font-family: 'Inter', sans-serif; }

/* ── Hero Cards ── */
.hero-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.hero-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.card-img { width: 100%; }
.card-body { background: white; }
.hero-float {
  animation: float 6s ease-in-out infinite;
}
.stat-card-1 { animation-delay: 0s; }
.stat-card-2 { animation-delay: -2s; }
.stat-card-3 { animation-delay: -4s; }
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.stat-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 58, 42, 0.08);
  border-radius: 10px;
  flex-shrink: 0;
}
.stat-icon-light {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 240, 228, 0.15);
  border-radius: 10px;
  flex-shrink: 0;
}

/* ── Trust Bar ── */
.trust-item { text-align: center; }
.trust-item p:first-child { margin-bottom: 2px; }
.trust-item p:last-child { margin-top: 2px; }

/* ── Service Cards ── */
.service-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(26, 58, 42, 0.06);
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.service-img-wrap { overflow: hidden; }
.service-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .service-img { transform: scale(1.04); }
.service-body { border-top: 1px solid rgba(26, 58, 42, 0.06); }

/* ── About ── */
.about-pattern {
  background-image:
    linear-gradient(30deg, var(--off-white) 12%, transparent 12.5%, transparent 87%, var(--off-white) 87.5%, var(--off-white)),
    linear-gradient(150deg, var(--off-white) 12%, transparent 12.5%, transparent 87%, var(--off-white) 87.5%, var(--off-white)),
    linear-gradient(30deg, var(--off-white) 12%, transparent 12.5%, transparent 87%, var(--off-white) 87.5%, var(--off-white)),
    linear-gradient(150deg, var(--off-white) 12%, transparent 12.5%, transparent 87%, var(--off-white) 87.5%, var(--off-white));
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px;
}
.about-img { border-radius: var(--radius); box-shadow: var(--shadow-card); }

/* ── Brands Grid ── */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(26, 58, 42, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
}
.brand-item {
  background: white;
  padding: 28px 20px;
  text-align: center;
  transition: background var(--transition);
}
.brand-item:hover { background: var(--off-white); }
.brand-item span {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--forest-dark);
  letter-spacing: 0.01em;
}

/* ── Contact ── */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 58, 42, 0.06);
  border-radius: 10px;
  flex-shrink: 0;
}
.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  background: rgba(26, 58, 42, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ── Mobile Menu ── */
#mobileMenu { transition: max-height 0.3s ease; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-float { display: none; }
  .hero-card { width: 100%; max-width: 420px; }
}
@media (max-width: 768px) {
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { padding-top: 80px; }
  h1.font-serif { font-size: 2.5rem !important; }
  h2.font-serif { font-size: 2rem !important; }
}
@media (max-width: 480px) {
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .grid lg\:grid-cols-2 { grid-template-columns: 1fr; }
  .hero-card { max-width: 100%; }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
