.productos-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.productos-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/productos-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 59, 92, 0.9) 0%, rgba(0, 102, 161, 0.8) 100%);
}

.productos-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 2rem;
}

.productos-hero h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.productos-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
}

.filters-section {
    background: var(--white);
    padding: 2rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.filters-bar {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.8rem;
    border: 2px solid #e0e0e0;
    background: var(--white);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn i {
    font-size: 1.1rem;
}

.filter-btn:hover {
    border-color: var(--secondary-blue);
    color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 161, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    border-color: var(--secondary-blue);
    box-shadow: 0 4px 15px rgba(0, 102, 161, 0.3);
}

.productos-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, var(--white) 100%);
}

.productos-category {
    margin-bottom: 5rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid #e0e0e0;
	max-width: 1200px;      
    margin-left: auto;      
    margin-right: auto;     
}

.category-badge {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    box-shadow: 0 8px 25px rgba(0, 102, 161, 0.3);
}

.category-badge i {
    font-size: 2.5rem;
    color: var(--white);
}

.category-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0.3rem 0 0 0;
}

.producto-card-large {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 3rem;
}

.producto-card-large:hover {
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.18);
    transform: translateY(-4px);
}

.producto-carousel {
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecef 100%);
    overflow: hidden;
    min-height: 450px;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: opacity 0.3s ease;
}

.producto-carousel:hover .carousel-slide.active img {
    opacity: 0.95;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 59, 92, 0.75);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.carousel-control:hover {
    background: var(--secondary-blue);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 102, 161, 0.4);
}

.carousel-control.prev {
    left: 1.5rem;
}

.carousel-control.next {
    right: 1.5rem;
}

.carousel-control i {
    font-size: 1.2rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--white);
    border-color: var(--secondary-blue);
    width: 32px;
    border-radius: 6px;
}

.producto-content-large {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.producto-title-large {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.producto-description-large {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.producto-description-large strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.specs-grid-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.spec-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8ecef 100%);
    padding: 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.spec-card:hover {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e9f1 100%);
    border-color: var(--secondary-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 161, 0.15);
}

.spec-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spec-icon i {
    font-size: 1.3rem;
    color: var(--white);
}

.spec-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.spec-label-large {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.spec-value-large {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.applications-section {
}

.applications-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-transform: uppercase;
}

.applications-title i {
    color: var(--secondary-blue);
}

.producto-tags-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.tag-large:nth-child(4),
.tag-large:nth-child(5) {
    grid-column: span 1;
}

.producto-tags-large {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag-large {
    flex: 1 1 calc(33.333% - 0.6rem);
    min-width: 150px;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e9f1 100%);
    color: var(--secondary-blue);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid rgba(0, 102, 161, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    justify-content: center;
}

.tag-large:hover {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 161, 0.3);
}

.tag-large i {
    font-size: 1.1rem;
}

.btn-cotizar-large {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #25D366 0%, #1ea952 100%);
    color: var(--white);
    border: none;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.btn-cotizar-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #1ea952 0%, #25D366 100%);
}

.btn-cotizar-large:active {
    transform: translateY(-2px);
}

.btn-cotizar-large i:first-child {
    font-size: 1.5rem;
}

.btn-cotizar-large i:last-child {
    font-size: 1.2rem;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 420px));
    gap: 2rem;
    justify-content: center;
}

.productos-grid .producto-card {
    width: 100%;
}

.producto-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.producto-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.producto-image {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecef 100%);
    overflow: hidden;
}

.producto-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

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

.producto-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-blue);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.producto-content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.producto-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.producto-description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.producto-specs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.spec-item i {
    font-size: 1.2rem;
    color: var(--secondary-blue);
    margin-top: 0.2rem;
    min-width: 20px;
}

.spec-item > div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.spec-label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.spec-value {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
}

.producto-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.producto-tags .tag {
    padding: 0.4rem 0.9rem;
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e9f1 100%);
    color: var(--secondary-blue);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(0, 102, 161, 0.2);
    transition: all 0.3s ease;
}

.producto-tags .tag:hover {
    background: var(--secondary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-cotizar {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #25D366 0%, #1ea952 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-cotizar i {
    font-size: 1.3rem;
}

.btn-cotizar:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #1ea952 0%, #25D366 100%);
}

.btn-cotizar:active {
    transform: translateY(-1px);
}

.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background: #1ea952;
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--secondary-blue);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: var(--light-gray);
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(255, 255, 255, 0.4);
}

.animate-fade-up {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

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

.animate-fade-up:nth-child(2) {
    animation-delay: 0.2s;
}

.productos-category {
  scroll-margin-top: 190px; 
}

@media (max-width: 1400px) {
    .producto-card-large {
        grid-template-columns: 1fr 1.3fr;
    }
}

@media (max-width: 1200px) {
    .productos-grid {
        grid-template-columns: repeat(auto-fit, minmax(340px, 420px));
        justify-content: center;
    }
    
    .producto-card-large {
        grid-template-columns: 1fr;
    }
    
    .producto-carousel {
        min-height: 400px;
    }
    
    .specs-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .producto-tags-large {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .productos-hero h1 {
        font-size: 2.8rem;
    }

    .productos-hero p {
        font-size: 1.1rem;
    }

    .category-title {
        font-size: 2rem;
    }

    .productos-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 420px));
        gap: 1.5rem;
        justify-content: center;
    }

    .filter-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .producto-content-large {
        padding: 2.5rem;
    }
    
    .producto-title-large {
        font-size: 1.9rem;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .productos-hero {
        height: 300px;
    }

    .productos-hero h1 {
        font-size: 2.2rem;
    }

    .productos-hero p {
        font-size: 1rem;
    }

    .filters-section {
        top: 70px;
        padding: 0.8rem 0;
    }

    .filters-bar {
        gap: 0.5rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        padding: 0.5rem 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .filters-bar::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.82rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .category-badge {
        width: 60px;
        height: 60px;
    }

    .category-badge i {
        font-size: 2rem;
    }

    .category-title {
        font-size: 1.6rem;
    }

    .category-subtitle {
        font-size: 1rem;
    }

    .productos-grid {
        grid-template-columns: minmax(280px, 1fr);
        gap: 1.5rem;
        justify-content: center;
    }

    .producto-image {
        height: 200px;
    }

    .producto-title {
        font-size: 1.3rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
    }
    
    
    .producto-carousel {
        min-height: 350px;
    }
    
    .producto-content-large {
        padding: 2rem;
    }
    
    .producto-title-large {
        font-size: 1.6rem;
    }
    
    .producto-description-large {
        font-size: 0.95rem;
    }
    
    .specs-grid-large {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .producto-tags-large {
        grid-template-columns: 1fr;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control.prev {
        left: 1rem;
    }
    
    .carousel-control.next {
        right: 1rem;
    }
}

@media (max-width: 576px) {
    .productos-hero h1 {
        font-size: 1.8rem;
    }

    .productos-hero p {
        font-size: 0.95rem;
    }

    .filter-btn {
        padding: 0.45rem 0.9rem;
        font-size: 0.78rem;
    }

    .filter-btn i {
        font-size: 0.9rem;
    }

    .category-title {
        font-size: 1.4rem;
    }

    .producto-content {
        padding: 1.3rem;
    }

    .producto-specs {
        padding: 1rem;
    }

    .spec-item {
        gap: 0.6rem;
    }

    .spec-item i {
        font-size: 1rem;
    }

    .btn-cotizar {
        padding: 0.9rem;
        font-size: 0.95rem;
    }
    
    .producto-content-large {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .producto-title-large {
        font-size: 1.4rem;
    }
    
    .producto-description-large {
        font-size: 0.9rem;
    }
    
    .spec-card {
        padding: 1rem;
    }
    
    .spec-icon {
        width: 40px;
        height: 40px;
    }
    
    .spec-icon i {
        font-size: 1.2rem;
    }
    
    .features-section,
    .applications-section {
        padding: 1.5rem;
    }
    
    .btn-cotizar-large {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }
}

.producto-card.hidden {
    display: none;
}

.producto-card,
.producto-card-large,
.filter-btn,
.btn-cotizar,
.btn-cotizar-large,
.producto-tags .tag,
.tag-large {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media print {
    .top-bar,
    .main-header,
    .filters-section,
    .cta-section,
    .footer,
    .carousel-control,
    .carousel-indicators {
        display: none;
    }

    .producto-card,
    .producto-card-large {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .btn-cotizar,
    .btn-cotizar-large {
        display: none;
    }
}
/* ===== SCROLL HINT MÓVIL ===== */
.filters-scroll-hint {
    display: none;
}

@media (max-width: 768px) {
    .filters-scroll-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--secondary-blue, #0066A1);
        padding: 0.4rem 1rem 0.5rem;
        opacity: 0.8;
        letter-spacing: 0.3px;
    }

    .filters-scroll-hint i {
        font-size: 0.7rem;
        animation: nudgeArrow 1.4s ease-in-out infinite;
    }

    .filters-scroll-hint i:first-child {
        animation-delay: 0s;
    }

    .filters-scroll-hint i:last-child {
        animation-delay: 0.2s;
    }

    @keyframes nudgeArrow {
        0%, 100% { transform: translateX(0); opacity: 0.6; }
        50%       { transform: translateX(4px); opacity: 1; }
    }
}