/*
Theme Name:   Agrimotion Child
Theme URI:    https://agrimotion.eu
Description:  Agrimotion Deutschland GmbH – Child Theme für das Astra Parent Theme.
              Exaktes 1:1-Rebuild der React/Lovable App. B2B Agrarhandel Portal.
Author:       Agrimotion Deutschland GmbH
Author URI:   https://agrimotion.eu
Template:     astra
Version:      1.3.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  agrimotion-child
Tags:         agriculture, b2b, green, responsive, wpml
*/

/* ============================================================
   GOOGLE FONTS
   Space Grotesk (Display/Headings) + DM Sans (Body)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Space+Grotesk:wght@300..700&display=swap');

/* ============================================================
   DESIGN TOKENS – Exakt aus der React App übernommen
   (HSL-Werte 1:1 konvertiert zu HEX/RGB für CSS-Variablen)
   ============================================================ */
:root {
  /* --- Primärfarben --- */
  --agri-primary:           hsl(82, 65%, 40%);   /* #5a8c1a – Agri-Grün */
  --agri-primary-light:     hsl(82, 55%, 55%);   /* #7eb83c – Helles Grün */
  --agri-primary-dark:      hsl(82, 70%, 28%);   /* #3d6110 – Dunkles Grün */
  --agri-primary-fg:        hsl(0, 0%, 100%);    /* Weiß – Text auf Primär */

  /* --- Hintergründe --- */
  --agri-bg:                hsl(45, 30%, 97%);   /* #f9f7f2 – Warmes Cremeweiß */
  --agri-fg:                hsl(30, 20%, 12%);   /* #221e17 – Dunkles Braun/Grau */

  /* --- Karten --- */
  --agri-card:              hsl(40, 25%, 99%);   /* #faf9f6 – Kartenhintergrund */
  --agri-card-fg:           hsl(30, 20%, 12%);

  /* --- Sekundär / Sand --- */
  --agri-secondary:         hsl(38, 25%, 92%);   /* #ede8df – Helles Sand */
  --agri-secondary-fg:      hsl(30, 20%, 18%);

  /* --- Muted --- */
  --agri-muted:             hsl(40, 15%, 94%);   /* #f0ede8 */
  --agri-muted-fg:          hsl(30, 12%, 45%);   /* #7a6f62 */

  /* --- Akzent – Bernstein/Amber --- */
  --agri-accent:            hsl(35, 75%, 50%);   /* #d4820d */
  --agri-accent-fg:         hsl(0, 0%, 100%);

  /* --- Rahmen & Input --- */
  --agri-border:            hsl(40, 20%, 88%);   /* #e3ddd3 */
  --agri-input:             hsl(40, 20%, 88%);

  /* --- Custom Agrimotion Farben --- */
  --agri-leaf:              hsl(82, 65%, 40%);
  --agri-leaf-light:        hsl(82, 55%, 55%);
  --agri-leaf-dark:         hsl(82, 70%, 28%);
  --agri-earth:             hsl(30, 35%, 30%);   /* #5c3d1e */
  --agri-earth-light:       hsl(35, 25%, 45%);   /* #7a6040 */
  --agri-sand:              hsl(38, 30%, 85%);   /* #dfd3bc */
  --agri-wheat:             hsl(42, 45%, 70%);   /* #c9a85c */
  --agri-sky:               hsl(200, 40%, 55%);  /* #4d9ab8 */

  /* --- Radius --- */
  --agri-radius:            0.75rem;
  --agri-radius-sm:         0.5rem;
  --agri-radius-lg:         1rem;
  --agri-radius-xl:         1.25rem;
  --agri-radius-2xl:        1.5rem;
  --agri-radius-full:       9999px;

  /* --- Schatten --- */
  --agri-shadow-sm:  0 1px 2px 0 hsl(30 20% 12% / 0.05);
  --agri-shadow-md:  0 4px 6px -1px hsl(30 20% 12% / 0.08), 0 2px 4px -2px hsl(30 20% 12% / 0.05);
  --agri-shadow-lg:  0 10px 15px -3px hsl(30 20% 12% / 0.08), 0 4px 6px -4px hsl(30 20% 12% / 0.05);
  --agri-shadow-xl:  0 20px 25px -5px hsl(30 20% 12% / 0.1), 0 8px 10px -6px hsl(30 20% 12% / 0.05);
  --agri-shadow-glow: 0 0 30px hsl(82 65% 40% / 0.3);

  /* --- Gradienten --- */
  --agri-gradient-hero: linear-gradient(135deg, hsl(82, 65%, 40%) 0%, hsl(82, 55%, 30%) 100%);
  --agri-gradient-card: linear-gradient(180deg, hsl(40, 25%, 99%) 0%, hsl(40, 20%, 96%) 100%);
  --agri-gradient-dark: linear-gradient(180deg, hsl(30, 20%, 10%) 0%, hsl(30, 25%, 6%) 100%);

  /* --- Typografie --- */
  --agri-font-sans:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --agri-font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* --- Abstände (Container) --- */
  --agri-container-max: 1280px;
  --agri-container-pad: 2rem;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--agri-font-sans);
  background-color: var(--agri-bg);
  color: var(--agri-fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  font-size: 16px;
}

/* Astra Overrides – eigene Typografie durchsetzen */
h1, h2, h3, h4, h5, h6,
.ast-archive-title,
.entry-title,
.site-title {
  font-family: var(--agri-font-display) !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.2 !important;
  color: var(--agri-fg) !important;
}

a {
  color: var(--agri-primary);
  text-decoration: none;
  transition: color 0.3s ease-out;
}

a:hover {
  color: var(--agri-primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================================
   LAYOUT / CONTAINER
   ============================================================ */
.agri-container {
  max-width: var(--agri-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--agri-container-pad);
  padding-right: var(--agri-container-pad);
  width: 100%;
}

@media (max-width: 640px) {
  .agri-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ============================================================
   ASTRA HEADER OVERRIDE – Custom Navigation
   ============================================================ */

/* Astra Standard-Header ausblenden wenn eigener Header verwendet */
.ast-primary-header-bar {
  display: none !important;
}

/* ============================================================
   AGRIMOTION HEADER
   ============================================================ */
.agri-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid hsl(40, 20%, 88% / 0.4);
  background-color: hsl(45, 30%, 97% / 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.agri-header__inner {
  display: flex;
  height: 56px;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 480px) {
  .agri-header__inner {
    height: 60px;
  }
}

@media (min-width: 640px) {
  .agri-header__inner {
    height: 64px;
  }
}

@media (min-width: 768px) {
  .agri-header__inner {
    height: 80px;
  }
}

/* Logo */
.agri-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--agri-fg);
}

.agri-logo img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.agri-logo__name {
  font-family: var(--agri-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--agri-fg);
}

/* Desktop Nav */
.agri-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .agri-nav {
    display: flex;
  }
}

.agri-nav a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--agri-muted-fg);
  text-decoration: none;
  border-radius: var(--agri-radius-sm);
  transition: color 0.3s ease-out;
}

.agri-nav a:hover,
.agri-nav a.current-menu-item,
.agri-nav a.active {
  color: var(--agri-primary);
}

/* Header Actions */
.agri-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Language Switcher */
.agri-lang-switcher {
  position: relative;
}

.agri-lang-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: transparent;
  border: none;
  border-radius: var(--agri-radius-sm);
  color: var(--agri-fg);
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-transform: uppercase;
  min-height: 44px;
  min-width: 44px;
}

.agri-lang-btn:hover {
  background-color: var(--agri-secondary);
}

.agri-lang-btn svg {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

.agri-lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 140px;
  max-width: calc(100vw - 1rem);
  background: var(--agri-card);
  border: 1px solid var(--agri-border);
  border-radius: var(--agri-radius);
  box-shadow: var(--agri-shadow-lg);
  overflow: hidden;
  z-index: 100;
}

.agri-lang-switcher.open .agri-lang-dropdown {
  display: block;
}

.agri-lang-dropdown a,
.agri-lang-dropdown li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: var(--agri-fg);
  text-decoration: none;
  transition: background-color 0.2s ease;
  min-height: 40px;
}

.agri-lang-dropdown a:hover,
.agri-lang-dropdown li a:hover {
  background-color: var(--agri-secondary);
  color: var(--agri-primary);
}

/* WPML Language Switcher Reset */
.agri-lang-switcher .wpml-ls,
.agri-lang-switcher .wpml-ls-statics-shortcode_actions,
.agri-lang-switcher ul.wpml-ls-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Header CTA Button */
.agri-header-cta {
  display: none;
}

@media (min-width: 768px) {
  .agri-header-cta {
    display: inline-flex;
  }
}

/* Mobile Menu Toggle */
.agri-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  border-radius: var(--agri-radius-sm);
  color: var(--agri-fg);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.agri-mobile-toggle:hover {
  background-color: var(--agri-secondary);
}

@media (min-width: 1024px) {
  .agri-mobile-toggle {
    display: none;
  }
}

/* Mobile Drawer */
.agri-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 280px);
  background: var(--agri-card);
  box-shadow: var(--agri-shadow-xl);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  padding-right: max(1.5rem, calc(1.5rem + env(safe-area-inset-right)));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 640px) {
  .agri-mobile-drawer {
    width: min(70vw, 320px);
  }
}

@media (min-width: 768px) {
  .agri-mobile-drawer {
    width: 288px;
  }
}

.agri-mobile-drawer.open {
  transform: translateX(0);
}

.agri-mobile-drawer__close {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.agri-mobile-drawer__close button {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--agri-muted-fg);
  border-radius: var(--agri-radius-sm);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agri-mobile-drawer__close button:hover {
  background: var(--agri-secondary);
}

.agri-mobile-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  text-decoration: none;
  color: var(--agri-fg);
}

.agri-mobile-logo img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.agri-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.agri-mobile-nav a {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--agri-fg);
  text-decoration: none;
  border-radius: var(--agri-radius);
  transition: background-color 0.2s ease, color 0.2s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.agri-mobile-nav a:hover {
  background-color: var(--agri-secondary);
  color: var(--agri-primary);
}

.agri-mobile-drawer__cta {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--agri-border);
}

.agri-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: hsl(30 20% 12% / 0.5);
  z-index: 1999;
  backdrop-filter: blur(2px);
}

.agri-mobile-overlay.open {
  display: block;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.agri-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-family: var(--agri-font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--agri-radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease-out;
  white-space: nowrap;
}

.agri-btn--primary {
  background-color: var(--agri-primary);
  color: var(--agri-primary-fg);
  box-shadow: var(--agri-shadow-glow);
}

.agri-btn--primary:hover {
  background-color: var(--agri-primary-dark);
  color: var(--agri-primary-fg);
  box-shadow: 0 0 40px hsl(82 65% 40% / 0.5);
  transform: translateY(-1px);
}

.agri-btn--outline {
  background-color: transparent;
  color: var(--agri-fg);
  border: 1.5px solid var(--agri-border);
}

.agri-btn--outline:hover {
  background-color: var(--agri-secondary);
  border-color: var(--agri-primary);
  color: var(--agri-primary);
}

.agri-btn--outline-white {
  background-color: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.2);
}

.agri-btn--outline-white:hover {
  background-color: rgba(255,255,255,0.1);
  color: white;
}

.agri-btn--lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.agri-btn--sm {
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
}

.agri-btn--full {
  width: 100%;
}

/* ============================================================
   BADGES / LABELS
   ============================================================ */
.agri-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--agri-radius-full);
  background-color: hsl(82, 65%, 40%, 0.1);
  color: var(--agri-primary);
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.agri-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .agri-section {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.agri-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  width: 100%;
}

.agri-hero__bg {
  position: absolute;
  inset: 0;
}

/* --- Video Background (Desktop) --- */
.agri-hero .agri-hero__video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 1;
  pointer-events: none;
}

/* Hide video on mobile / small screens */
@media (max-width: 768px) {
  .agri-hero__video {
    display: none;
  }
}

/* --- Animierter Gradient Fallback --- */
.agri-hero__gradient-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(135deg, hsl(82, 50%, 12%) 0%, hsl(82, 40%, 22%) 50%, hsl(45, 20%, 15%) 100%);
}

/* Floating gradient layers for organic movement */
.agri-hero__gradient-layer {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  will-change: transform;
}

.agri-hero__gradient-layer--1 {
  width: 120%;
  height: 120%;
  top: -30%;
  left: -20%;
  background: radial-gradient(ellipse, hsl(82, 65%, 30%, 0.6) 0%, transparent 70%);
  animation: heroGradient1 12s ease-in-out infinite alternate;
}

.agri-hero__gradient-layer--2 {
  width: 80%;
  height: 80%;
  bottom: -20%;
  right: -10%;
  background: radial-gradient(ellipse, hsl(82, 55%, 40%, 0.4) 0%, transparent 70%);
  animation: heroGradient2 15s ease-in-out infinite alternate;
}

.agri-hero__gradient-layer--3 {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 30%;
  background: radial-gradient(ellipse, hsl(45, 30%, 25%, 0.3) 0%, transparent 70%);
  animation: heroGradient3 10s ease-in-out infinite alternate;
}

@keyframes heroGradient1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5%, 8%) scale(1.1); }
}
@keyframes heroGradient2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-8%, -5%) scale(1.15); }
}
@keyframes heroGradient3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(10%, -10%) scale(1.05); }
}

/* On desktop with video: hide gradient fallback */
@media (min-width: 769px) {
  .agri-hero__gradient-bg {
    z-index: 0; /* stays behind video as ultimate fallback */
  }
}

/* --- Overlay (works on both video and gradient) --- */
.agri-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to right,
    hsl(30, 20%, 12%, 0.92) 0%,
    hsl(30, 20%, 12%, 0.72) 50%,
    hsl(30, 20%, 12%, 0.42) 100%
  );
}

/* Reduced motion: pause animations */
@media (prefers-reduced-motion: reduce) {
  .agri-hero__video { display: none; }
  .agri-hero__gradient-layer { animation: none !important; }
}

.agri-hero__content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.agri-hero__inner {
  max-width: 768px;
}

.agri-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--agri-radius-full);
  border: 1px solid hsl(82, 65%, 40%, 0.3);
  background-color: hsl(82, 65%, 40%, 0.1);
  color: white;
  backdrop-filter: blur(8px);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0s forwards;
}

.agri-hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--agri-primary);
  animation: pulse 2s infinite;
}

.agri-hero h1 {
  font-family: var(--agri-font-display) !important;
  font-size: clamp(2.25rem, 5vw, 4.5rem) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.025em !important;
  color: white !important;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.1s forwards;
}

.agri-hero h1 .highlight {
  color: var(--agri-primary);
}

.agri-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 640px;
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.2s forwards;
}

.agri-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.3s forwards;
}

.agri-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.4s forwards;
}

.agri-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-left: 1px solid rgba(255,255,255,0.2);
  padding-left: 1rem;
}

.agri-hero__stat-icon {
  color: var(--agri-primary);
  width: 20px;
  height: 20px;
}

.agri-hero__stat-value {
  font-family: var(--agri-font-display);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: white;
  line-height: 1;
}

.agri-hero__stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}

@media (min-width: 640px) {
  .agri-hero__stat-label {
    font-size: 0.875rem;
  }
}

/* Scroll Indicator */
.agri-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.agri-scroll-indicator__box {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--agri-radius-full);
  padding: 4px;
}

.agri-scroll-indicator__dot {
  width: 4px;
  height: 8px;
  border-radius: var(--agri-radius-full);
  background-color: rgba(255,255,255,0.5);
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.agri-stats {
  background-color: var(--agri-fg);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.agri-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .agri-stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.agri-stats__item {
  text-align: center;
}

.agri-stats__value {
  font-family: var(--agri-font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--agri-primary);
  line-height: 1;
}

.agri-stats__label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.agri-features {
  background-image: radial-gradient(hsl(82, 65%, 40%, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

.agri-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.agri-section-header h2 {
  font-family: var(--agri-font-display) !important;
  font-size: clamp(1.875rem, 4vw, 3rem) !important;
  font-weight: 700 !important;
  margin-bottom: 1rem;
  color: var(--agri-fg) !important;
}

.agri-section-header p {
  font-size: 1.125rem;
  color: var(--agri-muted-fg);
  line-height: 1.7;
}

.agri-features__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .agri-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .agri-features__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.agri-feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--agri-border);
  background-color: var(--agri-card);
  padding: 1.5rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.agri-feature-card:hover {
  border-color: hsl(82, 65%, 40%, 0.5);
  box-shadow: var(--agri-shadow-lg);
}

.agri-feature-card::after {
  content: '';
  position: absolute;
  right: -2rem;
  top: -2rem;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: hsl(82, 65%, 40%, 0.05);
  transition: transform 0.3s ease;
}

.agri-feature-card:hover::after {
  transform: scale(1.5);
}

.agri-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: hsl(82, 65%, 40%, 0.1);
  color: var(--agri-primary);
  margin-bottom: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.agri-feature-card:hover .agri-feature-icon {
  background-color: var(--agri-primary);
  color: white;
}

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

.agri-feature-card h3 {
  font-family: var(--agri-font-display) !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem;
  color: var(--agri-fg) !important;
}

.agri-feature-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--agri-muted-fg);
  margin: 0;
}

/* ============================================================
   FOUNDER SECTION
   ============================================================ */
.agri-founder__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .agri-founder__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
  }
}

/* Quote Card */
.agri-quote-card-wrapper {
  position: relative;
}

.agri-quote-card-wrapper::before {
  content: '';
  position: absolute;
  inset: -1rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg,
    hsl(82, 65%, 40%, 0.2) 0%,
    hsl(82, 65%, 40%, 0.05) 50%,
    transparent 100%
  );
}

.agri-quote-card {
  position: relative;
  border-radius: 1rem;
  border: 1px solid var(--agri-border);
  background-color: var(--agri-card);
  padding: 2rem;
  box-shadow: var(--agri-shadow-xl);
}

@media (min-width: 768px) {
  .agri-quote-card {
    padding: 2.5rem;
  }
}

.agri-quote-card__icon {
  width: 40px;
  height: 40px;
  color: hsl(82, 65%, 40%, 0.3);
  margin-bottom: 1rem;
}

.agri-quote-card blockquote {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--agri-fg);
  margin: 0 0 1.5rem;
  padding: 0;
  border: none;
}

@media (min-width: 768px) {
  .agri-quote-card blockquote {
    font-size: 1.25rem;
  }
}

.agri-quote-card__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--agri-border);
  padding-top: 1.5rem;
}

.agri-quote-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: hsl(82, 65%, 40%, 0.1);
  color: var(--agri-primary);
  font-family: var(--agri-font-display);
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.agri-quote-card__name {
  font-weight: 600;
  color: var(--agri-fg);
}

.agri-quote-card__role {
  font-size: 0.875rem;
  color: var(--agri-muted-fg);
}

/* Founder Content */
.agri-founder__content .agri-badge {
  margin-bottom: 1rem;
}

.agri-founder__content h2 {
  font-family: var(--agri-font-display) !important;
  font-size: clamp(1.875rem, 4vw, 2.5rem) !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem;
  color: var(--agri-fg) !important;
}

.agri-founder__role {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--agri-primary);
  margin-bottom: 1.5rem;
}

.agri-founder__description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--agri-muted-fg);
  margin-bottom: 2rem;
}

.agri-founder__highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.agri-founder__highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--agri-fg);
}

.agri-founder__highlights li::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a8c1a' stroke-width='2'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.agri-products__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .agri-products__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .agri-products__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.agri-product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--agri-border);
  background-color: var(--agri-card);
  text-decoration: none;
  color: var(--agri-fg);
  transition: all 0.3s ease;
  cursor: pointer;
}

.agri-product-card:hover {
  border-color: hsl(82, 65%, 40%, 0.5);
  box-shadow: var(--agri-shadow-lg);
  transform: translateY(-2px);
  color: var(--agri-fg);
}

.agri-product-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background-color: hsl(82, 65%, 40%, 0.1);
  color: var(--agri-primary);
  margin-bottom: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.agri-product-card:hover .agri-product-card__icon {
  background-color: var(--agri-primary);
  color: white;
}

.agri-product-card__icon svg {
  width: 28px;
  height: 28px;
}

.agri-product-card h3 {
  font-family: var(--agri-font-display) !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem;
  color: var(--agri-fg) !important;
}

.agri-product-card p {
  font-size: 0.8125rem;
  color: var(--agri-muted-fg);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.agri-testimonials__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .agri-testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.agri-testimonial-card {
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  border: 1px solid var(--agri-border);
  background-color: var(--agri-card);
  padding: 1.5rem;
  box-shadow: var(--agri-shadow-sm);
  transition: box-shadow 0.3s ease;
}

.agri-testimonial-card:hover {
  box-shadow: var(--agri-shadow-md);
}

.agri-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 1rem;
}

.agri-star {
  width: 16px;
  height: 16px;
  fill: var(--agri-primary);
  color: var(--agri-primary);
}

.agri-testimonial-card blockquote {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.7;
  color: hsl(30, 20%, 12%, 0.8);
  margin: 0 0 1.5rem;
  padding: 0;
  border: none;
}

.agri-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--agri-border);
  padding-top: 1rem;
}

.agri-testimonial-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: hsl(82, 65%, 40%, 0.1);
  color: var(--agri-primary);
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.agri-testimonial-card__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--agri-fg);
}

.agri-testimonial-card__role {
  font-size: 0.75rem;
  color: var(--agri-muted-fg);
}

/* ============================================================
   TRUST SECTION
   ============================================================ */
.agri-trust {
  background-color: hsl(38, 25%, 92%, 0.5);
}

.agri-trust__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .agri-trust__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.agri-trust-card {
  border-radius: 1rem;
  border: 1px solid var(--agri-border);
  background-color: var(--agri-card);
  padding: 1.5rem;
  transition: box-shadow 0.3s ease;
}

.agri-trust-card:hover {
  box-shadow: var(--agri-shadow-md);
}

.agri-trust-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: hsl(82, 65%, 40%, 0.1);
  color: var(--agri-primary);
  margin-bottom: 1rem;
}

.agri-trust-card__icon svg {
  width: 24px;
  height: 24px;
}

.agri-trust-card h3 {
  font-family: var(--agri-font-display) !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem;
  color: var(--agri-fg) !important;
}

.agri-trust-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--agri-muted-fg);
  margin: 0;
}

/* BVL Highlight Box */
.agri-bvl-box {
  margin-top: 2.5rem;
  border-radius: 1rem;
  border: 1px solid hsl(82, 65%, 40%, 0.3);
  background-color: hsl(82, 65%, 40%, 0.05);
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .agri-bvl-box {
    padding: 2rem;
  }
}

.agri-bvl-box__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .agri-bvl-box__inner {
    flex-direction: row;
    gap: 2rem;
    text-align: left;
  }
}

.agri-bvl-box__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  background-color: hsl(82, 65%, 40%, 0.1);
  color: var(--agri-primary);
  flex-shrink: 0;
}

.agri-bvl-box__icon svg {
  width: 32px;
  height: 32px;
}

.agri-bvl-box__text {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--agri-muted-fg);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.agri-cta-section {
  position: relative;
  overflow: hidden;
  background-color: var(--agri-fg);
}

.agri-cta-section__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
  background-image: radial-gradient(hsl(82, 65%, 55%) 1px, transparent 1px);
  background-size: 32px 32px;
}

.agri-cta-section__inner {
  position: relative;
  z-index: 10;
  text-align: center;
}

.agri-cta-section h2 {
  font-family: var(--agri-font-display) !important;
  font-size: clamp(1.875rem, 4vw, 3rem) !important;
  font-weight: 700 !important;
  color: white !important;
  margin-bottom: 1rem;
}

.agri-cta-section__subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.agri-cta-section__btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .agri-cta-section__btns {
    flex-direction: row;
    justify-content: center;
  }
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.agri-contact {
  background-color: hsl(38, 25%, 92%, 0.5);
}

.agri-contact__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 3rem auto 0;
}

@media (min-width: 640px) {
  .agri-contact__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.agri-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--agri-border);
  background-color: var(--agri-card);
}

.agri-contact-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: hsl(82, 65%, 40%, 0.1);
  color: var(--agri-primary);
  flex-shrink: 0;
}

.agri-contact-card__icon svg {
  width: 20px;
  height: 20px;
}

.agri-contact-card__label {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--agri-fg);
  margin-bottom: 0.125rem;
}

.agri-contact-card__value {
  font-size: 0.875rem;
  color: var(--agri-muted-fg);
}

.agri-contact-card__value a {
  color: var(--agri-muted-fg);
  text-decoration: none;
  transition: color 0.2s ease;
}

.agri-contact-card__value a:hover {
  color: var(--agri-primary);
}

/* ============================================================
   FLOATING CTAs
   ============================================================ */
.agri-floating-ctas {
  position: fixed;
  right: max(1rem, calc(1rem + env(safe-area-inset-right)));
  top: 50%;
  transform: translateY(-50%);
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.agri-floating-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
  border-radius: var(--agri-radius-full);
  background-color: var(--agri-primary);
  padding: 0.75rem;
  color: white;
  text-decoration: none;
  box-shadow: var(--agri-shadow-lg);
  transition: all 0.3s ease;
  max-width: 48px;
  min-height: 44px;
  min-width: 44px;
}

.agri-floating-cta:hover {
  box-shadow: var(--agri-shadow-glow);
  max-width: 160px;
  padding-right: 1rem;
  color: white;
}

.agri-floating-cta svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.agri-floating-cta__label {
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  max-width: 0;
  transition: opacity 0.3s ease, max-width 0.3s ease;
}

/* On small screens (< 480px), hide labels even on hover */
@media (max-width: 479px) {
  .agri-floating-cta:hover .agri-floating-cta__label {
    opacity: 0;
    max-width: 0;
  }
}

@media (min-width: 480px) {
  .agri-floating-cta:hover .agri-floating-cta__label {
    opacity: 1;
    max-width: 100px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.agri-footer {
  background-color: var(--agri-fg);
  color: rgba(255,255,255,0.8);
}

.agri-footer__main {
  padding-top: 4rem;
  padding-bottom: 4rem;
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .agri-footer__main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .agri-footer__main {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
  }
}

.agri-footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  text-decoration: none;
  color: white;
}

.agri-footer__logo img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.agri-footer__logo-name {
  font-family: var(--agri-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.agri-footer__tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.agri-footer__social {
  display: flex;
  gap: 0.5rem;
}

.agri-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.agri-footer__social a:hover {
  background-color: var(--agri-primary);
  color: white;
}

.agri-footer__social a svg {
  width: 16px;
  height: 16px;
}

.agri-footer__col h4 {
  font-family: var(--agri-font-display) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: white !important;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.agri-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.agri-footer__col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.agri-footer__col ul li a:hover {
  color: var(--agri-primary);
}

.agri-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.agri-footer__contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--agri-primary);
}

.agri-footer__contact-item span,
.agri-footer__contact-item a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  line-height: 1.5;
}

.agri-footer__contact-item a:hover {
  color: var(--agri-primary);
}

.agri-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .agri-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.agri-footer__copyright {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

.agri-footer__legal {
  display: flex;
  gap: 1.5rem;
}

.agri-footer__legal a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s ease;
}

.agri-footer__legal a:hover {
  color: white;
}

/* ============================================================
   PAGE TEMPLATES
   ============================================================ */

/* --- About Page --- */
.agri-page-hero {
  background: var(--agri-gradient-hero);
  padding: 5rem 0;
  text-align: center;
}

.agri-page-hero h1 {
  font-family: var(--agri-font-display) !important;
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  font-weight: 700 !important;
  color: white !important;
  margin-bottom: 1rem;
}

.agri-page-hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Products Grid --- */
.agri-products-detail__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .agri-products-detail__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .agri-products-detail__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.agri-product-detail-card {
  border-radius: 1rem;
  border: 1px solid var(--agri-border);
  background-color: var(--agri-card);
  overflow: hidden;
  transition: all 0.3s ease;
}

.agri-product-detail-card:hover {
  box-shadow: var(--agri-shadow-lg);
  border-color: hsl(82, 65%, 40%, 0.4);
  transform: translateY(-2px);
}

.agri-product-detail-card__header {
  padding: 1.5rem;
  background: linear-gradient(135deg, hsl(82, 65%, 40%, 0.08) 0%, transparent 100%);
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--agri-border);
}

.agri-product-detail-card__body {
  padding: 1.5rem;
}

/* --- Team Grid --- */
.agri-team__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .agri-team__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .agri-team__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.agri-team-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--agri-border);
  background-color: var(--agri-card);
  transition: all 0.3s ease;
}

.agri-team-card:hover {
  box-shadow: var(--agri-shadow-md);
  border-color: hsl(82, 65%, 40%, 0.3);
}

.agri-team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  background-color: hsl(82, 65%, 40%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.agri-team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agri-team-card__initials {
  font-family: var(--agri-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--agri-primary);
}

.agri-team-card__name {
  font-family: var(--agri-font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--agri-fg);
  margin-bottom: 0.25rem;
}

.agri-team-card__role {
  font-size: 0.8125rem;
  color: var(--agri-muted-fg);
}

/* --- FAQ / Service Center --- */
.agri-accordion {
  border: 1px solid var(--agri-border);
  border-radius: 1rem;
  overflow: hidden;
}

.agri-accordion__item {
  border-bottom: 1px solid var(--agri-border);
}

.agri-accordion__item:last-child {
  border-bottom: none;
}

.agri-accordion__trigger {
  width: 100%;
  text-align: left;
  background: var(--agri-card);
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: var(--agri-font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--agri-fg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background-color 0.2s ease;
}

.agri-accordion__trigger:hover {
  background-color: var(--agri-secondary);
}

.agri-accordion__trigger svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--agri-primary);
  transition: transform 0.3s ease;
}

.agri-accordion__item.open .agri-accordion__trigger svg {
  transform: rotate(180deg);
}

.agri-accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: var(--agri-card);
}

.agri-accordion__item.open .agri-accordion__content {
  max-height: 500px;
}

.agri-accordion__body {
  padding: 1rem 1.5rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--agri-muted-fg);
  border-top: 1px solid var(--agri-border);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.agri-text-primary   { color: var(--agri-primary); }
.agri-text-muted     { color: var(--agri-muted-fg); }
.agri-text-center    { text-align: center; }
.agri-mt-4           { margin-top: 4rem; }

/* Gradient Text */
.agri-text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(135deg, hsl(82, 65%, 45%) 0%, hsl(82, 55%, 35%) 100%);
}

/* Hero Dot Pattern */
.agri-hero-pattern {
  background-image: 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.05'%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");
}

/* Glassmorphism */
.agri-glass {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
}

/* ============================================================
   KEYFRAME ANIMATIONS – Exakt aus React App
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateX(-50%) translateY(-8px);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animation Utility Classes */
.animate-fade-up   { animation: fadeUp 0.6s ease-out forwards; }
.animate-fade-in   { animation: fadeIn 0.5s ease-out forwards; }
.animate-scale-in  { animation: scaleIn 0.4s ease-out forwards; }
.animate-float     { animation: float 6s ease-in-out infinite; }

/* Stagger Delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* Scroll-triggered animations – initially hidden */
.agri-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.agri-animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE HELPERS
   ============================================================ */
@media (max-width: 767px) {
  .agri-hide-mobile { display: none !important; }
}

@media (min-width: 768px) {
  .agri-hide-desktop { display: none !important; }
}

/* ============================================================
   ABOUT PAGE – agri-about__* (1:1 AboutSection.tsx)
   ============================================================ */

/* 2-column grid: text left, card right */
.agri-about__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .agri-about__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
}

/* Left column */
.agri-about__text .agri-badge {
  margin-bottom: 1rem;
  display: inline-block;
}

.agri-about__text h2 {
  font-family: var(--agri-font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--agri-fg);
  margin-bottom: 0.75rem;
}

.agri-about__highlight {
  font-family: var(--agri-font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--agri-primary);
  margin-bottom: 1.25rem;
}

.agri-about__desc {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--agri-muted-fg);
  margin-bottom: 1.5rem;
}

/* Highlights list with SVG checkmarks */
.agri-about__highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.agri-about__highlights li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--agri-fg);
}

.agri-about__highlights li svg {
  flex-shrink: 0;
  color: var(--agri-primary);
}

/* Right column – card wrapper with decorative bg */
.agri-about__card-wrapper {
  position: relative;
}

.agri-about__card-bg {
  position: absolute;
  inset: -1rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, hsl(82, 65%, 40%, 0.08) 0%, hsl(82, 55%, 55%, 0.04) 100%);
  z-index: 0;
}

.agri-about__card {
  position: relative;
  z-index: 1;
  border-radius: var(--agri-radius-2xl);
  border: 1px solid var(--agri-border);
  background: var(--agri-card);
  padding: 2rem;
  box-shadow: var(--agri-shadow-xl);
}

@media (min-width: 768px) {
  .agri-about__card {
    padding: 2.5rem;
  }
}

.agri-about__quote-icon {
  width: 40px;
  height: 40px;
  color: var(--agri-primary);
  opacity: 0.3;
  margin-bottom: 1.25rem;
  display: block;
}

.agri-about__quote {
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--agri-fg);
  margin: 0 0 2rem;
  border: none;
  padding: 0;
}

@media (min-width: 768px) {
  .agri-about__quote {
    font-size: 1.125rem;
  }
}

/* Stats: 3-column grid inside card */
.agri-about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--agri-border);
  padding-top: 1.5rem;
}

.agri-about__stat {
  text-align: center;
}

.agri-about__stat-value {
  font-family: var(--agri-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--agri-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.agri-about__stat-label {
  font-size: 0.75rem;
  color: var(--agri-muted-fg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   PRODUCTS PAGE – extra classes
   ============================================================ */

.agri-products-bg {
  background-color: hsl(38, 25%, 95%);
}

.agri-products__note {
  margin-top: 3rem;
  padding: 1.25rem 1.5rem;
  background: var(--agri-card);
  border: 1px solid var(--agri-border);
  border-radius: var(--agri-radius-lg);
  font-size: 0.9375rem;
  color: var(--agri-muted-fg);
  line-height: 1.6;
}

.agri-products__bvl-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--agri-primary);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.agri-products__bvl-link:hover {
  opacity: 0.75;
}

.agri-product-detail-card__tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.agri-product-detail-card__tags li {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: hsl(82, 65%, 40%, 0.08);
  color: var(--agri-primary);
  border-radius: var(--agri-radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
}

/* ============================================================
   FOOTER LOGO
   ============================================================ */
.agri-footer__logo-img {
  max-width: 180px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.2s;
}

.agri-footer__logo:hover .agri-footer__logo-img {
  opacity: 1;
}

/* ============================================================
   LEGAL PAGES (Impressum, Datenschutz)
   ============================================================ */
.page-template-default .entry-content > .wp-block-group {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-template-default .entry-content h1 {
  font-family: var(--agri-font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--agri-fg);
  font-weight: 700;
  line-height: 1.2;
}

.page-template-default .entry-content h2 {
  font-family: var(--agri-font-heading);
  font-size: 1.35rem;
  color: var(--agri-fg);
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--agri-border);
}

.page-template-default .entry-content h3 {
  font-family: var(--agri-font-heading);
  font-size: 1.1rem;
  color: var(--agri-fg);
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.page-template-default .entry-content p {
  color: var(--agri-fg);
  line-height: 1.75;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.page-template-default .entry-content a {
  color: var(--agri-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-template-default .entry-content a:hover {
  color: var(--agri-primary-dark);
}

.page-template-default .entry-content .wp-block-separator {
  border-color: var(--agri-border);
  opacity: 0.5;
  margin: 1.5rem 0;
}

/* Hide duplicate page title from Astra on legal pages */
.page-template-default .entry-header .entry-title {
  display: none;
}

/* ============================================================
   SCROLL-TO-TOP BUTTON
   ============================================================ */
.agri-scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--agri-primary);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px hsl(82 65% 40% / 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
}

.agri-scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.agri-scroll-top:hover {
  background: var(--agri-primary-dark);
  transform: translateY(-2px);
}

.agri-scroll-top svg {
  width: 20px;
  height: 20px;
}

/* Don't overlap with floating CTAs on right side */
@media (max-width: 768px) {
  .agri-scroll-top {
    right: 1rem;
    bottom: 5rem;
  }
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.agri-breadcrumbs {
  background: var(--agri-bg);
  border-bottom: 1px solid var(--agri-border);
  padding: 0.75rem 0;
  font-size: 0.8125rem;
}

.agri-breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.agri-breadcrumbs__list li {
  display: flex;
  align-items: center;
  color: var(--agri-muted);
}

.agri-breadcrumbs__list li:not(:last-child)::after {
  content: '/';
  margin: 0 0.5rem;
  color: var(--agri-border);
}

.agri-breadcrumbs__list li a {
  color: var(--agri-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.agri-breadcrumbs__list li a:hover {
  color: var(--agri-primary);
}

.agri-breadcrumbs__list li[aria-current="page"] {
  color: var(--agri-fg);
  font-weight: 500;
}

/* ============================================================
   STICKY HEADER SHRINK EFFECT
   ============================================================ */
.agri-header {
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.agri-header.shrink {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.agri-header.shrink .agri-logo svg,
.agri-header.shrink .custom-logo {
  transform: scale(0.85);
  transition: transform 0.3s ease;
}

.agri-header.shrink .agri-logo__name {
  font-size: 1.1rem;
  transition: font-size 0.3s ease;
}

.agri-header.scrolled {
  box-shadow: 0 2px 20px hsl(30 20% 12% / 0.08);
}

/* ============================================================
   WOOCOMMERCE – Shop-Grundstyles (Astra Pro WooCommerce)
   ============================================================ */
.woocommerce .products .product {
  background: var(--agri-card);
  border: 1px solid var(--agri-border);
  border-radius: var(--agri-radius-lg);
  padding: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.woocommerce .products .product:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px hsl(30 20% 12% / 0.08);
}

.woocommerce .products .product .woocommerce-loop-product__title {
  font-family: var(--agri-font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--agri-fg);
}

.woocommerce .products .product .price {
  color: var(--agri-primary);
  font-weight: 700;
}

.woocommerce .products .product .button,
.woocommerce .products .product .add_to_cart_button {
  background: var(--agri-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--agri-radius-md) !important;
  font-family: var(--agri-font-body);
  font-weight: 600;
  padding: 0.5rem 1.25rem !important;
  transition: background 0.2s;
}

.woocommerce .products .product .button:hover,
.woocommerce .products .product .add_to_cart_button:hover {
  background: var(--agri-primary-dark) !important;
}

/* Single product page */
.woocommerce div.product .product_title {
  font-family: var(--agri-font-heading);
  color: var(--agri-fg);
}

.woocommerce div.product p.price {
  color: var(--agri-primary);
  font-size: 1.5rem;
  font-weight: 700;
}

.woocommerce div.product .single_add_to_cart_button {
  background: var(--agri-primary) !important;
  border-radius: var(--agri-radius-md) !important;
  font-family: var(--agri-font-body);
  font-weight: 600;
  padding: 0.75rem 2rem !important;
  transition: background 0.2s;
}

.woocommerce div.product .single_add_to_cart_button:hover {
  background: var(--agri-primary-dark) !important;
}

/* WooCommerce notices */
.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--agri-primary) !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--agri-primary) !important;
}

/* ============================================================
   TEAM PAGE – legal advisors + extra card elements
   ============================================================ */

.agri-team__legal-header {
  margin-bottom: 2rem;
}

.agri-team__legal-header h3 {
  font-family: var(--agri-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--agri-fg);
}

.agri-team__legal-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .agri-team__legal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .agri-team__legal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.agri-team-legal-card {
  border-radius: var(--agri-radius-xl);
  border: 1px solid var(--agri-border);
  background: var(--agri-card);
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.agri-team-legal-card:hover {
  box-shadow: var(--agri-shadow-md);
  border-color: hsl(82, 65%, 40%, 0.3);
}

.agri-team-card__cert {
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--agri-primary);
  margin-top: 0.25rem;
}

.agri-team-card__desc {
  font-size: 0.875rem;
  color: var(--agri-muted-fg);
  line-height: 1.6;
  margin-top: 0.75rem;
}

.agri-team-card__contact {
  display: block;
  font-size: 0.8125rem;
  color: var(--agri-primary);
  text-decoration: none;
  margin-top: 0.5rem;
  transition: opacity 0.2s;
}

.agri-team-card__contact:hover {
  opacity: 0.75;
}
