/*
Theme Name: Biocultivos Premium
Theme URI: https://www.biocultivos.com.co
Author: Biocultivos S.A.
Author URI: https://www.biocultivos.com.co
Description: Tema premium personalizado para Biocultivos S.A. - Soluciones biolÃ³gicas para mejores cosechas. Incluye gestiÃ³n de productos, sliders, cultivos y mÃ¡s.
Version: 2.0.8
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: biocultivos-premium
Tags: agriculture, biotech, products, responsive, custom-logo, custom-menu, featured-images, full-width-template
*/

/* ============================================================
   VARIABLES DE DISEÃO
   ============================================================ */
:root {
  /* Colores Primarios Biocultivos */
  --bio-green:        #82ba40;
  --bio-green-dark:   #5d8a28;
  --bio-green-light:  #a8d860;
  --bio-green-pale:   #eaf4d8;
  --bio-purple:       #6f3588;
  --bio-purple-dark:  #4e2560;
  --bio-purple-light: #9a52b8;

  /* Colores de Productos */
  --actybac-color:    #6f3588;
  --dimazos-color:    #0077b6;
  --fosfobiol-color:  #f4a261;
  --trifesol-color:   #2d6a4f;
  --residuol-color:   #6b4226;
  --greenbox-color:   #52b788;

  /* Paleta General */
  --dark:             #1a1a2e;
  --dark-soft:        #2d2d44;
  --gray-dark:        #4a4a4a;
  --gray:             #7a7a7a;
  --gray-light:       #b0b0b0;
  --gray-pale:        #f0f0f0;
  --white:            #ffffff;
  --off-white:        #fafaf8;

  /* TipografÃ­a */
  --font-primary:     'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-heading:     'Montserrat', 'Inter', system-ui, sans-serif;
  --font-mono:        'JetBrains Mono', monospace;

  /* Espaciado */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-xxl:  6rem;

  /* Bordes */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.16);
  --shadow-xl:  0 32px 80px rgba(0,0,0,0.20);
  --shadow-green: 0 8px 24px rgba(130,186,64,0.35);

  /* Transiciones */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-width:   1280px;
  --header-h:    80px;
  --nav-h:       56px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

body.admin-bar { padding-top: 32px; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--bio-green-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--bio-green); }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* ============================================================
   TIPOGRAFÃA
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p { margin-bottom: 1rem; color: var(--gray-dark); line-height: 1.7; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   CONTENEDOR
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ============================================================
   HEADER & NAVEGACIÃN
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

body.admin-bar #site-header { top: 32px; }

.header-top {
  background: #93c01f;
  padding: 8px 0;
  border-bottom: 1px solid rgba(130,186,64,0.2);
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.header-contact-info {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header-contact-info a {
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.header-contact-info a:hover { color: var(--bio-green-light); }
.header-contact-info .icon { font-size: 0.9rem; }

.header-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-social a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.header-social a:hover {
  background: rgba(255,255,255,0.95);
  color: var(--bio-green);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.45);
}

/* Navbar Principal */
.header-main {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

#site-header.scrolled .header-top { display: none; }
#site-header.scrolled .header-main { box-shadow: var(--shadow-md); }

.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: var(--space-lg);
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.site-logo img {
  height: 52px;
  width: auto;
  transition: var(--transition);
}

.site-logo:hover img { transform: scale(1.03); }

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

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
  line-height: 1;
}

.logo-name span { color: var(--bio-green); }

.logo-tagline {
  font-size: 0.65rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 2px;
}

/* MenÃº Principal */
.primary-nav { display: flex; align-items: center; }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav > ul > li {
  position: relative;
}

.primary-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.primary-nav > ul > li > a:hover,
.primary-nav > ul > li.current-menu-item > a,
.primary-nav > ul > li.current-menu-ancestor > a {
  color: var(--bio-green-dark);
  background: var(--bio-green-pale);
}

.primary-nav > ul > li > a .nav-arrow {
  font-size: 0.7rem;
  transition: var(--transition);
}

.primary-nav > ul > li:hover > a .nav-arrow { transform: rotate(180deg); }

/* Dropdown */
.primary-nav .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-pale);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 100;
}

.primary-nav > ul > li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-nav .sub-menu li a {
  display: block;
  padding: 10px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.primary-nav .sub-menu li a:hover {
  background: var(--bio-green-pale);
  color: var(--bio-green-dark);
  padding-left: 18px;
}

/* BotÃ³n CTA en Nav */
.nav-cta-btn {
  background: linear-gradient(135deg, var(--bio-green) 0%, var(--bio-green-dark) 100%);
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-green);
  transition: var(--transition) !important;
}

.nav-cta-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 32px rgba(130,186,64,0.45) !important;
  background: linear-gradient(135deg, var(--bio-green-light) 0%, var(--bio-green) 100%) !important;
  color: var(--white) !important;
}

/* Hamburger Mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 2px solid var(--gray-pale);
  border-radius: var(--radius-sm);
  padding: 8px;
  transition: var(--transition);
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--bio-green) 0%, var(--bio-green-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-green);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(130,186,64,0.5);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--bio-green-dark);
  border: 2px solid var(--bio-green);
}

.btn-secondary:hover {
  background: var(--bio-green);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--dark-soft);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--bio-green-dark);
}

.btn-white:hover {
  background: var(--bio-green);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 22px; font-size: 0.8rem; }
.btn-lg { padding: 18px 40px; font-size: 1rem; }

/* ============================================================
   SECCIONES GENERALES
   ============================================================ */
.section { padding: var(--space-xxl) 0; }
.section-sm { padding: var(--space-xl) 0; }
.section-lg { padding: calc(var(--space-xxl) * 1.5) 0; }

.section-header { text-align: center; margin-bottom: var(--space-xl); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bio-green-pale);
  color: var(--bio-green-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--bio-green);
  border-radius: 50%;
}

.section-title {
  color: var(--dark);
  margin-bottom: var(--space-sm);
}

.section-title span { color: var(--bio-green); }

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Separador decorativo */
.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--bio-green), var(--bio-green-light));
  border-radius: var(--radius-full);
  margin: var(--space-sm) auto;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
#hero {
  position: relative;
  min-height: 950px;
  min-height: max(100vh, 950px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  background: var(--dark);
  padding-top: calc(var(--header-h) + 48px);
}

.hero-slider {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 800px;
  display: flex;
  align-items: center;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: all;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,26,46,0.85) 0%,
    rgba(26,26,46,0.5) 50%,
    rgba(130,186,64,0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding-bottom: 40px; /* Separacion extra de la barra de stats */
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(130,186,64,0.2);
  border: 1px solid rgba(130,186,64,0.4);
  color: var(--bio-green-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
  backdrop-filter: blur(10px);
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--bio-green-light);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.03em;
}

.hero-title .accent { color: var(--bio-green-light); }

.hero-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero-controls {
  position: absolute;
  bottom: 85px; /* Subimos los controles del slider para que no toquen las stats */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.hero-dot.active {
  background: var(--bio-green-light);
  width: 28px;
  border-radius: var(--radius-full);
}

.hero-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.hero-nav-btn:hover {
  background: var(--bio-green);
  border-color: var(--bio-green);
  transform: scale(1.1);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
  animation: scroll-line 1.5s ease infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* EstadÃ­sticas rÃ¡pidas en Hero */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid rgba(255,255,255,0.1);
}

.hero-stat {
  padding: 12px var(--space-md);
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.hero-stat:last-child { border-right: none; }

.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-num span { color: var(--bio-green-light); }

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   SECCIÃN INTRO / SLOGAN
   ============================================================ */
.section-intro {
  background: linear-gradient(135deg, var(--bio-green-pale) 0%, var(--white) 60%);
  padding: var(--space-xl) 0;
  overflow: hidden;
  position: relative;
}

.section-intro::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(130,186,64,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xxl);
  align-items: center;
}

.intro-content .intro-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: var(--space-md);
}

.intro-quote em {
  color: var(--bio-green-dark);
  font-style: normal;
}

.intro-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--space-md);
}

.intro-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--bio-green-light);
  color: var(--bio-green-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.intro-badge:hover {
  background: var(--bio-green-pale);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.intro-badge .badge-icon { font-size: 1rem; }

.intro-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-sm);
}

.intro-img-main {
  grid-column: 1 / -1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.intro-img-main img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.intro-img-main:hover img { transform: scale(1.05); }

.intro-img-secondary {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.intro-img-secondary img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.intro-img-secondary:hover img { transform: scale(1.05); }

/* ============================================================
   PRODUCTOS - GRID
   ============================================================ */
.products-section {
  background: var(--off-white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

/* Grilla para Valores Corporativos (4 columnas balanceadas) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

@media (max-width: 1200px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* Tarjeta de Producto (Estilo Sáfer Alargado) */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-pale);
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none !important;
  color: inherit;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  transition: var(--transition);
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.product-card:hover::before {
  border-color: var(--product-color, var(--bio-green));
}

/* Color variables per product */
.product-card[data-product="actybac"] { --product-color: var(--actybac-color); }
.product-card[data-product="dimazos"] { --product-color: var(--dimazos-color); }
.product-card[data-product="fosfobiol"] { --product-color: var(--fosfobiol-color); }
.product-card[data-product="trifesol"] { --product-color: var(--trifesol-color); }
.product-card[data-product="residuol"] { --product-color: var(--residuol-color); }
.product-card[data-product="greenbox"] { --product-color: var(--greenbox-color); }

.product-card-image {
  height: 380px;
  overflow: hidden;
  position: relative;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-md);
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img { transform: scale(1.08) translateY(-4px); }

.product-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--product-color, var(--bio-green));
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 3;
}

.product-card-body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.product-card-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.product-card-tag::before {
  display: none;
}

.product-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--product-color, var(--bio-green));
  margin-bottom: 0px;
  letter-spacing: -0.01em;
}

.product-card-desc { display: none !important; }
.product-card-organism { display: none !important; }
.product-card-footer { display: none !important; }

/* Botones de acciÃ³n producto */
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: var(--space-sm);
}

.product-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  border: 1.5px solid var(--gray-pale);
  color: var(--gray-dark);
  background: transparent;
}

.product-action-btn:hover {
  border-color: var(--product-color, var(--bio-green));
  color: var(--product-color, var(--bio-green));
  background: var(--bio-green-pale);
}

.product-action-btn.primary {
  background: var(--product-color, var(--bio-green));
  color: var(--white);
  border-color: var(--product-color, var(--bio-green));
}

.product-action-btn.primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  color: var(--white);
}

/* ============================================================
   SECCIÃN CULTIVOS
   ============================================================ */
.crops-section { background: var(--white); }

.crops-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.crop-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--gray-pale);
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-dark);
  cursor: pointer;
  transition: var(--transition);
}

.crop-tab:hover,
.crop-tab.active {
  background: var(--bio-green-pale);
  border-color: var(--bio-green);
  color: var(--bio-green-dark);
}

.crop-tab .crop-icon { font-size: 1.1rem; }
.crop-tab .crop-custom-icon {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
  vertical-align: middle;
}

.crop-content { display: none; }
.crop-content.active { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: center; }

.crop-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.crop-image img { width: 100%; height: 340px; object-fit: cover; }

.crop-info .crop-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: var(--space-sm);
}

.crop-info .crop-desc {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.crop-products {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-sm);
}

.crop-product-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bio-green-pale);
  border: 1px solid var(--bio-green-light);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bio-green-dark);
  transition: var(--transition);
}

.crop-product-tag:hover {
  background: var(--bio-green);
  color: var(--white);
  border-color: var(--bio-green);
  transform: translateY(-2px);
}

/* ============================================================
   SECCIÃN NOSOTROS / EMPRESA
   ============================================================ */
.about-section {
  background: var(--white);
  color: var(--gray-dark);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(130,186,64,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(111,53,136,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xxl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-tag { background: var(--bio-green-pale); color: var(--bio-green-dark); border-color: rgba(130,186,64,0.3); }

.about-title { color: var(--dark); }
.about-title span { color: var(--bio-green); }

.about-text { color: var(--gray-dark); }

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.mv-card {
  background: var(--off-white);
  border: 1px solid var(--gray-pale);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: var(--transition);
}

.mv-card:hover {
  background: rgba(130,186,64,0.05);
  border-color: var(--bio-green);
  transform: translateY(-4px);
}

.mv-card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-xs);
}

.mv-card-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bio-green-dark);
  margin-bottom: 8px;
}

.mv-card-text {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
  margin: 0;
}

.about-image-area {
  position: relative;
}

.about-main-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-main-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-cert-badge {
  position: absolute;
  bottom: var(--space-md);
  right: -var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-cert-badge .cert-icon { font-size: 2rem; }

.about-cert-badge .cert-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.about-cert-badge .cert-sub {
  font-size: 0.7rem;
  color: var(--gray);
  font-weight: 400;
}

/* ============================================================
   SECCIÃN NOTICIAS
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-pale);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.news-card-img {
  height: 200px;
  overflow: hidden;
  background: var(--gray-pale);
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-img img { transform: scale(1.05); }

.news-card-body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: 10px;
}

.news-card-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bio-green-dark);
  background: var(--bio-green-pale);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.news-card-date {
  font-size: 0.75rem;
  color: var(--gray-light);
}

.news-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 10px;
  transition: var(--transition);
}

.news-card:hover .news-card-title { color: var(--bio-green-dark); }

.news-card-excerpt {
  font-size: 0.875rem;
  color: var(--gray);
  flex: 1;
  line-height: 1.6;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bio-green-dark);
  margin-top: var(--space-sm);
  transition: var(--transition);
}

.news-card-link:hover { gap: 10px; color: var(--bio-green); }

/* ============================================================
   SECCIÃN EQUIPO
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.team-card {
  text-align: center;
  transition: var(--transition);
}

.team-card:hover { transform: translateY(-6px); }

.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--space-sm);
  border: 4px solid var(--bio-green-pale);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.team-card:hover .team-photo { border-color: var(--bio-green); }

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

.team-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.8rem;
  color: var(--bio-green-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   SECCIÃN CONTACTO
   ============================================================ */
.contact-section { background: var(--off-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xxl);
  align-items: start;
}

.contact-info { }

.contact-info-item {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-info-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--bio-green-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  color: var(--bio-green-dark);
}

.contact-info-text { }
.contact-info-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
}

.contact-info-value a {
  color: var(--dark);
  transition: var(--transition);
}

.contact-info-value a:hover { color: var(--bio-green-dark); }

.contact-social-links {
  display: flex;
  gap: 10px;
  margin-top: var(--space-md);
}

.contact-social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 2px solid var(--gray-pale);
  border-radius: var(--radius-sm);
  color: var(--gray-dark);
  font-size: 1rem;
  transition: var(--transition);
}

.contact-social-link:hover {
  background: var(--bio-green);
  border-color: var(--bio-green);
  color: var(--white);
  transform: translateY(-3px);
}

/* Formulario de Contacto */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
}

.contact-form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: var(--off-white);
  border: 2px solid var(--gray-pale);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--dark);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--bio-green);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(130,186,64,0.1);
}

.form-control::placeholder { color: var(--gray-light); }

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237a7a7a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--white);
  color: var(--gray-dark);
  padding-top: var(--space-xxl);
  border-top: 1px solid var(--gray-pale);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xxl);
}

.footer-brand .footer-logo {
  margin-bottom: var(--space-md);
}

.footer-brand .footer-logo img { height: 48px; width: auto; }

.footer-logo-img {
  height: 48px;
  width: auto;
  margin-bottom: 12px;
  display: block;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.footer-logo-text span { color: var(--bio-green); }

.footer-tagline {
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  margin: var(--space-md) 0;
  color: var(--gray-dark);
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-pale);
  border-radius: var(--radius-sm);
  color: var(--gray-dark);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--bio-green);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--dark);
  margin-bottom: var(--space-md);
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 0.875rem;
  color: var(--gray-dark);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--bio-green);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--bio-green);
  padding-left: 8px;
}

.footer-links a:hover::before { opacity: 1; }

.footer-newsletter .footer-newsletter-text {
  font-size: 0.875rem;
  color: var(--gray-dark);
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  color: var(--dark);
  font-family: var(--font-primary);
  font-size: 0.875rem;
  outline: none;
  transition: var(--transition);
}

.footer-newsletter-form input:focus {
  border-color: var(--bio-green);
  background: var(--white);
}

.footer-newsletter-form input::placeholder { color: var(--gray-light); }

.footer-newsletter-form button {
  padding: 12px 20px;
  background: var(--bio-green);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  transition: var(--transition);
}

.footer-newsletter-form button:hover {
  background: var(--bio-green-dark);
  transform: translateX(2px);
}

.footer-bottom {
  border-top: 1px solid var(--gray-pale);
  padding: var(--space-md) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.footer-bottom-text {
  font-size: 0.8rem;
  color: var(--gray);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-md);
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--gray);
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--bio-green); }

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.5);
  transition: var(--transition);
  animation: wa-bounce 2s ease-in-out infinite;
}

@keyframes wa-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.whatsapp-float:hover {
  transform: scale(1.1) !important;
  animation-play-state: paused;
  box-shadow: 0 12px 32px rgba(37,211,102,0.6);
}

.whatsapp-float svg { width: 28px; height: 28px; fill: var(--white); }

/* ============================================================
   ANIMACIONES Y EFECTOS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   PÃGINA DE PRODUCTO INDIVIDUAL
   ============================================================ */
.product-page-hero {
  min-height: 350px;
  display: flex;
  align-items: center;
  background: #93c01f;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: var(--space-xl);
}

.product-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xxl);
  align-items: start;
}

.product-page-img {
  position: sticky;
  top: calc(var(--header-h) + var(--space-lg));
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.product-page-img img { width: 100%; }

.product-page-info { }

.product-page-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-sm);
}

.product-page-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-sm);
}

.product-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: var(--space-md);
}

.product-organism {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--gray-pale);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.product-organism-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray);
}

.product-organism-name {
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
  color: var(--dark);
}

.product-ica {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bio-green-pale);
  border: 1px solid var(--bio-green-light);
  color: var(--bio-green-dark);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.product-page-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-dark);
  margin-bottom: var(--space-lg);
}

.product-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: var(--space-lg);
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-pale);
}

.benefit-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bio-green-pale);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.benefit-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.4;
}

.product-cta-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.product-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

/* ============================================================
   BANNER CTA FINAL
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--bio-green-dark) 0%, var(--bio-green) 50%, var(--bio-green-light) 100%);
  padding: var(--space-xxl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.cta-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto var(--space-lg);
}

.cta-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--gray-light);
  margin-bottom: var(--space-md);
}

.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--bio-green-light); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }
.breadcrumb .current { color: var(--bio-green-light); }

/* ============================================================
   UTILIDADES
   ============================================================ */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.gap-sm       { gap: var(--space-sm); }
.gap-md       { gap: var(--space-md); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.bg-green-pale { background: var(--bio-green-pale); }
.bg-dark       { background: var(--dark); }
.bg-white      { background: var(--white); }
.bg-off-white  { background: var(--off-white); }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* ============================================================
   MOTOR DE CLASIFICACIÓN DE PRODUCTOS - FILTROS Y TARJETAS
   ============================================================ */

/* --- Barra de filtros --- */
.products-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 24px 0 36px;
}

.pfilter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: 50px;
  border: 2px solid #e0e0e0;
  background: #fff;
  color: var(--gray);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  letter-spacing: 0.02em;
}

.pfilter-btn i {
  font-size: 0.85rem;
}

.pfilter-btn:hover {
  border-color: var(--bio-green);
  color: var(--bio-green);
  background: rgba(130, 186, 64, 0.05);
}

.pfilter-btn.active {
  background: var(--bio-green);
  border-color: var(--bio-green);
  color: #fff;
  box-shadow: 0 4px 15px rgba(130, 186, 64, 0.35);
}

/* --- Grilla de tarjetas de productos --- */
.products-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 10px;
}

/* --- Tarjeta individual --- */
.pfcard {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  border: 1px solid #f0f0f0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.22s ease;
}

.pfcard.pfcard-visible {
  opacity: 1;
  transform: translateY(0);
}

.pfcard:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.13);
  transform: translateY(-4px);
}

/* --- Imagen superior --- */
.pfcard-image {
  position: relative;
  background: #f7f9f4;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
}

.pfcard-image img {
  max-height: 160px;
  max-width: 85%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.pfcard:hover .pfcard-image img {
  transform: scale(1.05);
}

.pfcard-placeholder {
  font-size: 3rem;
  color: var(--bio-green-light);
  opacity: 0.5;
}

/* Badge "Registro ICA" */
.pfcard-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--pc, var(--bio-green));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 50px;
  text-transform: uppercase;
}

/* --- Cuerpo de la tarjeta --- */
.pfcard-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

/* Logo del producto */
.pfcard-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}

.pfcard-logo img {
  max-height: 44px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.pfcard-logo-text {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  padding: 6px 0;
}

/* Descripción */
.pfcard-desc {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  flex: 1;
}

/* Botón "Conocer Más" */
.pfcard-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 9px 16px;
  background: var(--pc, var(--bio-green));
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none !important;
  transition: opacity 0.2s ease, transform 0.2s ease;
  align-self: flex-start;
}

.pfcard-cta:hover {
  opacity: 0.88;
  transform: translateX(3px);
}

.pfcard-cta i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.pfcard-cta:hover i {
  transform: translateX(3px);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .products-filter-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .products-filter-grid { grid-template-columns: repeat(2, 1fr); }
  :root { --header-h: 70px; }
  #hero { padding-top: 0 !important; }

  .header-top { display: none; }

  .primary-nav { display: none; }
  .primary-nav.open {
    display: flex;
    position: fixed;
    inset: 0;
    top: var(--header-h);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 990;
    padding: var(--space-xl) var(--space-lg);
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    animation: slideDownMenu 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes slideDownMenu {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
  }

  .primary-nav.open ul {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 16px;
  }

  .primary-nav.open > ul > li {
    opacity: 0;
    animation: fadeInUpLink 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .primary-nav.open > ul > li:nth-child(1) { animation-delay: 0.1s; }
  .primary-nav.open > ul > li:nth-child(2) { animation-delay: 0.15s; }
  .primary-nav.open > ul > li:nth-child(3) { animation-delay: 0.2s; }
  .primary-nav.open > ul > li:nth-child(4) { animation-delay: 0.25s; }
  .primary-nav.open > ul > li:nth-child(5) { animation-delay: 0.3s; }
  .primary-nav.open > ul > li:nth-child(6) { animation-delay: 0.35s; }

  @keyframes fadeInUpLink {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
  }

  .primary-nav.open > ul > li > a {
    font-size: 1.3rem;
    padding: 10px 16px;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: color 0.3s ease;
  }

  .primary-nav.open > ul > li > a:hover,
  .primary-nav.open > ul > li > a.active {
    color: var(--bio-green);
  }

  .primary-nav.open > ul > li > a .nav-arrow {
    transition: transform 0.3s ease;
  }
  
  .primary-nav.open > ul > li > a.active .nav-arrow {
    transform: rotate(180deg);
  }

  .primary-nav.open .sub-menu {
    display: none; /* Controlled by JS */
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 10px 0 0 0;
    text-align: center;
    width: 100%;
  }

  .primary-nav.open .sub-menu li a {
    font-size: 1.05rem;
    padding: 10px;
    color: var(--gray-dark);
    font-weight: 500;
    background: transparent;
  }

  .primary-nav.open .sub-menu li a:hover {
    color: var(--bio-green);
    background: transparent;
    padding-left: 10px; /* Reset the desktop hover padding-left */
  }

  .menu-toggle { display: flex; }

  .intro-grid,
  .about-grid,
  .contact-grid,
  .product-page-grid { grid-template-columns: 1fr; }

  .crop-content.active { grid-template-columns: 1fr; }

  /* Altura y estructura del bloque de estadísticas móviles */
  .hero-stats {
    position: relative !important; /* fluye naturalmente abajo de las diapositivas */
    bottom: 0 !important;
    width: 100% !important;
    background: var(--white) !important; /* Fondo blanco en móvil/tableta */
    border-top: 2px solid var(--bio-green) !important;
  }

  .hero-stats-inner {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .hero-stat {
    padding: 20px 15px !important;
    border-right: 1px solid rgba(0,0,0,0.08) !important; /* Bordes oscuros en fondo claro */
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
  }

  .hero-stat:nth-child(2n) {
    border-right: none !important;
  }

  .hero-stat:nth-child(3),
  .hero-stat:nth-child(4) {
    border-bottom: none !important;
  }

  .hero-stat-num {
    font-size: 1.8rem !important;
    color: var(--dark) !important; /* Texto oscuro */
  }

  .hero-stat-num span {
    color: var(--bio-green) !important; /* Verde oscuro para mejor legibilidad */
  }

  .hero-stat-label {
    color: var(--gray-dark) !important; /* Texto oscuro */
  }

  .news-grid { grid-template-columns: repeat(2, 1fr); }

  .about-image-area { display: none; }
}

@media (max-width: 768px) {
  :root { --space-xxl: 4rem; --space-xl: 3rem; }

  .products-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .product-benefits { grid-template-columns: 1fr; }
  .product-cta-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }

  .hero-scroll { display: none; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 3rem); }
}

@media (max-width: 480px) {
  :root { --space-xxl: 3rem; }
  .container { padding: 0 var(--space-sm); }
  .hero-stats-inner { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* ============================================================
   ADMIN BAR COMPATIBILITY
   ============================================================ */
@media screen and (max-width: 782px) {
  body.admin-bar { padding-top: 46px; }
  body.admin-bar #site-header { top: 46px; }
}

/* ============================================================
   ESTILOS PRINT
   ============================================================ */
@media print {
  #site-header, .whatsapp-float, .hero-controls { display: none !important; }
  #hero { min-height: auto; padding: var(--space-lg) 0; }
}

/* ============================================================
   PRODUCTS CAROUSEL (PREMIUM SLIDER)
   ============================================================ */
.products-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--space-lg);
}

.products-carousel-viewport {
  overflow: hidden;
  flex: 1;
  border-radius: 16px;
}

.products-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 20px;
  padding: 10px 0;
}

/* Carousel Arrows */
.carousel-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--bio-green);
  background: rgba(255,255,255,0.95);
  color: var(--bio-green);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  z-index: 2;
}

.carousel-arrow:hover {
  background: var(--bio-green);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(130,186,64,0.35);
}

.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: default;
  transform: none;
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--gray-pale);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dots .dot.active {
  background: var(--bio-green);
  width: 28px;
  border-radius: 5px;
}

/* Product Card (Estilo Sáfer Alargado) */
.pcard {
  flex: 0 0 calc(25% - 15px);
  max-width: calc(25% - 15px);
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-pale);
  text-decoration: none !important;
  color: inherit;
}

.pcard:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  border-color: var(--pc, var(--bio-green));
}

/* Visual / Image area */
.pcard-visual {
  position: relative;
  background: var(--white);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
}

.pcard-visual::before {
  content: none;
}

.pcard-pack {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: drop-shadow(0 8px 12px rgba(0,0,0,0.1));
}

.pcard:hover .pcard-pack {
  transform: scale(1.08) rotate(-2deg);
}

.pcard-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--pc, var(--bio-green));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.15;
}

.pcard-placeholder i {
  font-size: 2rem;
  color: #fff;
}

.pcard-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--pc, var(--bio-green));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 3;
}

/* Body / Info */
.pcard-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.pcard-logo {
  max-height: 40px;
  max-width: 140px;
  object-fit: contain;
  margin-bottom: 8px;
  display: block;
}

.pcard-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--pc, var(--bio-green));
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.02em;
}

.pcard-sub {
  font-size: 0.72rem;
  color: var(--gray);
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pcard-desc { display: none !important; }
.pcard-btn { display: none !important; }

/* Responsive */
@media (max-width: 1300px) {
  .pcard {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
  }
}

@media (max-width: 992px) {
  .pcard {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

@media (max-width: 576px) {
  .pcard {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .products-filter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .products-filter-bar {
    gap: 7px;
  }
  .pfilter-btn {
    padding: 8px 14px;
    font-size: 0.78rem;
  }
}

@media (max-width: 400px) {
  .products-filter-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }
  .pcard-visual {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .products-carousel-wrap {
    gap: 6px;
  }
  .carousel-arrow {
    width: 30px;
    height: 30px;
    font-size: 0.7rem;
  }
}

/* ============================================================
   SECCIÃN BANNER HORIZONTAL
   ============================================================ */
.home-horizontal-banner {
  width: 100%;
  overflow: hidden;
  background: var(--off-white);
  padding: 0;
}

.home-horizontal-banner .banner-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   SECCIÃN PATROCINADORES / ELLOS NOS RESPALDAN
   ============================================================ */
.sponsors-section {
  background-color: var(--white);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--gray-pale);
}

.sponsors-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
  width: 100%;
}

.sponsor-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 180px;
  height: 90px;
  transition: var(--transition);
  filter: grayscale(100%);
  opacity: 0.6;
}

.sponsor-logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.sponsor-logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* DecoraciÃ³n de doble lÃ­nea verde (estilo Imagen 2) */
.sponsors-divider-line {
  width: 300px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sponsors-divider-line::before,
.sponsors-divider-line::after {
  content: '';
  display: block;
  height: 4px;
  background-color: var(--bio-green);
  border-radius: var(--radius-full);
}

.sponsors-divider-line::before {
  width: 100%;
}

.sponsors-divider-line::after {
  width: 60%;
  margin: 0 auto;
  height: 2px;
}

@media (max-width: 768px) {
  .sponsors-grid {
    gap: var(--space-md);
  }
  .sponsor-logo-item {
    max-width: 120px;
    height: 60px;
  }
  .sponsors-divider-line {
    width: 200px;
  }
}

/* ============================================================
   CORRECCIONES DE DISEÃO Y CONTENIDO PREMIUM V8
   ============================================================ */

/* 1. Ocultar imÃ¡genes y elementos obsoletos/duplicados del contenido antiguo */
.product-content img,
.product-content .row.botones_abajo,
.product-content .row.botos_abajo,
.product-content .botones_abajo,
.product-content .botos_abajo,
.product-content .row.instrucciones > h3,
.product-content h3.titulo1 {
  display: none !important;
}

/* 2. EstilizaciÃ³n de la tabla de dosificaciÃ³n/instrucciones del producto */
.product-content .tabla_producto {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 25px 0 !important;
  font-size: 0.9rem !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  border: 1px solid #eee !important;
}

.product-content .tabla_producto th {
  background-color: var(--product-color, var(--bio-green)) !important;
  color: #ffffff !important;
  text-align: left !important;
  padding: 12px 16px !important;
  font-weight: 700 !important;
  font-family: var(--font-heading) !important;
  text-transform: uppercase !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.05em !important;
  border: none !important;
}

.product-content .tabla_producto td {
  padding: 12px 16px !important;
  border-bottom: 1px solid #eee !important;
  color: #555 !important;
  line-height: 1.5 !important;
}

.product-content .tabla_producto tr:last-child td {
  border-bottom: none !important;
}

.product-content .tabla_producto tr:nth-child(even) {
  background-color: #f9fbf9 !important;
}

/* 3. Limpieza de layouts de Bootstrap rotos en el contenido */
.product-content .row,
.product-content .section {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.product-content .col-xs-10,
.product-content .col-xs-12,
.product-content .col-sm-8,
.product-content .col-sm-10,
.product-content .col-sm-offset-1,
.product-content .col-sm-offset-2 {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 4. CorrecciÃ³n de la responsividad del carrusel en dispositivos mÃ³viles */
@media (max-width: 768px) {
  .products-carousel-wrap {
    display: block !important; /* viewport tomarÃ¡ ancho completo de la pantalla */
    position: relative !important;
  }
  
  .products-carousel-viewport {
    width: 100% !important;
    border-radius: 12px !important;
  }

  .carousel-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    z-index: 5 !important;
  }

  .carousel-prev {
    left: -12px !important; /* saca la flecha un poco hacia la izquierda */
  }

  .carousel-next {
    right: -12px !important; /* saca la flecha un poco hacia la derecha */
  }
}

/* 5. CorrecciÃ³n de superposiciÃ³n del Hero y Botones en dispositivos Android */
@media (max-width: 768px) {
  #hero {
    height: auto !important;
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .hero-slider {
    height: auto !important;
    min-height: 100vh !important;
    flex: 1 !important;
  }

  .hero-slide {
    height: auto !important;
    min-height: 100vh !important;
    padding-top: 100px !important; /* Espacio bajo el header mÃ³vil */
    padding-bottom: 240px !important; /* Suficiente padding para no tapar los botones con las stats */
    display: flex !important;
    align-items: flex-start !important; /* AlineaciÃ³n arriba para mejor scroll en pantallas cortas */
  }

  .hero-content {
    padding-bottom: 0 !important; /* Eliminamos el padding redundante */
    margin: 0 auto !important;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 2.8rem) !important;
    margin-bottom: 12px !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  }

  .hero-text {
    font-size: 0.95rem !important;
    margin-bottom: 25px !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  }

  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    padding: 14px 24px !important;
    font-size: 0.9rem !important;
    text-align: center !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
  }

  /* Ajustar los controles de puntos del slider */
  .hero-controls {
    bottom: 200px !important;
  }
}

@media (max-width: 480px) {
  .hero-slide {
    padding-bottom: 250px !important; /* Espacio extra para pantallas extra pequeÃ±as */
  }
  .hero-controls {
    bottom: 210px !important;
  }
}

/* ============================================================
   PÁGINA NOTICIAS (DINÁMICA)
   ============================================================ */
.noticias-layout {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
}

.noticias-main-content {
  flex: 1;
  min-width: 0;
}

.noticias-sidebar {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* Video Section */
.video-container-wrapper {
  background: var(--white);
  padding: var(--space-sm);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Filtros de Categorías */
.noticias-filters {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--gray-pale);
}
.filter-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-list a {
  display: inline-block;
  padding: 8px 16px;
  background: var(--off-white);
  color: var(--gray-dark);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid var(--gray-pale);
}
.filter-list a:hover, .filter-list a.active {
  background: var(--bio-green);
  color: var(--white);
  border-color: var(--bio-green);
}

/* Paginación */
.noticias-pagination {
  margin-top: var(--space-xl);
  display: flex;
  justify-content: center;
  gap: 8px;
}
.noticias-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--white);
  border: 1px solid var(--gray-pale);
  color: var(--dark);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.noticias-pagination .page-numbers:hover {
  border-color: var(--bio-green);
  color: var(--bio-green);
}
.noticias-pagination .current {
  background: var(--bio-green);
  color: var(--white);
  border-color: var(--bio-green);
}

/* Sidebar Widgets */
.widget {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-pale);
}
.widget-title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--bio-green-pale);
  color: var(--dark);
}

/* Buscador */
.search-form {
  position: relative;
  display: flex;
}
.search-field {
  width: 100%;
  padding: 12px 40px 12px 16px;
  border: 1px solid var(--gray-pale);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}
.search-field:focus {
  border-color: var(--bio-green);
  box-shadow: 0 0 0 3px rgba(130,186,64,0.1);
}
.search-submit {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40px;
  background: transparent;
  border: none;
  color: var(--gray);
  transition: var(--transition);
}
.search-submit:hover { color: var(--bio-green); }

/* Categorías Widget */
.categories-widget ul li { margin-bottom: 8px; }
.categories-widget ul li:last-child { margin-bottom: 0; }
.categories-widget ul li a {
  display: flex;
  justify-content: space-between;
  color: var(--gray-dark);
  font-size: 0.9rem;
  padding: 6px 0;
  border-bottom: 1px dashed var(--gray-pale);
}
.categories-widget ul li a:hover {
  color: var(--bio-green);
  padding-left: 8px;
  border-color: var(--bio-green-pale);
}
.categories-widget ul li a span {
  background: var(--bio-green-pale);
  color: var(--bio-green-dark);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Posts Recientes Widget */
.recent-post-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dashed var(--gray-pale);
}
.recent-post-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.recent-post-thumb {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recent-post-info .date {
  font-size: 0.75rem;
  color: var(--gray);
  margin-bottom: 4px;
}
.recent-post-info h4 {
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}
.recent-post-info h4 a { color: var(--dark); }
.recent-post-info h4 a:hover { color: var(--bio-green); }

/* Suscripción en Línea */
.subscribe-form-inline {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}
.subscribe-form-inline input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-size: 1rem;
  outline: none;
}
.subscribe-form-inline button {
  padding: 14px 30px;
  border-radius: var(--radius-full);
  border: none;
  font-weight: 700;
  transition: var(--transition);
}

@media (max-width: 992px) {
  .noticias-layout { flex-direction: column; }
  .noticias-sidebar { width: 100%; }
}

/* ============================================================
   OVERRIDE: HERO SLIDER ADVANCED ANIMATION
   ============================================================ */
.hero-slide {
  visibility: hidden;
  transition: opacity 1.2s ease-in-out, visibility 1.2s !important;
  overflow: hidden;
}

.hero-slide.active {
  visibility: visible;
  z-index: 1;
}

.hero-bg {
  transform: scale(1.1);
  transition: transform 7s ease-out !important;
}

.hero-slide.active .hero-bg {
  transform: scale(1);
}

/* PREVENT AUTOMATIC MOBILE BROWSER ZOOM ON FOCUS */
@media screen and (max-width: 1024px) {
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="search"],
  input[type="number"],
  select,
  textarea,
  .form-control,
  .footer-newsletter-form input {
    font-size: 16px !important;
  }
}
