/* ============================================================
   Rudra Agro Biotech Industries - Main Stylesheet
   Design system: Forest palette (deep green + bone + amber),
   native CSS, one accent (green-600 family), radius scale:
   buttons 999px / cards 16px / inputs 10px / small chips 8px.
   Z-index scale: nav 99 | header 100 | modal 200.
   ============================================================ */

/* ---- Self-hosted display font (Outfit variable) ---- */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Semantic tokens (light) ---- */
:root {
  --green-900: #14532d;
  --green-800: #166534;
  --green-700: #15803d;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-100: #dcfce7;
  --green-50: #f0fdf4;

  --bg: #ffffff;
  --surface: #f7faf5;
  --card: #ffffff;
  --ink: #122a1c;
  --ink-soft: #233d2d;
  --text: #374151;
  --muted: #5b6b61;
  --border: rgba(20, 83, 45, 0.1);
  --header-bg: rgba(255, 255, 255, 0.95);
  --shadow: 0 10px 30px rgba(20, 83, 45, 0.12);
  --shadow-lg: 0 20px 50px rgba(20, 83, 45, 0.2);
  --shadow-green: rgba(21, 128, 61, 0.35);

  --radius: 16px;
  --font-head: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Segoe UI", Roboto, system-ui, -apple-system, sans-serif;
}

/* ---- Dark mode: same tokens, flipped values (theme stays locked as "auto") ---- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1f14;
    --surface: #10281a;
    --card: #14301f;
    --ink: #eef7f0;
    --ink-soft: #d5e6da;
    --text: #c2d4c8;
    --muted: #93a89b;
    --border: rgba(255, 255, 255, 0.09);
    --header-bg: rgba(12, 31, 20, 0.92);
    --green-100: #1d4030;
    --green-50: #12291c;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
  }

  .section-tag, .product-type { color: #a7e8c0; }
  .section-title em, .stat strong, .product-more, .about-card span,
  .why-icon svg, .form-note.success { color: var(--green-500); }
  .about-list li::before, .modal-features li::before { color: #86e5a8; }
  .btn-outline-green { border-color: var(--green-500); color: var(--green-500); }
  .btn-outline-green:hover { background: var(--green-500); color: #0c1f14; }
  .info-item a { color: #4ade80; }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  overflow-x: hidden;
}

.scroll-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

.section { padding: 90px 0; }

.section-tag {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-800);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-title em { color: var(--green-700); font-style: italic; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head p { color: var(--muted); }

/* ===== Reveal animation (gated by reduced-motion) ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease, color 0.3s ease;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary {
  background: var(--green-700);
  color: #ffffff;
  box-shadow: 0 8px 20px var(--shadow-green);
}
.btn-primary:hover { background: var(--green-800); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline:hover { background: #ffffff; color: var(--green-800); }
.btn-block { width: 100%; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 12px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
  background: transparent;
}
.header.scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 6px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 50px; height: 50px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--green-500);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  background: #ffffff;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong {
  font-family: var(--font-head);
  color: #ffffff;
  font-size: 1.05rem;
  transition: color 0.3s ease;
}
.brand-text small { color: var(--green-100); font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; transition: color 0.3s ease; }
.header.scrolled .brand-text strong { color: var(--ink); }
.header.scrolled .brand-text small { color: var(--green-700); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav-link {
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--green-500);
  transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--green-500); }
.header.scrolled .nav-link { color: var(--ink-soft); }
.header.scrolled .nav-link:hover, .header.scrolled .nav-link.active { color: var(--green-700); }
.nav-cta {
  background: var(--green-700);
  color: #ffffff !important;
  padding: 10px 24px;
  border-radius: 999px;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--green-800); color: #ffffff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 3px;
  background: #ffffff;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.header.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero (split: copy left, product visual right) ===== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 55%, #2f9e44 100%);
  padding: 96px 0 64px;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.10), transparent 40%),
    radial-gradient(circle at 88% 78%, rgba(217, 164, 65, 0.16), transparent 45%);
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  top: -140px; right: -120px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-copy { max-width: 640px; }

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(220, 252, 231, 0.9);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 999px;
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease both;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5.5vw, 3.9rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.12;
  margin-bottom: 20px;
  animation: fadeUp 0.8s 0.15s ease both;
}
.hero-title em { color: var(--green-500); font-style: italic; }

.hero-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 32px;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeUp 0.8s 0.45s ease both; }

.hero-media { position: relative; justify-self: end; animation: fadeUp 0.8s 0.5s ease both; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: 46% 54% 52% 48%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.16), transparent 60%);
  border: 2px dashed rgba(255, 255, 255, 0.22);
  animation: spinSlow 26s linear infinite;
  pointer-events: none;
}
.hero-product {
  position: relative;
  width: min(340px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 30px 70px rgba(6, 30, 16, 0.45);
}
.hero-product img { width: 100%; height: 100%; object-fit: cover; }
.hero-float {
  position: absolute;
  bottom: -18px; left: -22px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--green-900);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-float svg { width: 20px; height: 20px; color: var(--green-600); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

/* ===== Stats strip (below hero) ===== */
.stats-strip { background: var(--bg); border-bottom: 1px solid var(--border); padding: 44px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stat { display: flex; flex-direction: column; align-items: flex-start; }
.stat strong {
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--green-700);
  line-height: 1.2;
}
.stat span { color: var(--muted); font-size: 0.92rem; }

/* ===== About ===== */
.about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: center;
}
.about-media { position: relative; }
.about-img-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--green-50);
}
.about-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-card {
  position: absolute;
  bottom: 24px; left: -24px;
  background: var(--card);
  border-left: 5px solid var(--green-600);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
}
.about-card strong { font-family: var(--font-head); color: var(--ink); font-size: 1.02rem; }
.about-card span { color: var(--green-700); font-size: 0.85rem; font-weight: 500; }

.about-text p { margin-bottom: 16px; color: var(--muted); }
.about-list { margin: 22px 0 30px; display: grid; gap: 12px; }
.about-list li {
  position: relative;
  padding-left: 34px;
  font-weight: 500;
  color: var(--ink-soft);
}
.about-list li::before {
  content: "\2714";
  position: absolute;
  left: 0; top: 2px;
  width: 24px; height: 24px;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
}

/* ===== Products ===== */
.products { background: var(--surface); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.product-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid var(--border);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.product-img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--green-50); }
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img img { transform: scale(1.06); }
.product-body { padding: 22px 24px 26px; }
.product-type {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 8px;
  margin-bottom: 10px;
}
.product-body h3 { font-family: var(--font-head); color: var(--ink); font-size: 1.25rem; margin-bottom: 8px; }
.product-body p { color: var(--muted); font-size: 0.94rem; }

.product-card-plain {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(160deg, var(--green-800) 0%, var(--green-600) 100%);
  border: none;
  padding: 30px;
}
.product-card-plain .product-body { padding: 0; max-width: 300px; }
.product-card-plain .product-type { background: rgba(255, 255, 255, 0.18); color: var(--green-100); }
.product-card-plain h3 { color: #ffffff; }
.product-card-plain p { color: rgba(255, 255, 255, 0.85); }
.product-plain-icon {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 2px dashed rgba(255, 255, 255, 0.4);
}
.product-plain-icon svg { width: 40px; height: 40px; color: #ffffff; }

/* ===== Why Us ===== */
.why { background: var(--bg); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  background: var(--card);
}
.why-icon {
  width: 70px; height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-100), var(--green-50));
  display: grid;
  place-items: center;
}
.why-icon svg { width: 30px; height: 30px; color: var(--green-700); }
.why-card h3 { font-family: var(--font-head); color: var(--ink); font-size: 1.12rem; margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 0.92rem; }

/* ===== Contact ===== */
.contact { background: var(--surface); }
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 40px;
  align-items: start;
}
.contact-info {
  background: linear-gradient(160deg, var(--green-900), var(--green-700));
  border-radius: var(--radius);
  padding: 36px 32px;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 26px;
}
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
}
.info-icon svg { width: 22px; height: 22px; color: #ffffff; }
.info-item h4 { font-family: var(--font-head); font-size: 1rem; margin-bottom: 4px; }
.info-item p { color: rgba(255, 255, 255, 0.85); font-size: 0.94rem; }
.info-item a { color: var(--green-500); font-weight: 600; }
.info-item a:hover { text-decoration: underline; }
.info-item small { color: rgba(255, 255, 255, 0.55); }

.contact-form {
  background: var(--card);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.form-group input, .form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
  background: var(--card);
}
.form-note { margin-top: 12px; font-size: 0.9rem; font-weight: 600; text-align: center; }
.form-note.success { color: var(--green-700); }
.form-note.error { color: #dc2626; }

/* ===== Product cards - clickable ===== */
.product-card { cursor: pointer; position: relative; }
.product-card:focus-visible { outline: 3px solid var(--green-500); outline-offset: 2px; }
.product-more {
  display: inline-block;
  margin-top: 12px;
  color: var(--green-700);
  font-weight: 600;
  font-size: 0.88rem;
}
.product-card-plain .product-more { color: var(--green-500); }

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 18, 0.72);
  backdrop-filter: blur(4px);
}
.modal-dialog {
  position: relative;
  width: min(880px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s ease;
}
.modal.open .modal-dialog { transform: none; }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  width: 40px; height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #122a1c;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.modal-close:hover { background: var(--green-700); color: #ffffff; transform: rotate(90deg); }
.modal-body {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}
.modal-img {
  aspect-ratio: 1 / 1;
  background: var(--green-50);
  overflow: hidden;
  border-radius: 18px 0 0 18px;
}
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-content { padding: 34px 32px; display: flex; flex-direction: column; justify-content: center; }
.modal-content h3 { font-family: var(--font-head); font-size: 1.6rem; color: var(--ink); margin-bottom: 10px; }
.modal-content > p { color: var(--muted); margin-bottom: 16px; font-size: 0.97rem; }
.modal-features { display: grid; gap: 10px; margin-bottom: 24px; }
.modal-features li {
  position: relative;
  padding-left: 28px;
  font-size: 0.93rem;
  color: var(--ink-soft);
}
.modal-features li::before {
  content: "\2714";
  position: absolute;
  left: 0; top: 1px;
  width: 20px; height: 20px;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
}
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-outline-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid var(--green-700);
  color: var(--green-700);
  background: transparent;
  transition: all 0.3s ease;
}
.btn-outline-green:hover { background: var(--green-700); color: #ffffff; }

/* ===== Footer ===== */
.footer { background: var(--green-900); color: rgba(255, 255, 255, 0.75); }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding: 60px 0 40px;
}
.footer-logo { width: 56px; height: 56px; object-fit: cover; border-radius: 12px; border: 2px solid var(--green-600); margin-bottom: 14px; background: #ffffff; }
.footer-brand p { font-size: 0.92rem; max-width: 300px; }
.footer-links h4 {
  font-family: var(--font-head);
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  margin-bottom: 10px;
  transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-links a:hover { color: var(--green-500); padding-left: 6px; }
.footer-links p { font-size: 0.92rem; margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media { max-width: 480px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { display: none; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 80px;
    right: -100%;
    width: min(280px, 72vw);
    height: calc(100vh - 80px);
    height: calc(100dvh - 80px);
    background: var(--bg);
    border-radius: 16px 0 0 16px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2px;
    padding: 8px 0;
    overflow-y: auto;
    box-shadow: -10px 10px 40px rgba(0, 0, 0, 0.22);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99;
  }
  .nav.open { right: 0; }
  .nav-link {
    color: var(--ink-soft) !important;
    font-size: 1.02rem;
    font-weight: 500;
    padding: 14px 30px;
    width: 100%;
    position: relative;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    border-left: 3px solid transparent;
  }
  .nav-link:hover, .nav-link.active {
    color: var(--green-700) !important;
    background: var(--green-50);
    border-left-color: var(--green-600);
  }
  .nav-link::after { display: none; }
  .nav-cta {
    display: inline-block;
    margin-top: 14px;
    margin-bottom: 8px;
    margin-left: 30px;
    margin-right: 30px;
    text-align: center;
    border-left-color: transparent;
    background: var(--green-700) !important;
    color: #ffffff !important;
    border-radius: 999px;
    padding: 14px 28px;
  }
  .nav-cta:hover { background: var(--green-800) !important; border-left-color: transparent; }
  .nav-toggle { display: flex; position: relative; z-index: 100; }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 98;
    background: rgba(10, 30, 18, 0.55);
    backdrop-filter: blur(2px);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }
  .nav-backdrop.open { visibility: visible; opacity: 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .about-card { left: 8px; }
  .products-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 66px 0; }
  .hero { padding: 88px 0 56px; }
  .stats-strip { padding: 34px 0; }
}

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