/* ===== VARIABLES CSS ===== */
:root {
  /* Colores principales basados en el logo */
  --color-primary: #22C55E; /* Verde más vibrante del logo */
  --color-primary-dark: #16A34A; /* Verde más oscuro para hover */
  --color-secondary: #64748B; /* Gris azulado profesional */
  --color-accent: #0F172A; /* Azul muy oscuro para contraste */
  --color-earth: #92400E; /* Tierra/marrón */
  
  /* Colores de estado */
  --color-success: #059669;
  --color-warning: #D97706;
  --color-error: #DC2626;
  
  /* Colores neutros optimizados */
  --color-white: #FFFFFF;
  --color-gray-50: #F8FAFC;
  --color-gray-100: #F1F5F9;
  --color-gray-200: #E2E8F0;
  --color-gray-300: #CBD5E1;
  --color-gray-400: #94A3B8;
  --color-gray-500: #64748B;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1E293B;
  --color-gray-900: #0F172A;
  
  /* Tipografía mejorada */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  /* Espaciado optimizado */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 2.5rem;
  --spacing-3xl: 3rem;
  
  /* Sombras más sutiles */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Bordes */
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.375rem;
  --border-radius-lg: 0.5rem;
  --border-radius-xl: 0.75rem;
  --border-radius-2xl: 1rem;
  
  /* Transiciones */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
  
  /* Contenedor máximo */
  --max-width-container: 1200px;
}

/* ===== RESET Y BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.7;
  color: var(--color-gray-700);
  background-color: var(--color-white);
  overflow-x: hidden;
  font-weight: 400;
}

/* ===== TIPOGRAFÍA MEJORADA ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  color: var(--color-gray-900);
  letter-spacing: -0.025em;
}

h1 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
}

h2 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
}

h3 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
}

h4 {
  font-size: var(--font-size-xl);
  font-weight: 600;
}

h5 {
  font-size: var(--font-size-lg);
  font-weight: 600;
}

h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--color-gray-600);
  font-size: var(--font-size-base);
  line-height: 1.7;
}

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

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

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-width-container);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-3xl) 0;
}

.section-sm {
  padding: var(--spacing-2xl) 0;
}

.section-lg {
  padding: 4rem 0;
}

/* ===== BOTONES REDIMENSIONADOS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: var(--font-size-sm);
  font-weight: 600;
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  gap: var(--spacing-sm);
  min-height: 44px;
  letter-spacing: 0.025em;
}

.btn-primary {
  background-color: #28a745;
  color: #FFFFFF;
  padding: 12px 28px;
  border-radius: 6px;
  border: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
  background-color: #2dbc4e;
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
  color: #FFFFFF;
}

/* .btn-secondary definido específicamente en sección CATALOG ACTIONS FIX */

.btn-outline {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  padding: 12px 28px;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
}

.btn-outline:hover {
  background-color: #FFFFFF;
  color: #28a745;
  transform: scale(1.05);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--font-size-base);
  min-height: 48px;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--font-size-xs);
  min-height: 36px;
}

/* ===== CARDS MEJORADAS ===== */
.card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-xl);
  transition: all var(--transition-normal);
  border: 1px solid var(--color-gray-100);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gray-200);
}

/* Header y navegación mejorada */
.header {
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition-fast);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) 0;
}

.nav-logo {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-xl);
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--color-gray-700);
  font-weight: 500;
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
  padding: var(--spacing-sm) 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

/* Menú hamburguesa */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: var(--spacing-sm);
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--color-gray-700);
  margin: 3px 0;
  transition: var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Botón WhatsApp flotante mejorado */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

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

/* Hero section mejorada */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

/* Nuevo overlay de gradiente con pseudoelemento */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 128, 0, 0.15) 0%, rgba(0, 128, 0, 0.25) 100%);
  z-index: 1;
  pointer-events: none;
}



.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
}

.hero-title {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--spacing-lg);
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-2xl);
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  opacity: 0.9;
  font-weight: 400;
  line-height: 1.6;
}

/* Grid system mejorado */
.grid {
  display: grid;
  gap: var(--spacing-xl);
}

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

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

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

/* Utilidades */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }
.mb-6 { margin-bottom: var(--spacing-2xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }
.mt-6 { margin-top: var(--spacing-2xl); }

.hidden {
  display: none;
}

.visible {
  display: block;
}

/* ===== RESPONSIVE MEJORADO ===== */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--spacing-md);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-title {
    font-size: var(--font-size-4xl);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-lg);
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 var(--spacing-md);
  }
  
  .section {
    padding: var(--spacing-2xl) 0;
  }
  
  .hero-title {
    font-size: var(--font-size-3xl);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-base);
  }
  
  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--color-white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: var(--spacing-2xl);
    transition: left var(--transition-normal);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: var(--spacing-md) 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
  
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: var(--font-size-sm);
  }
  
  .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: var(--font-size-sm);
  }
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* ===== LAZY LOADING ===== */
img[data-src] {
  opacity: 0;
  transition: opacity var(--transition-normal);
}

img[data-src].loaded {
  opacity: 1;
}

/* ===== ACCESIBILIDAD ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visible para navegación por teclado */
.btn:focus-visible,
.nav-link:focus-visible,
a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ===== FOOTER MEJORADO ===== */
footer {
  background: linear-gradient(135deg, var(--color-gray-900), var(--color-gray-800));
}

footer .space-y-4 > * + * {
  margin-top: 1rem;
}

footer .space-y-3 > * + * {
  margin-top: 0.75rem;
}

footer .space-x-4 > * + * {
  margin-left: 1rem;
}

footer .space-x-6 > * + * {
  margin-left: 1.5rem;
}

footer h4 {
  color: var(--color-white);
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
}

footer h4::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 2rem;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 1px;
}

footer .text-gray-300 {
  color: #D1D5DB;
  line-height: 1.6;
}

footer .text-gray-400 {
  color: #9CA3AF;
}

footer a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

footer svg {
  flex-shrink: 0;
}

/* Mejoras de simetría para secciones */
.section {
  position: relative;
}

.section::before {
  content: none !important;
  display: none !important;
}

.section:nth-child(even)::before {
  content: none !important;
  display: none !important;
}

/* Mejoras para cards con mejor simetría */
.card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card > *:last-child {
  margin-top: auto;
}

/* Grid mejorado para mejor simetría */
.grid {
  align-items: start;
}

.grid-equal-height {
  align-items: stretch;
}

.grid-equal-height > * {
  display: flex;
  flex-direction: column;
}

/* Mejoras para botones en grupos */
.btn-group {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-group .btn {
  flex: 0 0 auto;
  min-width: 140px;
}

/* Espaciado consistente para listas */
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  position: relative;
}

/* Mejoras para la navegación */
.nav-menu {
  align-items: center;
}

.nav-link {
  position: relative;
  display: inline-block;
}

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

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

/* Mejoras para el hero con mejor centrado */
.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Mejoras para las secciones de productos */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
  align-items: stretch;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--color-gray-100);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card-content {
  padding: var(--spacing-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--color-gray-900);
}

.product-card p {
  color: var(--color-gray-600);
  font-size: var(--font-size-sm);
  line-height: 1.6;
  flex: 1;
}

/* === START: PROCESS SECTION (REPLACE ENTIRE BLOCK) === */
.process{padding-block:clamp(28px,6vw,64px);}
.process .section-heading{ text-align:center; max-width:72ch; margin:0 auto 18px;}
.process .section-heading h2{font-weight:900; letter-spacing:-.01em; font-size:clamp(26px,3vw,36px); color:#0f172a; margin:0 0 8px;}
.process .section-heading p{color:#94a3b8; font-size:clamp(14px,1.2vw,16px); margin:0;}

.process-grid{
  position:relative; display:grid; gap:22px;
  grid-template-columns:repeat(4,minmax(0,1fr));
  max-width:1120px; margin:22px auto 0; padding:0 clamp(12px,3vw,24px);
}
@media(max-width:1024px){ .process-grid{grid-template-columns:repeat(2,1fr);} }
@media(max-width:640px){ .process-grid{grid-template-columns:1fr;} }

/* Línea conectora horizontal (solo desktop) */
@media(min-width:1025px){
  .process-grid::before{
    content:""; position:absolute; top:54px; left:calc(12px + 24px); right:calc(12px + 24px);
    height:2px; background:linear-gradient(90deg, rgba(2,6,23,.08), rgba(2,6,23,.16), rgba(2,6,23,.08));
    z-index:0;
  }
}

.process-step{
  text-align:center; padding:18px; border-radius:18px;
  background:#fff; border:1px solid rgba(2,6,23,.06); box-shadow:0 8px 22px rgba(2,6,23,.06);
  display:flex; flex-direction:column; align-items:center; gap:10px; position:relative;
  transition:transform .2s, box-shadow .2s, border-color .2s;
}
.process-step:hover{ transform:translateY(-3px); box-shadow:0 16px 36px rgba(2,6,23,.1); border-color:rgba(2,6,23,.1); }

.step-icon{
  width:64px; height:64px; border-radius:9999px; display:grid; place-items:center; z-index:1;
  background: radial-gradient(60% 60% at 50% 40%, rgba(22,163,74,.18), rgba(22,163,74,.08) 60%, rgba(22,163,74,.04) 100%);
  box-shadow: inset 0 0 0 8px rgba(22,163,74,.06), 0 2px 8px rgba(2,6,23,.08); color:#16A34A;
  margin-top:4px;
}
.step-icon svg{width:24px; height:24px; stroke:currentColor; fill:none;}

.step-title{ font-weight:800; font-size:clamp(16px,1.4vw,18px); color:#0f172a; margin:2px 0 4px;}
.step-desc{ color:#475569; font-size:15px; line-height:1.6; margin:0; max-width:44ch;}
/* === END: PROCESS SECTION === */

/* === START: ABOUT SECTION (REPLACE ENTIRE BLOCK) === */
.about{
  --title:#0f172a; --text:#475569; --muted:#64748b;
  --br:20px; --bd:1px solid rgba(2,6,23,.06);
  --shadow:0 10px 28px rgba(2,6,23,.06);
  padding-block: clamp(28px,6vw,72px);
}
.about-inner{
  max-width:1120px; margin:0 auto; padding-inline:clamp(12px,3vw,24px);
  display:grid; gap:clamp(18px,2.5vw,28px);
  grid-template-columns: 1fr; align-items:center;
}
@media (min-width:1024px){
  .about-inner{ grid-template-columns: 1.05fr .95fr; }
}

.about-title{
  color:var(--title); font-weight:900; letter-spacing:-.01em;
  font-size:clamp(24px,3.2vw,34px); margin:0 0 10px;
}
.about-lead{
  color:var(--muted); font-size:clamp(15px,1.25vw,17px);
  line-height:1.7; margin:0 0 12px; max-width:62ch;
}
.about-body p{
  color:var(--text); font-size:clamp(14px,1.15vw,16px);
  line-height:1.8; margin:10px 0; max-width:62ch;
}
.about-body b, .about-body strong{ color:var(--title); }

.about-media{
  justify-self:center; width:100%; max-width:720px;
  border-radius:var(--br); border:var(--bd); overflow:hidden;
  box-shadow:var(--shadow); background:#fff;
}
.about-media img, .about-media picture, .about-media video{
  display:block; width:100%; height:100%;
  aspect-ratio: 4 / 3; object-fit: cover;
}

/* separación bajo la imagen en móvil para que respire */
@media (max-width:1023px){ .about-media{ margin-top:6px; } }
/* === END: ABOUT SECTION === */

/* === START: MVV SECTION (REPLACE ENTIRE BLOCK) === */
.mvv{ --brand:#16A34A; --title:#0f172a; --text:#475569;
  --br:20px; --bd:1px solid rgba(2,6,23,.06);
  --sh:0 10px 28px rgba(2,6,23,.06); --sh2:0 18px 44px rgba(2,6,23,.10);
  padding-block: clamp(28px,6vw,64px);
}
.mvv .section-heading{ text-align:center; max-width:72ch; margin:0 auto 18px; }
.mvv .section-heading h2{ color:var(--title); font-weight:900; letter-spacing:-.01em; font-size:clamp(26px,3vw,36px); margin:0 0 8px; }
.mvv .section-heading p{ color:#94a3b8; font-size:clamp(14px,1.2vw,16px); margin:0; }

.mvv-grid{ display:grid; gap:22px; max-width:1120px; margin:22px auto 0; padding:0 clamp(12px,3vw,24px);
  grid-template-columns: repeat(2,minmax(0,1fr)); }
@media(max-width:900px){ .mvv-grid{ grid-template-columns:1fr; } }

.mvv-card{ background:#fff; border:var(--bd); border-radius:var(--br); box-shadow:var(--sh);
  padding: clamp(20px,2.4vw,28px); text-align:center; transition:.25s; }
.mvv-card:hover{ transform:translateY(-4px); box-shadow:var(--sh2); border-color:rgba(2,6,23,.10); }

/* === START: MVV ICONS + TEXT OPTIMIZED === */
.mvv-icon{
  width:56px; height:56px; margin:0 auto 10px;
  border-radius:9999px; display:grid; place-items:center;
  background: radial-gradient(60% 60% at 50% 40%, rgba(22,163,74,.18), rgba(22,163,74,.08) 60%, rgba(22,163,74,.04) 100%);
  box-shadow: inset 0 0 0 8px rgba(22,163,74,.06), 0 2px 8px rgba(2,6,23,.08);
  color:#16A34A;
}
.mvv-icon svg{ width:24px; height:24px; stroke:currentColor; fill:none; }

.mvv-title{ font-weight:800; font-size:clamp(18px,1.6vw,22px); margin:6px 0 8px; color:#0f172a; text-align:center; }
.mvv-desc{ color:#475569; font-size:clamp(14px,1.2vw,16px); line-height:1.65; margin:0 auto; max-width:55ch; text-align:center; }

.mvv-list{ color:#475569; margin:10px auto 0; padding-left:18px; max-width:55ch;
  columns:2; column-gap:26px; text-align:left; }
@media(max-width:900px){ .mvv-list{ columns:1; } }
.mvv-list li{ margin:6px 0; }
.mvv-list li::marker{ color:rgba(2,6,23,.35); }
/* === END: MVV ICONS + TEXT OPTIMIZED === */
/* === END: MVV SECTION === */

/* === START: CATALOG SECTION (REPLACE ENTIRE BLOCK) === */
.catalog{padding-block:clamp(28px,6vw,64px);}
.catalog .section-heading{text-align:center;max-width:72ch;margin:0 auto 16px;}
.catalog .section-heading h1,.catalog .section-heading h2{color:#0f172a;font-weight:900;letter-spacing:-.01em;font-size:clamp(26px,3vw,36px);margin:0 0 6px;}
.catalog .section-heading p{color:#94a3b8;font-size:clamp(14px,1.2vw,16px);margin:0;}

.catalog-head{max-width:1120px;margin:0 auto 12px;padding:0 clamp(12px,3vw,24px);}
.filters{display:flex;gap:8px;overflow:auto;padding:6px 0;}
.filter-btn{flex:0 0 auto;padding:8px 12px;border-radius:9999px;border:1px solid rgba(2,6,23,.12);background:#fff;color:#0f172a;font-weight:700;font-size:14px;transition:.15s;}
.filter-btn[aria-pressed="true"]{background:#0f172a;color:#fff;border-color:#0f172a;}
.filter-btn:hover{filter:brightness(.98);}

.catalog-grid{display:grid;gap:18px;max-width:1120px;margin:10px auto 0;padding:0 clamp(12px,3vw,24px);
grid-template-columns:repeat(2,minmax(0,1fr));}
@media(max-width:900px){.catalog-grid{grid-template-columns:1fr;}}

.product-card{background:#fff;border:1px solid rgba(2,6,23,.06);border-radius:18px;box-shadow:0 10px 28px rgba(2,6,23,.06);overflow:hidden;display:flex;flex-direction:column;transition:.2s;}
.product-card:hover{transform:translateY(-3px);box-shadow:0 18px 44px rgba(2,6,23,.10);border-color:rgba(2,6,23,.10);}

.media img,.media picture,.media video{display:block;width:100%;height:100%;aspect-ratio:16/9;object-fit:cover;border-bottom:1px solid rgba(2,6,23,.06);}

.content{padding:14px 16px 12px;}
.content .title{font-weight:800;color:#0f172a;font-size:clamp(16px,1.5vw,18px);margin:0 0 2px;}
.content .excerpt{color:#475569;font-size:14.5px;line-height:1.6;margin:0 0 8px;}

.meta-list{display:grid;grid-template-columns:1fr 1fr;gap:4px 14px;color:#64748b;font-size:13.5px;margin:8px 0;}
.meta-list .label{color:#0f172a;font-weight:700;}
@media(max-width:480px){.meta-list{grid-template-columns:1fr;}}

/* === START: CATALOG ACTIONS FIX === */
.actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px 16px 16px;}
.actions a{min-width:0;}

.btn-primary,.btn-secondary{
  height:44px;border-radius:12px;font-weight:800;display:inline-flex;
  align-items:center;justify-content:center;padding:0 14px;white-space:nowrap;
}

.btn-primary{background:#16A34A;color:#fff;border:1px solid #16A34A;box-shadow:0 8px 20px rgba(22,163,74,.25);}
.btn-secondary{background:#fff;color:#16A34A;border:1.5px solid rgba(22,163,74,.6);}

/* Nunca mostrar un "botón fantasma" */
.actions .btn-secondary:empty,
.actions a:empty{display:none!important;}

/* Si solo hay 1 botón, que ocupe las 2 columnas */
.actions > :only-child{grid-column:1 / -1;}

/* Por si algún estilo anterior lo ocultaba */
.actions .btn-secondary{opacity:1!important;visibility:visible!important;display:inline-flex!important;transform:none!important;}
/* === END: CATALOG ACTIONS FIX === */
/* === END: CATALOG SECTION === */

/* Mejoras para la sección CTA */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

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

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: var(--spacing-lg);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-xl);
}

/* === START: MARKETS SECTION (REPLACE ENTIRE BLOCK) === */
.markets{
  --brand:#16A34A; --bg:#fff; --title:#0f172a; --text:#475569;
  --br:20px; --bd:1px solid rgba(2,6,23,.06);
  --sh:0 10px 28px rgba(2,6,23,.06); --sh2:0 18px 44px rgba(2,6,23,.10);
  padding-block: clamp(28px,5vw,56px);
}
.markets .section-heading{ text-align:center; max-width:72ch; margin:0 auto clamp(14px,2vw,22px); }
.markets .section-heading h2{ color:var(--title); font-weight:800; letter-spacing:-.01em; font-size:clamp(28px,2.6vw,36px); margin:0 0 8px; }
.markets .section-heading p{ color:#94a3b8; font-size:clamp(14px,1.2vw,16px); margin:0; }

/* === START: MARKETS ICON + TEXT FIX (REPLACE ENTIRE BLOCK) === */
.markets-grid{display:grid;gap:24px;grid-template-columns:repeat(2,1fr);max-width:1120px;margin:0 auto;padding:0 24px;}
@media(max-width:900px){.markets-grid{grid-template-columns:1fr;}}

.market-card{
  background:#fff;border:1px solid rgba(2,6,23,.06);border-radius:20px;
  box-shadow:0 10px 28px rgba(2,6,23,.06);
  padding:24px;display:flex;flex-direction:column;align-items:center;
  gap:10px; transition:.25s;
}
.market-card:hover{ transform:translateY(-4px); box-shadow:0 18px 44px rgba(2,6,23,.10); }

/* CÍRCULO MISMO TAMAÑO, CONTENIDO "ZOOM-OUT" (SIN RECORTE) */
.market-icon{
  width:64px;height:64px;border-radius:9999px; overflow:hidden;
  display:grid; place-items:center; background:#fff;
  border:1px solid rgba(2,6,23,.10); box-shadow:0 2px 6px rgba(0,0,0,.12);
  padding:8px;            /* margen interno para que se vea más bandera */
}
.market-icon img{
  width:100%; height:100%;
  object-fit:contain;     /* muestra toda la bandera, sin cortar */
  border-radius:9999px;   /* sigue siendo circular */
  transform:none;         /* evita zoom extra que recorta */
}

.market-title{
  font-weight:800;font-size:clamp(18px,1.6vw,22px);color:#0f172a;
  letter-spacing:-.01em;margin:4px 0 4px;text-align:center;
}

/* BLOQUE DE TEXTO UNIFORME Y ALINEADO */
.market-body{
  width:100%; max-width:56ch; margin:0 auto;
  display:flex; flex-direction:column; gap:12px; align-items:center;
}
.market-desc{
  color:#475569; font-size:15px; line-height:1.65; text-align:center; margin:0;
}
.market-list{
  width:100%; max-width:52ch; margin:0; padding-left:18px;
  color:#475569; text-align:left;
}
.market-list li{ margin:6px 0; }
.market-list li::marker{ color:rgba(2,6,23,.35); }

/* CTA inferior grande (opcional) */
.markets-cta{
  margin: clamp(20px,3vw,28px) auto 0; max-width:1120px; padding-inline:clamp(12px,3vw,24px); text-align:center;
}
.markets-cta .btn{
  display:inline-flex; align-items:center; justify-content:center; height:52px; padding:0 22px;
  border-radius:14px; background:#1f2937; color:#fff; font-weight:800; letter-spacing:.2px; box-shadow:0 10px 26px rgba(2,6,23,.18);
}
.markets-cta .btn:hover{ filter:brightness(1.05); transform:translateY(-1px); }
/* === END: MARKETS ICON + TEXT FIX === */

/* === START: CTA FINAL (REPLACE ENTIRE BLOCK) === */
.cta-final{
  --brand:#16A34A; --brand-2:#0EA5A5; --title:#0b1324; --text:#2b3a49;
  padding-block: clamp(36px,6vw,72px);
  background: linear-gradient(180deg, #0F172A 0%, #0b1324 100%);
  /* textura sutil para evitar plano total */
  position: relative; isolation: isolate;
}
.cta-final::before{
  content:""; position:absolute; inset:0; z-index:0;
  background: radial-gradient(60% 60% at 70% 20%, rgba(255,255,255,.10), rgba(255,255,255,0) 60%),
              radial-gradient(50% 50% at 20% 80%, rgba(255,255,255,.08), rgba(255,255,255,0) 55%);
  pointer-events:none;
}
.cta-inner{
  position: relative; z-index:1;
  max-width: 1120px; margin: 0 auto; text-align: center;
  padding-inline: clamp(12px,3vw,24px);
}
.cta-title{
  color:#fff; font-weight: 900; letter-spacing:-.01em;
  font-size: clamp(24px,3.4vw,40px); margin:0 0 8px;
}
.cta-subtitle{
  color: rgba(255,255,255,.90);
  font-size: clamp(14px,1.2vw,17px); line-height:1.6; margin:0 0 22px;
}

/* Acciones */
.cta-actions{
  display: grid; grid-template-columns: 1fr 1fr; gap:14px;
  justify-items: center; max-width: 720px; margin: 0 auto;
}
@media(max-width:640px){ .cta-actions{ grid-template-columns:1fr; } }

.btn-primary, .btn-secondary{
  height: 52px; border-radius: 14px; font-weight: 800; letter-spacing:.2px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 20px; gap:10px; transition: transform .15s, filter .15s, box-shadow .2s;
}

/* Primario: WhatsApp */
.btn-primary{
  background:#fff; color: var(--brand); border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}
.btn-primary:hover{ filter:brightness(.98); transform: translateY(-1px); }

/* Secundario: contorno inverso - SOLO para CTA final */
.cta-final .btn-secondary{
  background: transparent; color:#fff; border: 2px solid rgba(255,255,255,.9);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}
.cta-final .btn-secondary:hover{ background: rgba(255,255,255,.10); transform: translateY(-1px); }

/* Icono WA normalizado */
.btn-primary .wa{ width:20px; height:20px; display:inline-block; }
/* === END: CTA FINAL === */

/* === START: HERO BUTTONS FIX === */
/* Botones específicos del hero para evitar conflictos */
.hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  min-height: 48px;
  height: 48px;
  letter-spacing: 0.025em;
  width: 200px;
  min-width: 200px;
  box-sizing: border-box;
}

/* Responsive: ancho más pequeño en móviles */
@media (max-width: 640px) {
  .hero .btn {
    width: 180px;
    min-width: 180px;
    font-size: 15px;
    padding: 12px 20px;
    height: 44px;
    min-height: 44px;
  }
}

.hero .btn-primary {
  background-color: #28a745;
  color: #FFFFFF;
  border: 2px solid #28a745;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.hero .btn-primary:hover {
  background-color: #2dbc4e;
  border-color: #2dbc4e;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
  color: #FFFFFF;
}

.hero .btn-outline {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.hero .btn-outline:hover {
  background-color: #FFFFFF;
  color: #28a745;
  transform: scale(1.05);
}
/* === END: HERO BUTTONS FIX === */

/* === START: CERTS SECTION (REPLACE ENTIRE BLOCK) === */
.certs{padding-block:clamp(28px,6vw,64px);}
.certs .section-heading{ text-align:center; max-width:72ch; margin:0 auto 18px; }
.certs .section-heading h2{color:#0f172a;font-weight:900;letter-spacing:-.01em;font-size:clamp(26px,3vw,36px);margin:0 0 8px;}
.certs .section-heading p{color:#94a3b8;font-size:clamp(14px,1.2vw,16px);margin:0;}

.certs-grid{
  display:grid; gap:22px; max-width:1120px; margin:22px auto 0;
  padding:0 clamp(12px,3vw,24px);
  grid-template-columns:repeat(3,minmax(0,1fr));
}
@media(max-width:1024px){.certs-grid{grid-template-columns:repeat(2,1fr);} }
@media(max-width:640px){ .certs-grid{grid-template-columns:1fr;} }

.cert-card{
  background:#fff;border:1px solid rgba(2,6,23,.06);border-radius:20px;
  box-shadow:0 10px 28px rgba(2,6,23,.06);
  padding:clamp(20px,2.4vw,28px);
  text-align:center; display:flex;flex-direction:column;align-items:center;gap:10px;
  transition:transform .2s, box-shadow .2s, border-color .2s;
}
.cert-card:hover{transform:translateY(-3px);box-shadow:0 18px 44px rgba(2,6,23,.10);border-color:rgba(2,6,23,.10);}

.cert-icon{
  width:56px;height:56px;border-radius:9999px;display:grid;place-items:center;
  background:radial-gradient(60% 60% at 50% 40%, rgba(22,163,74,.18), rgba(22,163,74,.08) 60%, rgba(22,163,74,.04) 100%);
  box-shadow:inset 0 0 0 8px rgba(22,163,74,.06), 0 2px 8px rgba(2,6,23,.08);
  color:#16A34A;
}
.cert-icon svg{width:24px;height:24px;stroke:currentColor;fill:none;}

.cert-title{color:#0f172a;font-weight:800;font-size:clamp(17px,1.5vw,20px);letter-spacing:-.01em;margin:4px 0 4px;}
.cert-desc{color:#475569;font-size:15px;line-height:1.6;margin:0;max-width:48ch;}
/* === END: CERTS SECTION === */

/* === START: FEATURES SECTION === */
.features {
  padding-block: clamp(28px, 6vw, 64px);
}

.features .section-heading {
  text-align: center;
  max-width: 72ch;
  margin: 0 auto 18px;
}

.features .section-heading h2 {
  color: #0f172a;
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 8px;
}

.features .section-heading p {
  color: #94a3b8;
  font-size: clamp(14px, 1.2vw, 16px);
  margin: 0;
}

.features-grid {
  display: grid;
  gap: 22px;
  max-width: 1120px;
  margin: 22px auto 0;
  padding: 0 clamp(12px, 3vw, 24px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

.feature-card {
  background: #fff;
  border: 1px solid rgba(2, 6, 23, 0.06);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.06);
  padding: clamp(20px, 2.4vw, 28px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.1);
  border-color: rgba(2, 6, 23, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  background: radial-gradient(60% 60% at 50% 40%, rgba(22, 163, 74, 0.18), rgba(22, 163, 74, 0.08) 60%, rgba(22, 163, 74, 0.04) 100%);
  box-shadow: inset 0 0 0 8px rgba(22, 163, 74, 0.06), 0 2px 8px rgba(2, 6, 23, 0.08);
  color: #16A34A;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
}

.feature-title {
  color: #0f172a;
  font-weight: 800;
  font-size: clamp(17px, 1.5vw, 20px);
  letter-spacing: -0.01em;
  margin: 4px 0 4px;
}

.feature-desc {
  color: #475569;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  max-width: 56ch;
}
/* === END: FEATURES SECTION === */

/* === START: GENERAL SECTION HEADING === */
.section-heading {
  text-align: center;
  max-width: 72ch;
  margin: 0 auto 18px;
}

.section-heading h2 {
  color: #0f172a;
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 8px;
}

/* Underline separator for headings (crisp, responsive, unified) */
.section-heading h2::after {
  content: "";
  display: block;
  width: clamp(48px, 6vw, 80px);
  height: 3px;
  margin: 12px auto 0;
  border-radius: 9999px;
  background-color: rgba(15, 23, 42, 0.18);
}

/* Brands section spacing */
.brands {
  padding-block: clamp(40px, 7vw, 100px);
}
.brands .section-heading {
  margin-bottom: clamp(18px, 3.2vw, 28px);
}
.brands .grid {
  gap: clamp(16px, 3vw, 28px);
}

.section-heading p {
  color: #94a3b8;
  font-size: clamp(14px, 1.2vw, 16px);
  margin: 0;
}
/* === END: GENERAL SECTION HEADING === */

/* === START: QUALITY SECTION (REPLACE ENTIRE BLOCK) === */
.quality{padding-block:clamp(28px,6vw,64px);}
.quality .section-heading{ text-align:center; max-width:72ch; margin:0 auto 18px; }
.quality .section-heading h2{color:#0f172a;font-weight:900;letter-spacing:-.01em;font-size:clamp(26px,3vw,36px);margin:0 0 8px;}
.quality .section-heading p{color:#94a3b8;font-size:clamp(14px,1.2vw,16px);margin:0;}

.quality-grid{
  display:grid; gap:22px; max-width:1120px; margin:22px auto 0;
  padding:0 clamp(12px,3vw,24px);
  grid-template-columns:repeat(4,minmax(0,1fr));
}
@media(max-width:1024px){ .quality-grid{grid-template-columns:repeat(2,1fr);} }
@media(max-width:640px){ .quality-grid{grid-template-columns:1fr;} }

.quality-item{
  background:#fff; border:1px solid rgba(2,6,23,.06); border-radius:18px;
  box-shadow:0 10px 28px rgba(2,6,23,.06);
  padding:clamp(18px,2.2vw,24px);
  text-align:center; display:flex; flex-direction:column; align-items:center; gap:10px;
  transition:transform .2s, box-shadow .2s, border-color .2s;
}
.quality-item:hover{ transform:translateY(-3px); box-shadow:0 18px 44px rgba(2,6,23,.10); border-color:rgba(2,6,23,.1); }

.qi-icon{
  width:56px;height:56px;border-radius:9999px;display:grid;place-items:center;color:#16A34A;
  background:radial-gradient(60% 60% at 50% 40%, rgba(22,163,74,.18), rgba(22,163,74,.08) 60%, rgba(22,163,74,.04) 100%);
  box-shadow:inset 0 0 0 8px rgba(22,163,74,.06), 0 2px 8px rgba(2,6,23,.08);
}
.qi-icon svg{width:24px;height:24px;stroke:currentColor;fill:none;}

.qi-title{color:#0f172a;font-weight:800;font-size:clamp(16px,1.5vw,18px);letter-spacing:-.01em;margin:4px 0 2px;}
.qi-desc{color:#475569;font-size:15px;line-height:1.6;margin:0;max-width:48ch;}
/* === END: QUALITY SECTION === */

/* === ESPECIFICACIONES TÉCNICAS === */
.specs{padding-block:clamp(28px,6vw,60px);}
.specs .heading{text-align:center;max-width:72ch;margin:0 auto 20px;}
.specs .heading h2{color:#0f172a;font-weight:900;font-size:clamp(26px,3vw,36px);margin:0 0 8px;}
.specs .heading p{color:#94a3b8;font-size:15px;margin:0;}

.specs-grid{
  display:grid;gap:20px;max-width:1100px;margin:0 auto;
  padding:0 clamp(12px,3vw,20px);
  grid-template-columns:repeat(2,1fr);
}
@media(max-width:900px){.specs-grid{grid-template-columns:1fr;}}

.spec-card{
  background:#fff;border:1px solid rgba(2,6,23,.08);border-radius:16px;
  box-shadow:0 6px 20px rgba(2,6,23,.06);padding:18px;
}
.spec-card h3{margin:0 0 10px;color:#0f172a;font-weight:800;font-size:18px;}
.spec-list{display:grid;grid-template-columns:1fr 2fr;gap:8px 14px;font-size:14px;color:#475569;}
.spec-list dt{color:#0f172a;font-weight:700;}
.spec-list dd{margin:0;}
@media(max-width:520px){.spec-list{grid-template-columns:1fr;}}

.spec-actions{margin-top:14px;}
.btn-outline{
  height:38px;padding:0 14px;border-radius:10px;font-weight:700;
  background:#fff;color:#16A34A;border:1.5px solid rgba(22,163,74,.6);
}
.btn-outline:hover{background:rgba(22,163,74,.06);}
/* === END: ESPECIFICACIONES TÉCNICAS === */

/* === START: MARKETS MAP === */
.markets{padding-block: clamp(28px,6vw,64px); background: linear-gradient(180deg,#f7fbff, #f6fff9);}
.markets .section-heading{ text-align:center; max-width:72ch; margin:0 auto 16px; }
.markets .section-heading h2{ color:#0f172a; font-weight:900; letter-spacing:-.01em; font-size:clamp(26px,3vw,36px); margin:0 0 6px; }
.markets .section-heading p{ color:#94a3b8; margin:0; }

#exportMap{ 
  height:520px;min-height:420px;border-radius:16px;overflow:hidden; 
  background:#e5e7eb;box-shadow:0 1px 2px rgba(16,24,40,.06),0 1px 3px rgba(16,24,40,.1);
  max-width:1120px; 
  margin:14px auto 10px; 
} 
@media(max-width:768px){#exportMap{height:500px}}

.export-legend{ display:flex; gap:32px; justify-content:center; align-items:center; color:#475569; font-size:14px; margin-top:16px; flex-wrap:wrap; font-weight:500; }
.export-legend .legend-item{ display:flex; align-items:center; gap:8px; }

/* Íconos profesionales para la leyenda */
.export-legend .legend-item span::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Ícono de fábrica para centro de producción */
.export-legend .legend-item:nth-child(1) span::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2316a34a'%3E%3Cpath d='M12 3L2 12h3v8h14v-8h3L12 3zm0 2.5L18.5 12H17v6H7v-6H5.5L12 5.5z'/%3E%3Cpath d='M9 14h2v4H9v-4zm4 0h2v4h-2v-4z'/%3E%3C/svg%3E");
}

/* Ícono de globo para mercados de destino */
.export-legend .legend-item:nth-child(2) span::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232563eb'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.94-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E");
}

/* Ícono de ruta para rutas de exportación */
.export-legend .legend-item:nth-child(3) span::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2322c55e'%3E%3Cpath d='M19 15l-6 6-1.42-1.42L15.17 16H4V4h2v10h9.17l-3.59-3.58L13 9l6 6z'/%3E%3C/svg%3E");
}
/* === END: MARKETS MAP === */

/* ===== ICON BADGE STYLES ===== */
.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid currentColor;
  flex-shrink: 0;
}

.icon-step-1 {
  color: #22C55E;
  background: #E8FBEF;
}

.icon-step-2 {
  color: #2563EB;
  background: #EDF5FF;
}

.icon-step-3 {
  color: #F59E0B;
  background: #FFF4E6;
}

.icon-step-4 {
  color: #06B6D4;
  background: #ECFEFF;
}

/* === START: ENHANCED PRODUCTS SECTION STYLES === */
/* Mejoras específicas para la sección "Nuestros Productos" en la página de inicio */

/* Grid de productos mejorado */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(20px, 3vw, 32px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(12px, 3vw, 24px);
}

/* Tarjetas de producto mejoradas */
.products .product-card {
  background: #fff;
  border: 1px solid rgba(2, 6, 23, 0.08);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(2, 6, 23, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.products .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(2, 6, 23, 0.15);
  border-color: rgba(22, 163, 74, 0.2);
}

/* Imagen del producto */
.products .product-media {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-bottom: 1px solid rgba(2, 6, 23, 0.06);
}

/* Contenido mejorado */
.products .content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Título del producto */
.products .product-title {
  font-weight: 800;
  color: #0f172a;
  font-size: clamp(20px, 2vw, 24px);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Descripción del producto */
.products .product-desc {
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* Lista de características mejorada */
.products .product-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.products .product-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(22, 163, 74, 0.04);
  border-radius: 12px;
  border-left: 3px solid #16A34A;
  font-size: 14px;
  line-height: 1.5;
  color: #374151;
  position: relative;
  transition: all 0.2s ease;
  font-weight: 500;
}

.products .product-list li:hover {
  background: rgba(22, 163, 74, 0.08);
  transform: translateX(3px);
}

/* Iconos para cada tipo de característica */
.products .product-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 1px;
}

/* Icono para variedades */
.products .product-list li:first-child::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2316A34A'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10'/%3E%3C/svg%3E");
}

/* Icono para presentaciones/calibres */
.products .product-list li:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2316A34A'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z'/%3E%3C/svg%3E");
}

/* Icono para certificación/empaque */
.products .product-list li:last-child::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2316A34A'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
}

/* Estilo especial para certificación FDA */
.products .product-list li:last-child {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.08), rgba(22, 163, 74, 0.04));
  border-left-color: #22C55E;
  font-weight: 600;
  border-left-width: 4px;
}

.products .product-list li:last-child::after {
  content: '✓ FDA';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #16A34A, #22C55E);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 12px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.3);
}

/* Desactivar FDA en presentaciones para tarjetas marcadas */
.products .product-card.no-fda .product-list li:last-child {
  background: none;
  border-left-width: 0;
  font-weight: 500;
}
.products .product-card.no-fda .product-list li:last-child::after {
  content: none;
  display: none;
}

/* Acciones del producto mejoradas */
.products .product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(2, 6, 23, 0.06);
}

.products .product-actions .btn {
  height: 44px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  text-decoration: none;
  letter-spacing: 0.025em;
}

.products .product-actions .btn-primary {
  background: linear-gradient(135deg, #16A34A, #22C55E);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.products .product-actions .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.4);
  color: white;
}

.products .product-actions .btn-secondary {
  background: white;
  color: #16A34A;
  border: 1.5px solid rgba(22, 163, 74, 0.6);
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.1);
}

.products .product-actions .btn-secondary:hover {
  background: rgba(22, 163, 74, 0.05);
  border-color: #16A34A;
  transform: translateY(-1px);
  color: #16A34A;
}

/* Responsividad mejorada */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .products .content {
    padding: 20px;
    gap: 14px;
  }
  
  .products .product-list li {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .products .product-list li::before {
    width: 16px;
    height: 16px;
  }
  
  .products .product-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Animaciones de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.products .product-card[data-animate="fade-in-up"] {
  animation: fadeInUp 0.6s ease-out forwards;
}

.products .product-card:nth-child(2) {
  animation-delay: 0.1s;
}

/* === END: ENHANCED PRODUCTS SECTION STYLES === */
