/* Basic Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: #222;
  background-color: #ffffff;
  line-height: 1.6;
}

/* Layout Helpers */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Colors */
:root {
  --emerald: #0f8a5f;
  --emerald-dark: #0b6244;
  --light-grey: #f5f5f5;
  --border-light: #e0e0e0;
  --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* Header / Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-main {
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--emerald);
}

/* Desktop Nav */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  text-decoration: none;
  color: #444;
  font-size: 0.9rem;
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--emerald);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background-color: #333;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border-light);
  background-color: #ffffff;
}

.mobile-nav ul {
  list-style: none;
  padding: 0.75rem 1.25rem 1rem;
}

.mobile-nav li + li {
  margin-top: 0.5rem;
}

.mobile-nav a {
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
}

.mobile-nav a:hover {
  color: var(--emerald);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-hero {
  background-color: #ffffff;
}

.section-default {
  background-color: #ffffff;
}

.section-alt {
  background-color: var(--light-grey);
}

.section-banner {
  padding: 2.5rem 0;
}

/* Hero */
.hero-inner {
  display: flex;
  align-items: center;
  min-height: 50vh;
}

.hero-content h1 {
  font-size: 1.9rem;
  max-width: 720px;
  margin-bottom: 1rem;
}

.hero-content p {
  max-width: 620px;
  margin-bottom: 1.5rem;
  color: #444;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  background-color: var(--emerald);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  background-color: var(--emerald-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

/* Section Headers */
.section-header {
  margin-bottom: 2.5rem;
  text-align: left;
}

.section-header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: #555;
  max-width: 640px;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
}

.pillar-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.pillar-card p {
  font-size: 0.9rem;
  color: #555;
}

/* Banner Images */
.banner-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.banner-image {
  display: block;
  width: 100%;
  height: auto;
}

/* Products Layout */
.products-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: flex-start;
}

.products-text p + p {
  margin-top: 1rem;
}

.products-text ul {
  margin: 0.75rem 0 0.5rem;
  padding-left: 1.2rem;
}

.products-text li {
  margin-bottom: 0.3rem;
}

.products-cta {
  background-color: var(--light-grey);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--border-light);
}

.products-cta h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.products-cta p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* Story */
.story-content p + p {
  margin-top: 0.75rem;
}

.story-toggle {
  margin-top: 1.25rem;
  border: none;
  background: none;
  color: var(--emerald);
  font-weight: 500;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0;
}

.story-more {
  margin-top: 1rem;
  display: none;
}

.story-more p + p {
  margin-top: 0.75rem;
}

/* Card Grid (Testimonials & Commitments) */
.card-grid {
  display: grid;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.card-grid--testimonials {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 2.25rem;
}

.card-grid--commitments {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}

.card-quote {
  font-style: italic;
  margin-bottom: 0.75rem;
}

.card-meta {
  font-size: 0.8rem;
  color: #777;
}

/* Quality Note */
.quality-note {
  max-width: 640px;
  font-size: 0.9rem;
  color: #555;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-main p {
  margin-bottom: 1rem;
}

.contact-details p {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.contact-details a {
  color: var(--emerald-dark);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-light);
  background-color: #ffffff;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: #666;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-about p + p {
  margin-top: 0.25rem;
}

/* Fade-in Animations */
.fade-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.fade-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
  .pillars {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid--testimonials {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid--commitments {
    grid-template-columns: 1fr 1fr;
  }

  .products-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 3rem 0;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .card-grid--testimonials,
  .card-grid--commitments {
    grid-template-columns: 1fr;
  }

  /* Show mobile toggle, hide desktop nav */
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    display: none; /* will be toggled via JS */
  }

  .mobile-nav.is-open {
    display: block;
  }
}
