@charset "UTF-8";
/* ========================================
   SISTEMA TIPOGRÁFICO GRUPO ASESOR DE PROYECTOS
   Fuente: Neue Haas Grotesk Display + Text
   ======================================== */
/* Variables tipográficas principales */
:root {
  /* Fuentes */
  --font-display: "neue-haas-grotesk-display",sans-serif;
  --font-text: "neue-haas-grotesk-text",sans-serif;
  /* Pesos disponibles */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  /* Line heights */
  --lh-tight: 1.1;
  --lh-normal: 1.4;
  --lh-relaxed: 1.6;
  /* Letter spacing */
  --ls-tight: -0.02em;
  --ls-normal: 0;
  --ls-wide: 0.02em;
  /* Colores Corporativos Principales */
  --color-primary: #5da3a0; /* Turquesa Corporativo - Pantone 7716 C */
  --color-secondary: #9dbb46;
  --color-neutral: #828282; /* Gris Corporativo - Pantone Cool Gray 9 C */
  --color-contrast: #473BF0;
  /* Variaciones Turquesa */
  --color-primary-light: #8CBCB9; /* Turquesa claro */
  --color-primary-dark: #4A7A77; /* Turquesa oscuro - hover states */
  --color-primary-ultra-light: #E6F3F2; /* Background suave */
  /* Variaciones Verde */
  --color-secondary-light: #C4D673; /* Verde claro */
  --color-secondary-dark: #7A9235; /* Verde oscuro - hover */
  --color-secondary-ultra-light: #F2F6E8; /* Background verde suave */
  /* Variaciones Contrast */
  --color-contrast-light: #A3A0F0; /* Azul claro */
  --color-contrast-dark: #3B2F80; /* Azul oscuro - hover */
  /* Variaciones de Contraste (Azul Marino) */
  --color-contrast: #23395B; /* Azul Marino principal */
  --color-contrast-light: #4A638C; /* Versión más clara */
  --color-contrast-dark: #122137; /* Versión más oscura para hover */
  --dropdown-bg: #577590; /* Fondo del dropdown */
  --footer-bg: #34344A; /* Fondo del footer */
  --footer-bg: var(--color-contrast-dark); /* Fondo del footer */
  /* ==========================================================================
     SISTEMA DE GRISES
     ========================================================================== */
  --color-gray-900: #212529; /* Negro texto principal */
  --color-gray-800: #333333; /* Gris muy oscuro */
  --color-gray-700: #495057; /* Gris oscuro */
  --color-gray-600: #666666; /* Gris medio */
  --color-gray-500: #828282; /* Gris corporativo */
  --color-gray-400: #ADB5BD; /* Gris claro */
  --color-gray-300: #CCCCCC; /* Bordes, separadores */
  --color-gray-200: #E9ECEF; /* Gris muy claro */
  --color-gray-100: #F8F9FA; /* Background sections */
  --color-gray-50: #FDFDFD; /* Casi blanco */
  /* ==========================================================================
     COLORES BASE
     ========================================================================== */
  --color-white: #FFFFFF;
  --color-black: #000000;
  /* ==========================================================================
     COLORES DE ESTADO (Para formularios y notificaciones)
     ========================================================================== */
  --color-success: #28A745; /* Verde éxito */
  --color-success-light: #D4EDDA; /* Background éxito */
  --color-warning: #FFC107; /* Amarillo advertencia */
  --color-warning-light: #FFF3CD; /* Background advertencia */
  --color-error: #DC3545; /* Rojo error */
  --color-error-light: #F8D7DA; /* Background error */
  --color-info: #17A2B8; /* Azul información */
  --color-info-light: #D1ECF1; /* Background información */
  /* ==========================================================================
     ALIASES SEMÁNTICOS (Para facilitar el uso)
     ========================================================================== */
  /* Textos */
  --text-primary: var(--color-gray-900);
  --text-secondary: var(--color-gray-600);
  --text-muted: var(--color-gray-500);
  --text-light: var(--color-gray-400);
  --text-inverse: var(--color-white);
  /* Backgrounds */
  --bg-primary: var(--color-white);
  --bg-secondary: var(--color-gray-100);
  --bg-tertiary: var(--color-gray-50);
  --bg-brand: var(--color-primary);
  --bg-accent: var(--color-secondary);
  --projects-header-bg: linear-gradient(135deg, var(--color-primary-ultra-light) 0%, var(--bg-tertiary) 100%);
  /* Bordes */
  --border-color: var(--color-gray-300);
  --border-color-light: var(--color-gray-200);
  --border-color-dark: var(--color-gray-400);
  /* CTAs y Links */
  --cta-primary: var(--color-primary);
  --cta-primary-hover: var(--color-primary-dark);
  --cta-secondary: var(--color-secondary);
  --cta-secondary-hover: var(--color-secondary-dark);
  --border-radius-lg: 12px; /* Bordes grandes */
}

/* ========================================
   HEADINGS - Para títulos principales
   ======================================== */
h1 {
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  font-size: clamp(2.5rem, 5vw, 4rem); /* 40px - 64px */
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin-bottom: clamp(1rem, 3vw, 2rem);
  color: #1a1a1a;
  color: var(--color-neutral);
}

/* H1 Hero - Para homepage hero section */
.h1-hero {
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  font-size: clamp(3rem, 7vw, 5.5rem); /* 48px - 88px */
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

h2 {
  font-family: var(--font-display);
  font-weight: var(--font-semibold);
  font-size: clamp(2rem, 4vw, 3rem); /* 32px - 48px */
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin-bottom: clamp(0.75rem, 2.5vw, 1.5rem);
  color: #1a1a1a;
}

h3 {
  font-family: var(--font-display);
  font-weight: var(--font-semibold);
  font-size: clamp(1.5rem, 3vw, 2.25rem); /* 24px - 36px */
  line-height: var(--lh-normal);
  letter-spacing: var(--ls-tight);
  margin-bottom: clamp(0.5rem, 2vw, 1.25rem);
  color: #1a1a1a;
}

h4 {
  font-family: var(--font-text);
  font-weight: var(--font-semibold);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem); /* 20px - 28px */
  line-height: var(--lh-normal);
  letter-spacing: var(--ls-normal);
  margin-bottom: clamp(0.5rem, 1.5vw, 1rem);
  color: #2a2a2a;
}

h5 {
  font-family: var(--font-text);
  font-weight: var(--font-medium);
  font-size: clamp(1.125rem, 2vw, 1.375rem); /* 18px - 22px */
  line-height: var(--lh-normal);
  letter-spacing: var(--ls-normal);
  margin-bottom: clamp(0.375rem, 1vw, 0.75rem);
  color: #2a2a2a;
}

h6 {
  font-family: var(--font-text);
  font-weight: var(--font-medium);
  font-size: clamp(1rem, 1.5vw, 1.125rem); /* 16px - 18px */
  line-height: var(--lh-normal);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  margin-bottom: clamp(0.25rem, 0.75vw, 0.5rem);
  color: #666666;
}

/* ========================================
   PÁRRAFOS Y TEXTO CORRIDO
   ======================================== */
p {
  font-family: var(--font-text);
  font-weight: var(--font-regular);
  font-size: clamp(1rem, 1.75vw, 1.125rem); /* 16px - 18px */
  line-height: var(--lh-relaxed);
  letter-spacing: var(--ls-normal);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  color: #4a4a4a;
}

/* Párrafo destacado - Para intro text */
.p-lead {
  font-family: var(--font-text);
  font-weight: var(--font-regular);
  font-size: clamp(1.125rem, 2.25vw, 1.375rem); /* 18px - 22px */
  line-height: var(--lh-relaxed);
  letter-spacing: var(--ls-normal);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  color: #333333;
}

/* Párrafo pequeño - Para disclaimers, footer */
.p-small {
  font-family: var(--font-text);
  font-weight: var(--font-regular);
  font-size: clamp(0.875rem, 1.25vw, 0.9375rem); /* 14px - 15px */
  line-height: var(--lh-normal);
  letter-spacing: var(--ls-normal);
  color: #666666;
}

/* ========================================
   ELEMENTOS ESPECIALES
   ======================================== */
/* Quote/Testimonial */
blockquote {
  font-family: var(--font-text);
  font-weight: var(--font-regular);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  line-height: var(--lh-relaxed);
  font-style: italic;
  letter-spacing: var(--ls-normal);
  color: #333333;
  border-left: 4px solid #0066cc;
  padding-left: clamp(1rem, 2.5vw, 2rem);
  margin: clamp(1.5rem, 3vw, 2.5rem) 0;
}

/* Stats/Números destacados */
.stat-number {
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  font-size: clamp(2.5rem, 6vw, 4.5rem); /* 40px - 72px */
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: #0066cc;
}

.stat-label {
  font-family: var(--font-text);
  font-weight: var(--font-medium);
  font-size: clamp(0.875rem, 1.5vw, 1rem); /* 14px - 16px */
  line-height: var(--lh-normal);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: #666666;
}

/* ========================================
   UTILIDADES RESPONSIVE
   ======================================== */
/* Para móviles muy pequeños */
@media (max-width: 375px) {
  :root {
    --lh-tight: 1.15;
    --lh-normal: 1.45;
  }
}
/* Para tablets */
@media (min-width: 768px) and (max-width: 1024px) {
  .h1-hero {
    font-size: clamp(3.5rem, 6vw, 4.5rem);
  }
}
/* Para pantallas grandes */
@media (min-width: 1440px) {
  h1 {
    font-size: 4rem;
  }
  h2 {
    font-size: 3rem;
  }
  h3 {
    font-size: 2.25rem;
  }
  .h1-hero {
    font-size: 5.5rem;
  }
}
/* ========================================
   NOTAS DE IMPLEMENTACIÓN
   ======================================== */
/*
COLORES SUGERIDOS BASADOS EN ANÁLISIS:
- Primary Text: #1a1a1a (casi negro)
- Secondary Text: #4a4a4a (gris oscuro)
- Muted Text: #666666 (gris medio)
- Brand Color: #0066cc (azul profesional)

JERARQUÍA RECOMENDADA:
- H1 Hero: Página principal, landing pages
- H1: Títulos de sección principales
- H2: Subtítulos importantes, títulos de servicios
- H3: Subsecciones, títulos de proyectos
- H4: Títulos de subsecciones menores
- H5: Títulos de componentes
- H6: Labels, categorías

USO DE CLAMP():
- Primer valor: tamaño mínimo (móvil)
- Segundo valor: tamaño fluido (responsive)
- Tercer valor: tamaño máximo (desktop grande)
*/
/* apps/gap/static/gap/css/navigation.css */
/* Estilos para la navegación usando Bootstrap y sistema de diseño GAP */
/* Sobrescribir clases de Bootstrap */
.navbar-toggler {
  border: none !important;
  padding: 0 !important;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

/* Main Navigation */
.navbar {
  background-color: var(--bg-primary) !important;
  border-bottom: 1px solid var(--border-color-light);
  padding: 0 !important;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 2vw 3vw 2vw 5vw;
}

.nav-logo img {
  height: 80px;
  width: auto;
  transition: all 0.3s ease;
}

.nav-logo:hover img {
  transform: scale(1.05);
}

/* Desktop Navigation */
.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--bs-gray-600);
  font-family: var(--font-text);
  font-weight: var(--font-medium);
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  position: relative;
}

.nav-links a:hover {
  color: var(--color-primary);
  transform: translateY(-1px);
}

.nav-links a i {
  font-size: 0.9rem;
  color: var(--color-primary);
  transition: all 0.2s ease;
}

/* Mobile Burger */
.navbar-toggler {
  width: 30px;
  height: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  background: transparent;
  border: none;
  cursor: pointer;
}

.burger-line {
  width: 25px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 10px;
  transition: all 0.3s ease;
  transform-origin: 1px;
}

.navbar-toggler[aria-expanded=true] .burger-line:first-child {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded=true] .burger-line:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded=true] .burger-line:nth-child(3) {
  transform: rotate(-45deg);
}

/* Mobile Navigation Content */
.mobile-nav-content {
  background-color: var(--bg-primary);
  padding: 1.5rem;
  border-top: 1px solid var(--border-color-light);
  display: none;
}

.mobile-contact-info {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color-light);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-text);
  font-size: 0.9rem;
}

.contact-item i {
  color: var(--color-primary);
  width: 16px;
}

/* Mobile Language Selector - Versión súper discreta */
.mobile-language-selector {
  margin-bottom: 0.75rem;
  text-align: center;
}

.language-options {
  display: inline-flex;
  background: var(--color-gray-100);
  border-radius: 20px;
  padding: 0.125rem;
  gap: 0.125rem;
}

.language-options .language-form {
  margin: 0;
}

.language-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.25rem 0.75rem;
  border-radius: 16px;
  font-family: var(--font-text);
  font-size: 0.7rem;
  font-weight: var(--font-regular);
  cursor: pointer;
  transition: all 0.3s ease;
}

.language-btn:hover {
  color: var(--text-secondary);
}

.language-btn.active {
  background-color: var(--color-white);
  color: var(--color-primary);
  font-weight: var(--font-medium);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-text);
  font-weight: var(--font-medium);
  font-size: 1.1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.mobile-nav-link:hover {
  background-color: var(--color-primary-ultra-light);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.mobile-nav-link i {
  color: var(--color-primary);
  font-size: 1.2rem;
  width: 20px;
}

/* Responsive ajustes */
@media (max-width: 767px) {
  .nav-container {
    height: 150px;
    padding: 0 1rem;
  }
  .nav-logo img {
    height: 100px;
  }
  .mobile-nav-content {
    display: block;
  }
}
.upper-nav .form-select {
  cursor: pointer;
}

.rupper {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Desktop Dropdown Styles */
.nav-dropdown {
  position: relative;
}
.nav-dropdown .nav-link-with-dropdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: var(--font-text);
  font-weight: var(--font-medium);
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  transition: all 0.3s ease;
  padding: 0.75rem;
  border-radius: 8px;
}
.nav-dropdown .nav-link-with-dropdown:hover {
  color: var(--color-primary);
}
.nav-dropdown .dropdown-arrow {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}
.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}
.nav-dropdown .nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  padding: 25px 0 20px;
  background: var(--dropdown-bg);
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}
.nav-dropdown .nav-dropdown-menu i {
  color: white !important;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown .nav-dropdown-item {
  display: flex;
  text-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  color: white;
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: 1.1px;
  font-weight: 400;
}
.nav-dropdown .nav-dropdown-item i {
  color: var(--color-primary-ultra-light);
  color: var(--dropdown-bg);
}
.nav-dropdown .nav-dropdown-item i:hover {
  color: var(--color-primary);
  color: #434371;
}
.nav-dropdown .nav-dropdown-item:hover {
  background-color: var(--color-primary-ultra-light);
  color: var(--color-primary);
  color: var(--dropdown-bg);
}
.nav-dropdown .nav-dropdown-item:hover i {
  color: var(--color-primary) !important;
}

/* Mobile Submenu Styles */
.mobile-nav-item-with-submenu {
  margin-bottom: 0.5rem;
}

.mobile-nav-toggle {
  cursor: pointer;
}

.mobile-submenu-arrow {
  transition: transform 0.3s ease;
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: var(--color-gray-50);
  border-radius: 8px;
  margin-top: 0.5rem;
}
.mobile-submenu.show {
  max-height: 300px;
}

.mobile-submenu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.mobile-submenu-item.mobile-submenu-main {
  font-weight: var(--font-medium);
  color: var(--color-primary);
  border-bottom: 1px solid var(--border-color-light);
}
.mobile-submenu-item:hover {
  background-color: var(--color-primary-ultra-light);
  color: var(--color-primary);
}

/**
 * Upper Navigation - Diseño Moderno y Reorganizado
 * Todos los iconos a la derecha, banderas externas, diseño limpio
 */
/* ========================================
   UPPER NAV - ESTRUCTURA PRINCIPAL
   ======================================== */
.upper-nav {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-bottom: 1px solid var(--border-color-light);
  height: 36px; /* Cambiar de 48px a 36px */
  font-size: 0.85rem;
  position: relative;
  z-index: 1030;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
@media (max-width: 767.98px) {
  .upper-nav {
    display: none !important;
  }
}

.upper-nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ========================================
   LEFT SIDE - SOLO TEXTO LIMPIO
   ======================================== */
.upper-nav-left {
  flex: 1;
}

.contact-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-text);
  font-weight: var(--font-medium);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.contact-phone,
.contact-email {
  transition: var(--transition-fast);
}
.contact-phone:hover,
.contact-email:hover {
  color: var(--color-primary);
}

.contact-separator {
  color: var(--border-color);
  font-weight: bold;
}

/* ========================================
   RIGHT SIDE - TODOS LOS ICONOS
   ======================================== */
.upper-nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-divider {
  width: 1px;
  height: 20px;
  background-color: var(--border-color-light);
  opacity: 0.6;
}

/* Contact Icons */
.contact-icons {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; /* Cambiar de 36px a 28px */
  height: 28px; /* Cambiar de 36px a 28px */
  border-radius: 6px; /* Cambiar de 8px a 6px */
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid transparent;
}
.contact-icon i {
  font-size: 0.8rem; /* Cambiar de 0.95rem a 0.8rem */
}
.contact-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--border-color);
}
.contact-icon.phone:hover {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  border-color: var(--color-primary-ultra-light);
}
.contact-icon.email:hover {
  background: linear-gradient(135deg, #28a745, #1e7e34);
  color: white;
  border-color: var(--color-primary);
}
.contact-icon.whatsapp:hover {
  background: linear-gradient(135deg, #25d366, #20b954);
  color: white;
  border-color: #25d366;
}

/* Social Icons */
.social-icons {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px; /* Cambiar de 32px a 26px */
  height: 26px; /* Cambiar de 32px a 26px */
  border-radius: 50%;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-color-light);
}
.social-icon i {
  font-size: 0.75rem; /* Cambiar de 0.85rem a 0.75rem */
}
.social-icon:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.social-icon.facebook:hover {
  background: linear-gradient(135deg, #1877f2, #165cd4);
  color: white;
  border-color: #1877f2;
}
.social-icon.instagram:hover {
  background: linear-gradient(135deg, #e4405f, #bc1888);
  color: white;
  border-color: #e4405f;
}
.social-icon.linkedin:hover {
  background: linear-gradient(135deg, #0077b5, #005582);
  color: white;
  border-color: #0077b5;
}

/* ========================================
   LANGUAGE SELECTOR MODERNO
   ======================================== */
.language-selector-modern {
  position: relative;
}

.language-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  transition: var(--transition-fast);
  overflow: hidden;
}
.language-wrapper:hover {
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(93, 163, 160, 0.15);
}

.language-flag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  background: var(--color-primary-ultra-light);
  border-right: 1px solid var(--border-color-light);
}

.language-select-modern {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 0.25rem 1.5rem 0.25rem 0.5rem; /* Cambiar padding vertical de 0.5rem a 0.25rem */
  font-size: 0.75rem; /* Cambiar de 0.8rem a 0.75rem */
  font-family: var(--font-text);
  font-weight: var(--font-medium);
  cursor: pointer;
  min-width: 80px; /* Cambiar de 90px a 80px */
}
.language-select-modern:focus {
  outline: none;
}

.language-chevron {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: transform 0.3s ease;
}

.language-wrapper:hover .language-chevron {
  transform: translateY(-50%) rotate(180deg);
}

/* ========================================
   ADMIN DROPDOWN MODERNO
   ======================================== */
.admin-dropdown-modern {
  position: relative;
}

.admin-toggle-modern {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.375rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-muted);
  padding: 0.1rem 0.6rem;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.75rem;
  min-width: 60px;
}
.admin-toggle-modern i:first-child {
  font-size: 0.8rem;
}
.admin-toggle-modern svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform 0.3s ease;
}
.admin-toggle-modern:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(93, 163, 160, 0.15);
}
.admin-toggle-modern.active {
  border-color: var(--color-primary);
  background: var(--color-primary-ultra-light);
  color: var(--color-primary);
}
.admin-toggle-modern.active svg {
  transform: rotate(180deg);
}

.admin-dropdown-menu-modern {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  min-width: 320px;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px);
  transition: var(--transition-fast);
  z-index: 1040;
  overflow: hidden;
}
.admin-dropdown-menu-modern.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.admin-dropdown-menu-modern::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 20px;
  width: 16px;
  height: 16px;
  background: white;
  border: 1px solid var(--border-color);
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
}

.admin-menu-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem 0.75rem;
  background: var(--color-primary-ultra-light);
  color: var(--color-primary);
  font-family: var(--font-text);
  font-weight: var(--font-semibold);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-color-light);
}
.admin-menu-header i {
  font-size: 1rem;
}

.admin-menu-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-fast);
  border-bottom: 1px solid var(--color-gray-100);
}
.admin-menu-item:last-child {
  border-bottom: none;
}
.admin-menu-item i {
  font-size: 1rem;
  color: var(--color-primary);
  width: 20px;
  flex-shrink: 0;
}
.admin-menu-item .item-content {
  flex: 1;
}
.admin-menu-item .item-title {
  font-family: var(--font-text);
  font-weight: var(--font-medium);
  font-size: 0.85rem;
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.2rem;
}
.admin-menu-item .item-desc {
  font-family: var(--font-text);
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}
.admin-menu-item:hover {
  background: var(--color-primary-ultra-light);
}
.admin-menu-item:hover .item-title {
  color: var(--color-primary);
}
.admin-menu-item.logout {
  color: #dc3545;
}
.admin-menu-item.logout i {
  color: #dc3545;
}
.admin-menu-item.logout:hover {
  background: rgba(220, 53, 69, 0.1);
}

.admin-menu-divider {
  height: 1px;
  background: var(--border-color-light);
  margin: 0.5rem 0;
}

/* Login Icon */
.login-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; /* Cambiar de 36px a 28px */
  height: 28px; /* Cambiar de 36px a 28px */
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}
.login-icon i {
  font-size: 0.8rem; /* Cambiar de 0.9rem a 0.8rem */
}
.login-icon:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-ultra-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(93, 163, 160, 0.15);
}

/* ========================================
   TOOLTIPS CORRECTOS - Aparecen hacia ABAJO
   ======================================== */
[data-tooltip] {
  position: relative;
}
[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 12px); /* ABAJO del elemento */
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gray-900);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: var(--font-medium);
  font-family: var(--font-text);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}
[data-tooltip]::after {
  content: "";
  position: absolute;
  top: calc(100% + 4px); /* Flecha apunta hacia arriba */
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-bottom-color: var(--color-gray-900); /* Flecha hacia arriba */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
  pointer-events: none;
}
[data-tooltip]:hover::before, [data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Desktop Language Flags */
.language-flag-desktop {
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
  border: 1px solid var(--border-color-light);
}

.flag-img-desktop {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Ajustar padding del select para la bandera */
.language-select-modern {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.4rem 2rem 0.4rem 3rem; /* Más espacio para la bandera */
  font-size: 0.8rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
  min-width: 130px;
  font-family: var(--font-text);
  font-weight: var(--font-medium);
}
.language-select-modern:hover {
  border-color: var(--color-primary);
}
.language-select-modern:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-ultra-light);
}

.flag-img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 0.5rem;
}

/* ========================================
   LANGUAGE PICKER COMPONENT
   ======================================== */
.language-picker {
  display: inline-block;
  position: relative;
}

.language-picker__form {
  display: none;
}

.language-picker__button {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-muted);
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.75rem;
  min-width: 60px;
}
.language-picker__button .language-picker__label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.language-picker__button svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}
.language-picker__button:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(93, 163, 160, 0.15);
}
.language-picker__button[aria-expanded=true] {
  border-color: var(--color-primary);
  background: var(--color-primary-ultra-light);
  color: var(--color-primary);
}

.language-picker__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 0.5rem 0;
  z-index: 1040;
  visibility: hidden;
  opacity: 0;
  transition: all 0.2s ease;
}
.language-picker__dropdown--right {
  right: 0;
  left: auto;
}
.language-picker__dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 16px;
  width: 12px;
  height: 12px;
  background: white;
  border: 1px solid var(--border-color);
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
}

.language-picker__button[aria-expanded=true] + .language-picker__dropdown {
  visibility: visible;
  opacity: 1;
}

.language-picker__item {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.8rem;
}
.language-picker__item:hover {
  background: var(--color-primary-ultra-light);
}
.language-picker__item[aria-selected=true] {
  background: var(--color-primary);
  color: white;
}

.language-picker__flag {
  display: flex;
  align-items: center;
}
.language-picker__flag::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-right: 0.5rem;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.language-picker__flag--es::before {
  background-image: url("/static/gap/img/mx_flag.png");
}

.language-picker__flag--en::before {
  background-image: url("/static/gap/img/us_flag.png");
}

.language-picker--hide-label .language-picker__button em {
  display: none;
}

.language-picker--flags .language-picker__flag::before {
  display: inline-block;
}

.language-picker ul {
  padding-left: 0;
}

.language-picker__dropdown {
  height: 80px;
}

/* ========================================
   MOBILE NAV FIX - Funcional y Simple
   ======================================== */
/* FORZAR que solo sea visible en móvil */
@media (min-width: 768px) {
  .navbar-collapse,
  .mobile-nav-content,
  #mobileNav {
    display: none !important;
  }
}
/* Solo visible en móvil */
@media (max-width: 767.98px) {
  .mobile-nav-content {
    display: block !important;
  }
  .hero-carousel-wrapper {
    height: auto !important;
  }
}
/* Solo visible en móvil */
@media (max-width: 767.98px) {
  /* Asegurar que funcione el collapse de Bootstrap */
  .mobile-nav-content {
    background: white;
    padding: 1.5rem;
    display: block !important; /* Override Bootstrap */
  }
  /* Quick Actions Grid */
  .mobile-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--color-gray-50);
    border-radius: 12px;
  }
  .quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    background: white;
    border: 1px solid var(--border-color-light);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.8rem;
    font-weight: var(--font-medium);
  }
  .quick-action i {
    font-size: 1.2rem;
  }
  .quick-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
  }
  .quick-action.call i {
    color: #007bff;
  }
  .quick-action.call:hover {
    border-color: #007bff;
    background: rgba(0, 123, 255, 0.05);
  }
  .quick-action.whatsapp i {
    color: #25d366;
  }
  .quick-action.whatsapp:hover {
    border-color: #25d366;
    background: rgba(37, 211, 102, 0.05);
  }
  .quick-action.email i {
    color: #28a745;
  }
  .quick-action.email:hover {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
  }
  /* Language Selector Simple */
  .mobile-language-simple {
    position: relative;
    margin-bottom: 2rem;
  }
  .lang-current {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--color-primary-ultra-light);
    border: 1px solid var(--color-primary);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-fast);
  }
  .lang-current:hover, .lang-current.active {
    background: var(--color-primary);
    color: white;
  }
  .lang-current:hover .lang-arrow, .lang-current.active .lang-arrow {
    color: white;
  }
  .lang-current.active .lang-arrow {
    transform: rotate(180deg);
  }
  .lang-code {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    font-weight: var(--font-bold);
    font-size: 0.75rem;
  }
  .lang-current:hover .lang-code,
  .lang-current.active .lang-code {
    background: white;
  }
  .lang-name {
    flex: 1;
    font-weight: var(--font-semibold);
    color: var(--color-primary);
  }
  .lang-arrow {
    color: var(--color-primary);
    transition: transform 0.3s ease;
  }
  .lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-fast);
    z-index: 100;
    overflow: hidden;
  }
  .lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .lang-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: var(--transition-fast);
  }
  .lang-item:hover {
    background: var(--color-primary-ultra-light);
  }
  .lang-item .lang-code {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }
  .lang-item .lang-name {
    color: var(--text-primary);
    font-weight: var(--font-medium);
  }
  .lang-item .lang-flag-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
  }
  /* Main Nav Links - Mejorado */
  .mobile-nav-links {
    margin-bottom: 2rem;
  }
  .mobile-nav-link {
    display: flex !important;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem !important;
    margin-bottom: 0.5rem !important;
    background: white !important;
    border: 1px solid var(--border-color-light) !important;
    border-radius: 10px !important;
    color: var(--text-primary) !important;
    text-decoration: none;
    transition: var(--transition-fast);
    font-weight: var(--font-semibold) !important;
    font-size: 1rem !important;
  }
  .mobile-nav-link i:first-child {
    color: var(--color-primary) !important;
    font-size: 1.1rem !important;
    width: 24px;
    text-align: center;
  }
  .mobile-nav-link span {
    flex: 1;
  }
  .mobile-nav-link i:last-child {
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
  }
  .mobile-nav-link:hover {
    background: var(--color-primary-ultra-light) !important;
    border-color: var(--color-primary) !important;
    color: var(--color-primary) !important;
    transform: translateX(4px);
  }
  .mobile-nav-link:hover i:last-child {
    transform: translateX(4px);
    color: var(--color-primary);
  }
  /* Mobile Footer */
  .mobile-footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color-light);
  }
  .mobile-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: white;
    border: 2px solid var(--border-color-light);
    border-radius: 50%;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
  }
  .social-link i {
    font-size: 1.1rem;
  }
  .social-link:hover {
    transform: translateY(-2px);
    color: white;
  }
  .social-link:nth-child(1):hover { /* Facebook */
    background: #1877f2;
    border-color: #1877f2;
  }
  .social-link:nth-child(2):hover { /* Instagram */
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
  }
  .social-link:nth-child(3):hover { /* LinkedIn */
    background: #0077b5;
    border-color: #0077b5;
  }
  .mobile-admin {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .admin-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--color-primary-ultra-light);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.9rem;
    font-weight: var(--font-medium);
  }
  .admin-link i {
    color: var(--color-primary);
    width: 16px;
  }
  .admin-link:hover {
    background: var(--color-primary);
    color: white;
  }
  .admin-link:hover i {
    color: white;
  }
  .admin-link.logout {
    color: #dc3545;
  }
  .admin-link.logout i {
    color: #dc3545;
  }
  .admin-link.logout:hover {
    background: #dc3545;
    color: white;
  }
  .admin-link.logout:hover i {
    color: white;
  }
}
/* ========================================
   TOAST NOTIFICATIONS
   ======================================== */
.toast-container {
  z-index: 1060 !important;
}

.toast {
  min-width: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  font-family: var(--font-text);
}
.toast-header {
  font-weight: var(--font-medium);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.toast-body {
  font-size: 0.9rem;
  line-height: var(--lh-normal);
}
.toast.text-bg-success {
  background-color: var(--color-success) !important;
  color: var(--color-white) !important;
}
.toast.text-bg-danger {
  background-color: var(--color-error) !important;
  color: var(--color-white) !important;
}
.toast.text-bg-warning {
  background-color: var(--color-warning) !important;
  color: var(--color-gray-900) !important;
}
.toast.text-bg-primary {
  background-color: var(--color-primary) !important;
  color: var(--color-white) !important;
}

/* ========================================
   LOADER OVERLAY
   ======================================== */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.loader-overlay.show {
  opacity: 1;
  visibility: visible;
}

.loader-content {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  min-width: 200px;
}

.loader-text {
  color: var(--text-primary);
  font-family: var(--font-text);
  font-weight: var(--font-medium);
  font-size: 1rem;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 0.3em;
}
.spinner-border.text-primary {
  color: var(--color-primary) !important;
}
.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.15em;
}

/* ========================================
   BUTTON LOADERS
   ======================================== */
.btn .spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.15em;
}
.btn:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

/* ========================================
   FORM STATES
   ======================================== */
.form-loading {
  position: relative;
  overflow: hidden;
}
.form-loading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ========================================
   PROGRESS BARS
   ======================================== */
.upload-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-gray-200);
  z-index: 1050;
  overflow: hidden;
}
.upload-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  width: 0%;
  transition: width 0.3s ease;
  position: relative;
}
.upload-progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .toast {
    min-width: 250px;
    margin: 0 1rem;
  }
  .loader-content {
    margin: 0 1rem;
    padding: 1.5rem;
  }
  .toast-container {
    width: 100%;
    padding: 1rem !important;
  }
}
/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .loader-overlay,
  .toast,
  .upload-progress-bar {
    transition: none;
  }
  .upload-progress-bar::after {
    animation: none;
  }
}
/* ========================================
   FOOTER ULTRA COMPACTO
   ======================================== */
.footer-compact {
  font-size: 1rem;
}

/* Layout Principal - 2 Columnas: Logo+Contacto | Menús */
.footer-main {
  background: var(--footer-bg);
  padding: 1.5rem 3vw;
  border-top: 4px solid var(--color-primary);
}

.footer-grid-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 768px) {
  .footer-grid-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Columna Izquierda - Logo y Contacto */
.footer-left .footer-logo {
  margin-bottom: 1.5rem;
  margin-top: 3vh;
}
.footer-left .footer-logo img {
  width: 100%;
  max-width: 200px;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
@media (max-width: 768px) {
  .footer-left .footer-logo {
    margin-bottom: 1rem;
    text-align: center;
  }
  .footer-left .footer-logo img {
    max-width: 160px;
  }
}

/* Contacto en Stack Vertical */
.contact-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (max-width: 768px) {
  .contact-stack {
    align-items: center;
  }
}
.contact-stack .contact-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  color: var(--color-primary);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.contact-stack .contact-btn i {
  font-size: 0.9rem;
}
.contact-stack .contact-btn:hover {
  background: var(--color-primary-ultra-light);
  color: var(--color-primary);
  transform: translateX(2px);
}
@media (max-width: 768px) {
  .contact-stack .contact-btn {
    justify-content: center;
    min-width: 200px;
  }
}

/* Columna Derecha - Menús - VOLVER A 3 COLUMNAS PERO BIEN RESPONSIVE */
.footer-right .footer-menus-grid {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1.8fr;
  gap: 2.5rem;
}
@media (max-width: 1024px) {
  .footer-right .footer-menus-grid {
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 1.5rem;
  }
}
@media (max-width: 768px) {
  .footer-right .footer-menus-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
}

/* Columnas de Menú - Simplificado y limpio */
.footer-menu-col {
  /* Estilos específicos por columna */
}
.footer-menu-col .menu-title {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-secondary);
  margin: 0 0 0.75rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 768px) {
  .footer-menu-col .menu-title {
    text-align: center;
    margin-bottom: 1rem;
  }
}
.footer-menu-col .menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
@media (max-width: 768px) {
  .footer-menu-col .menu-links {
    align-items: center;
    gap: 0.5rem;
  }
}
.footer-menu-col .menu-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--bs-gray-400);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.2rem 0;
  transition: all 0.2s ease;
  line-height: 1.3;
}
.footer-menu-col .menu-link i {
  font-size: 0.8rem;
  color: var(--color-secondary);
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}
.footer-menu-col .menu-link:hover {
  color: var(--color-secondary);
  transform: translateX(3px);
}
.footer-menu-col .menu-link.menu-link-all {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
  color: var(--color-primary);
}
.footer-menu-col .menu-link.menu-link-all:hover {
  color: var(--color-primary);
}
@media (max-width: 768px) {
  .footer-menu-col .menu-link {
    justify-content: center;
    font-size: 0.9rem;
    padding: 0.3rem 0;
  }
  .footer-menu-col .menu-link:hover {
    transform: translateY(-1px);
  }
}
.footer-menu-col:nth-child(1) .menu-link {
  font-size: 0.85rem;
}
.footer-menu-col:nth-child(2) .menu-link {
  font-size: 0.85rem;
}
.footer-menu-col:nth-child(3) .menu-link {
  font-size: 0.8rem;
  line-height: 1.2;
}
@media (min-width: 769px) {
  .footer-menu-col:nth-child(3) .menu-link {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .footer-menu-col:nth-child(3) .menu-link:hover {
    white-space: normal;
    overflow: visible;
    position: relative;
    z-index: 10;
    background: var(--footer-bg);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }
}
@media (max-width: 768px) {
  .footer-menu-col:nth-child(3) .menu-link {
    white-space: normal;
    text-align: center;
    max-width: 280px;
    font-size: 0.85rem;
  }
}

/* Layout principal - ajuste del grid padre */
.footer-grid-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) {
  .footer-grid-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

/* Contacto - stack más compacto */
.contact-stack {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}
@media (max-width: 768px) {
  .contact-stack {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }
}
.contact-stack .contact-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  color: var(--color-primary);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.contact-stack .contact-btn i {
  font-size: 0.9rem;
}
.contact-stack .contact-btn:hover {
  background: var(--color-primary-ultra-light);
  color: var(--color-primary);
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .contact-stack .contact-btn {
    justify-content: center;
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
}

/* Estadísticas Mini */
.footer-stats {
  background: var(--footer-bg);
  padding: 0.75rem 3vw;
  border-top: 2px solid var(--color-primary);
}

.stats-mini {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 0.5rem;
}
@media (max-width: 768px) {
  .stats-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
}
@media (max-width: 480px) {
  .stats-mini {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-mini {
  text-align: center;
  color: white;
}
.stat-mini .stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.3rem;
  color: var(--color-primary);
}
@media (max-width: 768px) {
  .stat-mini .stat-num {
    font-size: 1.5rem;
  }
}
.stat-mini .stat-txt {
  display: block;
  font-size: 0.6rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .stat-mini .stat-txt {
    font-size: 0.55rem;
  }
}

/* Footer Bottom Ultra Compacto */
.footer-bottom {
  background: var(--color-gray-50);
  border-top: 1px solid var(--border-color-light);
  padding: 0.5rem 3vw;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (max-width: 768px) {
  .footer-bottom-row {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

.copyright {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin: 0;
}

/* Redes Sociales Mini */
.social-mini {
  display: flex;
  gap: 0.5rem;
}
.social-mini a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: white;
  border: 1px solid var(--border-color-light);
  border-radius: 50%;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}
.social-mini a i {
  font-size: 0.7rem;
}
.social-mini a:hover {
  color: white;
  transform: translateY(-1px);
}
.social-mini a:hover:nth-child(1) {
  background: #1877f2;
  border-color: #1877f2;
}
.social-mini a:hover:nth-child(2) {
  background: #e4405f;
  border-color: #e4405f;
}
.social-mini a:hover:nth-child(3) {
  background: #0077b5;
  border-color: #0077b5;
}

/* Enlaces Legales */
.legal-links {
  display: flex;
  gap: 0.75rem;
}
.legal-links a {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-decoration: none;
}
.legal-links a:hover {
  color: var(--color-primary);
}
@media (max-width: 768px) {
  .legal-links {
    order: -1;
  }
}

/* Información del Desarrollador */
.developer-info {
  display: flex;
  gap: 0.5rem;
}
.developer-info a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-decoration: none;
}
.developer-info a:hover {
  color: var(--color-primary);
}
.developer-info .dev-logo {
  width: 55px;
  height: auto;
}
.developer-info .dev-logo img {
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  margin-bottom: 0.3rem;
}

/* Responsive Ultra Compacto */
@media (max-width: 768px) {
  .footer-main {
    padding: 1.25rem 0;
  }
  .footer-compact {
    font-size: 0.9rem;
  }
}
@media (max-width: 576px) {
  .footer-main {
    padding: 1rem 0;
  }
  .footer-stats {
    padding: 0.5rem 0;
  }
  .footer-bottom {
    padding: 0.75rem 0;
  }
  .footer-bottom-row {
    gap: 0.5rem;
  }
  .social-mini a {
    width: 20px;
    height: 20px;
  }
  .social-mini a i {
    font-size: 0.6rem;
  }
}
body {
  font-family: var(--font-text);
  font-weight: var(--font-regular);
  font-size: 1rem;
  line-height: 1.6;
  background: rgba(255, 255, 255, 0.98);
  background: var(--projects-header-bg);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  width: 100vw;
  overflow-x: hidden;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin-bottom: 1.5rem;
  text-wrap: balance;
  position: relative;
  background: linear-gradient(135deg, var(--color-gray-900) 0%, var(--color-primary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ========================================
   CTA SECTION (mantener igual)
   ======================================== */
.projects-cta {
  background: linear-gradient(135deg, var(--color-gray-900) 0%, var(--color-gray-800) 100%);
  padding: clamp(4rem, 8vw, 6rem) 0;
  text-align: center;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-contrast-dark) 0%, var(--color-contrast) 100%);
  color: var(--color-white);
}
.projects-cta .cta-content {
  max-width: 600px;
  margin: 0 auto;
}
.projects-cta .cta-content h2 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}
.projects-cta .cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: var(--lh-relaxed);
  margin-bottom: 3rem;
}
.projects-cta .cta-content .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.projects-cta .cta-content .cta-buttons .btn {
  padding: 1rem 2rem;
  font-weight: var(--font-semibold);
  font-size: 1rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-normal);
  white-space: nowrap;
  border: 1px solid white;
}
.projects-cta .cta-content .cta-buttons .btn.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}
.projects-cta .cta-content .cta-buttons .btn.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.projects-cta .cta-content .cta-buttons .btn.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}
.projects-cta .cta-content .cta-buttons .btn.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-gray-900);
  transform: translateY(-2px);
}/*# sourceMappingURL=styles.css.map */