/* ========================================
   IMPORTACIÓN DE MÓDULOS CSS
   ======================================== */
@import url('_body.css');
@import url('_nav.css');
@import url('_formulario.css');
@import url('_footer.css');
@import url('_cat-producto.css');
@import url('_mantenimiento.css');

/* ========================================
   VARIABLES GLOBALES
   ======================================== */
:root {
    --color-blue: #589BD2;
    --color-dark: #333F50;
    --color-green: #94C353;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --font-family: 'Montserrat', sans-serif;
}

/* ========================================
   SLIDER SECTION
   ======================================== */
.slider-section {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Control de imágenes por dispositivo */
.desktop-image {
    display: block;
}

.mobile-image {
    display: none;
}

/* Gradiente para desktop - lateral derecho oscuro */
.slide-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

/* Wrapper para el contenido */
.slide-content-wrapper {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Contenido del slide alineado a la derecha - DESKTOP */
.slide-content-right {
    text-align: right;
    max-width: 500px;
    /* Centrado vertical y horizontal en el lado derecho */
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(50%);
    width: 100%;
    max-width: 500px;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: slideInRight 0.8s ease-out;
}

.slide-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-green);
    margin-bottom: 1rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    animation: slideInRight 0.8s ease-out 0.2s both;
}

.slide-description {
    font-size: 1.2rem;
    color: var(--color-white);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    animation: slideInRight 0.8s ease-out 0.4s both;
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--color-green);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(148, 195, 83, 0.3);
    animation: slideInRight 0.8s ease-out 0.6s both;
}

.slide-btn:hover {
    background: var(--color-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(148, 195, 83, 0.4);
}

.slide-btn svg {
    transition: transform 0.3s ease;
}

.slide-btn:hover svg {
    transform: translateX(5px);
}

/* Controles del slider */
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--color-green);
    transform: scale(1.1);
}

.slider-prev svg,
.slider-next svg {
    color: var(--color-white);
}

/* Indicadores */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--color-green);
    transform: scale(1.2);
}

/* Animaciones */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   RESPONSIVE SLIDER - MÓVIL
   ======================================== */
@media (max-width: 768px) {
    .slider-section {
        height: 500px;
    }
    
    /* Cambiar imágenes para móvil */
    .desktop-image {
        display: none;
    }
    
    .mobile-image {
        display: block;
    }
    
        /* GRADIENTE VERTICAL INVERTIDO PARA MÓVIL - Arriba claro, Abajo oscuro */
    .slide-background::after {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.05) 10%,
            rgba(0, 0, 0, 0.1) 20%,
            rgba(0, 0, 0, 0.3) 40%,
            rgba(0, 0, 0, 0.6) 70%,
            rgba(0, 0, 0, 0.8) 90%,
            rgba(0, 0, 0, 0.9) 100%
        );
    }
    
    /* CONTENIDO EN LA PARTE INFERIOR PARA MÓVIL */
    .slide-content-wrapper {
        justify-content: center;
        align-items: flex-end;
        padding-bottom: 50px;
        height: 100%;
    }
    
    .slide-content-right {
        text-align: center;
        margin-right: 0;
        max-width: 80%;
        
    }
    
    .slide-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .slide-subtitle {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .slide-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .slide-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .slider-indicators {
        bottom: 20px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    /* Ocultar controles en móvil */
    .slider-controls {
        display: none;
    }
}

@media (max-width: 480px) {
    .slider-section {
        height: 450px;
    }
    
    .slide-content-wrapper {
        padding-bottom: 150px;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .slide-subtitle {
        font-size: 1.1rem;
    }
    
    .slide-description {
        font-size: 0.9rem;
    }
    
    .slide-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* ========================================
   PRODUCTS CATEGORY SECTION
   ======================================== */
.products-category-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.products-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.category-item {
    background: var(--color-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.category-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.category-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.category-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-item:hover .category-image img {
    transform: scale(1.1);
}

.category-title {
    padding: 25px 20px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0;
    line-height: 1.3;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.category-item:hover .category-title {
    color: var(--color-green);
}

.category-item.empty {
    background: transparent;
    border: none;
    box-shadow: none;
}

.category-item.empty:hover {
    transform: none;
    box-shadow: none;
}

/* ========================================
   RESPONSIVE PRODUCTS CATEGORY
   ======================================== */
@media (max-width: 1200px) {
    .products-category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .products-category-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .products-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .category-image {
        height: 180px;
    }
    
    .category-title {
        padding: 20px 15px;
        font-size: 1rem;
        min-height: 60px;
    }
}

@media (max-width: 768px) {
    .products-category-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .products-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .category-image {
        height: 160px;
    }
    
    .category-title {
        padding: 15px 12px;
        font-size: 0.95rem;
        min-height: 55px;
    }
}

@media (max-width: 576px) {
    .products-category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .category-image {
        height: 200px;
    }
    
    .category-title {
        padding: 20px 15px;
        font-size: 1.1rem;
        min-height: auto;
    }
    
    .category-item.empty {
        display: none;
    }
}

@media (max-width: 480px) {
    .products-category-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .products-category-grid {
        max-width: 300px;
    }
    
    .category-image {
        height: 180px;
    }
    
    .category-title {
        padding: 18px 12px;
        font-size: 1rem;
    }
}

/* Efectos adicionales */
.category-item {
    position: relative;
    overflow: hidden;
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(148, 195, 83, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-item:hover::before {
    left: 100%;
}

/* Animaciones de entrada */
.category-item {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

/* Retrasos escalonados para las animaciones */
.category-item:nth-child(1) { animation-delay: 0.1s; }
.category-item:nth-child(2) { animation-delay: 0.2s; }
.category-item:nth-child(3) { animation-delay: 0.3s; }
.category-item:nth-child(4) { animation-delay: 0.4s; }
.category-item:nth-child(5) { animation-delay: 0.5s; }
.category-item:nth-child(6) { animation-delay: 0.6s; }
.category-item:nth-child(7) { animation-delay: 0.7s; }
.category-item:nth-child(8) { animation-delay: 0.8s; }
.category-item:nth-child(9) { animation-delay: 0.9s; }
.category-item:nth-child(10) { animation-delay: 1.0s; }
.category-item:nth-child(11) { animation-delay: 1.1s; }
.category-item:nth-child(12) { animation-delay: 1.2s; }
.category-item:nth-child(13) { animation-delay: 1.3s; }
.category-item:nth-child(14) { animation-delay: 1.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   NOTICIAS SECTION
   ======================================== */
.news-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.news-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 50px;
    position: relative;
}

.news-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--color-green);
    border-radius: 2px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.news-card {
    background: var(--color-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.news-features {
    margin: 15px 0;
}

.news-features strong {
    display: block;
    color: var(--color-dark);
    margin-bottom: 8px;
    font-size: 14px;
}

.news-features ul {
    margin: 0;
    padding-left: 20px;
}

.news-features li {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 5px;
}

.news-button-container {
    margin-top: auto;
    padding-top: 20px;
    text-align: right;
}

.news-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--color-green);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(148, 195, 83, 0.3);
}

.news-btn:hover {
    background-color: var(--color-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(148, 195, 83, 0.4);
}

/* ========================================
   RESPONSIVE STYLES GENERALES
   ======================================== */
@media (max-width: 1200px) {
    .slide-content-wrapper {
        padding: 0 60px;
    }
    
    .slide-content {
        max-width: 550px;
    }
    
    .slide-title {
        font-size: 42px;
    }
    
    .slide-description {
        font-size: 18px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .news-grid {
        gap: 30px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-card-title {
        font-size: 18px;
    }
}

@media (max-width: 1024px) {
    .slide-content-wrapper {
        padding: 0 50px;
    }
    
    .slide-content {
        max-width: 500px;
    }
    
    .slide-title {
        font-size: 38px;
    }
    
    .slide-description {
        font-size: 17px;
    }
    
    .slider-arrow {
        width: 45px;
        height: 45px;
    }
    
    .slider-arrow.prev {
        left: 20px;
    }
    
    .slider-arrow.next {
        right: 20px;
    }
    
    .dropdown-menu {
        width: 700px;
    }
    
    .dropdown-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* VISTA MÓVIL - CONTENIDO EN LA PARTE INFERIOR */
@media (max-width: 768px) {
    .slider-section {
        height: 600px;
    }
    
    .slide-bg {
        display: none;
    }
    
    .slide-bg-mobile {
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
    }
    
    .slide-overlay {
        background: linear-gradient(to bottom, 
            rgba(255,255,255,0.05) 0%, 
            rgba(255,255,255,0.02) 20%, 
            rgba(0,0,0,0.3) 50%, 
            rgba(0,0,0,0.7) 80%, 
            rgba(0,0,0,0.9) 100%);
    }
    
    /* CONTENIDO SLIDER MÓVIL - PARTE INFERIOR */
    .slide-content-wrapper {
        align-items: flex-end;
        justify-content: center;
        padding: 0 20px 100px 20px;
    }
    
    .slide-content {
        max-width: 100%;
        text-align: center;
        padding: 30px;
    }
    
    .slide-title {
        font-size: 32px;
        margin-bottom: 20px;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.9);
        line-height: 1.2;
    }
    
    .slide-description {
        font-size: 18px;
        margin-bottom: 30px;
        text-shadow: 1px 1px 6px rgba(0,0,0,0.9);
        line-height: 1.4;
    }
    
    .slide-btn {
        padding: 14px 35px;
        font-size: 16px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .slider-arrow.prev {
        left: 15px;
    }
    
    .slider-arrow.next {
        right: 15px;
    }
    
    .slider-indicators {
        bottom: 30px;
    }
    
    /* CATEGORÍAS RESPONSIVE */
    .categories-section {
        padding: 60px 0;
    }
    
    .categories-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .category-image {
        height: 160px;
    }
    
    .category-name {
        padding: 15px;
        font-size: 16px;
    }
    
    .show-all-btn {
        padding: 14px 35px;
        font-size: 15px;
    }
    
    /* NOTICIAS RESPONSIVE */
    .news-section {
        padding: 60px 0;
    }
    
    .news-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-card-title {
        font-size: 18px;
    }
    
    .news-excerpt {
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-card-title {
        font-size: 18px;
    }
    
    .news-btn {
        padding: 9px 22px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .slider-section {
        height: 550px;
    }
    
    .slide-content-wrapper {
        padding: 0 15px 80px 15px;
    }
    
    .slide-content {
        padding: 25px;
    }
    
    .slide-title {
        font-size: 26px;
        margin-bottom: 15px;
    }
    
    .slide-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .slide-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
    }
    
    .slider-indicators {
        bottom: 25px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    /* CATEGORÍAS RESPONSIVE */
    .categories-section {
        padding: 50px 0;
    }
    
    .categories-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .category-image {
        height: 140px;
    }
    
    .category-name {
        padding: 12px;
        font-size: 15px;
    }
    
    .show-all-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    /* NOTICIAS RESPONSIVE */
    .news-section {
        padding: 50px 0;
    }
    
    .news-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .news-grid {
        gap: 20px;
    }
    
    .news-image {
        height: 160px;
    }
    
    .news-content {
        padding: 18px;
    }
    
    .news-card-title {
        font-size: 17px;
        margin-bottom: 12px;
    }
    
    .news-excerpt {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .news-features {
        margin: 12px 0;
    }
    
    .news-button-container {
        padding-top: 15px;
    }
    
    .news-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
}

/* Mejora para pantallas muy grandes */
@media (min-width: 1400px) {
    .slide-content-wrapper {
        padding: 0 120px;
    }
    
    .slide-content {
        max-width: 700px;
    }
    
    .slide-title {
        font-size: 52px;
    }
    
    .slide-description {
        font-size: 22px;
    }
}

/* styles.css - Archivo principal */
@import url('_body.css');
@import url('_nav.css');
@import url('_formulario.css');
@import url('_footer.css');
@import url('_productos.css'); /* Asegúrate de que esta línea esté presente */

:root {
    --color-blue: #589BD2;
    --color-dark: #333F50;
    --color-green: #94C353;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --font-family: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================================================
   PAGINA PRODUCTOS IMPORTADOS
   ================================================== */
/* ========================================
   HERO SECTION - PRODUCTOS IMPORTADOS
   ======================================== */
.hero-products {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/Imagenes/PRODUCTOS\ PORTADA\ Ingenieria-Electrica.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(44, 62, 80, 0.9) 0%,
        rgba(52, 73, 94, 0.8) 50%,
        rgba(148, 195, 83, 0.3) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-breadcrumb a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.hero-breadcrumb a:hover {
    color: var(--color-green);
}

.breadcrumb-separator {
    margin: 0 12px;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-current {
    color: var(--color-green);
    font-weight: 600;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE HERO
   ======================================== */
@media (max-width: 1024px) {
    .hero-products {
        height: 60vh;
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hero-products {
        height: 50vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2.8rem;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-breadcrumb {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-products {
        height: 45vh;
        min-height: 350px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-breadcrumb {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .breadcrumb-separator {
        margin: 0 8px;
    }
}

/* Efectos de hover para interactividad */
.hero-products:hover .hero-background {
    transform: scale(1.05);
    transition: transform 8s ease-in-out;
}

.hero-background {
    transition: transform 4s ease-in-out;
}

/* ========================================
   CATEGORIES SECTION
   ======================================== */
.categories-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.category-card {
    background: var(--color-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.category-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-content {
    padding: 25px;
}

.category-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.category-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 0;
}

.category-list li::before {
    content: '•';
    color: var(--color-green);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.category-list a {
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 2px 0;
}

.category-list a:hover {
    color: var(--color-green);
    transform: translateX(5px);
}

.category-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--color-green);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    border: 2px solid var(--color-green);
}

.category-btn:hover {
    background: transparent;
    color: var(--color-green);
    transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE CATEGORIES
   ======================================== */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .categories-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .categories-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .category-content {
        padding: 20px;
    }
    
    .category-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .categories-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .category-image {
        height: 180px;
    }
    
    .category-content {
        padding: 15px;
    }
    
    .category-name {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .category-list a {
        font-size: 0.85rem;
    }
    
    .category-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* ========================================
   CATEGORY HERO SECTION
   ======================================== */
.category-hero {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    padding: 60px 0;
    color: var(--color-white);
}

.category-hero-content {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 40px;
    align-items: center;
}

.category-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.category-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.category-info h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-info p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   PRODUCTS GRID SECTION
   ======================================== */
.products-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.product-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-name {
    padding: 20px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
    text-align: center;
    line-height: 1.4;
    margin: 0;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-name br {
    display: block;
    margin: 4px 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .category-hero-content {
        gap: 30px;
    }
    
    .category-info h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .category-hero {
        padding: 50px 0;
    }
    
    .category-hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .category-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .category-image img {
        height: 200px;
    }
    
    .category-info h1 {
        font-size: 2.2rem;
    }
    
    .category-info p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .products-section {
        padding: 60px 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .category-hero {
        padding: 40px 0;
    }
    
    .category-info h1 {
        font-size: 2rem;
    }
    
    .category-info p {
        font-size: 1rem;
    }
    
    .product-image {
        height: 130px;
    }
    
    .product-name {
        padding: 15px 12px;
        font-size: 0.85rem;
        min-height: 70px;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .category-hero {
        padding: 30px 0;
    }
    
    .category-info h1 {
        font-size: 1.8rem;
    }
    
    .product-image {
        height: 120px;
    }
    
    .product-name {
        padding: 12px 10px;
        font-size: 0.8rem;
        min-height: 65px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .category-info h1 {
        font-size: 1.6rem;
    }
    
    .product-image {
        height: 150px;
    }
    
    .product-name {
        font-size: 0.9rem;
        min-height: auto;
    }
}

/* Animation for cards */
.product-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for grid items */
.products-grid .product-card:nth-child(1) { animation-delay: 0.1s; }
.products-grid .product-card:nth-child(2) { animation-delay: 0.2s; }
.products-grid .product-card:nth-child(3) { animation-delay: 0.3s; }
.products-grid .product-card:nth-child(4) { animation-delay: 0.4s; }
.products-grid .product-card:nth-child(5) { animation-delay: 0.5s; }
.products-grid .product-card:nth-child(6) { animation-delay: 0.6s; }


/* ========================================
   CATEGORY HERO SECTION
   ======================================== */
.category-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
}

.category-hero-grid {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 0;
    align-items: center;
    background: var(--color-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category-hero-image {
    height: 300px;
    overflow: hidden;
}

.category-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-hero-content {
    background: #6c757d;
    color: var(--color-white);
    padding: 40px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.9rem;
}

.category-breadcrumb a {
    color: var(--color-white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.category-breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-current {
    color: var(--color-green);
    font-weight: 600;
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */
.products-section {
    padding: 80px 0;
    background: var(--color-white);
}

.products-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.product-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px 15px;
    text-align: center;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 8px;
    line-height: 1.3;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-code {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .category-hero-grid {
        grid-template-columns: 1fr;
    }
    
    .category-hero-image {
        height: 250px;
    }
    
    .category-hero-content {
        height: auto;
        padding: 30px;
    }
    
    .category-hero-title {
        font-size: 2.2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .category-hero {
        padding: 40px 0;
    }
    
    .category-hero-title {
        font-size: 2rem;
    }
    
    .products-section {
        padding: 60px 0;
    }
    
    .products-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-image {
        height: 120px;
    }
    
    .product-info {
        padding: 15px 10px;
    }
    
    .product-name {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .category-hero-content {
        padding: 25px 20px;
    }
    
    .category-hero-title {
        font-size: 1.7rem;
    }
    
    .category-breadcrumb {
        font-size: 0.8rem;
    }
    
    .products-section {
        padding: 40px 0;
    }
    
    .products-title {
        font-size: 1.6rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
        gap: 15px;
    }
    
    .product-card {
        max-width: 280px;
        margin: 0 auto;
    }
}

/* Efectos adicionales */
.product-card:hover .product-name {
    color: var(--color-green);
}

.product-card:hover .product-code {
    background: rgba(148, 195, 83, 0.1);
    color: var(--color-green);
}