/* ============================================
   ESTILOS CABLEADO ESTRUCTURADO
   Basado en el formato de Fibra Óptica
   Colores: #00698C (azul) / #FF8000 (naranja)
   ============================================ */

/* Hero Section con Video */
.cableado-hero {
    position: relative;
    min-height: 550px;
    height: 80vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 105, 140, 0.85) 0%, rgba(0, 0, 0, 0.75) 100%);
}

.cableado-hero .container {
    position: relative;
    z-index: 2;
}

.cableado-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Badges del hero */
.cableado-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cableado-badge {
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.cableado-badge i {
    margin-right: 0.5rem;
}

.cableado-badge:hover {
    transform: translateY(-2px);
    background: var(--primary-color, #FF8000);
    border-color: var(--primary-color, #FF8000);
}

.cat6-badge { background: rgba(0, 105, 140, 0.7); }
.cat7-badge { background: rgba(255, 128, 0, 0.7); }
.cat8-badge { background: rgba(0, 0, 0, 0.5); }

.cableado-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Estadísticas del hero */
.cableado-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.cableado-stats .stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    padding: 1rem 1.8rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cableado-stats .stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color, #FF8000);
}

.cableado-stats .stat .stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Section Header */
.section-title {
    font-size: 2.2rem;
    text-align: center;
    color: var(--secondary-color, #00698C);
    margin-bottom: 0.5rem;
}

.section-title span {
    color: var(--primary-color, #FF8000);
}

.section-subtitle {
    text-align: center;
    color: #666;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Categorías de Cableado */
.cableado-categorias {
    padding: 5rem 0;
    background: #f8f9fa;
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.categoria-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.categoria-header {
    background: linear-gradient(135deg, var(--secondary-color, #00698C), #004d66);
    padding: 1.5rem;
    color: white;
    position: relative;
}

.categoria-header h3 {
    margin: 0;
    color: white;
    font-size: 1.4rem;
}

.categoria-header h3 i {
    margin-right: 0.5rem;
}

.categoria-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color, #FF8000);
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.categoria-badge.premium {
    background: #9b59b6;
}

.categoria-badge.datacenter {
    background: #e74c3c;
}

.categoria-features {
    padding: 1.5rem;
}

.categoria-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categoria-features ul li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid #eee;
}

.categoria-features ul li:last-child {
    border-bottom: none;
}

.categoria-features ul li i {
    color: var(--primary-color, #FF8000);
    font-size: 0.9rem;
}

.categoria-applications {
    background: #f8f9fa;
    padding: 1.2rem;
    border-top: 1px solid #eee;
}

.categoria-applications h4 {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    color: var(--secondary-color, #00698C);
}

.categoria-applications p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

/* Servicios */
.cableado-servicios {
    padding: 5rem 0;
    background: white;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.servicio-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eef2f6;
}

.servicio-card:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color, #FF8000);
}

.servicio-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color, #FF8000), #cc6600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.servicio-icon i {
    font-size: 1.8rem;
    color: white;
}

.servicio-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color, #00698C);
}

.servicio-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.servicio-card ul li {
    padding: 0.4rem 0;
    font-size: 0.85rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.servicio-card ul li i {
    color: var(--primary-color, #FF8000);
    font-size: 0.7rem;
}

/* Marcas - Tabs */
.marcas-cableado {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8edf2 100%);
}

.brands-tabs {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tab-headers {
    display: flex;
    flex-wrap: wrap;
    background: var(--secondary-color, #00698C);
}

.tab-header {
    flex: 1;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.tab-header:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tab-header.active {
    background: var(--primary-color, #FF8000);
    color: white;
}

.tab-content {
    padding: 2rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.brand-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.brand-logo {
    flex: 0 0 150px;
    text-align: center;
}

.brand-logo img {
    max-width: 120px;
    height: auto;
}

.brand-icon {
    font-size: 5rem;
    color: var(--primary-color, #FF8000);
}

.brand-details {
    flex: 1;
}

.brand-details h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color, #00698C);
}

.brand-rating {
    margin-bottom: 1rem;
}

.rating-stars {
    color: #f1c40f;
    margin-right: 0.5rem;
}

.rating-text {
    font-size: 0.85rem;
    color: #666;
}

.brand-features {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1.5rem;
}

.feature {
    flex: 1;
    min-width: 200px;
}

.feature strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color, #00698C);
}

.feature ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature ul li {
    padding: 0.3rem 0;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature ul li i {
    color: var(--primary-color, #FF8000);
    font-size: 0.7rem;
}

/* Marcas adicionales */
.marcas-adicionales {
    padding: 5rem 0;
    background: white;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}

.brand-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.brand-item i {
    font-size: 2.5rem;
    color: var(--primary-color, #FF8000);
    margin-bottom: 1rem;
}

.brand-item h4 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color, #00698C);
}

.brand-item p {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

/* Casos de Éxito */
.casos-exito {
    padding: 5rem 0;
    background: #f8f9fa;
}

.casos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.caso-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.caso-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.caso-image {
    height: 200px;
    background: linear-gradient(135deg, var(--secondary-color, #00698C), #004d66);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.caso-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.caso-placeholder {
    font-size: 4rem;
    color: white;
    opacity: 0.5;
}

.caso-content {
    padding: 1.5rem;
}

.caso-content h3 {
    margin-bottom: 0.8rem;
    color: var(--secondary-color, #00698C);
}

.caso-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.caso-details span {
    background: #f0f4f8;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.caso-brand {
    background: var(--primary-color, #FF8000) !important;
    color: white;
}

.caso-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.caso-results {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.caso-results .result {
    text-align: center;
    flex: 1;
}

.caso-results .result strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-color, #FF8000);
}

.caso-results .result span {
    font-size: 0.7rem;
    color: #888;
}

/* Normatividad */
.normatividad {
    padding: 5rem 0;
    background: white;
}

.normas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.norma-card {
    background: #f8f9fa;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--secondary-color, #00698C);
    border: 1px solid #e0e4e8;
    transition: all 0.3s ease;
}

.norma-card i {
    margin-right: 0.5rem;
    color: var(--primary-color, #FF8000);
}

.norma-card:hover {
    background: var(--primary-color, #FF8000);
    color: white;
    transform: translateY(-2px);
}

.norma-card:hover i {
    color: white;
}

/* CTA Final */
.cableado-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--secondary-color, #00698C) 0%, #004d66 100%);
    color: white;
    text-align: center;
}

.cableado-cta h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cableado-cta p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
    color: white;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-features .feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 30px;
}

.cta-features .feature i {
    color: var(--primary-color, #FF8000);
}

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

/* Responsive */
@media (max-width: 992px) {
    .cableado-hero h1 {
        font-size: 2.5rem;
    }
    
    .cableado-stats {
        gap: 1.5rem;
    }
    
    .cableado-stats .stat {
        padding: 0.8rem 1.2rem;
    }
    
    .cableado-stats .stat .stat-number {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .brand-info {
        flex-direction: column;
        text-align: center;
    }
    
    .brand-features {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .cableado-hero {
        min-height: 450px;
        height: auto;
        padding: 4rem 0;
    }
    
    .cableado-hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cableado-badges {
        gap: 0.5rem;
    }
    
    .cableado-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }
    
    .cableado-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cableado-stats .stat {
        width: 80%;
    }
    
    .categorias-grid,
    .servicios-grid,
    .casos-grid {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-headers {
        flex-direction: column;
    }
    
    .tab-header {
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 80%;
    }
    
    .cta-features {
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .caso-details {
        justify-content: center;
    }
    
    .caso-results {
        flex-direction: column;
        gap: 0.8rem;
    }
}