:root {
  --green-900: #0e3b2e;
  --green-700: #1c5a44;
  --green-500: #2f8f68;
  --accent: #f8c84b;
  --cream: #f6f2e8;
  --text: #25322d;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

h1, h2, h3 {
  margin: 0 0 0.5rem;
  line-height: 1.15;
  color: #1b2d24;
}

h1, h2 {
  font-family: "DM Serif Text", serif;
}

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

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  color: #68806f;
  font-weight: 700;
}

.center {
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(18, 41, 31, 0.05);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  font-size: 0.82rem;
  color: #5e7065;
}

.topbar-left,
.topbar-right {
  display: flex;
  gap: 1.1rem;
  align-items: center;
}

.topbar-right strong {
  color: var(--green-700);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
  border-top: 1px solid #ebf0ed;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-900);
}

.logo span {
  color: var(--accent);
}

.main-nav {
  display: flex;
  gap: 1.6rem;
  font-weight: 600;
}

.main-nav a.active {
  color: var(--green-700);
}

.quote-btn {
  border: 0;
  background: var(--green-900);
  color: var(--white);
  padding: 0.68rem 1.1rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
}

.hero {
  position: relative;
}

.hero-track {
  position: relative;
  height: min(74vh, 660px);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease;
  background-image:
    linear-gradient(90deg, rgba(13, 35, 27, 0.76), rgba(13, 35, 27, 0.24)),
    var(--bg);
  background-size: cover;
  background-position: center;
  display: grid;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-content {
  color: var(--white);
  padding-top: 5rem;
}

.hero-content p {
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  color: var(--white);
}

.hero-link {
  display: inline-block;
  margin-top: 1.2rem;
  background: var(--accent);
  color: #273222;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
}

.hero-controls {
  position: absolute;
  right: 4%;
  bottom: 7%;
  display: flex;
  gap: 0.45rem;
}

.hero-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 1rem;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.1rem;
  align-items: center;
  padding: 5rem 0;
}

.intro-image img {
  width: 100%;
  border-radius: 14px;
  min-height: 380px;
  object-fit: cover;
}

.intro-copy ul {
  margin: 1rem 0 0;
  padding-left: 1rem;
}

.products {
  background: var(--cream);
  padding: 5rem 0;
}

.product-grid {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product-marquee {
  margin-top: 1.7rem;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.product-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: product-scroll 35s linear infinite;
}

.product-marquee:hover .product-track {
  animation-play-state: paused;
}

.product-marquee:focus-within .product-track {
  animation-play-state: paused;
}

.product-all-link {
  margin-top: 1.4rem;
}

.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e9e5;
  flex: 0 0 clamp(220px, 24vw, 290px);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.product-card > h3 {
  padding: 0.9rem;
}

.product-card-body {
  padding: 0.9rem;
}

.product-link {
  display: inline-block;
  margin-top: 0.55rem;
  font-weight: 700;
  color: var(--green-700);
}

.page-hero {
  min-height: 270px;
  display: grid;
  align-items: end;
  padding: 4rem 0 2.4rem;
  background-image:
    linear-gradient(90deg, rgba(15, 44, 34, 0.78), rgba(15, 44, 34, 0.3)),
    var(--banner);
  background-position: center;
  background-size: cover;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 3.3rem);
}

.page-hero .eyebrow {
  color: #d8e8dd;
}

.page-section {
  padding: 4.5rem 0;
}

.three-col {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.three-col article,
.two-col article {
  background: #f8fbf9;
  border: 1px solid #e5ece8;
  border-radius: 10px;
  padding: 1.2rem;
}

.two-col {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stats {
  background: var(--cream);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stats-grid article {
  background: var(--white);
  border: 1px solid #e2e9e5;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}

.stats-grid h3 {
  color: var(--green-700);
  font-size: 1.8rem;
}

.quote-card p {
  font-style: italic;
}

.info-card p {
  margin: 0.3rem 0;
}

.category-hero {
  min-height: 250px;
  display: grid;
  align-items: end;
  padding: 3.7rem 0 2rem;
  background-image:
    linear-gradient(90deg, rgba(11, 39, 30, 0.8), rgba(11, 39, 30, 0.34)),
    var(--banner);
  background-position: center;
  background-size: cover;
}

.category-hero h1 {
  color: var(--white);
}

.variety-grid {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.variety-card {
  border: 1px solid #e1e8e4;
  border-radius: 10px;
  padding: 1rem;
  background: #fff;
}

.variety-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.7rem;
}

.variety-card p {
  margin: 0.35rem 0;
}

.variety-card .tag {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--green-700);
  font-weight: 700;
}

.category-cta {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.ghost-btn {
  display: inline-block;
  border: 1px solid var(--green-700);
  color: var(--green-700);
  padding: 0.62rem 1rem;
  font-weight: 700;
  border-radius: 999px;
}

.expertise {
  padding: 5rem 0;
}

.expertise-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.expertise-grid article {
  background: #f8fbf9;
  border: 1px solid #e5ece8;
  border-radius: 10px;
  padding: 1.2rem;
}

.three-col article,
.expertise-grid article {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  color: var(--green-700);
  background: #eaf4ef;
  margin-bottom: 0.2rem;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.roll-number {
  font-variant-numeric: tabular-nums;
}

.blog {
  padding: 5rem 0;
  background: var(--cream);
}

.blog-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e9e5;
}

.blog-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.blog-body {
  padding: 1rem;
}

.blog-body p,
.blog-body span {
  font-size: 0.82rem;
  color: #698070;
}

.contact {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  padding: 5rem 0;
}

.contact-copy ul {
  margin: 0.8rem 0 0;
  padding-left: 1rem;
}

.contact-form {
  background: #0f3328;
  padding: 1.2rem;
  border-radius: 12px;
  display: grid;
  gap: 0.6rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.76rem;
  border: 0;
  border-radius: 6px;
  font: inherit;
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form button {
  background: var(--accent);
  border: 0;
  padding: 0.7rem 0.9rem;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.site-footer {
  background: #102f25;
  color: var(--white);
  padding: 3rem 0;
}

.footer-cta {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.footer-cta h2 {
  color: var(--white);
}

.footer-info p {
  margin: 0.15rem 0;
}

@keyframes product-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-track {
    animation: none;
  }

  .hero-slide {
    transition: none;
  }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

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

  .product-grid,
  .expertise-grid,
  .blog-grid,
  .three-col,
  .stats-grid,
  .variety-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-track {
    animation-duration: 30s;
  }

  .product-card {
    flex-basis: 240px;
  }

  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    display: none;
  }

  .product-grid,
  .expertise-grid,
  .blog-grid,
  .three-col,
  .stats-grid,
  .variety-grid {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    gap: 0.7rem;
  }

  .quote-btn {
    padding: 0.58rem 0.9rem;
    font-size: 0.85rem;
  }

  .product-marquee {
    mask-image: none;
  }

  .product-track {
    animation-duration: 24s;
  }

  .product-card {
    flex-basis: 210px;
  }

  .hero-track {
    height: 64vh;
  }

  .footer-cta {
    flex-direction: column;
  }
}

