/* ===================================
   EDMALAC - Custom Styles
   ================================= */

/* Importación de fuentes */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=Nunito:wght@300;400;500;600;700&family=Russo+One&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Variables CSS - Colores oficiales EDMALAC según manual de identidad */
:root {
  /* Colores principales de marca EDMALAC */
  --primary-green: #00B11F;
  --secondary-green: #6DFF86;
  --accent-green: #00D525;
  --cheese-primary: #D4A574;
  --cheese-secondary: #B8956A;
  --elegant-color: #333333;
  --border-red: #E24143;
  --text-white: #FFFFFF;
  --cow-brown: #9E5E10;
  --cow-dark: #713E00;
  --cow-light: #BC813B;
  --cow-nose: #FEA73E;
  --cow-nose-dark: #B17F42;
  --text-dark: #333333;
  --text-light: #666666;
  --background-light: #f8f9fa;
  
  /* Paleta expandida para más color y dinamismo */
  --vibrant-green: #28a745;
  --soft-green: #e8f5e8;
  --warm-orange: #ff8c42;
  --soft-orange: #fff4e6;
  --fresh-blue: #007bff;
  --soft-blue: #e3f2fd;
  --golden-yellow: #ffc107;
  --soft-yellow: #fffbf0;
  --warm-red: #dc3545;
  --soft-red: #ffeaea;
  --deep-purple: #6f42c1;
  --soft-purple: #f3f0ff;
  --natural-brown: #8b5a3c;
  --soft-brown: #f5f1ed;
  --success-green: #20c997;
  --info-cyan: #17a2b8;
  --warning-amber: #fd7e14;
  --gradient-primary: linear-gradient(135deg, var(--primary-green), var(--vibrant-green));
  --gradient-warm: linear-gradient(135deg, var(--warm-orange), var(--golden-yellow));
  --gradient-fresh: linear-gradient(135deg, var(--fresh-blue), var(--info-cyan));
  
  /* Tipografía oficial EDMALAC */
  --font-family-primary: 'Russo One', 'Arial Black', Impact, sans-serif;
  --font-family-secondary: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-family-elegant: 'Playfair Display', Georgia, serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 600; /* Cambiado de 700 a 600 para mejor compatibilidad móvil */
  
  /* Sistema de tamaños tipográficos unificado */
  --font-size-hero: 4.5rem;        /* Títulos hero principales */
  --font-size-h1: 3.2rem;          /* H1 - Títulos principales */
  --font-size-h2: 2.5rem;          /* H2 - Títulos de sección */
  --font-size-h3: 1.8rem;          /* H3 - Subtítulos */
  --font-size-h4: 1.4rem;          /* H4 - Títulos menores */
  --font-size-h5: 1.25rem;         /* H5 - Títulos de cards */
  --font-size-h6: 1.1rem;          /* H6 - Títulos pequeños */
  --font-size-lead: 1.25rem;       /* Texto destacado */
  --font-size-body: 1rem;          /* Texto base */
  --font-size-body-lg: 1.125rem;   /* Texto grande */
  --font-size-small: 0.875rem;     /* Texto pequeño */
  --font-size-xs: 0.75rem;         /* Texto extra pequeño */
  
  /* Sistema de espaciado unificado */
  --section-padding: 5rem 0;
  --section-padding-sm: 3rem 0;
  --container-max-width: 1200px;
  --hero-padding-top: 60px;
  --hero-min-height-home: 75vh;
  --hero-min-height-pages: 60vh;
  --hero-min-height-contact: 50vh;
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;
  --spacing-xxxl: 4rem;
  --spacing-huge: 5rem;
  
  /* Sistema de line-height unificado */
  --line-height-tight: 1.1;
  --line-height-snug: 1.2;
  --line-height-normal: 1.3;
  --line-height-relaxed: 1.4;
  --line-height-loose: 1.5;
  --line-height-extra-loose: 1.6;
  --line-height-super-loose: 1.7;
  
  /* Sombras */
  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  
  /* Transiciones */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

/* ===================================
   FRANJA SUPERIOR CON ANIMACIÓN
   ================================= */

/* Contenedor principal de la franja */
.top-banner {
  background: linear-gradient(135deg, var(--border-red), #c73638);
  height: 35px;
  overflow: hidden;
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Contenedor del contenido con animación */
.banner-content {
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: slideText 25s linear infinite;
}

/* Texto de la franja */
.banner-text {
  color: var(--text-white);
  font-family: var(--font-family-secondary);
  font-size: 0.95rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  padding-left: 100vw;
}

/* Animación de deslizamiento */
@keyframes slideText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Pausa la animación al hacer hover */
.top-banner:hover .banner-content {
  animation-play-state: paused;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .top-banner {
    height: 32px;
  }
  
  .banner-text {
    font-size: 0.85rem;
  }
  
  .banner-content {
    animation: slideText 20s linear infinite;
  }
}

@media (max-width: 480px) {
  .top-banner {
    height: 30px;
  }
  
  .banner-text {
    font-size: 0.8rem;
  }
  
  .banner-content {
    animation: slideText 18s linear infinite;
  }
}

/* Reset y configuración base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-secondary);
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ===== SISTEMA DE ESPACIADO UNIFICADO ===== */

/* Clases de espaciado estándar */
.mb-xs { margin-bottom: var(--spacing-xs) !important; }
.mb-sm { margin-bottom: var(--spacing-sm) !important; }
.mb-md { margin-bottom: var(--spacing-md) !important; }
.mb-lg { margin-bottom: var(--spacing-lg) !important; }
.mb-xl { margin-bottom: var(--spacing-xl) !important; }
.mb-xxl { margin-bottom: var(--spacing-xxl) !important; }
.mb-xxxl { margin-bottom: var(--spacing-xxxl) !important; }
.mb-huge { margin-bottom: var(--spacing-huge) !important; }

.mt-xs { margin-top: var(--spacing-xs) !important; }
.mt-sm { margin-top: var(--spacing-sm) !important; }
.mt-md { margin-top: var(--spacing-md) !important; }
.mt-lg { margin-top: var(--spacing-lg) !important; }
.mt-xl { margin-top: var(--spacing-xl) !important; }
.mt-xxl { margin-top: var(--spacing-xxl) !important; }
.mt-xxxl { margin-top: var(--spacing-xxxl) !important; }
.mt-huge { margin-top: var(--spacing-huge) !important; }

.p-xs { padding: var(--spacing-xs) !important; }
.p-sm { padding: var(--spacing-sm) !important; }
.p-md { padding: var(--spacing-md) !important; }
.p-lg { padding: var(--spacing-lg) !important; }
.p-xl { padding: var(--spacing-xl) !important; }
.p-xxl { padding: var(--spacing-xxl) !important; }
.p-xxxl { padding: var(--spacing-xxxl) !important; }
.p-huge { padding: var(--spacing-huge) !important; }

/* Hero sections estandarizadas */
.hero-home {
  min-height: var(--hero-min-height-home);
  padding-top: var(--hero-padding-top);
}

.hero-pages {
  min-height: var(--hero-min-height-pages);
  padding-top: 10px;
  padding-bottom: 15px;
}

.hero-contact {
  min-height: var(--hero-min-height-contact);
  padding-top: 40px;
}

/* ===== SISTEMA TIPOGRÁFICO UNIFICADO ===== */

/* Títulos principales con FORTE */
h1, .display-1, .display-2, .display-3, .display-4 {
  font-family: var(--font-family-primary);
  font-weight: normal;
  font-size: var(--font-size-h1);
  line-height: var(--line-height-snug);
  letter-spacing: -0.02em;
}

/* H2 - Títulos de sección */
h2, .h2 {
  font-family: var(--font-family-secondary);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-h2);
  line-height: var(--line-height-normal);
  letter-spacing: -0.01em;
}

/* H3 - Subtítulos */
h3, .h3 {
  font-family: var(--font-family-secondary);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-h3);
  line-height: var(--line-height-relaxed);
}

/* H4 - Títulos menores */
h4, .h4 {
  font-family: var(--font-family-secondary);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-h4);
  line-height: var(--line-height-relaxed);
}

/* H5 - Títulos de cards */
h5, .h5 {
  font-family: var(--font-family-secondary);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-h5);
  line-height: var(--line-height-loose);
}

/* H6 - Títulos pequeños */
h6, .h6 {
  font-family: var(--font-family-secondary);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-h6);
  line-height: var(--line-height-loose);
}

/* Texto base */
p, .text-base {
  font-family: var(--font-family-secondary);
  font-size: var(--font-size-body);
  line-height: var(--line-height-extra-loose);
  font-weight: var(--font-weight-normal);
}

/* Texto destacado */
.lead {
  font-family: var(--font-family-secondary);
  font-size: var(--font-size-lead);
  line-height: var(--line-height-extra-loose);
  font-weight: var(--font-weight-normal);
}

/* Texto grande */
.text-lg {
  font-size: var(--font-size-body-lg);
  line-height: var(--line-height-extra-loose);
}

/* Texto pequeño */
.text-sm, small {
  font-size: var(--font-size-small);
  line-height: var(--line-height-loose);
}

/* Texto extra pequeño */
.text-xs {
  font-size: var(--font-size-xs);
  line-height: var(--line-height-relaxed);
}

/* Títulos de sección elegantes */
.section-title-elegant {
  font-family: var(--font-family-elegant);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: var(--line-height-snug);
  color: var(--text-dark);
  position: relative;
  margin-bottom: var(--spacing-lg);
}

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

/* Texto descriptivo elegante */
.section-description {
  font-family: var(--font-family-secondary);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-body-lg);
  line-height: var(--line-height-super-loose);
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

.section-description strong {
  color: var(--primary-green);
  font-weight: 600;
}

/* Scroll suave */
html {
  scroll-behavior: smooth;
}

/* Utility Classes con colores EDMALAC */
.text-primary {
  color: var(--primary-green) !important;
}

.text-secondary {
  color: var(--elegant-color) !important;
}

.text-elegant {
  color: var(--elegant-color) !important;
}

.bg-elegant {
  background-color: var(--elegant-color) !important;
}

.bg-primary {
  background-color: var(--primary-green) !important;
}

.bg-cheese {
  background-color: var(--cheese-primary) !important;
}

.btn-primary {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  font-weight: var(--font-weight-medium);
  padding: var(--spacing-sm) var(--spacing-xl);
  border-radius: 0.5rem;
  transition: all var(--transition-normal);
  font-family: var(--font-family-secondary);
}

.btn-primary:hover {
  background-color: var(--cow-dark);
  border-color: var(--cow-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-primary {
  color: var(--primary-green);
  border-color: var(--primary-green);
  font-weight: var(--font-weight-medium);
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  transition: all var(--transition-normal);
  font-family: var(--font-family-secondary);
}

.btn-outline-primary:hover {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Clases adicionales para EDMALAC */
.btn-cheese {
  background-color: var(--elegant-color);
  border-color: var(--elegant-color);
  color: var(--text-white);
  font-weight: var(--font-weight-medium);
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  transition: all var(--transition-normal);
  font-family: var(--font-family-secondary);
}

.btn-cheese:hover {
  background-color: var(--cow-dark);
  border-color: var(--cow-dark);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.text-cheese {
  color: var(--elegant-color) !important;
}

/* ===================================
   MODERN NAVBAR DESIGN - REDISEÑADO
   ================================= */

/* Variables CSS para el navbar moderno */
:root {
  --navbar-primary: #1A9A00;
  --navbar-secondary: #168A00;
  --navbar-white: #ffffff;
  --navbar-shadow: rgba(0, 0, 0, 0.1);
  --navbar-shadow-scroll: rgba(0, 0, 0, 0.15);
  --navbar-height: 80px;
  --navbar-font: 'Poppins', 'Inter', 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --navbar-transition: all 0.3s ease;
  --navbar-border-radius: 8px;
  --navbar-hover-bg: rgba(255, 255, 255, 0.1);
  --navbar-active-bg: rgba(255, 255, 255, 0.15);
}

/* Navbar principal - Color unificado */
.modern-navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navbar-primary);
  box-shadow: 0 2px 4px var(--navbar-shadow);
  transition: var(--navbar-transition);
  font-family: var(--navbar-font);
  height: var(--navbar-height);
  backdrop-filter: blur(10px);
}

/* Efecto al hacer scroll - Color unificado */
.modern-navbar.scrolled {
  background: rgba(26, 154, 0, 0.95);
  box-shadow: 0 4px 8px var(--navbar-shadow-scroll);
  height: 70px;
  backdrop-filter: blur(15px);
}

/* Container del navbar - Color unificado */
.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  background: transparent;
  flex-wrap: nowrap;
}

/* ===================================
   LOGO Y MARCA - REDISEÑADO
   ================================= */

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: var(--navbar-transition);
  flex-shrink: 0;
  margin-left: 1rem;
  padding: 0.25rem;
}

.navbar-brand:hover {
  transform: translateY(-1px);
}

.navbar-logo {
  height: 32px;
  width: auto;
  transition: var(--navbar-transition);
  filter: brightness(1.1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.navbar-brand:hover .navbar-logo {
  transform: scale(1.05);
  filter: brightness(1.2) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.navbar-brand-text {
  color: var(--navbar-white);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  font-family: var(--navbar-font);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: var(--navbar-transition);
}

.navbar-brand:hover .navbar-brand-text {
  color: var(--navbar-white);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transform: translateX(1px);
}

/* ===================================
   NAVEGACIÓN DESKTOP - REDISEÑADO
   ================================= */

.navbar-nav {
  display: flex !important;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;
  flex: 1;
  justify-content: center;
  flex-direction: row;
}

.navbar-nav li {
  display: flex !important;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-shrink: 0;
}

.nav-link {
  color: var(--navbar-white);
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  padding: 0.75rem 1.25rem;
  border-radius: var(--navbar-border-radius);
  position: relative;
  transition: var(--navbar-transition);
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), #ffffff, rgba(255, 255, 255, 0.8));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  border-radius: 2px 2px 0 0;
}

.nav-link:hover {
  color: var(--navbar-white);
  background: var(--navbar-hover-bg);
  transform: translateY(-1px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.nav-link:hover::before {
  width: 80%;
}

.nav-link.active {
  background: var(--navbar-active-bg);
  color: var(--navbar-white);
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

.nav-link.active::before {
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.9), #ffffff);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* ===================================
   REDES SOCIALES - REDISEÑADO
   ================================= */

.navbar-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  text-decoration: none;
  border-radius: 50%;
  transition: transform 0.2s ease, background 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

/* Facebook - Color azul sólido */
.social-link:first-child {
  background: #1877F2;
  color: white;
}

.social-link:first-child:hover {
  background: #166FE5;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

/* Instagram - Color gradiente sólido */
.social-link:last-child {
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
  color: white;
}

.social-link:last-child:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(221, 42, 123, 0.4);
}

.social-icon {
  width: 20px;
  height: 20px;
  transition: var(--navbar-transition);
  fill: currentColor;
}

/* ===================================
   MENÚ MÓVIL - REDISEÑADO
   ================================= */

/* Icono hamburguesa - Solo visible bajo 768px */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  gap: 4px;
  transition: var(--navbar-transition);
  border-radius: var(--navbar-border-radius);
  backdrop-filter: blur(10px);
  margin-left: auto;
  z-index: 1001;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.hamburger-line {
  width: 24px;
  height: 3px;
  background: var(--navbar-white);
  transition: var(--navbar-transition);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Menú móvil base - oculto por defecto */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
}

/* Estado abierto del menú móvil - usando .open según especificaciones */
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Contenedor de navegación móvil */
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Enlaces de navegación móvil */
.mobile-nav-link {
  width: 100%;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 1rem 0;
  text-align: center;
  transition: all 0.3s ease;
  border-bottom: 1px solid #eee;
  display: block;
}

/* Estado hover y activo de enlaces móviles */
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #22c55e;
  background: #f8f9fa;
  transform: translateX(4px);
  border-color: rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid white;
}

.mobile-social {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.mobile-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  text-decoration: none;
  border-radius: 50%;
  transition: var(--navbar-transition);
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

/* Facebook móvil - Color azul sólido */
.mobile-social-link:first-child {
  background: #1877F2;
  color: white;
}

.mobile-social-link:first-child:hover {
  background: #166FE5;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

/* Instagram móvil - Color gradiente sólido */
.mobile-social-link:last-child {
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
  color: white;
}

.mobile-social-link:last-child:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(221, 42, 123, 0.4);
}

.mobile-social-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: currentColor;
}

/* Animación del botón hamburguesa */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===================================
   RESPONSIVE DESIGN - MEJORADO
   ================================= */

/* Tablets grandes y laptops pequeñas */
@media (max-width: 1024px) {
  .navbar-container {
    padding: 1rem 1rem 1rem 2rem;
    gap: 2rem;
  }
  
  .navbar-nav {
    gap: 1.5rem;
  }
  
  .nav-link {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    padding: 0.6rem 1rem;
  }
  
  .navbar-social {
    margin-right: 1rem;
  }
}

/* Media query móvil - Optimizada según especificaciones técnicas */
@media (max-width: 768px) {
  /* Ocultar navegación desktop */
  .navbar-nav,
  .navbar-social {
    display: none !important;
  }
  
  /* Mostrar icono hamburguesa */
  .mobile-menu-toggle {
    display: flex !important;
  }
  
  .modern-navbar {
    height: 70px;
  }
  
  .modern-navbar.scrolled {
    height: 60px;
  }
  
  .navbar-container {
    padding: 1rem 2rem;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar-brand {
    margin-left: 0;
  }
  
  .navbar-logo {
    height: 32px;
  }
  
  .navbar-brand-text {
    font-size: 1.1rem;
  }
}

/* Móviles */
@media (max-width: 480px) {
  .modern-navbar {
    height: 65px;
  }
  
  .modern-navbar.scrolled {
    height: 55px;
  }
  
  .navbar-container {
    padding-inline-start: 0.75rem;
    padding-inline-end: 0.75rem;
  }
  
  .navbar-brand {
    gap: 0.75rem;
  }
  
  .navbar-brand-text {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
  }
  
  .navbar-logo {
    height: clamp(31px, 7vw, 38px);
  }
}

/* Móviles muy pequeños */
@media (max-width: 360px) {
  .navbar-container {
    padding-inline-start: 0.5rem;
    padding-inline-end: 0.5rem;
  }
  
  .navbar-brand-text {
    font-size: 0.85rem;
  }
  
  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
  }
  
  .hamburger-line {
    width: 20px;
  }
  
  .mobile-nav {
    padding: 1.5rem 1rem;
    gap: 0.5rem;
  }
  
  .mobile-nav-link {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }
}

/* Pantallas extremadamente pequeñas */
@media (max-width: 320px) {
  .top-banner {
    height: 28px;
  }
  
  .banner-text {
    font-size: 0.7rem;
    letter-spacing: 0.3px;
  }
  
  .banner-content {
    animation: slideText 15s linear infinite;
  }
  
  .modern-navbar {
    height: 60px;
  }
  
  .modern-navbar.scrolled {
    height: 50px;
  }
  
  .navbar-container {
    padding-inline-start: 0.25rem;
    padding-inline-end: 0.25rem;
    gap: 0.5rem;
  }
  
  .navbar-brand {
    gap: 0.5rem;
  }
  
  .navbar-brand-text {
    font-size: 0.8rem;
  }
  
  .navbar-logo {
    height: clamp(28px, 8vw, 35px);
  }
  
  .mobile-menu-toggle {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px);
  }
  
  .mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: scale(1.05);
  }
  
  .hamburger-line {
    width: 20px;
    height: 3px;
    background: white !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
  
  .mobile-nav {
    padding: 1.25rem 1rem;
    gap: 0.5rem;
  }
  
  .mobile-nav-link {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .mobile-nav-link:hover,
  .mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateX(2px);
  }
  
  .mobile-social {
    padding: 1rem;
    gap: 0.75rem;
  }
  
  .mobile-social-link {
    width: 40px;
    height: 40px;
  }
  
  .mobile-social-icon {
    width: 20px;
    height: 20px;
  }
  
  /* Hero section para pantallas muy pequeñas */
  .hero-section {
    padding-top: 50px;
    padding-bottom: 2rem;
  }
  
  .hero-section .display-4 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }
  
  .hero-section .lead {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-section .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Botones en hero para móviles pequeños */
  .hero-section .btn-lg {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
  }
  
  /* Cards y contenido general */
  .card {
    margin-bottom: 1rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .card-title {
    font-size: 1.1rem;
  }
  
  .card-text {
    font-size: 0.85rem;
  }
  
  /* Footer para pantallas muy pequeñas */
  footer {
    padding: 2rem 0 !important;
  }
  
  footer .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  footer h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  footer p,
  footer a {
    font-size: 0.85rem;
  }
  
  footer .social-links {
    gap: 0.75rem;
  }
  
  footer .social-links a {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .contact-info-footer {
    margin-top: 1rem;
  }
  
  .contact-info-footer p {
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
  }
  
  /* Elementos con ancho fijo responsive */
  .icon-container,
  [style*="width: 60px"],
  [style*="width: 80px"] {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
  }
  
  /* Certificaciones y cards especiales */
  .certification-card {
    min-height: 150px !important;
    padding: 1rem !important;
  }
  
  /* Imágenes responsive */
  img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Contenedores con max-width */
   [style*="max-width"] {
     max-width: 100% !important;
     padding-left: 0.5rem !important;
     padding-right: 0.5rem !important;
   }
   
   /* Mejoras para experiencia táctil */
   .btn,
   .mobile-nav-link,
   .mobile-social-link,
   .mobile-menu-toggle {
     min-height: 44px !important;
     min-width: 44px !important;
   }
   
   /* Espaciado mejorado para elementos interactivos */
   .mobile-menu {
     padding-top: 0.5rem;
     padding-bottom: 1rem;
   }
   
   /* Mejor contraste para texto en móviles */
   .mobile-nav-link {
     text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
     font-weight: 500 !important;
   }
   
   /* Animación suave para el menú */
   .mobile-menu {
     transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
   }
   
   .mobile-menu.active {
     animation: slideDown 0.3s ease-out;
   }
   
   @keyframes slideDown {
     from {
       opacity: 0;
       transform: translateY(-10px);
     }
     to {
       opacity: 1;
       transform: translateY(0);
     }
   }
 }

/* ===================================
   ACCESIBILIDAD
   ================================= */

/* Focus states para navegación por teclado */
.nav-link:focus,
.social-link:focus,
.mobile-menu-toggle:focus,
.mobile-nav-link:focus,
.mobile-social-link:focus,
.navbar-brand:focus {
  outline: 3px solid var(--navbar-white);
  outline-offset: 3px;
  border-radius: var(--navbar-border-radius);
  box-shadow: 0 0 0 1px var(--navbar-primary), 0 0 0 4px var(--navbar-white);
}

/* Focus visible para mejor accesibilidad */
.nav-link:focus-visible,
.social-link:focus-visible,
.mobile-menu-toggle:focus-visible,
.mobile-nav-link:focus-visible,
.mobile-social-link:focus-visible,
.navbar-brand:focus-visible {
  outline: 3px solid #FFD700;
  outline-offset: 2px;
  background: rgba(255, 215, 0, 0.1);
}

/* Skip link para navegación por teclado */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--navbar-primary);
  color: var(--navbar-white);
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1001;
  font-weight: 600;
}

.skip-link:focus {
  top: 6px;
}

/* Reducir movimiento para usuarios con preferencias de accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .modern-navbar,
  .navbar-brand,
  .navbar-logo,
  .navbar-brand-text,
  .nav-link,
  .social-link,
  .mobile-menu-toggle,
  .hamburger-line,
  .mobile-menu,
  .mobile-nav-link,
  .mobile-social-link,
  .social-link::before {
    transition: none !important;
    animation: none !important;
  }
  
  .navbar-brand:hover,
  .nav-link:hover,
  .social-link:hover,
  .mobile-nav-link:hover,
  .mobile-social-link:hover {
    transform: none !important;
  }
}

/* Alto contraste para mejor legibilidad */
@media (prefers-contrast: high) {
  .modern-navbar {
    border-bottom: 3px solid var(--navbar-white);
    background: var(--navbar-primary) !important;
  }
  
  .nav-link,
  .social-link,
  .mobile-nav-link,
  .mobile-social-link {
    border: 2px solid transparent;
    background: rgba(0, 0, 0, 0.1);
  }
  
  .nav-link:hover,
  .nav-link.active,
  .social-link:hover,
  .mobile-nav-link:hover,
  .mobile-nav-link.active,
  .mobile-social-link:hover {
    border-color: var(--navbar-white);
    background: rgba(255, 255, 255, 0.2);
  }
  
  .navbar-brand-text,
  .nav-link,
  .mobile-nav-link,
  .mobile-social-link {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  }
}

/* Soporte para modo oscuro del sistema */
@media (prefers-color-scheme: dark) {
  .modern-navbar {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  }
  
  .modern-navbar.scrolled {
     box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
   }
 }
 
 /* Hero Section con fondo blanco elegante */
.hero-section {
  padding-top: 15px;
  padding-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  color: var(--text-dark);
}

.hero-section .text-elegant {
  color: var(--elegant-color) !important;
}

.hero-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="20" cy="20" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>') repeat;
  opacity: 0.3;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-image img {
  border-radius: 1rem;
  transition: all var(--transition-slow);
}

.hero-image:hover img {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* Hero Title - Título principal elegante */
.hero-title {
  font-family: var(--font-family-elegant);
  font-weight: 600; /* Optimizado para mejor renderizado móvil */
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-title .brand-name {
  font-size: var(--font-size-hero);
  font-weight: 700; /* Reducido de 800 para mejor compatibilidad */
  letter-spacing: 0.05em;
  color: var(--primary-green);
  text-transform: uppercase;
  font-family: var(--font-family-primary);
  margin-bottom: var(--spacing-xs);
  display: block;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-title .product-name {
  font-size: var(--font-size-h1);
  font-weight: 600;
  color: var(--elegant-color);
  font-family: var(--font-family-elegant);
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  display: block;
}

.hero-title .quality-text {
  font-size: var(--font-size-h3);
  font-weight: 400;
  color: var(--text-light);
  font-family: var(--font-family-secondary);
  font-style: italic;
  letter-spacing: 0.01em;
}

/* Hero Description - Párrafo descriptivo de hero */
.hero-description {
  font-family: var(--font-family-secondary);
  font-size: var(--font-size-lead);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: var(--spacing-xl);
}

@media (max-width: 768px) {
  .hero-description {
    font-size: var(--font-size-h6);
  }
}

/* Responsive adjustments for hero title */
@media (max-width: 768px) {
  .hero-title .brand-name {
    font-size: var(--font-size-h1);
  }
  
  .hero-title .product-name {
    font-size: var(--font-size-h2);
  }
  
  .hero-title .quality-text {
    font-size: var(--font-size-h4);
  }
}

@media (max-width: 576px) {
  .hero-title .brand-name {
    font-size: var(--font-size-h2);
  }
  
  .hero-title .product-name {
    font-size: var(--font-size-h3);
  }
  
  .hero-title .quality-text {
    font-size: var(--font-size-h5);
  }
}

/* Feature Icons */
.feature-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-h2);
  transition: all var(--transition-normal);
}

.feature-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-md);
}

/* Feature Icons Destacados - Iconos de características principales */
.feature-icon-highlight {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-h3);
  transition: all var(--transition-normal);
  box-shadow: 0 4px 15px rgba(0, 177, 31, 0.2);
}

.feature-icon-highlight:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 177, 31, 0.3);
}

.feature-icon-highlight i {
  color: white;
  font-weight: 600;
}

/* Product Cards */
.product-card {
  transition: all var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-card .card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.product-card .card:hover {
  box-shadow: var(--shadow-lg);
}

.product-card .card-img-top {
  height: 250px;
  object-fit: cover;
  transition: all var(--transition-slow);
}

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

/* Product Highlight - Imagen principal en productos.html */
.product-highlight .card-img {
  min-height: 400px;
  object-fit: cover;
  object-position: 35% 30%;
  transition: all var(--transition-slow);
}

.product-highlight .card:hover .card-img {
  transform: scale(1.02);
}

/* Responsive para imagen del producto principal */
@media (max-width: 768px) {
  .product-highlight .card-img {
    min-height: 300px;
    object-position: 35% 25%;
  }
}

@media (max-width: 576px) {
  .product-highlight .card-img {
    min-height: 250px;
    object-position: 35% 20%;
  }
  
  /* Presentaciones de productos - Móvil - Forzar disposición horizontal */
  .row.g-3.mt-3 {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 1rem !important;
    margin: 1rem 0 0 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }
  
  .row.g-3.mt-3 > .col-6 {
    flex: 0 0 calc(50% - 0.5rem) !important;
    max-width: calc(50% - 0.5rem) !important;
    width: calc(50% - 0.5rem) !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
  }
  
  .presentation-option.p-3.rounded.h-100.d-flex.flex-column.justify-content-center {
    height: 110px !important;
    min-height: 110px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0.75rem !important;
    margin: 0 !important;
    width: 100% !important;
    flex: 1 !important;
  }
  
  .presentation-option .text-center {
    padding: 0 !important;
    text-align: center !important;
    width: 100% !important;
  }
  
  .presentation-option i.bi.bi-box.text-success.fs-3.mb-2 {
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .presentation-option h6.mb-1 {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.2 !important;
  }
  
  .presentation-option small.text-muted {
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }
}

.product-features {
  margin-top: 1rem;
}

.product-features .badge {
  font-size: var(--font-size-xs);
  padding: 0.5rem 1rem;
  border-radius: 1rem;
}

/* Estilos para iconos de características con espaciado reducido */
.feature-card {
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-md);
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
}

/* Estilos para producto destacado */
.product-highlight .card {
  border-radius: 1rem;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.product-highlight .card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Form Styles */
.form-control {
  border-radius: 0.5rem;
  border: 2px solid #e9ecef;
  padding: var(--spacing-sm) var(--spacing-md);
  transition: all var(--transition-normal);
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(0, 177, 31, 0.25);
}

.form-select {
  border-radius: 0.5rem;
  border: 2px solid #e9ecef;
  padding: 0.75rem 1rem;
  transition: all var(--transition-normal);
}

.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(44, 85, 48, 0.25);
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success/Error Messages */
.alert-custom {
  border-radius: 0.5rem;
  border: none;
  padding: var(--spacing-md) var(--spacing-lg);
  margin-bottom: 1.5rem;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: var(--font-size-h5);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background-color: #1e3a22;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Información de contacto */
.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-form {
  border-radius: 1rem;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #34495e 0%, #2c3e50 50%, #34495e 100%) !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--primary-green) 20%, 
    var(--accent-green) 50%, 
    var(--primary-green) 80%, 
    transparent 100%
  );
  opacity: 0.8;
}

footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(0, 177, 31, 0.1) 25%, 
    rgba(0, 177, 31, 0.3) 50%, 
    rgba(0, 177, 31, 0.1) 75%, 
    transparent 100%
  );
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); opacity: 0.3; }
  50% { transform: translateX(0%); opacity: 0.8; }
}

footer .social-links a {
  transition: all var(--transition-normal);
  position: relative;
  display: inline-block;
}

footer .social-links a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, var(--cheese-primary) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all var(--transition-normal);
  z-index: -1;
}

footer .social-links a:hover::before {
  width: 40px;
  height: 40px;
}

footer .social-links a:hover {
  color: var(--cheese-primary) !important;
  transform: scale(1.1) translateY(-2px);
}

footer a:hover {
  color: var(--cheese-primary) !important;
  transition: all var(--transition-normal);
}

footer h5 {
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
}

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

/* Footer responsivo */
@media (max-width: 768px) {
  footer h5::after {
    width: 30px;
    height: 1.5px;
  }
  
  footer .social-links a:hover::before {
    width: 35px;
    height: 35px;
  }
  
  footer::after {
    animation-duration: 4s;
  }
  
  /* Ajuste del shimmer en móviles */
  @keyframes shimmer {
    0%, 100% { transform: translateX(-50%); opacity: 0.2; }
    50% { transform: translateX(50%); opacity: 0.6; }
  }
}

/* Efecto de elevación suave en el footer */
footer .container {
  position: relative;
  z-index: 2;
}

/* Transición suave desde la última sección */
section:last-of-type {
  position: relative;
  border-bottom: none;
  margin-bottom: 0;
}

section:last-of-type::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, 
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.9) 20%,
    rgba(52, 73, 94, 0.05) 50%,
    rgba(52, 73, 94, 0.2) 80%,
    rgba(52, 73, 94, 0.4) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Ajuste para secciones con fondo claro */
section.bg-light:last-of-type::after {
  background: linear-gradient(to bottom, 
    rgba(248, 249, 250, 1) 0%,
    rgba(248, 249, 250, 0.9) 20%,
    rgba(52, 73, 94, 0.05) 50%,
    rgba(52, 73, 94, 0.2) 80%,
    rgba(52, 73, 94, 0.4) 100%
  );
}

/* Ajuste para secciones con fondo primario */
section.bg-primary:last-of-type::after {
  background: linear-gradient(to bottom, 
    var(--primary-green) 0%,
    rgba(0, 177, 31, 0.9) 20%,
    rgba(52, 73, 94, 0.3) 60%,
    rgba(52, 73, 94, 0.6) 100%
  );
}

/* Separación elegante entre secciones */
section {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

section:last-of-type {
  border-bottom: none;
}

/* =====================================
   Estilos específicos para Home page
   ===================================== */

.hover-card {
  transition: all var(--transition-normal);
}

.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2) !important;
}

.hover-card:hover .card-title {
  color: var(--primary-green);
}

/* Estilos profesionales para las tarjetas de navegación */
.professional-card {
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.professional-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.professional-card:hover::before {
  left: 100%;
}

.professional-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.professional-card .icon-container {
  transition: all 0.3s ease;
}

.professional-card:hover .icon-container {
  transform: scale(1.1) rotate(5deg);
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  filter: brightness(1.1);
}

/* Mejoras para hero section en home */
.hero-section .display-3 {
  line-height: 1.1;
}

@media (max-width: 768px) {
  .hero-section .display-3 {
    font-size: var(--font-size-h2);
  }
  
  .hero-section .row[style*="min-height: 75vh"] {
    min-height: 70vh !important;
    padding-top: 60px !important;
  }
}

/* ===================================
   Sección de Información de Interés (Blog)
   ================================= */

/* Blog Cards */
.blog-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-normal);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-green);
}

/* Blog Image Container */
.blog-image-container {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all var(--transition-slow);
}

.blog-card:hover .blog-image {
  transform: scale(1.1);
}

/* Blog Overlay */
.blog-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 177, 31, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--transition-normal);
}

.blog-card:hover .blog-overlay {
  opacity: 1;
}

/* Blog Content */
.blog-content {
  background: #ffffff;
}

.blog-title {
  color: var(--text-dark);
  font-weight: 600;
  font-family: var(--font-family-primary);
  line-height: 1.3;
  transition: color var(--transition-normal);
}

.blog-card:hover .blog-title {
  color: var(--primary-green);
}

.blog-excerpt {
  font-size: var(--font-size-small);
  line-height: 1.5;
}

.blog-category .badge {
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.blog-meta {
  font-size: var(--font-size-small);
}

/* Modal Styles */
.modal-content {
  border-radius: 16px;
  overflow: hidden;
}

.modal-image {
  height: 300px;
  object-fit: cover;
}

.modal-title {
  color: var(--text-dark);
  font-weight: 600;
  font-family: var(--font-family-primary);
}

/* Responsive para blog */
@media (max-width: 768px) {
  .blog-image-container {
    height: 200px;
  }
  
  .modal-image {
    height: 250px;
  }
  
  .blog-card {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 576px) {
  .blog-image-container {
    height: 180px;
  }
  
  .modal-image {
    height: 200px;
  }
  
  .blog-content {
    padding: 1.5rem !important;
  }
}

/* ===================================
   Sección de Aliados Estratégicos
   ================================= */

/* Contenedor de logos de partners */
.partner-logo-container {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  transition: all var(--transition-normal);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 1.5rem;
}

.partner-logo-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-green);
}

/* Logos de partners */
.partner-logo {
  max-height: 80px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: all var(--transition-normal);
  display: block;
  margin: 0 auto;
  margin-bottom: 1.5rem;
}

.partner-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Espaciado de letras para subtítulos */
.letter-spacing-wide {
  letter-spacing: 0.1em;
}

/* Responsive para partners */
@media (max-width: 768px) {
  .partner-logo-container {
    padding: 1.5rem 1rem;
    height: 100px;
  }
  
  .partner-logo {
    max-height: 65px;
  }
}

@media (max-width: 576px) {
  .partner-logo-container {
    padding: 1rem 0.75rem;
    height: 80px;
  }
  
  .partner-logo {
    max-height: 55px;
  }
}

/* ===================================
   Responsive Design
   ================================= */

/* Enhanced navbar brand text with gradient and animations */
.navbar-brand-text {
  transition: all 0.3s ease;
  position: relative;
}

.navbar-brand-text:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

/* Responsive styles for navbar brand text */
@media (max-width: 992px) {
  .navbar-brand-text {
    font-size: 1.3rem !important;
    letter-spacing: 0.6px !important;
  }
  
  .navbar-brand img {
    height: 75px !important;
  }
}

@media (max-width: 768px) {
  .navbar-brand-text {
    font-size: 1.1rem !important;
    letter-spacing: 0.5px !important;
  }
  
  .navbar-brand img {
    height: 60px !important;
  }
}

@media (max-width: 576px) {
  .navbar-brand-text {
    font-size: 1rem !important;
    letter-spacing: 0.4px !important;
  }
  
  .navbar-brand img {
    height: 50px !important;
  }
}

/* Social media icons styling */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    font-size: 2rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px;
}

.social-facebook {
    color: #1877F2;
}

.social-facebook:hover {
    color: #166FE5;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 8px 16px rgba(24, 119, 242, 0.3));
}

.social-instagram {
    color: #E1306C;
}

.social-instagram:hover {
    color: #C13584;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 8px 16px rgba(225, 48, 108, 0.3));
}

.social-icon:active {
    transform: translateY(-1px) scale(1.05);
    transition: all 0.1s ease;
}

/* ===================================
   WhatsApp Floating Button
   ================================= */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: white;
    font-size: 1.8rem;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: white;
}

.whatsapp-float:active {
    transform: translateY(-1px) scale(1.05);
    transition: all 0.1s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 10px;
        right: 10px;
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
  .navbar-brand-text {
    font-size: 1.1rem !important;
    letter-spacing: 0.3px !important;
  }
  
  .navbar-brand img {
    height: 70px !important;
  }
}

@media (max-width: 576px) {
  .navbar-brand-text {
    font-size: 1rem !important;
    letter-spacing: 0.2px !important;
  }
  
  .navbar-brand img {
    height: 60px !important;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 60px;
    text-align: center;
  }
  
  .hero-pages,
  .hero-contact {
    padding-top: 40px;
  }
  
  .hero-section .display-4 {
    font-size: 2.5rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0.25rem 0;
  }
  
  /* Ajuste del enlace activo en móviles - mantiene el subrayado elegante */
  .navbar-nav .nav-link.active::after {
    bottom: -3px;
    height: 2px;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: var(--font-size-h3);
  }
  
  .btn-lg {
    padding: 0.5rem 1.5rem;
    font-size: var(--font-size-body);
  }
  
  .feature-card {
    padding: 1rem 0.5rem;
  }
  
  .contact-info {
    margin-bottom: 1.5rem;
  }
  
  .product-highlight .card .row {
    flex-direction: column-reverse;
  }
  /* Ajuste del logo para tablet y móvil */
  .navbar-brand img {
    max-height: 70px !important;
  }
  
  /* Padding del navbar en tablets */
  .navbar {
    padding: 1rem 0;
  }
}

@media (max-width: 576px) {
  .hero-section .display-4 {
    font-size: 2rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .btn-lg {
    width: 100%;
    margin-bottom: 0.5rem;
    min-width: unset; /* Remover min-width en móviles */
  }
  
  .d-flex.gap-3 {
    flex-direction: column;
    gap: 0.5rem !important;
  }
  
  .d-flex.gap-3.flex-wrap {
    flex-direction: column;
    gap: 0.5rem !important;
  }
  
  /* Botones en cards mantienen tamaño mínimo en móviles */
  .card .btn {
    min-width: 100px;
  }
  
  /* Logo más pequeño en móviles para mejor proporción */
  .navbar-brand img {
    max-height: 60px !important;
  }
  
  /* Navbar más compacto en móviles */
  .navbar {
    padding: 0.8rem 0;
  }
  
  /* Optimización para cards de navegación en móviles */
  .professional-card {
    margin-bottom: 1rem;
  }
  
  .professional-card .icon-container {
    width: 50px !important;
    height: 50px !important;
    border-radius: 12px !important;
  }
  
  .professional-card .icon-container i {
    font-size: 1.2rem !important;
  }
  
  .professional-card .card-title {
    font-size: 1rem !important;
  }
  
  .professional-card .card-text {
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
  }
  
  .professional-card .btn-modern {
    padding: 0.4rem 1rem !important;
    font-size: 0.8rem !important;
  }
  
  /* Reducir efectos hover en móviles para mejor rendimiento */
  .professional-card:hover {
    transform: translateY(-5px) scale(1.01);
  }
  
  .professional-card:hover .icon-container {
     transform: scale(1.05);
   }
 }

/* Optimización para pantallas muy pequeñas (menos de 400px) */
@media (max-width: 400px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  .hero-section {
    padding: 60px 0 40px;
  }
  
  .hero-pages,
  .hero-contact {
    padding: 40px 0 40px;
  }
  
  .hero-title {
    font-size: 1.8rem;
    font-weight: 500 !important; /* Peso optimizado para móviles pequeños */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .hero-description {
    font-size: 0.95rem;
  }
  
  .navbar-brand img {
    max-height: 45px !important;
  }
  
  .navbar-brand-text {
    font-size: 0.9rem !important;
    font-weight: 500 !important; /* Peso optimizado */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* Cards de navegación ultra compactas */
  .professional-card .card-body {
    padding: 1rem !important;
  }
  
  .professional-card .icon-container {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
  }
  
  .professional-card .icon-container i {
    font-size: 1rem !important;
  }
  
  .professional-card .card-title {
    font-size: 0.9rem !important;
    margin-bottom: 0.5rem !important;
    font-weight: 500 !important; /* Peso optimizado */
    -webkit-font-smoothing: antialiased;
  }
  
  .professional-card .card-text {
    font-size: 0.75rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .professional-card .btn-modern {
    padding: 0.3rem 0.8rem !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
  }
  
  /* Formularios más compactos */
  .contact-form {
    padding: 1rem !important;
  }
  
  .form-control {
    padding: 0.5rem 0.75rem;
    font-size: 16px;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500 !important;
  }
  
  /* Imágenes más pequeñas */
  .position-relative img {
    height: 200px !important;
  }
  
  /* Reducir espaciado general - Máxima compactación */
  .py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  
  .mb-4 {
    margin-bottom: 1rem !important;
  }
  
  .mb-5 {
     margin-bottom: 1.5rem !important;
   }
   
  /* Optimización general de texto en negrita para pantallas muy pequeñas */
  h1, h2, h3, h4, h5, h6 {
    font-weight: 500 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
 }

/* Optimizaciones adicionales para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
  /* Mejorar área táctil para botones */
  .btn {
    min-height: 44px;
    padding: 0.75rem 1.5rem;
  }
  
  .btn-lg {
    min-height: 48px;
    padding: 1rem 2rem;
  }
  
  /* Reducir animaciones complejas en dispositivos táctiles */
  .professional-card::before {
    display: none;
  }
  
  .professional-card:hover {
    transform: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
  }
  
  .professional-card:hover .icon-container {
    transform: none;
  }
  
  /* Mejorar navegación táctil */
  .nav-link {
    padding: 1rem 0.75rem;
  }
  
  /* Optimizar formularios para táctil */
  .form-control {
    min-height: 44px;
    padding: 0.75rem 1rem;
  }
  
  .form-select {
    min-height: 44px;
    padding: 0.75rem 1rem;
  }
  
  textarea.form-control {
    min-height: 120px;
  }
  
  /* Optimización de renderizado de texto en negrita para móviles */
  h1, h2, h3, h4, h5, h6, .hero-title, .card-title {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 600 !important; /* Forzar peso más compatible */
    text-rendering: optimizeLegibility;
  }
  
  .navbar-brand-text {
    font-weight: 600 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Optimización para modo landscape en móviles */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section {
    padding: 80px 0 40px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand img {
    max-height: 50px !important;
  }
  
  .professional-card .card-body {
    padding: 1.5rem !important;
  }
}

/* ===== SECCIÓN QUIÉNES SOMOS ===== */

/* 1. Contenedor principal */
.about-section {
  width: 100%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.about-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="20" cy="20" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>') repeat;
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
}

.about-section .container {
  position: relative;
  z-index: 2;
}

/* 2. Layout principal - Bootstrap Grid como hero */
.about-content {
  margin-bottom: 4rem;
  min-height: 500px;
}

/* 3. Estilos del texto */
.about-content .texto {
  padding-right: 2rem;
}

.about-content .texto h2 {
  font-family: var(--font-family-elegant);
  font-weight: 600; /* Optimizado para mejor renderizado móvil */
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.about-content .texto h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, #20c997 100%);
  border-radius: 2px;
}

.about-content .texto p {
  font-size: var(--font-size-body-lg);
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* 4. Estilos de la imagen - Consistente con hero */
.about-image img {
  border-radius: 1rem;
  transition: all var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* 5. Grid para las cards inferiores */
.cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.cards-container .card {
  transition: all 0.3s ease;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  height: 100%;
}

.cards-container .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.cards-container .card-title {
  font-size: var(--font-size-h5);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.cards-container .card-text {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* 6. Ajustes responsivos */
@media (max-width: 991px) {
  .about-content .texto {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  
  .about-content .texto h2 {
    font-size: var(--font-size-h2);
  }
}

@media (max-width: 768px) {
  .about-content {
    text-align: center;
    min-height: auto;
  }
  
  .about-content .texto {
    margin-bottom: 2rem;
  }
  
  .about-content .texto h2 {
    font-size: 2rem;
  }
  
  .about-content .texto h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .cards-container {
    grid-template-columns: 1fr;
    margin-top: 3rem;
    gap: 1.5rem;
  }
  
  /* Optimización de formularios en tablets */
  .contact-form {
    padding: 1.5rem !important;
  }
  
  .contact-form .form-control {
    font-size: 16px; /* Prevenir zoom en iOS */
  }
  
  /* Ajuste de imágenes en galería */
  .position-relative img {
    height: 250px !important;
  }
  
  /* Optimización de secciones hero */
  .hero-section {
    padding: 120px 0 60px;
  }
  
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .about-section .container {
    padding: 0 1rem;
  }
  
  .about-content {
    gap: 2rem;
  }
  
  .about-content .texto h2 {
    font-size: var(--font-size-h3);
  }
  
  .about-content .texto p {
    font-size: 1rem;
  }
  
  .about-content img {
    min-height: 250px;
  }
}

/* ===== ÍCONOS DE REDES SOCIALES ===== */

/* Facebook - Color oficial */
.bi-facebook {
  color: #1877F2 !important;
  transition: all 0.3s ease;
}

.bi-facebook:hover {
  color: #166FE5 !important;
  transform: scale(1.1);
}

/* Instagram - Gradiente oficial */
.bi-instagram {
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.bi-instagram:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* Asegurar que los enlaces mantengan los colores */
a .bi-facebook,
a .bi-instagram {
  text-decoration: none;
}

/* Estilos específicos para footer (texto blanco por defecto) */
footer .bi-facebook {
  color: #1877F2 !important;
}

footer .bi-instagram {
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Print Styles */
@media print {
  .navbar,
  .scroll-to-top,
  #contact {
    display: none !important;
  }
  
  .hero-section {
    padding-top: 0;
  }
  
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
}

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

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Focus indicators */
.btn:focus,
.form-control:focus,
.form-select:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #000000;
    --text-dark: #000000;
    --text-light: #000000;
  }
  
  .btn-outline-primary {
    border-width: 3px;
  }
  
  .navbar-nav .nav-link::after {
    height: 3px;
  }
}

/* =====================================
   Estilos específicos para Home page
   ===================================== */

/* Botones simétricos y profesionales */
.btn-symmetric {
  min-width: 180px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-lg.btn-symmetric {
  min-width: 200px;
}

/* Aplicar automáticamente a botones en flexbox */
.d-flex .btn,
.d-flex .btn-lg {
  min-width: 180px;
  text-align: center;
}

.d-flex .btn-lg {
  min-width: 200px;
}

/* Asegurar simetría en cards */
.card .btn {
  min-width: 120px;
}

/* Libro de Reclamaciones - Enlace sutil */
.libro-reclamaciones-link {
  font-weight: 500;
  font-size: var(--font-size-small);
  letter-spacing: 0.5px;
  transition: all var(--transition-normal);
  padding: 0.5rem 0;
}

.libro-reclamaciones-link:hover {
  color: #ffffff !important;
  transform: translateX(3px);
}

.libro-reclamaciones-link i {
  color: #ffffff !important;
  transition: color var(--transition-normal);
}

.libro-reclamaciones-link:hover i {
  color: var(--accent-green) !important;
}
