/* AR SOIL & CROP SCIENCE  main styles */
:root {
  --green-dark: #1B5E20;
  --green-mid: #2E7D32;
  --green-light: #8BC34A;
  --gold: #F9A825;
  --gold-deep: #F57F17;
  --ink: #152018;
  --ink-soft: #3d4a40;
  --surface: #f7faf5;
  --surface-2: #eef5ea;
  --white: #ffffff;
  --line: rgba(27, 94, 32, 0.12);
  --shadow: 0 18px 50px rgba(21, 32, 24, 0.12);
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --header-h: 84px;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(139, 195, 74, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(249, 168, 37, 0.12), transparent 50%),
    linear-gradient(180deg, #f4f8f1 0%, var(--surface) 40%, #f2f6ef 100%);
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-mid); text-decoration: none; }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 0.5em;
  color: var(--ink);
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.section { padding: 4.5rem 0; }
.section-tight { padding: 3rem 0; }
.section-head { max-width: 40rem; margin-bottom: 2.25rem; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--green-dark);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-mid); color: var(--white); }
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover { background: var(--gold-deep); color: var(--white); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.65);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--green-dark); }
.btn-outline-dark {
  border-color: var(--green-dark);
  color: var(--green-dark);
  background: transparent;
}
.btn-outline-dark:hover { background: var(--green-dark); color: var(--white); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.92rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(247, 250, 245, 0.88);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
}
.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(27,94,32,0.15);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--green-dark);
  letter-spacing: 0.01em;
}
.brand-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.site-nav a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.98rem;
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--green-dark); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--green-dark);
  margin-inline: auto;
  transition: 0.2s ease;
}

/* Hero carousel */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
  color: var(--white);
}
.hero-track {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(12, 35, 16, 0.88) 0%, rgba(12, 35, 16, 0.55) 48%, rgba(12, 35, 16, 0.25) 100%),
    linear-gradient(0deg, rgba(12, 35, 16, 0.55), transparent 45%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding: 5rem 0 6rem;
  max-width: 40rem;
  animation: riseIn 0.9s ease both;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}
.hero-brand span {
  display: block;
  color: var(--gold);
  font-size: 0.42em;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}
.hero h2 {
  color: var(--white);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 500;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.9);
  max-width: 34rem;
}
.hero-controls {
  position: absolute;
  z-index: 3;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}
.hero-dot.is-active { background: var(--gold); transform: scale(1.2); }
.hero-arrows {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  pointer-events: none;
}
.hero-arrows button {
  pointer-events: auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.25);
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.hero-arrows button:hover { background: rgba(249,168,37,0.9); color: var(--ink); border-color: transparent; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Trust strip */
.trust-strip {
  background: linear-gradient(90deg, var(--green-dark), var(--green-mid));
  color: white;
  padding: 1.5rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.trust-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
}
.trust-grid span { opacity: 0.9; font-size: 0.95rem; }

/* Product carousel */
.product-carousel-wrap {
  position: relative;
}
.product-carousel {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0.25rem 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--green-light) transparent;
}
.product-carousel::-webkit-scrollbar { height: 6px; }
.product-carousel::-webkit-scrollbar-thumb {
  background: var(--green-light);
  border-radius: 999px;
}
.product-card {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(21,32,24,0.16);
  color: inherit;
}
.product-card-media {
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 30% 20%, rgba(139,195,74,0.25), transparent 50%),
    linear-gradient(160deg, #e8f5e9, #f1f8e9);
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.product-card-media img {
  width: 78%;
  max-height: 200px;
  object-fit: contain;
  transition: transform 0.35s ease;
}
.product-card:hover .product-card-media img { transform: scale(1.06); }
.product-card-body { padding: 1.15rem 1.25rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.product-card-body h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.product-card-body .hi { font-size: 0.85rem; color: var(--green-mid); margin-bottom: 0.55rem; }
.product-card-body p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-body .link-more {
  margin-top: 0.85rem;
  font-weight: 700;
  color: var(--green-dark);
}

/* Grid products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.35rem;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}
.filter-btn {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
}
.filter-btn.is-active,
.filter-btn:hover {
  background: var(--green-dark);
  color: white;
  border-color: var(--green-dark);
}

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-item {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
}
.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--green-light), var(--green-mid));
  color: white;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.why-item h3 { font-size: 1.25rem; }

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}
.blog-card:hover { transform: translateY(-5px); color: inherit; }
.blog-card img {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}
.blog-card-body { padding: 1.25rem 1.35rem 1.5rem; }
.blog-card-body time {
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.blog-card-body h3 { font-size: 1.2rem; margin: 0.4rem 0 0.55rem; }
.blog-card-body p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  padding: 3rem 2rem;
  background:
    linear-gradient(120deg, rgba(27,94,32,0.94), rgba(46,125,50,0.88)),
    url("../images/hero-1.jpg") center/cover;
  color: white;
  text-align: center;
}
.cta-band h2 { color: white; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 36rem; margin-inline: auto; margin-bottom: 1.5rem; }

/* Page hero (inner) */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  background:
    linear-gradient(135deg, rgba(27,94,32,0.08), rgba(249,168,37,0.08)),
    var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: var(--ink-soft); max-width: 40rem; font-size: 1.1rem; }

/* Product detail */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.detail-media {
  background:
    radial-gradient(circle at 40% 30%, rgba(139,195,74,0.3), transparent 55%),
    linear-gradient(160deg, #e8f5e9, #fff);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 2rem;
  display: grid;
  place-items: center;
}
.detail-media img { max-height: 420px; object-fit: contain; }
.detail-copy .hi-name {
  color: var(--green-mid);
  font-weight: 600;
  margin-bottom: 1rem;
}
.prose { max-width: 48rem; }
.prose h2 { margin-top: 2rem; font-size: 1.55rem; }
.prose h3 { margin-top: 1.5rem; font-size: 1.25rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.prose ol { list-style: decimal; padding-left: 1.25rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.4rem; }
.prose img {
  width: 100%;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
}

/* About */
.about-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.about-panel {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  background: url("../images/hero-1.jpg") center/cover;
  box-shadow: var(--shadow);
  position: relative;
}
.about-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(27,94,32,0.55), transparent 50%);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}
.contact-info {
  background: linear-gradient(160deg, var(--green-dark), #245c28);
  color: white;
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-info h2 { color: white; }
.contact-info a { color: var(--gold); }
.contact-info p { color: rgba(255,255,255,0.9); }
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 1rem; }
.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: var(--surface);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(139,195,74,0.55);
  border-color: var(--green-light);
}
.form-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 0.75rem;
}
.form-status {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}
.form-status.is-ok {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}
.form-status.is-error {
  background: #ffebee;
  color: #b71c1c;
  border: 1px solid #ef9a9a;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  background: #0f2413;
  color: rgba(255,255,255,0.85);
}
.footer-top { padding: 3.5rem 0 2.5rem; }
.footer-grid {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: white;
  margin-bottom: 0.85rem;
}
.footer-brand h3 {
  color: white;
  font-size: 1.15rem;
}
.footer-address { font-size: 0.92rem; opacity: 0.85; }
.site-footer h4 {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer a { color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: var(--gold); }
.site-footer li { margin-bottom: 0.45rem; font-size: 0.95rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.15rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}
.footer-bottom p { margin: 0.2rem 0; }

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.45);
  z-index: 90;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); color: white; }

/* Legal */
.legal-content { max-width: 46rem; }
.legal-content h2 { margin-top: 2rem; }

/* Related */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

@media (max-width: 960px) {
  .trust-grid,
  .why-grid,
  .blog-grid,
  .footer-grid,
  .detail-layout,
  .about-split,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(247,250,245,0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0.35rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
  }
  .site-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav a {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--line);
  }
  .site-nav .btn { margin-top: 0.5rem; width: 100%; }
  .hero-content { padding-top: 3.5rem; }
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.1rem;
}
.gallery-grid-home {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.gallery-item {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: inherit;
  display: flex;
  flex-direction: column;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: linear-gradient(160deg, #e8f5e9, #fff);
}
.gallery-item figcaption,
.gallery-item > span {
  padding: 0.75rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
}
.gallery-thumb {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  display: block;
  width: 100%;
}
.gallery-thumb:hover img { transform: scale(1.03); }
.gallery-thumb img { transition: transform 0.3s ease; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 20, 12, 0.88);
  display: grid;
  place-items: center;
  padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(920px, 92vw);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}
.lightbox p {
  color: #fff;
  margin-top: 0.85rem;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
}
