/* ========================================
   VARIABLES CSS - TEMA CLARO Y OSCURO
======================================== */

:root, [data-bs-theme="light"] {
  /* Colores Corporativos Matys */
  --bs-primary: #003366;        /* Azul Marino */
  --bs-secondary: #FFD700;      /* Amarillo Dorado */
  --bs-accent: #001f3f;         /* Azul Oscuro para acentos */
  --bs-light: #FFFFFF;          /* Blanco */
  --bs-dark: #1a1a1a;           /* Negro suave */
  
  /* Colores de énfasis */
  --bs-primary-rgb: 0, 51, 102;
  --bs-secondary-rgb: 255, 215, 0;
  --bs-emphasis-color: var(--bs-light);
  
  /* Tipografía */
  --bs-font-serif: 'Playfair Display', serif;
  --bs-font-sans-serif: 'Montserrat', sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  
  /* Colores de texto */
  --bs-body-color: #2c3e50;
  --bs-body-bg: #ffffff;
  --bs-secondary-color: rgba(44, 62, 80, 0.75);
  --bs-tertiary-color: rgba(44, 62, 80, 0.5);
  
  /* Fondos */
  --bs-secondary-bg: #f8f9fa;
  --bs-tertiary-bg: #e9ecef;
  
  /* Enlaces */
  --bs-link-color: var(--bs-primary);
  --bs-link-hover-color: var(--bs-secondary);
  
  /* Bordes */
  --bs-border-color: #dee2e6;
  --bs-primary-border-subtle: rgba(0, 51, 102, 0.3);
  --bs-secondary-border-subtle: rgba(255, 215, 0, 0.3);
}

[data-bs-theme="dark"] {
  color-scheme: dark;
  
  /* Colores Corporativos - Modo Oscuro */
  --bs-primary: #FFD700;        /* Amarillo en oscuro */
  --bs-secondary: #4a90e2;      /* Azul más claro */
  --bs-accent: #ffa500;         /* Naranja dorado */
  
  --bs-primary-rgb: 255, 215, 0;
  --bs-secondary-rgb: 74, 144, 226;
  
  /* Colores de texto */
  --bs-body-color: #e8e6e3;
  --bs-body-bg: #1a1a1a;
  --bs-secondary-color: rgba(232, 230, 227, 0.75);
  --bs-tertiary-color: rgba(232, 230, 227, 0.5);
  
  /* Fondos */
  --bs-secondary-bg: #2d2d2d;
  --bs-tertiary-bg: #3a3a3a;
  --bs-emphasis-color: #000;
  
  /* Bordes */
  --bs-border-color: #495057;
  --bs-primary-border-subtle: rgba(255, 215, 0, 0.3);
  --bs-secondary-border-subtle: rgba(74, 144, 226, 0.3);
}

/* ========================================
   ESTILOS GLOBALES
======================================== */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--bs-font-sans-serif);
  color: var(--bs-body-color);
  background: var(--bs-body-bg);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.enc {
  font-family: var(--bs-font-serif);
  font-weight: 600;
}

::selection {
  background: var(--bs-primary);
  color: var(--bs-light);
}

/* ========================================
   BOTONES
======================================== */

.btn {
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-bg: var(--bs-secondary);
  --bs-btn-hover-border-color: var(--bs-secondary);
  --bs-btn-hover-color: var(--bs-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.6rem 1.8rem;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3);
}

.btn-secondary {
  --bs-btn-bg: var(--bs-secondary);
  --bs-btn-border-color: var(--bs-secondary);
  --bs-btn-color: var(--bs-dark);
  --bs-btn-hover-bg: var(--bs-primary);
  --bs-btn-hover-color: var(--bs-white);
}

/* ========================================
   HEADER / NAVBAR
======================================== */

.head-blur {
  background-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: all 0.5s ease;
  padding-right: 1rem;
  padding-left: 1rem;
}

.head-blur.scrolled {
  background-color: rgba(var(--bs-body-bg-rgb, 255, 255, 255), 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

/* Enlaces del navbar */
.nav-link {
  position: relative;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--bs-secondary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.nav-link:hover::after,
.nav-link.activo::after {
  transform: scaleX(1);
}

.nav-link.activo {
  color: var(--bs-primary) !important;
}

/* Toggle tema */
.toggle-color-mode-button {
  --bs-btn-color: var(--bs-body-color) !important;
}

.toggle-color-mode-button:hover {
  transform: rotate(20deg);
}

/* ========================================
   HERO SECTION
======================================== */

.hero-section {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.overlay {
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.7), rgba(255, 215, 0, 0.3));
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.header-text {
  z-index: 10;
}

.header-text h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  animation: raise-up 0.8s ease-out forwards;
  opacity: 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.header-text p {
  animation: raise-up 0.8s ease-out forwards 0.2s;
  opacity: 0;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
}

.header-text a {
  animation: raise-up 0.8s ease-out forwards 0.4s;
  opacity: 0;
}

/* ========================================
   SECCIONES CON EFECTOS
======================================== */

.section-flow {
  position: relative;
  overflow: hidden;
}

.section-flow::before,
.section-flow::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}

.section-flow::before {
  background: radial-gradient(circle, var(--bs-primary), transparent 70%);
  top: 10%;
  left: 5%;
}

.section-flow::after {
  background: radial-gradient(circle, var(--bs-secondary), transparent 70%);
  bottom: 10%;
  right: 5%;
}

/* ========================================
   TARJETAS DE PRODUCTOS
======================================== */

.product-card {
  transition: all 0.3s ease;
  border: 1px solid var(--bs-border-color);
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 51, 102, 0.15);
}

.product-card img {
  transition: transform 0.5s ease;
}

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

/* ========================================
   ANIMACIONES
======================================== */

@keyframes raise-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pop-up {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.pop-img {
  transform: scale(0);
  animation: pop-up 0.8s ease-out forwards;
}

.pop-img.intersecting {
  animation: pop-up 0.8s ease-out forwards;
}

/* ========================================
   BOTÓN WHATSAPP FLOTANTE
======================================== */

.btn-whatsapp {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: pop-up 1s ease-out;
}

.btn-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  background: #20ba5a;
}

/* ========================================
   FOOTER
======================================== */



footer * {
  color: text-body-secondary ;
}

footer .text-white-50 {
  color: rgba(255, 255, 255, 0.6) ;
}

footer a {
  color: rgba(255, 255, 255, 0.6) !important;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--bs-secondary) !important;
}

footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -50px;
  transform: translateX(-50%);
  width: 60%;
  height: 100px;
  background: radial-gradient(circle, var(--bs-primary), transparent 70%);
  filter: blur(80px);
  opacity: 0.2;
  z-index: -1;
}

.border-lg-end {
  border-right: none;
}

@media (min-width: 992px) {
  .border-lg-end {
    border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
  }
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 767px) {
  .navbar-collapse {
    margin-top: 1rem;
    background-color: rgba(var(--bs-body-bg-rgb, 255, 255, 255), 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 8px;
  }

  .head-blur.scrolled .navbar-collapse {
    background-color: transparent;
    backdrop-filter: none;
    box-shadow: none;
  }

  .navbar-collapse a {
    color: var(--bs-body-color) !important;
  }
}

@media (min-width: 768px) {
  header {
    padding-right: 3rem !important;
    padding-left: 3rem !important;
  }

  .section-flow::before,
  .section-flow::after {
    width: 400px;
    height: 400px;
  }
}

@media (min-width: 992px) {
  .section-flow::before {
    left: 10%;
  }
  
  .section-flow::after {
    right: 10%;
  }
}

/* ========================================
   UTILIDADES PERSONALIZADAS
======================================== */

.text-gradient {
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   PÁGINA DE PRENDAS
======================================== */

/* Búsqueda flotante */
.search-container {
  position: fixed;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  top: 100px;
  right: 30px;
  z-index: 999;
  padding: 0;
}

.search-button {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: none;
  transition: all 0.3s ease;
  color: var(--bs-primary);
}

.search-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  background: var(--bs-primary);
  color: white;
}

.search-box {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 0.5rem 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  width: 250px;
}

.search-box input {
  background: transparent !important;
  outline: none;
}

.search-box input:focus {
  box-shadow: none !important;
}

/* Tabs personalizados */
.nav-tabs {
  border-bottom: 3px solid var(--bs-secondary);
}

.nav-tabs .nav-link {
  color: var(--bs-primary);
  font-weight: 600;
  border: none;
  padding: 1rem 2rem;
  transition: all 0.3s ease;
  background: transparent;
}

.nav-tabs .nav-link:hover {
  color: var(--bs-secondary);
  background: transparent;
  border-color: transparent;
}

.nav-tabs .nav-link.active {
  color: white;
  background: var(--bs-primary);
  border-radius: 8px 8px 0 0;
  border-color: transparent;
}

.nav-tabs .nav-link i {
  transition: transform 0.3s ease;
}

.nav-tabs .nav-link:hover i {
  transform: scale(1.2);
}

/* Cards de productos */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card .img-container {
  overflow: hidden;
  height: 350px;
  min-height: 350px;
  max-height: 350px;
  background: #f8f9fa;
}

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

.product-card .card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.5rem;
}

.product-card .card-title {
  margin-bottom: 0.5rem;
}

.product-card .card-text {
  margin-bottom: 1rem;
  flex-grow: 1;
}

.product-card .d-flex.justify-content-between {
  margin-top: auto;
}

/* Badge de categoría */
.badge-cat {
  background: var(--bs-secondary);
  color: var(--bs-primary);
  font-size: 0.75rem;
  padding: 0.4rem 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 20px;
}

/* Animaciones de productos */
.products-grid > div {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.products-grid > div:nth-child(1) { animation-delay: 0.1s; }
.products-grid > div:nth-child(2) { animation-delay: 0.2s; }
.products-grid > div:nth-child(3) { animation-delay: 0.3s; }
.products-grid > div:nth-child(4) { animation-delay: 0.4s; }
.products-grid > div:nth-child(5) { animation-delay: 0.5s; }
.products-grid > div:nth-child(6) { animation-delay: 0.6s; }
.products-grid > div:nth-child(7) { animation-delay: 0.7s; }
.products-grid > div:nth-child(8) { animation-delay: 0.8s; }
.products-grid > div:nth-child(9) { animation-delay: 0.9s; }

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

/* Tema oscuro para prendas */
[data-bs-theme="dark"] .search-button {
  background: rgba(var(--bs-secondary-bg-rgb), 0.95);
  color: var(--bs-secondary);
}

[data-bs-theme="dark"] .search-button:hover {
  background: var(--bs-secondary);
  color: var(--bs-primary);
}

[data-bs-theme="dark"] .search-box {
  background: rgba(var(--bs-secondary-bg-rgb), 0.95);
}

/* ========================================
   PÁGINA DE DETALLE DE PRENDA
======================================== */

/* Imagen principal */
.main-image {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease;
}

/* Miniaturas */
.thumbnail {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.thumbnail:hover {
  border-color: var(--bs-primary);
  transform: scale(1.05);
  opacity: 0.8;
}

.thumbnail.active {
  border-color: var(--bs-primary);
  transform: scale(1.05);
}

/* Precio del producto */
.product-price {
  font-size: 2.5rem;
  color: var(--bs-primary);
  font-weight: 700;
}

/* Badge de stock */
.badge-stock {
  background: #28a745;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
}

/* Selector de tallas */
.size-selector {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.size-btn {
  width: 60px;
  height: 60px;
  border: 2px solid var(--bs-primary);
  background: white;
  color: var(--bs-primary);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.size-btn:hover {
  background: var(--bs-primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 51, 102, 0.2);
}

.size-btn.active {
  background: var(--bs-primary);
  color: white;
  transform: translateY(-3px);
}

/* Selector de colores */
.color-btn {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.color-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.color-btn.active {
  border-color: var(--bs-primary);
  transform: scale(1.1);
}

.color-btn.active::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

/* Productos relacionados */
.related-products .product-card {
  transition: transform 0.3s ease;
}

.related-products .product-card:hover {
  transform: translateY(-8px);
}

/* Responsive detalle */
@media (max-width: 992px) {
  .main-image {
    height: 400px;
  }
  
  .product-price {
    font-size: 2rem;
  }
  
  .size-btn {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 576px) {
  .main-image {
    height: 300px;
  }
  
  .thumbnail {
    height: 80px;
  }
  
  .product-price {
    font-size: 1.75rem;
  }

}

.contact-menu-container {
    background-color: #ffffff;
    border: 1px solid #ccc;
    box-shadow: 0 32px 52px rgba(255, 0, 0, 0.1);
    padding: 20px 0;
    border-radius: 6px;
    /* Para replicar el efecto de menú contextual flotante */
    position: relative;
    left: 25%;
    width: 50%;
    align-items: center;
}



/* Cada opción de contacto (Email, Phone, etc.) */
.contact-option {
    padding: 0 0;
    cursor: pointer;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    transition: background-color 0.15s ease;
    overflow: hidden; /* Oculta el contenido extra */
}



/* Encabezado de la opción (Icono, Nombre, Flecha) */
.option-header {
    display: flex;
    align-items: center;
    padding: 10px 20px;
}



/* Estilo del icono (Email, Phone, etc.) */
.icon {
    font-size: 1.1rem;
    width: 25px; /* Para alinear verticalmente */
    text-align: center;
    color: #f7b32d; /* Color amarillo similar al de la imagen */
}

/* Colores específicos para iconos (opcional) */
.fa-phone {
    color: #5cb85c;
}

.skype-icon {
    color: #00aff0;
}

.telegram-icon {
    color: #0088cc;
}

/* Flecha de expansión */
.arrow {
    font-size: 0.7rem;
    color: #666;
    transition: transform 0.3s ease;
}

/* Rotación de la flecha cuando la opción está activa/abierta */
.contact-option.active .arrow {
    transform: rotate(180deg);
}

/* Detalles de contacto (el contenido que se despliega) */
.option-details {
    max-height: 0; /* Inicialmente oculto */
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #fafafa;
}

/* Estilos de los detalles cuando la opción está activa */
.contact-option.active .option-details {
    max-height: 100px; /* Suficientemente grande para el contenido */
    padding: 10px 20px;
    border-top: 1px solid #eee;
}

.option-details p {
    margin: 0;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;

}
/*////// CSS DE LA PAGINA DE CONTACTO ////*/
.contact-container {
        max-width: 600px;
        margin: 0 auto;
        padding: 80px 30px 60px;
    }
    
    .social-section {
        background: linear-gradient(135deg, #003366, #0055AA);
        border-radius: 20px;
        padding: 40px;
        color: white;
        margin-top: 30px;
    }
    
    .social-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        margin-top: 30px;
    }
    
    .social-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        transition: all 0.3s ease;
        text-decoration: none;
        color: white;
        margin: 0 auto;
    }
    
    .social-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        color: white;
    }
    
    .youtube-btn {
        background: linear-gradient(135deg, #d40000, #ffffff);
    }
    
    .facebook-btn {
        background: linear-gradient(135deg, #1877F2, #4267B2);
    }
    
    .instagram-btn {
        background: linear-gradient(135deg, #E4405F, #C13584, #833AB4);
    }
    
    .tiktok-btn {
        background: linear-gradient(135deg, #000000, #69C9D0);
    }
    
    .btn-whatsapp-hero {
        background: linear-gradient(135deg, #25D366, #128C7E);
        border-radius: 50px;
        font-size: 1.2rem;
        padding: 1rem 2.5rem;
        border: none;
        color: white;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-block;
    }
    
    .btn-whatsapp-hero:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
        color: white;
    }
    
    .form-control, .form-select {
        border-radius: 10px;
        border: 2px solid #e0e0e0;
        padding: 12px 20px;
    }
    
    .form-control:focus, .form-select:focus {
        border-color: #003366;
        box-shadow: 0 0 0 0.2rem rgba(0,51,102,0.25);
    }
    
    .btn-enviar {
        background: linear-gradient(135deg, #003366, #0055AA);
        border: none;
        color: white;
        padding: 15px 40px;
        border-radius: 10px;
        font-weight: bold;
        transition: all 0.3s;
    }
    
    .btn-enviar:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(0,51,102,0.3);
        background: linear-gradient(135deg, #0055AA, #003366);
    }
    
    /* Responsive */
    @media (max-width: 576px) {
        .social-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }
        
        .contact-container {
            padding: 60px 20px 40px;
        }
        
        .btn-whatsapp-hero {
            font-size: 1rem;
            padding: 0.8rem 1.5rem;
        }
}
 /*exta trayectoria*/
 <style>
    /* Hero específico de trayectoria */
    .hero-trayectoria {
        background: linear-gradient(135deg, rgba(0,51,102,0.85), rgba(255,215,0,0.3)), 
                    url('../images/trayectoriaV.jpg') no-repeat center center/cover;
        background-attachment: fixed;
        min-height: 60vh;
    }
    
    /* Cards de características */
    .feature-card {
        background: white;
        border-radius: 15px;
        padding: 2rem;
        box-shadow: 0 8px 24px rgba(0, 51, 102, 0.1);
        transition: all 0.3s ease;
        height: 100%;
        border-left: 4px solid var(--bs-primary);
    }
    
    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 32px rgba(0, 51, 102, 0.2);
        border-left-color: var(--bs-secondary);
    }
    
    .feature-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    /* Cards de Misión/Visión */
    .mission-vision-card {
        background: linear-gradient(135deg, rgba(0,51,102,0.05), rgba(255,215,0,0.05));
        border-radius: 20px;
        padding: 2.5rem;
        height: 100%;
        border: 2px solid transparent;
        transition: all 0.3s ease;
    }
    
    .mission-vision-card:hover {
        border-color: var(--bs-primary);
        transform: scale(1.02);
        box-shadow: 0 10px 30px rgba(0, 51, 102, 0.15);
    }
    
    .mission-vision-card .card-title {
        color: var(--bs-primary);
        font-size: 2rem;
        margin-bottom: 1.5rem;
        position: relative;
        display: inline-block;
    }
    
    .mission-vision-card .card-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 60px;
        height: 3px;
        background: var(--bs-secondary);
    }
    
/* Carrusel personalizado */
.carousel-trabajos {
    padding: 3rem 0;
}

.carousel-trabajos .carousel-inner {
    border-radius: 20px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.05);
}

/* ✅ NO uses display: flex aquí - interfiere con Bootstrap */
.carousel-trabajos .carousel-item {
    height: 500px;
    text-align: center;
    position: relative;
}

/* ✅ Centra las imágenes usando position absolute */
.carousel-trabajos .carousel-item img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 480px;
    max-width: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: var(--bs-primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: -80px;
}

.carousel-control-next {
    right: -80px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bs-secondary);
    opacity: 0.5;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    opacity: 1;
    transform: scale(1.3);
}
    /* Historia section */
    .historia-section {
        padding: 5rem 0;
    }
    
    .historia-image {
        border-radius: 20px;
        box-shadow: 0 10px 40px rgba(0, 51, 102, 0.2);
        transition: transform 0.3s ease;
    }
    
    .historia-image:hover {
        transform: scale(1.05) rotate(2deg);
    }
    
    /* Timeline años */
    .years-badge {
        display: inline-block;
        background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
        color: white;
        padding: 1rem 2rem;
        border-radius: 50px;
        font-size: 1.5rem;
        font-weight: bold;
        margin: 2rem 0;
        box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
    }
    
/* Responsive */
@media (max-width: 992px) {
    .carousel-trabajos .carousel-item {
        height: 400px;
    }
    
    .carousel-trabajos .carousel-item img {
        max-height: 380px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .carousel-trabajos .carousel-item {
        height: 300px;
    }
    
    .carousel-trabajos .carousel-item img {
        max-height: 280px;
    }
}
/* Responsive para tabs de contacto */
@media (max-width: 576px) {
    .nav-tabs {
        flex-direction: column;
        border-bottom: none;
    }
    
    .nav-tabs .nav-link {
        border: 1px solid var(--bs-border-color);
        border-radius: 8px;
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    .nav-tabs .nav-link.active {
        background: var(--bs-primary);
        color: white;
        border-color: var(--bs-primary);
    }
    
    .contact-container {
        padding: 60px 15px 40px;
    }
    
    .btn-whatsapp-hero {
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
    }
    
    .card-body {
        padding: 1.5rem !important;
    }
}