/* ============================================================
   Bio Agri Tech – Premium CSS
   Aesthetic: Organic / Natural / Premium Agricultural Brand
   Fonts: Playfair Display (headings) + DM Sans (body)
   ============================================================ */

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  /* Brand Colours */
  --forest:       #1a4731;
  --green:        #2d6a4f;
  --green-mid:    #407e37;
  --green-light:  #52b788;
  --gold:         #c9a227;
  --gold-light:   #e8c84a;
  --wheat:        #f4c842;

  /* Neutrals */
  --cream:        #faf6f0;
  --tan:          #f0ead6;
  --sand:         #e8dcc8;
  --text-dark:    #1c1c1e;
  --text-mid:     #3d4a3e;
  --text-soft:    #6b7c6b;
  --white:        #ffffff;

  /* UI */
  --shadow-sm:    0 2px 8px rgba(0,0,0,.08);
  --shadow-md:    0 6px 24px rgba(0,0,0,.10);
  --shadow-lg:    0 16px 48px rgba(0,0,0,.14);
  --shadow-green: 0 8px 28px rgba(26,71,49,.20);
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    22px;
  --radius-xl:    32px;

  /* Transitions */
  --ease:         cubic-bezier(.4,0,.2,1);
  --trans:        .3s var(--ease);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background-color: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--forest);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

/* ── Skip Link ────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--forest);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-size: .9rem;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 2rem;
}

/* ── Section Labels & Dividers ────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: rgba(64,126,55,.1);
  padding: .3rem .9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.section-label.light {
  color: var(--gold-light);
  background: rgba(228,198,50,.15);
}
.divider {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--green-mid));
  border-radius: 2px;
  margin: 1.2rem 0 1.8rem;
}
.divider.center { margin-left: auto; margin-right: auto; }

/* ======================================================
   HEADER
   ====================================================== */
#site-header,
header[role="banner"] {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250,246,240,.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26,71,49,.08);
  transition: box-shadow var(--trans), background var(--trans);
}
#site-header.scrolled,
header[role="banner"].scrolled {
  background: rgba(250,246,240,.98);
  box-shadow: var(--shadow-md);
}
.header-container {
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
}
.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--forest);
  white-space: nowrap;
}

/* Nav */
nav ul {
  display: flex;
  align-items: stretch;
  gap: .2rem;
}
nav ul li { display: flex; }
nav a {
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .02em;
  color: var(--text-mid);
  padding: .5rem 1.1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  transition: background var(--trans), color var(--trans);
  white-space: nowrap;
}
nav a:hover, nav a[aria-current="page"] {
  background: rgba(26,71,49,.07);
  color: var(--forest);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--forest);
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5.5px, 5.5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5.5px, -5.5px); }

/* ======================================================
   BUTTONS
   ====================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.8rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--trans);
  white-space: nowrap;
  min-height: 48px;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #e8a020 100%);
  color: var(--forest);
  box-shadow: 0 4px 18px rgba(201,162,39,.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(201,162,39,.5);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
  margin-top: 1rem;
}
.btn-outline:hover {
  background: var(--forest);
  color: var(--white);
  transform: translateY(-2px);
}

/* ======================================================
   HERO
   ====================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero-slider img.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,36,26,.72) 0%,
    rgba(26,71,49,.58) 50%,
    rgba(10,30,20,.65) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.hero-badge {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.95);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  padding: .45rem 1.1rem;
  border-radius: 100px;
}
.hero h1 {
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
  font-size: clamp(2.4rem, 6vw, 4rem);
}
.hero p {
  max-width: 640px;
  color: rgba(255,255,255,.88);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0,0,0,.2);
}
.hero-buttons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: .5rem;
}
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 60px; }

/* ======================================================
   MISSION
   ====================================================== */
.mission {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 500px;
}
.mission-image {
  position: relative;
  overflow: hidden;
}
.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.mission-image:hover img { transform: scale(1.04); }
.mission-content {
  padding: 5rem 4rem 5rem 5rem;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mission-content p {
  color: var(--text-mid);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.mission-content p:last-of-type { margin-bottom: 0; }

/* ======================================================
   VALUES
   ====================================================== */
.values {
  background: var(--tan);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 500px;
}
.values-content {
  padding: 5rem 5rem 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.values-image {
  position: relative;
  overflow: hidden;
}
.values-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.values-image:hover img { transform: scale(1.04); }
.values-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: .5rem;
}
.value-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.1rem 1.3rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--green-mid);
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans), box-shadow var(--trans);
}
.value-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}
.value-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: .1rem; }
.value-text strong {
  display: block;
  font-size: .98rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: .25rem;
}
.value-text p {
  font-size: .88rem;
  color: var(--text-soft);
  line-height: 1.5;
  margin: 0;
}

/* ======================================================
   STATS
   ====================================================== */
.stats {
  background: linear-gradient(135deg, var(--forest) 0%, #0d2e1e 100%);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats .section-label { margin-bottom: 1rem; }
.stats h2 {
  color: var(--white);
  margin-bottom: 3rem;
  position: relative;
}
.stats-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
}
.stat-item {
  width: 240px;
  padding: 2.5rem 2rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
  transition: transform var(--trans), background var(--trans), box-shadow var(--trans);
}
.stat-item:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,.12);
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
}
.stat-icon {
  font-size: 2.2rem;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: .8rem;
  letter-spacing: -1px;
}
.stat-item p {
  color: rgba(255,255,255,.7);
  font-size: .95rem;
  font-weight: 500;
}

/* ======================================================
   ABOUT
   ====================================================== */
.about {
  padding: 5rem 2rem;
  background: var(--white);
  text-align: center;
}
.about .section-label { margin-bottom: .8rem; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  text-align: left;
}
.about-text p {
  color: var(--text-mid);
  line-height: 1.8;
  font-size: 1.02rem;
  margin-bottom: 1.2rem;
}
.about-text strong { color: var(--forest); font-weight: 700; }
.about-ids {
  background: linear-gradient(135deg, var(--tan) 0%, var(--sand) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem 2.2rem;
  border: 1px solid rgba(26,71,49,.1);
}
.about-ids h3 {
  color: var(--forest);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}
dl { display: flex; flex-direction: column; gap: .85rem; }
.id-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 1rem;
  background: rgba(255,255,255,.7);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  gap: 1rem;
}
.id-row dt { color: var(--text-soft); font-weight: 500; }
.id-row dd strong { color: var(--forest); font-weight: 700; font-family: 'DM Sans', monospace; }

/* ======================================================
   CONTACT
   ====================================================== */
.contact {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--tan) 0%, #ede4cc 100%);
  text-align: center;
}
.contact .section-label { margin-bottom: .8rem; }
.contact-intro {
  max-width: 600px;
  margin: 0 auto 3rem;
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.7;
}
.contact-grid {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.5rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  font-style: normal;
}
.contact-grid > .contact-card {
  flex: 0 0 auto;
  width: max-content;
  max-width: 100%;
  min-width: 0;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(26,71,49,.1);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text-dark);
  transition: all var(--trans);
  text-align: left;
  min-width: 0;
  overflow: hidden;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-green);
  border-color: rgba(26,71,49,.25);
}
.contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(26,71,49,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: var(--forest);
  flex-shrink: 0;
}
.contact-icon.whatsapp-icon {
  background: rgba(37,211,102,.12);
  color: #25d366;
}
.contact-info-text {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0 0.35rem;
  flex: 1;
  min-width: 0;
}
.contact-values-inline {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.25rem;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.contact-values-inline .contact-sep {
  color: var(--text-soft);
  font-weight: 400;
  user-select: none;
}
.contact-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-soft);
  flex-shrink: 0;
  white-space: nowrap;
}
.contact-label::after {
  content: '·';
  margin-left: 0.45rem;
  color: rgba(26, 71, 49, 0.35);
  font-weight: 400;
}
.contact-info-text a,
.contact-info-text span:not(.contact-label) {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-dark);
}
.contact-info-text > a,
.contact-info-text > span:not(.contact-label) {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contact-info-text a { white-space: nowrap; }
.contact-info-text span:not(.contact-label) { white-space: nowrap; }
.contact-values-inline a {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact-info-text a:hover { color: var(--green-mid); }

/* ======================================================
   FOOTER
   ====================================================== */
footer {
  background: linear-gradient(135deg, #0c2e1e 0%, #07201a 100%);
  color: rgba(255,255,255,.8);
  border-top: 3px solid var(--green-mid);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding: 4rem 2rem 3rem;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.2rem;
}
.footer-brand .footer-logo img { height: 44px; width: auto; filter: brightness(1.1); }
.footer-brand .footer-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}
.footer-brand p {
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(255,255,255,.6);
}
.footer-links h3,
.footer-contact-brief h3 {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
  font-family: 'DM Sans', sans-serif;
}
.footer-links ul { display: flex; flex-direction: column; gap: .7rem; }
.footer-links a {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  transition: color var(--trans), transform var(--trans);
  display: inline-block;
}
.footer-links a:hover { color: var(--gold-light); transform: translateX(4px); }
.footer-contact-brief p {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .7rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.footer-contact-brief i { color: var(--green-light); width: 16px; text-align: center; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 2rem;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.45); }

/* Catalogue page footer (wrapper is .container only, no .footer-inner) */
footer[role="contentinfo"] > .container:not(.footer-inner) {
  padding-top: 3.5rem;
  padding-bottom: 0;
}
footer[role="contentinfo"] > .container:not(.footer-inner) .footer-text {
  font-size: .95rem;
  line-height: 1.7;
  color: rgba(255,255,255,.72);
  margin: 0 0 1.75rem;
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
}

/* ======================================================
   CATALOGUE PAGE
   ====================================================== */
.catalogue-container {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  box-shadow: var(--shadow-lg);
  margin: 2.5rem auto;
  border: 1px solid rgba(26,71,49,.08);
}
.catalogue-header { text-align: center; margin-bottom: 2.5rem; }
.catalogue-header h1 {
  color: var(--forest);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
  padding-bottom: 1.2rem;
  position: relative;
}
.catalogue-header h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--green-mid));
  border-radius: 2px;
}
.catalogue-header p {
  color: var(--text-soft);
  font-size: 1rem;
  margin-top: 1rem;
}
.search-bar {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}
.search-bar input {
  width: 100%;
  max-width: 480px;
  padding: .9rem 1.4rem;
  border: 2px solid rgba(26,71,49,.15);
  border-radius: var(--radius-md);
  font-size: .95rem;
  font-family: 'DM Sans', sans-serif;
  background: var(--tan);
  color: var(--text-dark);
  transition: border-color var(--trans), box-shadow var(--trans), background var(--trans);
}
.search-bar input::placeholder { color: var(--text-soft); }
.search-bar input:focus {
  outline: none;
  border-color: var(--green-mid);
  background: var(--white);
  box-shadow: 0 4px 16px rgba(26,71,49,.12);
}
.chips {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
  margin: 1.5rem 0 2.5rem;
}
.chip {
  padding: .5rem 1.2rem;
  border: 2px solid rgba(26,71,49,.25);
  font-size: .85rem;
  font-weight: 600;
  border-radius: 100px;
  color: var(--forest);
  background: var(--cream);
  cursor: pointer;
  transition: all var(--trans);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  font-family: 'DM Sans', sans-serif;
}
.chip.active, .chip:hover {
  background: linear-gradient(135deg, var(--forest) 0%, var(--green) 100%);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(26,71,49,.28);
}

/* Catalogue layout */
.catalogue-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 0.5rem;
}
.catalogue-grid {
  flex: 1;
  min-width: 560px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 1.4rem;
}
.catalogue-card {
  border: 2px solid rgba(26,71,49,.08);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  background: var(--cream);
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  transition: all var(--trans);
  min-height: 270px;
}
.catalogue-card:hover {
  border-color: var(--green-mid);
  box-shadow: var(--shadow-green);
  transform: translateY(-5px);
  background: var(--white);
}
.catalogue-image {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--tan);
  height: 135px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.catalogue-image img { height: 100%; object-fit: contain; padding: 6px; }
.catalogue-card h3 { color: var(--forest); font-size: .95rem; font-weight: 700; font-family: 'DM Sans', sans-serif; }
.catalogue-card p { color: var(--text-soft); font-size: .82rem; line-height: 1.4; }
.catalogue-card .pack { color: var(--text-soft); font-size: .78rem; font-style: italic; margin-top: auto; }

/* Product details panel — outer clips radius; inner scrolls so the bar sits inside the card */
.product-details {
  flex: 0 0 360px;
  position: sticky;
  top: 90px;
  font-size: .9rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--tan) 100%);
  border: 2px solid rgba(26,71,49,.1);
  border-radius: var(--radius-lg);
  height: fit-content;
  max-height: 72vh;
  box-shadow: var(--shadow-md);
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-details-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1.75rem 1.25rem 1.75rem 1.75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(26, 71, 49, 0.38) transparent;
}
.product-details-scroll::-webkit-scrollbar {
  width: 6px;
}
.product-details-scroll::-webkit-scrollbar-track {
  background: transparent;
  margin: 14px 0;
}
.product-details-scroll::-webkit-scrollbar-thumb {
  background: rgba(26, 71, 49, 0.28);
  border-radius: 100px;
}
.product-details-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(26, 71, 49, 0.45);
}
.product-details h2 { color: var(--forest); font-size: 1.8rem; margin-bottom: .4rem; }
.product-details h3 { color: var(--text-soft); font-size: 1rem; margin-bottom: 1.2rem; font-family: 'DM Sans', sans-serif; font-weight: 500; }
.product-details img {
  display: block;
  width: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  transition: box-shadow var(--trans), transform var(--trans);
}
.product-details img:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.015);
}
.product-details img:focus-visible {
  outline: 2px solid var(--green-mid);
  outline-offset: 3px;
}
.product-details ul { list-style: none; padding: 0; }
.product-details li { margin-bottom: .9rem; padding-bottom: .9rem; border-bottom: 1px solid rgba(26,71,49,.08); line-height: 1.6; font-size: .88rem; color: var(--text-mid); }
.product-details li:last-child { border-bottom: none; }

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  padding: 1rem;
  -webkit-overflow-scrolling: touch;
}
.modal-content {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 1px solid rgba(26,71,49,.1);
  animation: modalIn .3s var(--ease);
}
@keyframes modalIn {
  from { transform: scale(.92) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--trans);
  border: none;
}
.close-btn:hover { background: var(--green-mid); transform: rotate(90deg); }
.modal-content h2 { font-size: 2rem; color: var(--forest); margin-bottom: 1rem; }
.modal-content h3 { font-size: 1.2rem; color: var(--green-mid); margin-bottom: 1rem; font-family: 'DM Sans', sans-serif; }
.modal-content p { font-size: .95rem; line-height: 1.7; color: var(--text-mid); margin-bottom: 1.2rem; }
.modal-content img {
  margin-bottom: 1.2rem;
  max-height: 280px;
  object-fit: contain;
  width: 100%;
  border-radius: var(--radius-md);
  cursor: zoom-in;
  transition: box-shadow var(--trans), transform var(--trans);
}
.modal-content img:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.015);
}
.modal-content img:focus-visible {
  outline: 2px solid var(--green-mid);
  outline-offset: 3px;
}
.modal-content li { font-size: .9rem; color: var(--text-mid); margin-bottom: .9rem; line-height: 1.6; }

/* Image zoom */
.image-zoom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  animation: fadeIn .25s ease;
}
.image-zoom-overlay img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius-md);
  cursor: zoom-out;
  animation: zoomIn .3s var(--ease);
}
@keyframes zoomIn {
  from { transform: scale(.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Back button */
.back-button { margin-top: 2.5rem; text-align: center; }

/* ======================================================
   RESPONSIVE
   ====================================================== */

/* ── Tablet (≤1024px) ─── */
@media (max-width: 1024px) {
  .container { padding-inline: 1.5rem; }
  .mission-content { padding: 3.5rem 3rem 3.5rem 3.5rem; }
  .values-content { padding: 3.5rem 3.5rem 3.5rem 3rem; }
  .footer-inner { grid-template-columns: 1.5fr 1fr 1.5fr; gap: 2rem; padding: 4rem 1.5rem 3rem; }
  .catalogue-grid { min-width: 440px; }
}

/* ── Mobile (≤768px) ─── */
@media (max-width: 768px) {
  /* Header */
  .nav-toggle { display: flex; }
  nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 2px solid rgba(26,71,49,.15);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease);
    z-index: 999;
  }
  nav.active { max-height: 260px; }
  nav ul { flex-direction: column; gap: 0; }
  nav ul li { width: 100%; border-bottom: 1px solid rgba(26,71,49,.08); }
  nav ul li:last-child { border-bottom: none; }
  nav a {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: .95rem;
    border-radius: 0;
    justify-content: center;
    font-weight: 700;
    color: var(--forest);
  }
  nav a:hover { background: rgba(26,71,49,.06); }

  /* Hero */
  .hero { min-height: 75vh; }
  .hero-content { padding: 2rem 1.2rem; }
  .hero-buttons { flex-direction: column; align-items: center; gap: .8rem; }
  .hero-buttons .btn { width: auto; min-width: 200px; justify-content: center; }
  .hero-wave svg { height: 40px; }

  /* Mission & Values */
  .mission, .values { grid-template-columns: 1fr; }
  .mission { display: flex; flex-direction: column; }
  .mission-image { height: 280px; order: -1; }
  .mission-image img { height: 280px; }
  .mission-content { padding: 2.5rem 1.5rem; }
  .values { display: flex; flex-direction: column; }
  .values-image { height: 260px; order: -1; }
  .values-image img { height: 260px; }
  .values-content { padding: 2.5rem 1.5rem; }

  /* Stats */
  .stats { padding: 4rem 1.5rem; }
  .stats-grid { gap: 1.5rem; }
  .stat-item { width: 100%; max-width: 280px; }

  /* About */
  .about { padding: 4rem 1.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Contact */
  .contact { padding: 4rem 1.5rem; }
  .contact-grid { max-width: 100%; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 1.5rem 2rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: .4rem; }
  footer[role="contentinfo"] > .container:not(.footer-inner) { padding-top: 3rem; }

  /* Catalogue */
  .catalogue-container { padding: 2.25rem 1rem 2rem; border-radius: var(--radius-lg); margin: 1.5rem 0; }
  .catalogue-layout { flex-direction: column; margin-top: 1.75rem; padding-top: 0.65rem; }
  .catalogue-grid { min-width: 0 !important; width: 100%; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important; }
  .product-details { position: relative; top: 0; max-height: none; flex: 1 1 100%; }
}

/* ── Small Mobile (≤480px) ─── */
@media (max-width: 480px) {
  .container { padding-inline: 1rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }

  .logo img { height: 38px; }
  .logo span { font-size: 1.1rem; }

  .hero { min-height: 68vh; }
  .hero-badge { font-size: .72rem; }

  .mission-image, .values-image { height: 220px; }
  .mission-image img, .values-image img { height: 220px; }
  .mission-content, .values-content { padding: 2rem 1rem; }

  .value-item { padding: .9rem 1rem; gap: .9rem; }
  .value-icon { font-size: 1.3rem; }

  .stat-item { max-width: 220px; padding: 1.8rem 1.2rem; }
  .stat-number { font-size: 2.8rem; }

  .contact { padding: 3rem 1rem; }
  .contact-grid { max-width: 100%; gap: 0.35rem; }
  .contact-card { padding: 0.5rem 0.35rem; gap: 0.35rem; }
  .contact-icon { width: 30px; height: 30px; font-size: 0.95rem; }
  .contact-label { font-size: 0.58rem; letter-spacing: 0.05em; }
  .contact-info-text a,
  .contact-info-text span:not(.contact-label) { font-size: 0.75rem; }

  footer[role="contentinfo"] > .container:not(.footer-inner) {
    padding-top: 3rem;
  }

  .catalogue-grid { grid-template-columns: 1fr !important; }
  .catalogue-image { height: 155px; }

  .btn { padding: .8rem 1.4rem; font-size: .88rem; }
}

/* ── Very Small (≤360px) ─── */
@media (max-width: 360px) {
  .logo span { display: none; }
  .logo img { height: 34px; }
  nav a { font-size: .85rem; padding: .9rem 1.2rem; }
  .btn { padding: .7rem 1.1rem; font-size: .82rem; }
}