/* ==========================================================================
   MULTISERES - SISTEMA DE DISEÑO OFICIAL
   Identidad: Clara, rigurosa y segura.
   Colores: Azul Oscuro (#004169), Azul Cian (#009CDB), Verde Lima (#96C121)
   Tipografías: Schibsted Grotesk (Títulos) + Open Sans (Cuerpo)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Schibsted+Grotesk:ital,wght@0,400..900;1,400..900&display=swap');

:root {
  /* Paleta Corporativa Oficial */
  --color-primary-dark: #004169;
  --color-primary-blue: #009CDB;
  --color-primary-green: #96C121;
  --color-primary-green-hover: #83a91b;
  --color-blue-hover: #0087bf;

  /* Fondos y Superficies */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --bg-dark-section: #051624;
  --bg-dark-card: #092032;
  --bg-accent-soft-blue: rgba(0, 156, 219, 0.08);
  --bg-accent-soft-green: rgba(150, 193, 33, 0.12);

  /* Textos */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;

  /* Bordes */
  --border-light: #e2e8f0;
  --border-dark: #1e3a52;
  --border-focus-green: rgba(150, 193, 33, 0.4);

  /* Tipografía */
  --font-heading: 'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-editorial: 'Instrument Serif', Georgia, serif;

  /* Sombras y Elevaciones */
  --shadow-sm: 0 1px 3px rgba(0, 65, 105, 0.06);
  --shadow-md: 0 4px 20px -2px rgba(0, 65, 105, 0.08);
  --shadow-lg: 0 14px 34px -6px rgba(0, 65, 105, 0.12);
  --shadow-glow-green: 0 0 25px rgba(150, 193, 33, 0.25);
  --shadow-glow-blue: 0 0 25px rgba(0, 156, 219, 0.25);

  /* Curvaturas */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* Transición estándar */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset Básico */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

/* Tipografía Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   COMPONENTES UI GLOBALES
   ========================================================================== */

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--color-primary-green);
  color: #0b1a04;
  box-shadow: 0 4px 14px rgba(150, 193, 33, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-primary-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(150, 193, 33, 0.45);
}

.btn-secondary {
  background-color: var(--color-primary-dark);
  color: var(--text-light);
}

.btn-secondary:hover {
  background-color: #002d49;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 65, 105, 0.3);
}

.btn-outline {
  border: 1.5px solid var(--border-light);
  color: var(--color-primary-dark);
  background-color: var(--bg-surface);
}

.btn-outline:hover {
  border-color: var(--color-primary-dark);
  background-color: var(--bg-surface-alt);
}

.btn-outline-white {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--text-light);
  background-color: transparent;
}

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

/* Badges y Etiquetas */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
}

.badge-green {
  background-color: var(--bg-accent-soft-green);
  color: #4a6603;
  border: 1px solid rgba(150, 193, 33, 0.3);
}

.badge-blue {
  background-color: var(--bg-accent-soft-blue);
  color: #006b99;
  border: 1px solid rgba(0, 156, 219, 0.3);
}

.badge-dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-primary-green);
  border: 1px solid rgba(150, 193, 33, 0.3);
}

.badge-orange {
  background-color: #fff7ed;
  color: #c2410c;
  border: 1px solid rgba(234, 88, 12, 0.3);
}

.badge-gray {
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid rgba(100, 116, 139, 0.25);
}

/* ==========================================================================
   HEADER Y NAVEGACIÓN
   ========================================================================== */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.header-nav.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-brand img {
  height: 46px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-primary-dark);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary-blue);
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Selector de Idioma */
.lang-switcher {
  display: flex;
  align-items: center;
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 2px;
}

.lang-btn {
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

.lang-btn.active {
  background-color: var(--color-primary-dark);
  color: #ffffff;
}

/* Botón Hamburguesa Móvil */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--color-primary-dark);
  padding: 0.5rem;
}

/* ==========================================================================
   HERO SECTION (PORTADA CON ISOTIPO ANIMADO Y CANVAS INTERACTIVO)
   ========================================================================== */
.hero-section {
  position: relative;
  background: #010911;
  color: var(--text-light);
  height: calc(100vh - 80px);
  min-height: 640px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 156, 219, 0.2);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Canvas interactivo de fondo */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Malla de profundidad luminosa */
.hero-aurora-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 156, 219, 0.18) 0%, rgba(150, 193, 33, 0.08) 45%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.hero-grid-2col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  width: 100%;
  position: relative;
  z-index: 2;
  height: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 1.1rem;
}

.hero-visual-col {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-isotipo-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
}

.hero-header-center {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.hero-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-coords {
  font-family: monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #64748b;
}

.hero-title {
  color: #ffffff;
  font-size: 2.35rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-title-center {
  max-width: 880px;
  margin: 0 auto;
}

.hero-serif-italic {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  color: var(--color-primary-green);
  font-size: 1.12em;
}

.hero-subtitle {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero-subtitle-center {
  max-width: 650px;
  margin: 0 auto;
}

.hero-centerpiece {
  margin: 0 auto;
}

.hero-footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.2rem;
}

.hero-buttons-center {
  justify-content: center;
}

.btn-glow {
  box-shadow: 0 0 25px rgba(150, 193, 33, 0.4);
}

.btn-outline-glass {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-outline-glass:hover {
  border-color: var(--color-primary-blue);
  background: rgba(0, 156, 219, 0.12);
  color: #ffffff;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-trust-center {
  justify-content: center;
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
}

.trust-divider {
  width: 1px;
  height: 35px;
  background: rgba(255, 255, 255, 0.1);
}

.trust-val {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary-green);
  line-height: 1;
}

.trust-lbl {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.3rem;
}

.isotipo-interactive-svg {
  width: 100%;
  max-width: 380px;
  max-height: 380px;
  height: auto;
  position: relative;
  z-index: 2;
  shape-rendering: geometricPrecision;
  filter: drop-shadow(0 0 30px rgba(0, 156, 219, 0.28));
}

.hero-isotipo-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0, 156, 219, 0.35) 0%, rgba(150, 193, 33, 0.18) 45%, transparent 70%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 1;
}

.scrolly-falling-leaf,
#scrollyLeaf,
.scrolly-floating-leaf {
  position: fixed;
  top: 0;
  left: 0;
  width: 85px;
  height: 85px;
  pointer-events: none;
  z-index: 999;
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.15s ease-out;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
}

.scrolly-falling-leaf svg,
#scrollyLeaf svg,
.scrolly-floating-leaf svg {
  width: 100%;
  height: 100%;
}

/* Micro-hojas sutiles al pasar el mouse por el Isotipo */
.hero-micro-leaf {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  z-index: 10;
  will-change: transform, opacity;
  animation: heroLeafFloat 1.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  filter: drop-shadow(0 0 6px rgba(150, 193, 33, 0.5));
}

@keyframes heroLeafFloat {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.4) rotate(0deg);
  }
  20% {
    opacity: 0.85;
    transform: translate(calc(var(--drift-x, 0px) * 0.3), -15px) scale(1) rotate(calc(var(--rot, 15deg) * 0.4));
  }
  100% {
    opacity: 0;
    transform: translate(var(--drift-x, 0px), -65px) scale(0.7) rotate(var(--rot, 25deg));
  }
}

/* ANIMACIONES SVG NATIVAS */
@keyframes stemGrow {
  0% { stroke-dashoffset: 400; opacity: 0; }
  30% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes leafBloom {
  0% { transform: scale(0.6) rotate(-8deg); opacity: 0; }
  60% { transform: scale(1.03) rotate(1deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes vesicleFloat {
  0%, 100% { transform: translateY(0px); opacity: 0.85; }
  50% { transform: translateY(-3px); opacity: 1; }
}

.svg-stem {
  transform-origin: bottom center;
  animation: leafBloom 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.svg-leaf {
  transform-origin: bottom left;
  animation: leafBloom 1.6s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.svg-vesicles {
  /* Sin filtros rasterizantes para mantener nitidez vectorial absoluta */
}

.svg-vesicle-item {
  transform-box: fill-box;
  transform-origin: center;
  animation: vesicleFloat 3.5s ease-in-out infinite;
}

.svg-vesicle-item:nth-child(2n) {
  animation-duration: 4s;
  animation-delay: 0.5s;
}

.svg-vesicle-item:nth-child(3n) {
  animation-duration: 3.5s;
  animation-delay: 1s;
}

/* ==========================================================================
   SECCIÓN: HUB DE LÍNEAS DE TRABAJO (LAS 5 UNIDADES DE NEGOCIO)
   ========================================================================== */
.worklines-section {
  scroll-margin-top: 0;
  background: radial-gradient(circle at 50% 50%, #061826 0%, #010911 100%);
  min-height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.workline-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.workline-relief-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.workline-relief-bg.active {
  opacity: 1;
}

.grass-reveal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  cursor: crosshair;
  touch-action: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.grass-reveal-canvas.active {
  opacity: 1;
  pointer-events: auto;
}

.workline-hogar-mask {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent calc(var(--workline-split-hogar, 100%) - 80px), black calc(var(--workline-split-hogar, 100%) + 80px), black 100%);
  mask-image: linear-gradient(to right, transparent 0%, transparent calc(var(--workline-split-hogar, 100%) - 80px), black calc(var(--workline-split-hogar, 100%) + 80px), black 100%);
}

.workline-pecuaria-mask {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent calc(var(--workline-split-pecuaria, 100%) - 80px), black calc(var(--workline-split-pecuaria, 100%) + 80px), black 100%);
  mask-image: linear-gradient(to right, transparent 0%, transparent calc(var(--workline-split-pecuaria, 100%) - 80px), black calc(var(--workline-split-pecuaria, 100%) + 80px), black 100%);
}

.workline-retos-mask {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent calc(var(--workline-split-retos, 100%) - 80px), black calc(var(--workline-split-retos, 100%) + 80px), black 100%);
  mask-image: linear-gradient(to right, transparent 0%, transparent calc(var(--workline-split-retos, 100%) - 80px), black calc(var(--workline-split-retos, 100%) + 80px), black 100%);
}

.workline-drones-mask {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent calc(var(--workline-split-drones, 100%) - 80px), black calc(var(--workline-split-drones, 100%) + 80px), black 100%);
  mask-image: linear-gradient(to right, transparent 0%, transparent calc(var(--workline-split-drones, 100%) - 80px), black calc(var(--workline-split-drones, 100%) + 80px), black 100%);
}

/* Canvas de Niebla Cinemática Blanca */
.fog-transition-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

/* Contenedor Editorial y Paneles */
.worklines-editorial-container {
  position: relative;
  z-index: 10;
  pointer-events: none;
  max-width: 900px;
  width: 100%;
  height: 380px;
  padding: 1.5rem 1.5rem;
  margin: auto;
  transform: translateY(-38px);
  text-align: center;
}

.workline-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 880px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  text-align: center;
}

.workline-panel.active,
.workline-panel.active * {
  opacity: 1;
  pointer-events: auto !important;
  visibility: visible !important;
  z-index: 10;
}

.workline-panel:not(.active) {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  z-index: 1;
}

/* Píldora de Alto Contraste del Ecosistema Multiseres */
.workline-ecosystem-badge {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(9, 30, 43, 0.9) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #96C121 !important;
  border: 1px solid rgba(150, 193, 33, 0.55) !important;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  z-index: 5;
}

/* Barra Flotante de Navegación Compacta Siempre Visible */
.gmx-panels-dock {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(9, 30, 43, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(150, 193, 33, 0.4);
  border-radius: 999px;
  padding: 0.35rem 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  z-index: 10;
}

.gmx-arrow-btn {
  background: transparent;
  border: none;
  color: #96C121;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  align-self: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.gmx-arrow-btn:hover {
  transform: scale(1.15);
  color: #a8d728;
}

.gmx-panels-nav {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
}

.gmx-nav-item {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 52px;
  padding: 0.15rem 0;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.gmx-nav-item:hover, .gmx-nav-item.active {
  color: #ffffff;
}

.gmx-nav-num {
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1;
  height: 12px;
  display: block;
  transition: color 0.3s ease;
}

.gmx-nav-item.active .gmx-nav-num {
  color: #96C121;
}

.gmx-nav-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  height: 24px;
  display: flex;
  align-items: flex-start;
  text-align: left;
}

.gmx-nav-line {
  width: 100%;
  min-width: 65px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.gmx-nav-fill {
  position: absolute;
  inset: 0;
  background: #96C121;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gmx-nav-item.active .gmx-nav-fill {
  transform: scaleX(1);
}

@media (max-width: 992px) {
  .gmx-panels-dock {
    bottom: 16px;
    padding: 0.3rem 0.9rem;
    gap: 0.6rem;
  }
  .gmx-panels-nav {
    gap: 0.85rem;
  }
  .gmx-nav-line {
    min-width: 50px;
  }
}

.grass-editorial-content {
  position: relative;
  z-index: 3;
  pointer-events: none;
  text-align: center;
  max-width: 880px;
  padding: 3rem 1.5rem;
  margin: auto;
}

.grass-editorial-content .badge {
  pointer-events: auto;
  display: inline-block;
  margin-bottom: 0.8rem;
  background: rgba(9, 30, 43, 0.88) !important;
  color: #96C121 !important;
  border: 1px solid rgba(150, 193, 33, 0.6) !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.45rem 1.25rem;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
}

.scrolly-scatter-leaf {
  position: fixed;
  pointer-events: none;
  z-index: 99;
  width: 22px;
  height: 28px;
  opacity: 0.95;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease;
}

.agro-big-title {
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.02;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.6);
  margin: 0.2rem 0 0.4rem;
  text-transform: uppercase;
}

.agro-big-subtitle {
  font-size: clamp(0.92rem, 1.25vw, 1.1rem);
  color: #f1f7ed;
  max-width: 680px;
  margin: 0 auto 1.15rem;
  line-height: 1.5;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
  font-weight: 500;
}

.grass-hint-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(9, 30, 43, 0.82);
  backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 1.8rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.grass-action-wrapper {
  pointer-events: auto;
}


/* PESTAÑAS IMMERSIVE TABS */
.immersive-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  position: relative;
  z-index: 3;
}

.immersive-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(9, 30, 43, 0.12);
  color: #091E2B;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(9, 30, 43, 0.04);
}

.immersive-tab:hover {
  border-color: var(--color-primary-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(150, 193, 33, 0.2);
}

.immersive-tab.active {
  background: #091E2B;
  color: #ffffff;
  border-color: #091E2B;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 156, 219, 0.25);
}

.immersive-tab.active span {
  color: var(--color-primary-green);
}

/* VIEWPORT IMMERSIVE GARDEN */
.immersive-canvas-viewport {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(27, 56, 21, 0.12);
  border: 1px solid rgba(150, 193, 33, 0.35);
  background: #b5ceb3;
}

.immersive-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.5s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.immersive-reveal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  z-index: 2;
  touch-action: none;
}

.immersive-overlay-hint {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(9, 30, 43, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  pointer-events: none;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.immersive-scene-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 30, 43, 0.88) 35%, rgba(6, 18, 25, 0.96) 100%);
  padding: 2.5rem 2rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 3;
  backdrop-filter: blur(6px);
}

.scene-info-text strong {
  display: block;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.scene-info-text p {
  color: #94a3b8;
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.4;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

.worklines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.3rem;
}

.workline-card {
  background: #ffffff;
  border: 1px solid rgba(9, 30, 43, 0.09);
  border-radius: 16px;
  padding: 1.5rem 1.3rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 16px rgba(9, 30, 43, 0.03);
}

.workline-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 156, 219, 0.12);
  border-color: rgba(150, 193, 33, 0.5);
}

.workline-card.highlight {
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
  border-color: rgba(150, 193, 33, 0.35);
}

.workline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.workline-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.workline-icon {
  font-size: 1.5rem;
  line-height: 1;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.workline-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #091E2B;
  margin-bottom: 0.45rem;
}

.workline-card p {
  font-size: 0.86rem;
  line-height: 1.45;
  color: #5A6E7C;
  margin-bottom: 1.1rem;
  flex-grow: 1;
}

.workline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 1.2rem;
}

.workline-meta .meta-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.workline-action {
  font-size: 0.82rem;
  font-weight: 700;
  color: #009CDB;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.workline-card:hover .workline-action {
  color: #7ba314;
  transform: translateX(4px);
}

/* ==========================================================================
   SECCIÓN 1: ENRUTADOR POR CULTIVO (ESTILO YARA)
   ========================================================================== */
.crop-router-section {
  display: none;
}

.crop-router-section.crop-modal-view {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.98);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 20%, #ffffff 0%, #f6faf4 55%, #eef5ea 100%);
  padding: 3rem 1rem;
}

.crop-router-section.crop-modal-view.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

/* Modal Pecuario - Dark/Premium Theme */
.crop-router-section.crop-modal-view.pecuaria-modal-view {
  background: #070a0d !important;
}

.crop-router-section.crop-modal-view.pecuaria-modal-view::before {
  content: "";
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background: 
    linear-gradient(to bottom, rgba(14, 21, 26, 0.6) 0%, rgba(7, 10, 13, 0.95) 100%),
    url('../Recursos/escenas/pecuaria-relieve.jpg') no-repeat center center !important;
  background-size: cover !important;
  filter: blur(18px);
  z-index: -1;
  pointer-events: none;
}

.crop-router-section.pecuaria-modal-view .section-head h2 {
  color: #ffffff !important;
  text-shadow: 0 4px 12px rgba(0,0,0,0.6) !important;
}

.crop-router-section.pecuaria-modal-view .section-head p {
  color: #c0d1e1 !important;
}

.crop-router-section.pecuaria-modal-view .badge-green {
  background: rgba(150, 193, 33, 0.15);
  border: 1px solid rgba(150, 193, 33, 0.4);
  color: #96C121;
}

.crop-router-section.pecuaria-modal-view .philosophy-editorial-banner {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.crop-router-section.pecuaria-modal-view .philosophy-quote {
  color: #ffffff;
}

.crop-router-section.pecuaria-modal-view .philosophy-editorial-banner p {
  color: #9cb2c7;
}

.crop-router-section.pecuaria-modal-view .btn-editorial {
  background: rgba(150, 193, 33, 0.9);
  color: #000;
  border: none;
}
.crop-router-section.pecuaria-modal-view .btn-editorial:hover {
  background: #a9d924;
}

.cultivos-modal-close {
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  background: #091E2B;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.cultivos-modal-close:hover {
  background: var(--color-primary-green);
  color: #091E2B;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(150, 193, 33, 0.4);
}

.crop-router-section .container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.crop-router-section .section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 0.6rem;
}

.crop-router-section .section-head h2 {
  font-size: 1.85rem;
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
  color: #091e2b;
}

.crop-router-section .section-head p {
  font-size: 0.9rem;
  color: #475569;
  max-width: 620px;
  margin: 0 auto;
}

/* Retícula Adaptativa para Cultivos: Centrado inicial (Bright Biotech) -> 2 Columnas al seleccionar */
.crop-layout-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.crop-layout-grid.has-selection {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 2.5rem;
}

.crop-orbital-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.crop-layout-grid.has-selection .crop-orbital-col {
  margin: 0;
}

.crop-details-col {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  opacity: 0;
  transform: translateX(35px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.crop-layout-grid.has-selection .crop-details-col {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}

.crop-interactive-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.6rem;
  padding: 0.55rem 1.4rem;
  background: #ffffff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(150, 193, 33, 0.55);
  border-radius: var(--radius-full);
  color: #0f172a;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(20, 60, 30, 0.08), 0 0 15px rgba(150, 193, 33, 0.15);
  z-index: 10;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.crop-layout-grid.has-selection .crop-interactive-hint {
  display: none;
}

.hint-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary-green);
  box-shadow: 0 0 12px var(--color-primary-green);
  animation: pulseDot 2s infinite;
}

.crop-details-header {
  width: 100%;
  max-width: 620px;
  margin-bottom: 0.8rem;
  display: flex;
  justify-content: flex-start;
}

.btn-back-crops {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-back-crops:hover {
  background: rgba(150, 193, 33, 0.18);
  border-color: #96C121;
  color: #1e3a24;
}

@keyframes discBloom {
  0% {
    opacity: 0;
    transform: rotate(var(--angle)) translate(40px) rotate(calc(-1 * var(--angle))) scale(0.2);
  }
  70% {
    transform: rotate(var(--angle)) translate(185px) rotate(calc(-1 * var(--angle))) scale(1.08);
  }
  100% {
    opacity: 1;
    transform: rotate(var(--angle)) translate(175px) rotate(calc(-1 * var(--angle))) scale(1);
  }
}

.orbital-stage.entered .crop-cylinder-disc:nth-child(1) { animation: discBloom 0.7s 0.05s cubic-bezier(0.16, 1, 0.3, 1) both; }
.orbital-stage.entered .crop-cylinder-disc:nth-child(2) { animation: discBloom 0.7s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both; }
.orbital-stage.entered .crop-cylinder-disc:nth-child(3) { animation: discBloom 0.7s 0.25s cubic-bezier(0.16, 1, 0.3, 1) both; }
.orbital-stage.entered .crop-cylinder-disc:nth-child(4) { animation: discBloom 0.7s 0.35s cubic-bezier(0.16, 1, 0.3, 1) both; }
.orbital-stage.entered .crop-cylinder-disc:nth-child(5) { animation: discBloom 0.7s 0.45s cubic-bezier(0.16, 1, 0.3, 1) both; }

/* Escenario Orbital 3D */
.orbital-crops-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbital-stage {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbital-ring-guide {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  border: 1px dashed rgba(150, 193, 33, 0.22);
  pointer-events: none;
  animation: orbitRotate 60s linear infinite;
}

.orbital-ring-guide-inner {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 156, 219, 0.18);
  pointer-events: none;
  animation: orbitRotateRev 45s linear infinite;
}

@keyframes orbitRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitRotateRev {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Pedestal Central (Dock de la Hoja) */
.orbital-leaf-dock {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  background: radial-gradient(circle, #ffffff 0%, #f0f7ea 75%, #e2eed8 100%);
  border: 2px solid rgba(150, 193, 33, 0.5);
  box-shadow: 0 12px 35px rgba(100, 160, 40, 0.15), inset 0 2px 6px #ffffff, inset 0 -3px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.orbital-leaf-dock.leaf-docked {
  border-color: rgba(150, 193, 33, 0.9);
  box-shadow: 0 0 40px rgba(150, 193, 33, 0.45), inset 0 0 15px rgba(150, 193, 33, 0.2);
}

.dock-pulse-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(150, 193, 33, 0.3) 0%, transparent 70%);
  animation: dockPulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes dockPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.15); opacity: 0.8; }
}

.dock-label {
  font-family: monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: #2d5a1e;
  font-weight: 700;
  opacity: 0.9;
}

/* Disposición Orbital de Cilindros */
.orbital-discs {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.crop-cylinder-disc {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 82px;
  height: 82px;
  margin-top: -41px;
  margin-left: -41px;
  pointer-events: auto;
  cursor: pointer;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(var(--angle)) translate(175px) rotate(calc(-1 * var(--angle)));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cylinder-3d-body {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #edf5e8 65%, #dcead1 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(150, 193, 33, 0.45);
  box-shadow: 0 14px 28px rgba(20, 60, 30, 0.1), inset 0 3px 6px #ffffff, inset 0 -3px 6px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cylinder-glass-cap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: relative;
}

.cylinder-glass-cap::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 10px;
  width: 26px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, transparent 100%);
  transform: rotate(-25deg);
}

.cylinder-icon {
  width: 34px;
  height: 34px;
  stroke: #2e5a1c;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
  transition: transform 0.35s ease;
}

.cylinder-tag {
  position: absolute;
  bottom: -20px;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  text-shadow: none;
}

.crop-cylinder-disc:hover .cylinder-3d-body {
  transform: translateY(-4px) scale(1.08);
  border-color: #78a213;
  box-shadow: 0 18px 35px rgba(20, 60, 30, 0.16), 0 0 25px rgba(150, 193, 33, 0.35);
}

.crop-cylinder-disc:hover .cylinder-tag {
  color: #2e5a1c;
}

.crop-cylinder-disc.active .cylinder-3d-body {
  transform: translateY(-5px) scale(1.12);
  border-color: #96C121;
  border-width: 2.5px;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #e2f2d5 60%, #cce6b8 100%);
  box-shadow: 0 20px 40px rgba(100, 160, 40, 0.25), inset 0 3px 6px #ffffff, 0 0 30px rgba(150, 193, 33, 0.5);
}

.crop-cylinder-disc.active .cylinder-tag {
  color: #2e5a1c;
  font-weight: 800;
}

/* Hoja Flotante de Scrollytelling */
.scrolly-falling-leaf {
  position: fixed;
  top: 0;
  left: 0;
  width: 90px;
  height: 120px;
  pointer-events: none;
  z-index: 99;
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.15s ease;
}

/* Ficha de Cultivo con fondo blanco y estética científica */
.crop-card {
  display: none;
  background: #ffffff;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 156, 219, 0.2);
  border-radius: 18px;
  padding: 1.15rem 1.5rem;
  box-shadow: 0 20px 50px rgba(10, 40, 60, 0.08);
  color: #0f172a;
  animation: fadeIn 0.4s ease;
  width: 100%;
  max-width: 660px;
}

.crop-card.active {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  align-items: stretch;
}

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

.crop-card-info h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  margin-top: 0.2rem;
  margin-bottom: 0.35rem;
  color: #0a1e2b;
}

.crop-card-info p {
  color: #475569;
  font-size: 0.82rem;
  line-height: 1.4;
  margin-bottom: 0.4rem;
}

.crop-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0.5rem 0 0.8rem;
  font-size: 0.78rem;
  line-height: 1.35;
}

.crop-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.crop-meta-item div {
  color: #334155;
}

.crop-meta-item div strong {
  color: #0f172a;
}

.crop-meta-icon {
  width: 18px;
  height: 18px;
  color: var(--color-primary-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.crop-card-results {
  background: linear-gradient(145deg, #f2fbf4 0%, #e8f4fd 100%);
  border: 1px solid rgba(150, 193, 33, 0.35);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--color-primary-green);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.result-badge-val {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #15803d;
  line-height: 1.1;
  white-space: nowrap;
}

.result-badge-text {
  font-size: 0.8rem;
  line-height: 1.25;
  color: #475569;
  margin-top: 0.25rem;
  margin-bottom: 0.35rem;
}

.result-badge-text strong {
  color: #0f172a;
}

.crop-card-results p {
  font-size: 0.76rem;
  line-height: 1.35;
  color: #475569;
  margin: 0.25rem 0;
}

.result-disclaimer {
  font-size: 0.7rem;
  line-height: 1.25;
  color: #64748b;
  margin-top: 0.4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 0.4rem;
  font-style: italic;
}

/* ==========================================================================
   SECCIÓN 2: DIFERENCIAL BIOTECNOLÓGICO (BENTO GRID CIENTÍFICO DE VANGUARDIA)
   ========================================================================== */
.tech-section {
  position: relative;
  padding: 7rem 0;
  background-color: #030f18;
  color: #f8fafc;
  overflow: hidden;
  border-top: 1px solid rgba(0, 156, 219, 0.15);
  border-bottom: 1px solid rgba(0, 156, 219, 0.15);
}

/* Retícula arquitectónica guía tenue (estilo White Desert) */
.tech-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 50% 40%, black 40%, transparent 85%);
  pointer-events: none;
}

.relative-z {
  position: relative;
  z-index: 2;
}

.tech-section .section-head h2 {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.editorial-italic {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15em;
  color: var(--color-primary-green);
}

.badge-tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 156, 219, 0.12);
  border: 1px solid rgba(0, 156, 219, 0.35);
  color: var(--color-primary-blue);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-primary-green);
  box-shadow: 0 0 8px var(--color-primary-green);
  animation: pulseBeacon 2s infinite ease-in-out;
}

@keyframes pulseBeacon {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 1; box-shadow: 0 0 14px var(--color-primary-green); }
}

.section-subtitle {
  color: #94a3b8;
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0.8rem auto 0;
  line-height: 1.7;
}

/* Bento Grid Layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.bento-card {
  position: relative;
  background: rgba(9, 32, 50, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 2.2rem;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Borde luminoso reactivo al cursor */
.bento-glow-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(0, 156, 219, 0.12),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.bento-card:hover .bento-glow-overlay {
  opacity: 1;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 156, 219, 0.45);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}

/* Tamaños asimétricos del Bento */
.bento-card-large {
  grid-column: span 7;
}

.bento-coco {
  grid-column: span 5;
}

.bento-red {
  grid-column: span 5;
}

.bento-card-wide {
  grid-column: span 7;
}

.bento-tag {
  display: inline-block;
  font-family: monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-green);
  background: rgba(150, 193, 33, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  border: 1px solid rgba(150, 193, 33, 0.25);
  margin-bottom: 1rem;
}

.bento-card h3, .bento-card h4 {
  color: #ffffff;
  font-size: 1.45rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.bento-card p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.7;
}

.bento-card p strong {
  color: #e2e8f0;
}

/* Micro-telemetría de laboratorio */
.bento-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bento-metric-live {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-family: monospace;
  color: #64748b;
}

.live-status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary-blue);
  box-shadow: 0 0 6px var(--color-primary-blue);
}

.bento-telemetry {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.telemetry-pill {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  display: flex;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-family: monospace;
}

.telemetry-k {
  color: #64748b;
}

.telemetry-v {
  color: var(--color-primary-green);
  font-weight: 600;
}

/* SVGs Vectoriales Científicos */
.bento-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}

.bento-svg-bioreactor {
  width: 100%;
  max-width: 280px;
  height: auto;
}

.bento-vector-art {
  margin-top: 1.5rem;
}

.bento-vector-art svg {
  width: 100%;
  max-height: 90px;
}

/* Red Cuádruple */
.bento-quad-system {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.quad-node {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: #cbd5e1;
  font-weight: 600;
}

.q-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.q-dot.green { background: var(--color-primary-green); }
.q-dot.blue { background: var(--color-primary-blue); }

.quad-sep {
  color: #475569;
  font-size: 0.9rem;
}

/* Sinergia Agronómica */
.bento-content-inline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.synergy-flow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.25);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.synergy-box {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
}

.synergy-box.conventional {
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
}

.synergy-box.multiseres {
  background: rgba(0, 156, 219, 0.18);
  color: var(--color-primary-blue);
  border: 1px solid rgba(0, 156, 219, 0.4);
}

.synergy-box.result {
  background: rgba(150, 193, 33, 0.18);
  color: var(--color-primary-green);
  border: 1px solid rgba(150, 193, 33, 0.4);
}

.synergy-operator {
  color: #64748b;
  font-weight: 700;
}

/* Banner Editorial "Observamos antes de intervenir" */
.philosophy-editorial-banner {
  margin-top: 4.5rem;
  position: relative;
  background: linear-gradient(135deg, rgba(0, 65, 105, 0.5) 0%, rgba(3, 15, 24, 0.9) 100%);
  border: 1px solid rgba(0, 156, 219, 0.3);
  border-radius: 20px;
  padding: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  overflow: hidden;
}

.philosophy-editorial-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(150, 193, 33, 0.15), transparent 70%);
  pointer-events: none;
}

.philosophy-badge {
  font-family: monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary-blue);
  margin-bottom: 0.8rem;
}

.philosophy-quote {
  font-size: 2.2rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.quote-editorial {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.15em;
  color: var(--color-primary-green);
}

.philosophy-content p {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 680px;
}

.btn-editorial {
  background-color: var(--color-primary-green);
  color: #04121d;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 0 25px rgba(150, 193, 33, 0.35);
  white-space: nowrap;
  transition: var(--transition);
}

.btn-editorial:hover {
  background-color: #a8d728;
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(150, 193, 33, 0.55);
}

@media (max-width: 992px) {
  .bento-card-large, .bento-coco, .bento-red, .bento-card-wide {
    grid-column: span 12;
  }
  .philosophy-editorial-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem;
  }
}

/* ==========================================================================
   SECCIÓN 3: PORTAFOLIO DE SOLUCIONES (AGRO, HOGAR, PECUARIA)
   ========================================================================== */
.solutions-section {
  display: none;
}

.solutions-section.solutions-modal-view:not(.active) {
  display: none !important;
}

.solutions-section.solutions-modal-view {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.98);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: radial-gradient(circle at 50% 20%, #ffffff 0%, #f6faf4 55%, #eef5ea 100%);
  padding: 5.5rem 1.5rem 4rem;
}

.solutions-section.solutions-modal-view.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: scale(1) !important;
}

.solutions-modal-close {
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  background: #091E2B;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.solutions-modal-close:hover {
  background: var(--color-primary-green);
  color: #091E2B;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(150, 193, 33, 0.4);
}

.solutions-section .container {
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
}

.solutions-section .section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.2rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 1rem;
  width: 100%;
}

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

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

.product-card {
  background-color: #ffffff;
  border: 1px solid rgba(9, 30, 43, 0.09);
  border-radius: 18px;
  padding: 1.8rem 1.4rem;
  display: flex;
  flex-direction: column;
  transition: all 0.28s ease;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.product-card:hover {
  box-shadow: 0 14px 32px rgba(150, 193, 33, 0.16);
  border-color: rgba(150, 193, 33, 0.6);
  transform: translateY(-4px);
}

.product-tag {
  align-self: flex-start;
  margin-bottom: 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.product-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #091E2B;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.product-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #475569;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.product-specs {
  background: rgba(9, 30, 43, 0.025);
  border: 1px solid rgba(9, 30, 43, 0.06);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  margin-bottom: 1.2rem;
  font-size: 0.82rem;
}

.product-spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.product-spec-row:last-child {
  margin-bottom: 0;
}

.product-spec-label {
  color: #64748b;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.product-spec-val {
  font-weight: 600;
  color: #091E2B;
  font-size: 0.82rem;
  text-align: right;
}

/* Botones de acción unificados en verde Multiseres */
.product-card .btn {
  width: 100%;
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-green);
  color: #091E2B;
  border: 1px solid var(--color-primary-green);
  transition: all 0.25s ease;
}

.product-card .btn:hover {
  background-color: #a8d728;
  border-color: #a8d728;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(150, 193, 33, 0.4);
}

/* ==========================================================================
   SECCIÓN 4: RETOS Y SOLUCIONES A LA MEDIDA
   ========================================================================== */
.challenges-section {
  padding: 5rem 0;
  background-color: var(--bg-dark-section);
  color: var(--text-light);
}

.challenges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}

.challenge-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.challenge-card:hover {
  border-color: var(--color-primary-blue);
  box-shadow: var(--shadow-glow-blue);
}

.challenge-card h3 {
  color: #ffffff;
  font-size: 1.7rem;
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
}

.challenge-card p {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   SECCIÓN 5: RED DE DISTRIBUCIÓN NACIONAL
   ========================================================================== */
.distributors-section {
  padding: 5rem 0;
  background-color: var(--bg-body);
}

.distributors-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2.5rem;
}

.region-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.region-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.region-name {
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

.status-active { background-color: var(--color-primary-green); }
.status-progress { background-color: #f59e0b; }

/* ==========================================================================
   FOOTER INSTITUCIONAL
   ========================================================================== */
.site-footer {
  background-color: #030d15;
  color: var(--text-light-muted);
  padding: 4.5rem 0 2rem;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand img {
  height: 42px;
  margin-bottom: 1.2rem;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
}

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

.ica-badge-footer {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

/* ==========================================================================
   MODAL DE ASISTENTE AGRONÓMICO / RETOS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999 !important;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 620px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-surface-alt);
}

.modal-header h3 {
  font-size: 1.3rem;
}

.modal-close {
  font-size: 1.5rem;
  color: var(--text-muted);
  line-height: 1;
}

.modal-body {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-primary-dark);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  background-color: #ffffff;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 156, 219, 0.15);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.6rem; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual-card { order: -1; padding: 1.5rem; }
  .crop-card.active { grid-template-columns: 1fr; }
  .philosophy-banner { flex-direction: column; align-items: flex-start; }
  .challenges-grid { grid-template-columns: 1fr; }
  .distributors-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
