/* =========================================
   1. VARIABLES Y CONFIGURACIÓN BASE
   ========================================= */
:root {
    /* Variables de Marca */
    --brand-blue: #004481;
    --brand-light: #00a8e8;
    --brand-dark: #002a50;
    
    /* Variables Navbar */
    --nav-bg: #0f172a;      
    --nav-text: #f8fafc;    
    --nav-accent: #38bdf8;  
    --nav-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3); 
    --nav-radius: 50px;     
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f1f5f9;
    padding-top: 0;
}

/* Scroll suave para anclas */
html {
    scroll-behavior: smooth;
}

/* =========================================
   2. BOOTSTRAP OVERRIDES & BOTONES
   ========================================= */
.bg-custom-blue { background-color: var(--brand-blue) !important; }
.text-custom-blue { color: var(--brand-blue) !important; }
.text-custom-light { color: var(--brand-light) !important; }

/* Botones Primarios */
.btn-primary {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
}

/* =========================================
   3. NAVBAR (CÁPSULA FLOTANTE)
   ========================================= */
header.custom-header {
    background-color: transparent; 
    position: absolute; 
    top: 25px; 
    width: 100%;
    z-index: 1030;
    pointer-events: none; 
}

.custom-navbar {
    background-color: var(--nav-bg); 
    color: var(--nav-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2.5rem;
    width: 95%;             
    max-width: 1250px;    
    margin: 0 auto;         
    border-radius: var(--nav-radius);
    box-shadow: var(--nav-shadow);
    pointer-events: auto; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Logo */
.custom-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--nav-text);
}
.logo-img {
    height: 70px;
    width: auto;   
    margin-right: 12px;
    display: block; 
}

/* Links */
.custom-nav-links {
    list-style: none;
    display: flex;
    gap: 2rem; 
    margin: 0;
    padding: 0;
    align-items: center;
}

.custom-nav-links li a {
    text-decoration: none;
    color: var(--nav-text);
    font-size: 1.1rem; 
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
    white-space: nowrap; /* <-- ¡Esta es la línea que lo soluciona! */
}

.custom-nav-links li a:hover,
.custom-nav-links li a.active-link {
    color: var(--nav-accent);
}

/* Punto indicador */
.custom-nav-links li a::after {
    content: '';
    position: absolute;
    width: 6px; 
    height: 6px;
    background-color: var(--nav-accent);
    border-radius: 50%;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    transition: transform 0.3s ease;
}

.custom-nav-links li a:hover::after,
.custom-nav-links li a.active-link::after {
    transform: translateX(-50%) scale(1);
}

/* Botón Contacto Navbar */
.btn-nav-contacto {
    background-color: var(--nav-accent);
    color: var(--nav-bg) !important; 
    border: none;
    padding: 10px 25px;
    border-radius: 50px; 
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(56, 189, 248, 0.3); 
    font-size: 1rem;
}

.btn-nav-contacto:hover {
    background-color: #fff; 
    color: var(--nav-bg) !important;
    transform: translateY(-1px);
}

/* Icono Mundo */
.custom-nav-links .fa-globe {
    transition: transform 0.3s ease;
}
.custom-nav-links a:hover .fa-globe {
    transform: rotate(15deg);
}

/* Menú Móvil */
.custom-menu-btn {
    display: none;
    color: var(--nav-text);
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* Dropdown */
.dropdown-item { position: relative; }

.dropdown-menu-hover {
    display: none;             
    position: absolute;        
    top: 100%;                 
    left: 0;
    background-color: rgba(11, 28, 44, 0.95); 
    min-width: 200px;          
    list-style: none;          
    padding: 10px 0;
    margin: 0;
    border-radius: 0 0 8px 8px; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.4); 
    z-index: 1000;             
    backdrop-filter: blur(5px); 
}

.dropdown-menu-hover li a {
    display: block;            
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.8) !important; 
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.05); 
}

.dropdown-menu-hover li:last-child a { border-bottom: none; }

.dropdown-menu-hover li a:hover {
    background-color: #0d6efd; 
    color: #ffffff !important;
    padding-left: 25px;        
}

.dropdown-item:hover .dropdown-menu-hover {
    display: block;
    animation: fadeIn 0.3s ease; 
}

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

/* ---------------------------------------------------
   Ajustes para Notebooks (pantallas medianas)
   --------------------------------------------------- */
@media (max-width: 1400px) and (min-width: 992px) {
    .custom-navbar {
        padding: 0.5rem 1.5rem;
        width: 98%; 
    }
    .custom-nav-links {
        gap: 1.2rem; 
    }
    .custom-nav-links li a {
        font-size: 0.95rem; 
    }
    .btn-nav-contacto {
        padding: 8px 18px;
        font-size: 0.95rem;
    }
    .logo-img {
        height: 55px; 
        margin-right: 10px;
    }
}

/* ---------------------------------------------------
   AJUSTES PARA CELULARES (Menú Responsive y Dropdown)
   --------------------------------------------------- */
@media (max-width: 991px) {
    .custom-menu-btn { display: block; }
    
    .custom-nav-links {
        position: absolute;
        top: 120%; 
        left: 0;
        right: 0;
        background-color: var(--nav-bg);
        width: 100%;
        border-radius: 20px; 
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    }
    
    .custom-nav-links.nav-active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    /* --- CORRECCIONES PARA EL DROPDOWN EN CELULAR --- */
    .dropdown-item {
        width: 100%;
        text-align: center;
    }

    .dropdown-menu-hover {
        position: static; 
        background-color: rgba(0, 0, 0, 0.2); 
        box-shadow: none;
        padding: 10px 0;
        margin-top: 15px;
        min-width: 100%;
        border-radius: 10px;
    }

    .dropdown-menu-hover li a {
        text-align: center;
        padding: 10px 20px;
        border-bottom: none;
    }

    .dropdown-menu-hover li a:hover {
        background-color: transparent;
        padding-left: 20px; 
        color: var(--nav-accent) !important;
    }

    .custom-nav-links .dropdown-item ul[style] {
        left: 0 !important;
    }
}

/* =========================================
   4. HEADERS Y PORTADAS
   ========================================= */

/* Hero Principal (Index) */
.hero-section {
    position: relative;
    background: url('../imagenes/indPetrolera.webp') no-repeat center center/cover;
    min-height: 105vh; 
    display: flex;
    align-items: center;
    margin-top: -100px; 
    padding-top: 250px; 
    padding-bottom: 80px; 
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), rgba(0, 68, 129, 0.6));
}

.hero-section h1.display-4 {
    font-size: 3rem; 
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Headers Secundarios (General) */
.page-header {
    background: var(--brand-blue);
    color: white;
    margin-top: -100px; 
    padding: 14rem 0 4rem 0; 
    margin-bottom: 3rem;
    text-align: center;
}

/* Variación: Header Nosotros */
.page-header-about {
    background: linear-gradient(to right, rgba(0, 68, 129, 0.9), rgba(15, 23, 42, 0.85))
}

/* Variación: Header Clientes */
.page-header-clients {
    background: linear-gradient(to right, rgba(0, 68, 129, 0.9), rgba(15, 23, 42, 0.8))
}

/* Botón para bajar en Clientes/Servicios (Solo flecha) */
.scroll-down-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin-top: 20px;
    color: white;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-down-btn:hover {
    background-color: white;
    color: var(--brand-blue);
    border-color: white;
    transform: translateY(5px);
}

/* NUEVO: Botón destacado para Repuestos (Con Texto) */
.btn-hero-repuestos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 40px;
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    border: 2px solid white;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero-repuestos:hover {
    background-color: white;
    color: var(--brand-blue) !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* Variación: Header Repuestos (Con ajuste de padding) */
.header-spacing {
    padding-top: 180px !important; 
    padding-bottom: 80px;
}

.page-header h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.page-header .lead { font-size: 1.2rem; opacity: 0.9; }

/* Separador visual pequeño */
.section-divider {
    width: 60px;
    height: 4px;
    background: var(--brand-light);
    margin: 1.5rem auto;
    border-radius: 2px;
}

/* =========================================
   5. TARJETAS Y SECCIONES DE CONTENIDO
   ========================================= */

/* General Cards */
.card { border: none; transition: transform 0.3s, box-shadow 0.3s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important; }

/* Cards Soluciones (Index) */
.solution-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    border-color: var(--brand-light);
}
.solution-card:hover .icon-box i {
    transform: scale(1.1) rotate(5deg);
    color: var(--brand-light) !important;
}
.icon-box i { transition: transform 0.3s ease; }

/* Cards Próximos Lanzamientos (Index) */
.upcoming-card {
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
}
.upcoming-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}
.upcoming-img-container {
    position: relative;
    height: 250px;
    overflow: hidden;
    background-color: #f8fafc;
}
.upcoming-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    filter: grayscale(40%);
    transition: transform 0.6s ease, filter 0.6s ease;
}
.upcoming-card:hover .upcoming-img {
    transform: scale(1.08);
    filter: grayscale(0%);
}
.upcoming-badge {
    position: absolute;
    top: 15px; right: 15px;
    background-color: var(--brand-light);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase; 
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 168, 232, 0.4);
    z-index: 2;
}

/* Cards Servicios (ZigZag) */
.service-section {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.service-section:last-child { border-bottom: none; }
.service-img {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
    border-radius: 15px !important;
    transition: transform 0.3s ease;
}
.service-section h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.service-section h2::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 60px; height: 4px;
    background-color: var(--brand-light);
}

/* Cards Repuestos (Repuestos.html) */
.repuesto-card img { transition: transform 0.5s ease; }
.repuesto-card:hover img { transform: scale(1.08); }

/* Cards Testimonios (Clientes.html) */
.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
    height: 100%;
}
.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-bottom-color: var(--brand-light);
}
.quote-icon {
    font-size: 3rem;
    color: rgba(0, 68, 129, 0.1);
    position: absolute;
    top: 20px; right: 30px;
}

/* Iconos Industria (Clientes.html) */
.industry-icon-box {
    width: 80px; height: 80px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--brand-blue);
    transition: all 0.3s ease;
}
.industry-item:hover .industry-icon-box {
    background: var(--brand-blue);
    color: #fff;
    transform: rotateY(360deg);
}

/* Cards Valores (Nosotros.html) */
.values-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-top: 5px solid var(--brand-light);
    height: 100%;
}
.values-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.values-icon-wrapper {
    width: 70px; height: 70px;
    background-color: rgba(56, 189, 248, 0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--brand-blue);
}
     /* Estilos específicos para detalles */
        .spec-table th {
            background-color: #f8f9fa;
            width: 40%;
            font-weight: 600;
            color: var(--brand-blue);
        }
        .feature-icon-box {
            width: 50px;
            height: 50px;
            background: rgba(56, 189, 248, 0.1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--brand-blue);
            margin-bottom: 10px;
        }
        .related-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        
        /* Ajuste para el carrusel de producto */
        .product-carousel-img {
            height: 450px; 
            object-fit: contain; 
            width: 100%;
            background-color: #f8f9fa; 
        }
        
        /* Ajuste para móviles */
        @media (max-width: 768px) {
            .product-carousel-img {
                height: 300px;
            }
        }

/* =========================================
   6. SLIDERS & CARRUSELES
   ========================================= */

/* --- 6.1 Carrusel de Clientes (Infinito Horizontal) --- */
.slider-container {
    overflow: hidden;
    background: white;
    padding: 20px 0;
    position: relative;
    width: 100%;
}
/* Efecto fade a los costados */
.slider-container::before,
.slider-container::after {
    background: linear-gradient(to right, white 0%, rgba(255,255,255,0) 100%);
    content: "";
    height: 100%;
    position: absolute;
    width: 100px;
    z-index: 2;
    top: 0;
}
.slider-container::after { right: 0; transform: rotateZ(180deg); }
.slider-container::before { left: 0; }

.slide-track {
    display: flex;
    width: calc(250px * 14); 
    animation: scroll 40s linear infinite; 
}
.slide-track:hover { animation-play-state: paused; }

.slide-logo {
    height: 100px;
    width: 250px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 20px; 
}
.slide-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: none !important; 
    transition: transform 0.3s ease;
}
.slide-logo img:hover { transform: scale(1.1); }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 7)); } 
}

/* Clientes Logos (Clase auxiliar) */
.client-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: 0.3s;
    max-height: 60px;
}
.client-logo:hover { filter: grayscale(0%); opacity: 1; }


/* --- 6.2 Carrusel Planta Industrial (Nosotros.html) --- */
.carousel-planta-item {
    height: 500px;           
    width: 100% !important;  
    background-color: #6c757d; 
    position: relative;
}
.object-fit-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.carousel-caption {
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    left: 0; right: 0; bottom: 0;
    width: 100%;
    padding-bottom: 2rem;
}

/* =========================================
   7. SECCIONES ESPECIALES
   ========================================= */

/* ISO Highlight (Nosotros.html) */
.iso-highlight-section {
    background: var(--brand-blue);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}
.btn-download-iso {
    background-color: #fff;
    color: var(--brand-blue);
    font-weight: 800;
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-flex; align-items: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-download-iso:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255,255,255,0.3);
    color: var(--brand-light);
}

/* =========================================
   8. FOOTER & UTILIDADES
   ========================================= */
.footer-logo-mega {
    width: 90%; 
    max-width: 350px; 
    height: auto;
    object-fit: contain; 
    display: block; 
    margin: 0 auto; 
}

@media (min-width: 992px) {
    .footer-logo-mega { margin: 0; }
}

.footer-cert-img {
    height: 80px; width: auto;
    transition: transform 0.3s ease;
    margin-bottom: 5px; 
}
.footer-iso-container {
    width: 250px; height: auto; padding: 0 !important;
    background-color: transparent !important;
    transition: transform 0.3s ease;
}
.footer-cert-img:hover, 
.footer-iso-container:hover { transform: scale(1.1); }
footer p { font-size: 0.85rem; }

/* Botón WhatsApp Flotante */
.btn-whatsapp {
    position: fixed; bottom: 30px; right: 30px; 
    width: 60px; height: 60px;
    background-color: #25d366; 
    color: white;
    border-radius: 50%; 
    text-align: center;
    font-size: 35px; 
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3); 
    z-index: 1000; display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease; 
}
.btn-whatsapp:hover {
    background-color: #128c7e; 
    transform: scale(1.1); color: white;              
}

/* Botón Volver */
.back-link {
    display: inline-flex; align-items: center;        
    color: rgba(255, 255, 255, 0.7); 
    text-decoration: none; font-weight: 600; font-size: 1.1rem;           
    transition: all 0.3s ease;  
}
.back-link i { margin-right: 8px; transition: transform 0.3s ease; }
.back-link:hover { color: #ffffff; text-decoration: none; }
.back-link:hover i { transform: translateX(-5px); }

/* Íconos Sociales Footer */
.social-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}
.social-icon:hover {
    transform: scale(1.2);
    color: var(--brand-light) !important;
}

/* =========================================
   9. MEDIA QUERIES (AJUSTES FINALES)
   ========================================= */
@media (min-width: 768px) {
    .footer-logo-mega { margin: 0; width: 100%; }
}

@media (max-width: 991px) {
    .section-service { text-align: center; margin-bottom: 60px !important; }
    .section-service ul { display: inline-block; text-align: left; }
    .service-img { height: 250px; }
    .service-section h2::after { left: 50%; transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .btn-whatsapp { width: 50px; height: 50px; font-size: 28px; bottom: 20px; right: 20px; }
    .carousel-planta-item { height: 300px; }
}


/* =========================================
   10. ESTILOS NUEVOS PARA PRODUCTOS (Rediseño)
   ========================================= */

/* Tarjeta contenedora */
.product-category-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
    border: 1px solid rgba(0, 68, 129, 0.08); 
}

.product-category-card:hover {
    transform: translateY(-12px); 
    box-shadow: 0 25px 50px rgba(0, 42, 80, 0.15) !important; 
    border-color: var(--nav-accent); 
}

/* Contenedor e Imagen */
.product-img-wrapper {
    height: 300px; 
    overflow: hidden;
    position: relative;
}

.product-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    opacity: 0.6;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1); 
}

.product-category-card:hover .product-img-wrapper img {
    transform: scale(1.12); 
}

/* Badge flotante más elegante */
.badge-floating {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    padding: 8px 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border-radius: 30px;
    background: linear-gradient(45deg, var(--brand-blue), var(--brand-light));
    border: 2px solid rgba(255,255,255,0.2);
}

/* Contenedor de ícono circular */
.product-icon-circle {
    width: 70px;
    height: 70px;
    background-color: rgba(56, 189, 248, 0.1); 
    color: var(--brand-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.product-category-card:hover .product-icon-circle {
    background-color: var(--brand-blue);
    color: white;
    transform: rotateY(360deg); 
}

/* =========================================
   11. NUEVOS CONTADORES (NOSOTROS)
   ========================================= */
.counter-section {
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.counter-section p {
    font-weight: 500;
    letter-spacing: 1px;
}

/* =========================================
   12. CORRECCIONES DE TEXTO
   ========================================= */
.word-break-custom {
    word-break: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

@media (max-width: 1199px) and (min-width: 992px) {
    .solution-card h4.word-break-custom {
        font-size: 1.25rem;
    }
    .btn-download-iso {
        padding: 12px 18px;
        letter-spacing: 0px;
    }
}



/* =========================================
   13. AVISOS Y MODAL DE ÉXITO (FORMULARIO DE CONTACTO)
   ========================================= */
#modalExito .modal-content {
    border-top: 8px solid var(--brand-light) !important; /* Tu celeste de marca */
}

#modalExito .text-success {
    color: var(--brand-light) !important;
}

#modalExito .btn-primary {
    background-color: var(--brand-blue);
    border: none;
}

#modalExito .btn-primary:hover {
    background-color: var(--brand-dark);
}
/* =========================================
   14. BOTÓN VIDEO FLOTANTE Y MODAL
   ========================================= */
.btn-video-floating {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(45deg, var(--brand-blue), var(--brand-light));
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-video-floating:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 168, 232, 0.4);
    color: white;
}

.btn-video-floating i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .btn-video-floating {
        bottom: 20px;
        left: 20px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .btn-video-floating i {
        font-size: 1rem;
    }
}