/* ===== AGRISIGNAL HOME PAGE - DESIGN SYSTEM ===== */
:root {
  --primary-green: #1a5d3e;
  --secondary-green: #2e7d5e;
  --accent-green: #4caf7d;
  --light-green: #e8f5e9;
  --dark-blue: #2c3e50;
  --medium-blue: #3498db;
  --light-blue: #ebf5fb;
  --neutral-dark: #1a2c24;
  --neutral-medium: #5a7266;
  --neutral-light: #f8faf9;
  --neutral-border: #e0e8e3;
  --white: #ffffff;
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-elevated: 0 8px 40px rgba(0, 0, 0, 0.1);
  --radius-standard: 12px;
  --radius-large: 20px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ===== RESET & BASE ===== */
.agri-home * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Override layout's bg-light on the wrapping main */
main.bg-light:has(.agri-home) {
  background-color: var(--white) !important;
}

.agri-home {
  font-family: 'Inter', sans-serif;
  background-color: var(--white);
  color: var(--neutral-dark);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 0;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== CONTAINERS ===== */
.agri-home .container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.agri-home .container-narrow {
  max-width: 1000px;
}

/* ===== TYPOGRAPHIE PROFESSIONNELLE ===== */
.agri-home h1, .agri-home h2, .agri-home h3, .agri-home h4 {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--neutral-dark);
}

.agri-home h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.agri-home h2 {
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.3px;
}

.agri-home h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.agri-home h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.agri-home p {
  font-size: 1.1rem;
  color: var(--neutral-medium);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.agri-home .lead {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--neutral-dark);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.agri-home .section-title {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 1.5rem;
}

.agri-home .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
  border-radius: 2px;
}

.agri-home .section-subtitle {
  text-align: center;
  color: var(--neutral-medium);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-weight: 400;
  line-height: 1.6;
}

/* ===== HEADER ===== */
.agri-home .header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: auto;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--neutral-border);
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.agri-home .header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
}

.agri-home .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.agri-home .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.agri-home .logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  font-weight: bold;
  flex-shrink: 0;
}

.agri-home .logo-text {
  display: flex;
  flex-direction: column;
}

.agri-home .logo-primary {
  font-family: 'Source Serif 4', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-green);
  line-height: 1;
}

.agri-home .logo-secondary {
  font-size: 0.8rem;
  color: var(--neutral-medium);
  font-weight: 500;
  margin-top: 2px;
  letter-spacing: 0.5px;
}

/* Navigation */
.agri-home .nav-desktop {
  display: flex;
  align-items: center;
  gap: 30px;
}

.agri-home .nav-desktop a {
  text-decoration: none;
  color: var(--neutral-dark);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition-smooth);
  position: relative;
  padding: 6px 0;
}

.agri-home .nav-desktop a:hover {
  color: var(--primary-green);
}

.agri-home .nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-green);
  transition: width 0.3s ease;
}

.agri-home .nav-desktop a:hover::after {
  width: 100%;
}

/* Buttons */
.agri-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.agri-home .btn-primary {
  background: var(--primary-green);
  color: white;
  box-shadow: 0 4px 12px rgba(26, 93, 62, 0.15);
}

.agri-home .btn-primary:hover {
  background: var(--secondary-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 93, 62, 0.2);
}

.agri-home .btn-secondary {
  background: var(--medium-blue);
  color: white;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

.agri-home .btn-secondary:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(52, 152, 219, 0.2);
}

.agri-home .btn-outline {
  background: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
}

.agri-home .btn-outline:hover {
  background: rgba(26, 93, 62, 0.05);
  transform: translateY(-2px);
}

/* Mobile Navigation */
.agri-home .menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--neutral-dark);
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.agri-home .menu-toggle:hover {
  color: var(--primary-green);
}

.agri-home .mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: white;
  padding: 100px 24px 40px;
  display: none;
  flex-direction: column;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
  overflow-y: auto;
}

.agri-home .mobile-nav.active {
  display: flex;
  transform: translateX(0);
}

.agri-home .mobile-nav a {
  padding: 18px 0;
  text-decoration: none;
  color: var(--neutral-dark);
  font-weight: 500;
  font-size: 1.2rem;
  border-bottom: 1px solid var(--neutral-border);
  display: flex;
  align-items: center;
  gap: 15px;
  transition: var(--transition-smooth);
}

.agri-home .mobile-nav a:hover {
  color: var(--primary-green);
  padding-left: 10px;
}

/* ===== HERO SECTION ===== */
.agri-home .hero {
  padding: 140px 0 80px;
  background: url('../../images/hero/mon-image-fond.jpg') no-repeat center center / cover;
  position: relative;
  overflow: hidden;
}

.agri-home .hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(232, 245, 233, 0.92) 0%, rgba(240, 249, 244, 0.65) 45%, rgba(240, 249, 244, 0.08) 100%);
}

.agri-home .hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.agri-home .hero-content {
  max-width: 600px;
}

.agri-home .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(26, 93, 62, 0.1);
  color: var(--primary-green);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border: 1px solid rgba(26, 93, 62, 0.2);
}

.agri-home .hero-visual {
  position: relative;
  background: transparent;
  border-radius: var(--radius-large);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.agri-home .hero-visual img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

.agri-home .hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--neutral-border);
  flex-wrap: wrap;
}

.agri-home .stat {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 100px;
}

.agri-home .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-green);
  line-height: 1;
}

.agri-home .stat-label {
  font-size: 0.9rem;
  color: var(--neutral-medium);
  margin-top: 8px;
  font-weight: 500;
}

/* ===== AUDIENCE SECTIONS ===== */
.agri-home .audience-section {
  padding: 80px 0;
  background: var(--white);
}

.agri-home .audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.agri-home .audience-card {
  background: var(--white);
  border-radius: var(--radius-large);
  padding: 40px 30px;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
  border: 1px solid var(--neutral-border);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.agri-home .audience-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elevated);
  border-color: var(--primary-green);
}

.agri-home .audience-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 1.8rem;
  color: white;
  flex-shrink: 0;
}

.agri-home .audience-card:nth-child(1) .audience-icon {
  background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
}

.agri-home .audience-card:nth-child(2) .audience-icon {
  background: linear-gradient(135deg, var(--medium-blue), #5dade2);
}

.agri-home .audience-card:nth-child(3) .audience-icon {
  background: linear-gradient(135deg, #8e44ad, #bb8fce);
}

.agri-home .audience-card h3 {
  margin-bottom: 20px;
  font-size: 1.4rem;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agri-home .audience-card p {
  font-size: 1.05rem;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* ===== CARTE PUBLIQUE ===== */
.agri-home .map-section {
  padding: 80px 0;
  background: var(--light-blue);
}

.agri-home .map-container {
  background: var(--white);
  border-radius: var(--radius-large);
  padding: 40px 30px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--neutral-border);
  width: 100%;
  overflow: hidden;
}

.agri-home .map-header {
  text-align: center;
  margin-bottom: 40px;
}

.agri-home .map-visual {
  background: var(--light-green);
  border-radius: var(--radius-standard);
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--neutral-border);
  padding: 30px 20px;
  min-height: 280px;
}

.agri-home .map-visual-content {
  text-align: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.agri-home .map-icon {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 20px;
}

.agri-home .map-visual h3 {
  color: var(--neutral-dark);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.agri-home .map-visual p {
  color: var(--neutral-medium);
  margin: 0 auto 20px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.agri-home .map-search-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 12px 18px;
  border-radius: var(--radius-standard);
  border: 1px solid var(--neutral-border);
  font-size: 0.95rem;
  max-width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.agri-home .map-legend {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 25px;
  flex-wrap: wrap;
}

.agri-home .legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--neutral-medium);
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
}

.agri-home .legend-color {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex-shrink: 0;
}

.agri-home .map-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.agri-home .map-feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.agri-home .map-feature-icon {
  width: 50px;
  height: 50px;
  background: var(--light-green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  font-size: 1.2rem;
  flex-shrink: 0;
  padding: 12px;
}

.agri-home .map-feature-content h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.agri-home .map-feature-content p {
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.5;
}

.agri-home .map-cta {
  text-align: center;
  margin-top: 40px;
}

/* ===== SOLUTION PROFESSIONNELLE ===== */
.agri-home .solution-section {
  padding: 80px 0;
  background: var(--white);
}

.agri-home .solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.agri-home .solution-card {
  background: var(--white);
  border-radius: var(--radius-large);
  padding: 40px 30px;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
  border: 1px solid var(--neutral-border);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.agri-home .solution-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-elevated);
}

.agri-home .solution-icon {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, rgba(26, 93, 62, 0.1), rgba(76, 175, 125, 0.05));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--primary-green);
  font-size: 1.6rem;
  flex-shrink: 0;
}

.agri-home .solution-card h3 {
  margin-bottom: 18px;
  font-size: 1.3rem;
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agri-home .solution-card p {
  font-size: 1.05rem;
  margin-bottom: 0;
  flex-grow: 1;
}

/* ===== CTA SECTION ===== */
.agri-home .cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  color: white;
  text-align: center;
}

.agri-home .cta-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.agri-home .cta-section h2 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.agri-home .cta-section .lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

.agri-home .cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.agri-home .cta-buttons .btn {
  background: white;
  color: var(--primary-green);
  font-weight: 600;
  padding: 14px 28px;
  min-width: 200px;
}

.agri-home .cta-buttons .btn:hover {
  background: var(--light-green);
  transform: translateY(-2px);
}

.agri-home .cta-buttons .btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.agri-home .cta-buttons .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ===== FOOTER ===== */
.agri-home .footer {
  background: var(--neutral-dark);
  color: white;
  padding: 60px 0 30px;
}

.agri-home .footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.agri-home .footer-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.agri-home .footer-column h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  width: 100%;
}

.agri-home .footer-links {
  list-style: none;
  width: 100%;
  padding: 0;
}

.agri-home .footer-links li {
  margin-bottom: 12px;
}

.agri-home .footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-smooth);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 4px 0;
}

.agri-home .footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.agri-home .contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  width: 100%;
}

.agri-home .contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  justify-content: center;
  text-align: left;
}

.agri-home .contact-icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  flex-shrink: 0;
}

.agri-home .footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.5;
}

.agri-home .footer-bottom p:first-child {
  margin-bottom: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .agri-home h1 {
    font-size: 2.5rem;
  }

  .agri-home h2 {
    font-size: 2rem;
  }

  .agri-home .hero-container {
    gap: 50px;
  }

  .agri-home .container {
    padding: 0 32px;
  }
}

@media (max-width: 992px) {
  .agri-home .hero-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .agri-home .hero::before {
    display: none;
  }

  .agri-home .hero-content {
    order: 1;
    text-align: center;
    max-width: 100%;
  }

  .agri-home .hero-visual {
    order: 2;
    min-height: 320px;
    max-width: 600px;
    margin: 0 auto;
  }

  .agri-home .hero-stats {
    justify-content: center;
  }

  .agri-home .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .agri-home .container {
    padding: 0 20px;
  }

  .agri-home .header {
    padding: 14px 0;
  }

  .agri-home .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .agri-home .logo-primary {
    font-size: 1.4rem;
  }

  .agri-home .logo-secondary {
    font-size: 0.75rem;
  }

  .agri-home h1 {
    font-size: 2.2rem;
  }

  .agri-home h2 {
    font-size: 1.8rem;
  }

  .agri-home h3 {
    font-size: 1.5rem;
  }

  .agri-home .lead {
    font-size: 1.15rem;
  }

  .agri-home .nav-desktop {
    display: none;
  }

  .agri-home .menu-toggle {
    display: block;
  }

  .agri-home .hero {
    padding: 120px 0 60px;
  }

  .agri-home .hero-badge {
    font-size: 0.85rem;
    padding: 8px 18px;
  }

  .agri-home .hero-stats {
    gap: 25px;
    justify-content: space-around;
  }

  .agri-home .stat {
    min-width: 90px;
  }

  .agri-home .stat-number {
    font-size: 1.8rem;
  }

  .agri-home .hero-content > div {
    justify-content: center;
    flex-wrap: wrap;
  }

  .agri-home .btn {
    padding: 14px 24px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  /* MAP SECTION MOBILE */
  .agri-home .map-container {
    padding: 30px 20px;
  }

  .agri-home .map-visual {
    padding: 25px 15px;
    min-height: 240px;
  }

  .agri-home .map-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }

  .agri-home .map-visual h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .agri-home .map-visual p {
    font-size: 1rem;
    margin-bottom: 15px;
    padding: 0 10px;
  }

  .agri-home .map-search-box {
    padding: 10px 15px;
    font-size: 0.9rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .agri-home .map-legend {
    gap: 15px;
    margin-top: 20px;
  }

  .agri-home .legend-item {
    font-size: 0.85rem;
    padding: 4px 8px;
  }

  .agri-home .map-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .agri-home .map-feature {
    gap: 15px;
    align-items: center;
  }

  .agri-home .map-feature-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .agri-home .map-feature-content h4 {
    font-size: 1.1rem;
  }

  .agri-home .map-feature-content p {
    font-size: 0.9rem;
  }

  .agri-home .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .agri-home .footer-column {
    padding: 0 10px;
  }

  .agri-home .footer-links a {
    justify-content: center;
  }

  .agri-home .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .agri-home .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .agri-home .audience-grid,
  .agri-home .solution-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .agri-home .audience-card,
  .agri-home .solution-card {
    padding: 35px 25px;
  }
}

@media (max-width: 480px) {
  .agri-home .container {
    padding: 0 16px;
  }

  .agri-home h1 {
    font-size: 1.9rem;
  }

  .agri-home h2 {
    font-size: 1.6rem;
  }

  .agri-home h3 {
    font-size: 1.3rem;
  }

  .agri-home .section-subtitle {
    font-size: 1.1rem;
  }

  .agri-home p, .agri-home .lead {
    font-size: 1.05rem;
  }

  .agri-home .hero {
    padding: 110px 0 50px;
  }

  .agri-home .hero-visual {
    min-height: 280px;
  }

  .agri-home .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .agri-home .stat {
    align-items: center;
    min-width: auto;
  }

  .agri-home .hero-content > div {
    flex-direction: column;
    gap: 15px;
  }

  .agri-home .hero-content > div a {
    width: 100%;
  }

  /* MAP SECTION SMALL SCREEN */
  .agri-home .map-visual {
    padding: 20px 12px;
    min-height: 220px;
  }

  .agri-home .map-icon {
    font-size: 2rem;
    margin-bottom: 12px;
  }

  .agri-home .map-visual h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .agri-home .map-visual p {
    font-size: 0.95rem;
    margin-bottom: 12px;
    padding: 0 5px;
  }

  .agri-home .map-search-box {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .agri-home .map-legend {
    gap: 10px;
    margin-top: 15px;
  }

  .agri-home .legend-item {
    font-size: 0.8rem;
    padding: 3px 6px;
  }

  .agri-home .legend-color {
    width: 14px;
    height: 14px;
  }

  .agri-home .map-feature {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .agri-home .map-feature-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .agri-home .audience-card h3,
  .agri-home .solution-card h3 {
    min-height: auto;
    margin-bottom: 15px;
  }

  .agri-home .audience-icon,
  .agri-home .solution-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .agri-home .footer {
    padding: 50px 0 25px;
  }

  .agri-home .contact-item {
    font-size: 0.95rem;
    text-align: center;
    flex-direction: column;
    gap: 8px;
  }

  .agri-home .contact-item svg {
    margin-bottom: 5px;
  }

  .agri-home .mobile-nav {
    padding: 90px 20px 30px;
  }

  .agri-home .mobile-nav a {
    font-size: 1.1rem;
    padding: 16px 0;
  }
}

@media (max-width: 360px) {
  .agri-home h1 {
    font-size: 1.7rem;
  }

  .agri-home h2 {
    font-size: 1.4rem;
  }

  .agri-home .hero-badge {
    font-size: 0.8rem;
    padding: 6px 16px;
  }

  .agri-home .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  /* MAP SECTION VERY SMALL SCREEN */
  .agri-home .map-visual {
    padding: 15px 10px;
    min-height: 200px;
  }

  .agri-home .map-search-box span {
    font-size: 0.8rem;
  }

  .agri-home .map-feature-content h4 {
    font-size: 1rem;
  }

  .agri-home .map-feature-content p {
    font-size: 0.85rem;
  }
}
