/* ============================================
   INDUSTRIES.CSS
   Estilos exclusivos para la página Industries
   SECUENCIA DE COLORES: Blanco → Negro → Blanco → Negro...
   ============================================ */

/* === IMPORTAR VARIABLES GLOBALES === */
:root {
    --hexa-blue: #0A3D66;
    --hexa-blue-dark: #072e4d;
    --hexa-blue-glow: rgba(10, 61, 102, 0.25);
    --hexa-orange: #FF6A00;
    --hexa-orange-dark: #e65c00;
    --hexa-orange-glow: rgba(255, 106, 0, 0.25);
    --hexa-black: #0F1115;
    --hexa-white: #FFFFFF;
    --text-light: #ffffff;
    --text-dark: #0F1115;
    --text-muted: #6c757d;
    --border-color: #e9ecef;
}

/* ============================================
   HERO
   ============================================ */
.industries-hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    background-image: linear-gradient(135deg, rgba(10, 61, 102, 0.85), rgba(10, 61, 102, 0.6)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: 80px;
}

.industries-hero .hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 61, 102, 0.85) 0%, rgba(10, 61, 102, 0.6) 100%);
    z-index: 1;
}

.industries-hero .hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.industries-hero .hero-badge {
    display: inline-block;
    background: rgba(255, 106, 0, 0.15);
    backdrop-filter: blur(4px);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #FF6A00;
    border: 1px solid rgba(255, 106, 0, 0.3);
    margin-bottom: 1rem;
}

.industries-hero h1 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.industries-hero .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .industries-hero h1 {
        font-size: 2rem;
    }
    .industries-hero .lead {
        font-size: 0.95rem;
    }
}

/* ============================================
   SECCIÓN FONDO BLANCO (texto negro)
   ============================================ */
.industries-section-white {
    background-color: var(--hexa-white);
    color: var(--text-dark);
    padding: 80px 0;
}

.industries-section-white h2,
.industries-section-white p {
    color: var(--text-dark);
}

.industries-section-white .text-secondary {
    color: var(--text-muted) !important;
}

.industries-section-white .key-message span {
    color: var(--text-muted);
    font-style: italic;
}

/* ============================================
   SECCIÓN FONDO GRIS (antes negro)
   ============================================ */
.industries-section-black {
    background-color: #D9DEE3;
    color: var(--text-dark);
    padding: 80px 0;
}

.industries-section-black h2,
.industries-section-black p {
    color: var(--text-dark);
}

.industries-section-black .text-secondary {
    color: var(--text-muted) !important;
}

.industries-section-black .key-message span {
    color: var(--text-muted);
    font-style: italic;
}

/* ============================================
   INDUSTRY BADGES (comunes para ambos fondos)
   ============================================ */
.industry-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.financial-badge { background: #0A3D66; color: #ffffff; }
.healthcare-badge { background: #0A3D66; color: #ffffff; }
.tech-badge { background: #0A3D66; color: #ffffff; }
.retail-badge { background: #0A3D66; color: #ffffff; }
.professional-badge { background: #0A3D66; color: #ffffff; }
.public-badge { background: #0A3D66; color: #ffffff; }

/* ============================================
   KEY MESSAGE - ACTUALIZADO (naranja → azul)
   ============================================ */
.key-message {
    background: transparent;
    border-left: 3px solid #0A3D66;
    border-top: 1px solid rgba(10, 61, 102, 0.2);
    border-right: 1px solid rgba(10, 61, 102, 0.2);
    border-bottom: 1px solid rgba(10, 61, 102, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.key-message i {
    color: #0A3D66;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}
/* ============================================
   SERVICE TAGS - ACTUALIZADO (naranja → azul)
   ============================================ */
.services-list h5 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: #0A3D66 !important;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.service-tag {
    background: rgba(10, 61, 102, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #0A3D66;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-tag:hover {
    background: #0A3D66;
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   INDUSTRY IMAGE WRAPPER
   ============================================ */
.industry-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.industry-image {
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
    width: 100%;
}

.industry-image-wrapper:hover .industry-image {
    transform: scale(1.03);
}

.image-glow {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* ============================================
   CTA SECTION (Fondo BLANCO con tarjeta azul)
   ============================================ */
.industries-cta-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.industries-cta-section .cta-premium {
    background: transparent;
    border: 2px solid #0A3D66;
    border-radius: 30px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.industries-cta-section .cta-premium h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.industries-cta-section .cta-premium p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.industries-cta-section .cta-premium .btn-cta {
    background: #0A3D66;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.industries-cta-section .cta-premium .btn-cta:hover {
    background: #072e4d;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(10, 61, 102, 0.3);
}

@media (max-width: 768px) {
    .industries-cta-section .cta-premium {
        padding: 2rem;
    }
    .industries-cta-section .cta-premium h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .industries-cta-section .cta-premium {
        padding: 2rem;
    }
    .industries-cta-section .cta-premium h2 {
        font-size: 1.5rem;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .industries-section-white,
    .industries-section-black {
        padding: 60px 0;
    }
    
    .key-message span {
        font-size: 0.85rem;
    }
    
    .service-tag {
        font-size: 0.65rem;
        padding: 0.3rem 0.8rem;
    }
}