        :root {
            --color-logo: #bd1d12;
            /*--color-primary: #2e7d32;*/
            --color-primary: #000000;
            --color-secondary: #43a047;
            --color-accent: #e22b2b;
            --color-dark: #750404;
            --color-button: #ffc107;
            --color-light-bg: #f8fff8;
            --color-light-secondary: #e8f5e8;
        }

        * {
            font-display: swap;
        }
        
        .btn-primary-custom {
            background-color: var(--color-button);
            color: var(--color-primary);
            border: none;
            padding: 12px 30px;
            font-weight: bold;
            border-radius: 30px;
            transition: all 0.3s;
        }
        
        .btn-primary-custom:hover {
            background-color: #ffca2c;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        .btn-whatsapp {
            background-color: #25D366;
            color: white;
            border: none;
            padding: 12px 25px;
            font-weight: bold;
            border-radius: 30px;
            transition: all 0.3s;
        }
        
        .btn-whatsapp:hover {
            background-color: #128C7E;
            transform: translateY(-3px);
        }
        
        .section-title {
            color: var(--color-primary);
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 40px;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background-color: var(--color-logo);
        }
        
        .bg-primary-custom {
            background-color: var(--color-primary) !important;
        }
        
        .bg-light-custom {
            background-color: var(--color-light-bg) !important;
        }
        
        .bg-light-secondary {
            background-color: var(--color-light-secondary) !important;
        }
        
        .text-logo {
            color: var(--color-logo) !important;
        }
        
        .text-primary-custom {
            color: var(--color-primary) !important;
        }
        
        .card-product {
            border: none;
            border-radius: 15px;
            transition: all 0.3s;
            overflow: hidden;
            border: 2px solid var(--color-light-secondary);
        }
        
        .card-product:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(106, 13, 173, 0.15);
            border-color: var(--color-secondary);
        }
        
        /*Hero*/
      
/* Hero Section con Carrusel */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-carousel-item.active {
    opacity: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 2;
}



/* Contenedor del contenido */
.hero-section .container {
    position: relative;
    z-index: 3;
}

/* Indicadores del carrusel */
.hero-carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicator.active {
    background: white;
    transform: scale(1.2);
}

.hero-indicator:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Botones de navegación */
.hero-carousel-prev,
.hero-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 4;
    backdrop-filter: blur(5px);
}

.hero-carousel-prev {
    left: 20px;
}

.hero-carousel-next {
    right: 20px;
}

.hero-carousel-prev:hover,
.hero-carousel-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: translateY(-50%) scale(1.1);
}

/* Efectos de texto */
.hero-section h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-section .btn {
    animation: fadeInUp 1s ease-out 0.6s both;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-section .btn-primary-custom {
    background: var(--color-logo);
    border: 2px solid var(--color-logo);
}

.hero-section .btn-primary-custom:hover {
    background: transparent;
    border-color: white;
    transform: translateY(-2px);
}

.hero-section .btn-whatsapp {
    background: #25D366;
    border: 2px solid #25D366;
    color: white;
}

.hero-section .btn-whatsapp:hover {
    background: transparent;
    border-color: white;
    transform: translateY(-2px);
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-carousel-prev,
    .hero-carousel-next {
        width: 40px;
        height: 40px;
    }
    
    .hero-carousel-prev {
        left: 10px;
    }
    
    .hero-carousel-next {
        right: 10px;
    }
    
    .hero-carousel-indicators {
        bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 70vh;
        min-height: 400px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .hero-section .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}        

/* Añade esto a tu archivo style.css */

/* Transiciones mejoradas para el carrusel */
.hero-carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.hero-carousel-item.active {
    opacity: 1;
    z-index: 2;
}

/* Mejoras para las imágenes del carrusel */
.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Asegurar que el overlay esté por encima de las imágenes pero debajo del contenido */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 3; /* Por encima de las imágenes pero debajo del contenido */
}

/* El contenido debe tener el z-index más alto */
.hero-section .container {
    position: relative;
    z-index: 4;
}
        
        /*Fin hero*/       
        
.quality-badge {
    color: var(--color-logo);
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 8px;
}

.quality-badge::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-logo);
}
        
/* Estilos para la sección de contacto */
.contact-info-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
}

.hover-primary:hover {
    color: var(--color-logo) !important;
    transition: color 0.3s ease;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    color: white;
}

.btn-primary-custom {
    background-color: var(--color-logo);
    color: white;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--color-logo);
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: white;
}

/* Estilos para los enlaces de contacto */
.contact-info-box a:hover p {
    color: var(--color-logo) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-info-box {
        padding: 1.5rem;
    }
    
    .btn-whatsapp,
    .btn-primary-custom {
        padding: 0.75rem 1rem;
    }
}

/* Estilos para el formulario horizontal */
#cotizacionForm .form-label {
    color: var(--color-logo);
    font-size: 0.95rem;
}

#cotizacionForm .form-control,
#cotizacionForm .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

#cotizacionForm .form-control:focus,
#cotizacionForm .form-select:focus {
    border-color: var(--color-logo);
    box-shadow: 0 0 0 0.2rem rgba(26, 54, 93, 0.1);
}

/* Responsive para móviles */
@media (max-width: 767.98px) {
    #cotizacionForm .col-md-4 {
        margin-bottom: 0.5rem;
    }
    
    #cotizacionForm .form-label {
        font-size: 0.9rem;
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 575.98px) {
    #cotizacionForm .form-control,
    #cotizacionForm .form-select {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
}
        
        .navbar-brand {
            font-weight: 700;
        }
        
        .feature-icon {
            width: 70px;
            height: 70px;
            background-color: rgba(106, 13, 173, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
        }
        
        .feature-icon i {
            font-size: 30px;
            color: var(--color-logo);
        }
        
        .nav-link {
            color: white !important;
            font-weight: 500;
            transition: color 0.3s;
        }
        
        .nav-link:hover {
            color: var(--color-button) !important;
        }
        
        .stats-section {
            background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark) 100%);
        }
        
        .stat-number {
            font-size: 3rem;
            font-weight: bold;
            color: var(--color-button);
        }
        
        .accent-border {
            border-left: 4px solid var(--color-logo);
        }
        
.process-step {
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
}

.process-step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--color-logo);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 2;
}

.process-image {
    margin-bottom: 25px;
    text-align: center;
}

.process-image img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.process-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Línea conectadora entre pasos */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    bottom: -40px;
    width: 2px;
    background: var(--color-logo);
    opacity: 0.3;
    z-index: 1;
}

/* Responsive */
@media (max-width: 991px) {
    .process-step {
        padding-left: 70px;
        margin-bottom: 35px;
    }
    
    .process-step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .process-step:not(:last-child)::after {
        left: 25px;
        bottom: -35px;
    }
    
    .process-image img {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .process-step {
        padding-left: 60px;
        margin-bottom: 30px;
    }
    
    .process-step-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .process-step:not(:last-child)::after {
        left: 22.5px;
        bottom: -30px;
    }
    
    .process-image {
        margin-bottom: 20px;
    }
    
    .process-image img {
        height: 140px;
    }
}

@media (max-width: 576px) {
    .process-image img {
        height: 120px;
    }
}      
        
        .stats-section {
            background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark) 100%);
            color: white;
            padding: 80px 0;
        }
        
        .stat-number {
            font-size: 3rem; /* Manteniendo el tamaño original */
            font-weight: bold;
            color: var(--color-button); /* Color amarillo original */
            margin-bottom: 10px;
        }
        
        .counter {
            font-size: 3rem; /* Mismo tamaño que stat-number original */
            font-weight: bold;
            color: var(--color-button); /* Color amarillo */
            margin-bottom: 10px;
        }
        
        .stat-item {
            padding: 15px;
        }

/* Estilos para el navbar mejorado */
.bg-primary-custom {
    background-color: #000000 !important;
}

.navbar {
    min-height: 75px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar-brand {
    font-weight: 700;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.6rem 1.3rem !important;
    margin: 0 0.2rem;
}

.nav-link:hover {
    color: #f8b500 !important;
}

.logo-circle {
    width: 45px !important;
    height: 45px !important;
}

/* Contenedor del logo */
.logo-container {
    display: flex;
    align-items: center;
}

/* Logo responsive */
.navbar-logo {
    height: 50px; /* Altura fija */
    width: auto;  /* Ancho automático mantiene proporción */
    max-width: 200px; /* Máximo ancho */
    object-fit: contain; /* Garantiza que toda la imagen sea visible */
}

/* Ajustes progresivos para móviles */
@media (max-width: 768px) {
    .navbar-logo {
        height: 45px;
        max-width: 180px;
    }
}

@media (max-width: 637px) {
    .navbar-logo {
        height: 40px;
        max-width: 160px;
    }
}

@media (max-width: 570px) {
    .navbar-logo {
        height: 35px;
        max-width: 140px;
    }
}

@media (max-width: 480px) {
    .navbar-logo {
        height: 30px;
        max-width: 120px;
    }
}

@media (max-width: 375px) {
    .navbar-logo {
        height: 25px;
        max-width: 100px;
    }
}



/* Botón WhatsApp */
.whatsapp-btn {
    background-color: #25D366;
    color: white !important;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: white !important;
}

/* Menú centrado */
.navbar-collapse {
    justify-content: center;
}

/* Para dispositivos móviles */
@media (max-width: 991px) {
    .navbar-collapse {
        text-align: center;
        margin-top: 1rem;
    }
    
    .whatsapp-btn {
        margin-top: 1rem;
        justify-content: center;
        width: 100%;
        max-width: 200px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .nav-link {
        padding: 0.8rem 1rem !important;
    }
}