/********** Template CSS **********/
:root {
    --primary: #e14f10;
    --secondary: #5F656F;
    --light: #F5F5F5;
    --dark: #307bbd;
}
/* ===================== FIX GLOBAL ===================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    color: #307bbd;
}
/* ===================== BACK TO TOP ===================== */
.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 100px; /* arriba del botón de WhatsApp */
    width: 55px;
    height: 55px;
    background-color: var(--primary); /* naranja */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 6px 15px rgba(0,0,0,0.35);
    transition: all 0.3s ease;
}

/* Hover elegante */
.back-to-top:hover {
    background-color: #e14f10; /* naranja más oscuro */
    transform: translateY(-4px);
}

/* Icono centrado */
.back-to-top i,
.back-to-top span {
    line-height: 1;
}
/* ===================== TIPOGRAFÍA ===================== */
h1, h2, h3, h4, h5, h6, label {color: #307bbd !important;}
h3, h4, .h3, .h4, .fw-medium { font-weight: 600 !important; }
h5, h6, .h5, .h6, .fw-semi-bold { font-weight: 500 !important; }

/* ===================== BOTONES ===================== */
.btn { transition: .5s; font-weight: 500; }
.btn-primary, .btn-outline-primary:hover { color: #fff; }
.btn-square, .btn-sm-square, .btn-lg-square {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
/* ===================== NAVBAR ===================== */
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    position: relative;
    padding-right: 50px;
    height: 75px;
    display: flex;
    align-items: center;
    background: var(--dark);
}

.navbar .navbar-brand::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 100%;
    top: 0;
    right: -25px;
    transform: skewX(-30deg);
    background-color: var(--dark);
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 20px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

/* ===================== CAROUSEL HERO ===================== */

.carousel-img {
    height: 90vh;
    object-fit: cover;
}

/* Overlay */
.carousel-caption {
    inset: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(
        90deg,
        rgba(2, 36, 65, 0.95) 0%,
        rgba(2, 36, 65, 0.65) 45%,
        rgba(2, 36, 65, 0) 100%
    );
    text-align: left;
}

/* Textos */
.carousel-eyebrow {
    color: #ff6a00;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

.carousel-title {
    color: #ffffff;
    font-weight: 800;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.1;
    margin: 0.5rem 0 1rem;
}

.carousel-text {
    color: #e6e6e6;
    font-size: 1.05rem;
    max-width: 520px;
    margin-bottom: 1.5rem;
}

/* Botones */
.carousel-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.carousel-actions .btn {
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
}

/* Controles */
.carousel-control-prev,
.carousel-control-next {
    width: 8%;
}

.carousel-caption,
.carousel-caption h1,
.carousel-caption h2,
.carousel-caption p {
    color: #ffffff !important;
}
/* ===================== MOBILE ===================== */
@media (max-width: 768px) {
    .carousel-img {
        height: 75vh;
    }

    .carousel-caption {
        background: linear-gradient(
            180deg,
            rgba(2, 36, 65, 0.9) 0%,
            rgba(2, 36, 65, 0.7) 60%,
            rgba(2, 36, 65, 0.3) 100%
        );
        align-items: flex-end;
        padding-bottom: 3rem;
    }

    .carousel-title {
        font-size: 2rem;
    }

    .carousel-text {
        font-size: 0.95rem;
    }
}
/* ===================== RESPONSIVE FIX MOBILE ===================== */
@media (max-width: 991px) {

    /* 🔥 ELIMINA PROBLEMAS DE CORTE */

    .topbar-right::before {
    pointer-events: none;
}

.topbar-right::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -18px;
    transform: skewX(-30deg);
    background-color: var(--dark);
}

.topbar-right {
    position: relative;
    background-color: var(--dark);
    background: var(--dark);
    flex: 1; /* 👈 ocupa todo el espacio restante */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 30px 0 40px; /* espacio para el corte */
}

    .navbar {
        padding: 10px 15px;
    }

    .navbar .navbar-brand {
        padding-right: 0;
        height: auto;
    }

    .navbar-brand img {
        max-width: 160px;
        height: auto;
    }

    .navbar-collapse {
        background: #fff;
        padding: 15px;
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
        font-size: 16px;
    }

    /* HERO */
    #header-carousel .carousel-item {
        min-height: 420px;
    }

    .carousel-caption h1 {
        font-size: 28px;
        line-height: 1.2;
    }

    .carousel-caption p {
        font-size: 16px;
    }
}

/* ===================== TABLES RESPONSIVE ===================== */
table {
    width: 100%;
    overflow-x: auto;
    display: block;
}

/* ===================== GALERÍAS ===================== */
.galeria {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}

@media (max-width: 768px) {
    .galeria {
        grid-template-columns: 1fr;
    }
}
/* ===================== FORM ===================== */
form {
    display: flex;
    flex-direction: column;
}

input, textarea {
    margin-bottom: 15px;
    padding: 10px;
    font-size: 16px;
}

/* ===================== EXTRA MOBILE ===================== */
@media (max-width: 480px) {

    .carousel-caption {
        padding: 20px;
        text-align: center;
    }

    .carousel-caption h1 {
        font-size: 24px;
    }

    .btn {
        font-size: 14px;
    }
}

/* ===================== total ===================== */
@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* QUIÉNES SOMOS */
.page-about {
    background-image:
        linear-gradient(to right, #307bbd 0%, rgba(2,36,91,0.35) 50%),
        url("../img/bis-about-header.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* SERVICIOS */
.page-service {
    background-image:
        linear-gradient(to right, #307bbd 0%, rgba(2,36,91,0.35) 50%),
        url("../img/blog_que es termografia.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

/* PÁGINA DE TERMOGRAFÁA CÁMARAS*/
.page-thermal {
    background-image:
        linear-gradient(to right, #307bbd 0%, rgba(2,36,91,0.35) 50%),
        url("../img/blog_que es termografia.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

/* PÁGINA DE GAS CÁMARAS*/
.page-gas {
    background-image:
        linear-gradient(to right, #307bbd 0%, rgba(2,36,91,0.35) 50%),
        url("../img/InspeccionDeGas.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

/* CONTACTO */
.page-contact {
    background-image:
        linear-gradient(to right, #307bbd 0%, rgba(2,36,91,0.35) 50%),
        url("../img/bis-contacto.png");
        
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* páginas de equipos*/
.page-equipos {
    background-image:
        linear-gradient(to right, #307bbd 0%, rgba(2,36,91,0.35) 50%),
        url("../img/bis-quienes somos.png");
        
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* BLOG */
.page-blog {
    background-image:
        linear-gradient(to right, #307bbd 0%, rgba(2,36,91,0.65) 70%),
        url("img/bis-blog.png");
}

/* páginas de equipos*/
.page-ups {
    background-image:
        linear-gradient(to right, #307bbd 0%, rgba(2,36,91,0.35) 50%),
        url("../imagenes/header-ups-pw.jpg");
        
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


@media (max-width: 768px) {
    .page-header {
        min-height: 300px;
        background-position: center right;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }
}


/*** Facts ***/
.facts {
    position: relative;
    margin: 6rem 0;
    background: var(--dark);
}

.facts .border {
    border-color: rgba(255, 255, 255, .1) !important;
}
/*** Features ***/
.btn-play {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

@media (max-width: 992px) {
    .btn-play {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid #FFFFFF;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Service ***/
.service-item {
    position: relative;
    margin: 65px 0 25px 0;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-img {
    position: absolute;
    padding: 12px;
    width: 130px;
    height: 130px;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .service-detail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.service-item .service-title {
    position: absolute;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-title {
    top: -100%;
}

.service-item .service-text {
    position: absolute;
    overflow: hidden;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    display: flex;
    align-items: center;
    text-align: center;
    background: rgba(48, 123, 189, .5);
    transition: .5s;
}

.service-item:hover .service-text {
    top: 0;
}

.service-item .service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    top: -100%;
    left: 0;
    transform: skewY(-12deg);
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-text::before {
    top: -55px;
}

.service-item .btn {
    position: absolute;
    width: 130px;
    height: 50px;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    background: #FFFFFF;
    border: none;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Project ***/
.project-carousel {
    position: relative;
    background: var(--dark);
}

.project-item {
    position: relative;
    overflow: visible !important;
}

.project-item img {
    transition: .5s;
}

.project-item:hover img,
.project-carousel .owl-item.center img {
    margin-top: -40px;
}

.project-item .project-title {
    position: absolute;
    padding: 0 15px;
    width: 100%;
    height: 80px;
    bottom: -110px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark);
    transition: .5s;
}

.project-item:hover .project-title,
.project-carousel .owl-item.center .project-title  {
    bottom: -60px;
}

.project-item .project-title::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    top: -15px;
    left: 0;
    transform: skewY(-5deg);
    background: var(--dark);
    transition: .5s;
}

.project-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    transition: .5s;
    opacity: 0;
    z-index: 1;
}

.project-carousel:hover .owl-nav {
    opacity: 1;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 30px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--dark);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}
.container-fluid.bg-dark.pt-5.my-5.px-0 {
    background-color: #307bbd !important;
}
/*** Team ***/
.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    display: flex;
    align-items: center;
    background: var(--dark);
    transition: .5s;
}

.team-item:hover .team-social {
    left: 0;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .testimonial-img img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}


/*** Footer ***/
.container-fluid.bg-dark.footer {
    background-color: #307bbd !important;
}

.footer {
    color: #B0B9AE;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
    text-decoration: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #ffffff !important;
    letter-spacing: 1px;
    box-shadow: none;
}
.footer a[href^="mailto:"] {
    color: #ffffff;
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer a[href^="mailto:"]:hover {
    transform: scaleX(1.1);
}

.footer a[href^="tel:+525540497209"] {
    color: #ffffff;
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer a[href^="tel:+525540497209"]:hover {
    transform: scaleX(1.1);
}

.copyright {
    color: #B0B9AE;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.container-fluid.copyright.bg-dark {
    background: linear-gradient(
        180deg,
        #307bbd 0%,
        #307bbd 100%
    ) !important;
}
.copyright,
.copyright p,
.copyright a {
    color: #ffffff;
     transition: transform 0.3s ease;
}


.copyright a:hover {
    color: #e6e6e6;
    transform: scaleX(1.1);
}



/* Estilos de la tabla */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    text-align: center;
    border: 1px solid #F39200;
}

th {
    background-color: #284395;
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #ddd;
}

.button-coti {
    text-align: center;
}

/* Estilo del botón de WhatsApp */
.coti {
    display: inline-block;
    border-color: #FF5E14;
    background-color: #FFFFFF;  /* Color naranja de WhatsApp */
    color: #F39200;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Efecto al pasar el mouse */
.coti:hover {
    background-color: #F39200;  /* Color naranja más oscuro de WhatsApp */
    color: #FFFFFF;
}

/* Contenedor de la galería */
.galeria {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}

/* Estilo para cada imagen y su texto */
.imagen {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.imagen img {
    width: 100%;
    height: auto;
    border-bottom: 2px solid #ddd;
}

.texto {
    padding: 10px;
    font-size: 1rem;
    color: #007BFF;
}

/* Estilo responsivo */
@media (max-width: 768px) {
    .galeria {
        grid-template-columns: 1fr;
    }
}

/* Diseño de la galería */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Estilos de cada imagen */
.image-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: center;
}

.image-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.image-item p {
    margin: 10px 0;
    font-size: 16px;
    color: #007BFF;
}

.image-item button {
    background-color: #007BFF;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.image-item button:hover {
    background-color: #0056b3;
}

/* Responsividad */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}

/* Formulario */

form {
    display: flex;
    flex-direction: column;
}
input, textarea {
    margin-bottom: 15px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
input[type="submit"] {
    background-color: #FF5E14;
    color: white;
    border: none;
    cursor: pointer;
}
input[type="submit"]:hover {
    background-color: #F39200;
}
label {
    font-size: 18px;
    margin-bottom: 5px;
}


.back-to-top {
    bottom: 110px;
}

@media (max-width: 480px) {
    .form {
        grid-template-columns: 1fr;
    }

}
/* ================= CHAT BOT ================= */
#bis-chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: Arial, sans-serif;
}

#chatbot-toggle {
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    font-size: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.4);
}

#chatbot-box {
    display: none;
    width: 280px;
    background: #444239;
    color: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0px 5px 20px rgba(0,0,0,.7);
}

#chatbot-header {
    background: #000;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

#chatbot-body {
    padding: 12px;
}

#chatbot-body p {
    font-size: 13px;
}

#chatbot-body button {
    width: 100%;
    margin-top: 8px;
    border: none;
    background: #ffffff;
    color: black;
    padding: 8px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 13px;
}

#chatbot-body button:hover {
    background: #1ebe5d;
}



@media (max-width: 480px) {
    .form {
        grid-template-columns: 1fr;
    }

}
/* ================= ICONOS CHECK (WHY CHOOSE US) ================= */

.btn-lg-square {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    padding: 0;
}

/* ===================== ICONOS REDES SOCIALES ===================== */
.btn-square {
    width: 45px;
    height: 45px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    font-size: 18px;
}


.btn-square i {
    line-height: 1;
}

/* Responsive: un poco más compacto en móvil */
@media (max-width: 768px) {
    .btn-lg-square {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
    }

    .btn-lg-square i {
        font-size: 20px;
    }
}

/* ===================== FIX HEADER MOBILE FULL WIDTH ===================== */
@media (max-width: 991px) {

    /* Fuerza el navbar a ocupar TODO el ancho */
    .navbar,
    .navbar > .container,
    .navbar > .container-fluid {
        width: 100%;
        max-width: 100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
    }

    /* Asegura layout correcto */
    .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* BLOQUE NARANJA + LOGO */
    .navbar .navbar-brand {
        background: var(--dark);
        margin: 0 !important;
        padding: 12px 20px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: auto;
        border-radius: 0;
    }

    /* LOGO */
    .navbar .navbar-brand img {
        display: block;
        max-width: 150px;
        height: auto;
        margin: 0;
    }

    /* Elimina diagonal que empuja el layout */
    .navbar .navbar-brand::after {
        display: none !important;
    }

    /* Botón hamburguesa a la derecha */
    .navbar-toggler {
        margin-right: 15px;
    }
}

/* ===== TOPBAR COLORES BIS ===== */

/* Contenedor general (antes bg-dark) */
.container-fluid.bg-dark {
    background-color: #0b2a55 !important; /* Azul BIS */
}

/* Texto "Síguenos" */
.container-fluid.bg-dark span {
    color: #ffffff;
}

/* Íconos redes */
.container-fluid.bg-dark .btn-link {
    color: #ffffff;
    opacity: 0.85;
    transition: all .3s ease;
}

.container-fluid.bg-dark .btn-link:hover {
    color: #307bbd; /* Naranja BIS */
    opacity: 1;
}

/* Parte derecha (Contáctanos) */
.topbar-right {
    background-color: #307bbd; /* Naranja BIS */
}

/* Corte diagonal */
.topbar-right::before {
    background-color: #ff6a00;
}

/* Ícono teléfono */
.topbar-right i {
    color: #ffffff;
}

/* Contenedor centrado */
.container-table {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Tabla centrada */
.container-table {
    width: 100%;
    max-width: 900px; /* Controla el ancho máximo */
    margin: 0 auto;
    border-collapse: collapse;
}

/* Encabezados */
.container table thead th {
    text-align: left;
    padding: 12px 16px;
    background-color: #307bbd;
    color: #ffffff;
    font-weight: 600;
}

/* Celdas */
.container table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
}

/* Filas alternadas */
.container table tbody tr:nth-child(even) {
    background-color: #f5f8fb;
}

/* Título centrado */
.container h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #307bbd;
}

/* Responsive */
@media (max-width: 768px) {
    .container table {
        width: 100%;
        font-size: 14px;
    }
 
    .container table td,
    .container table th {
        padding: 10px;
    }
}













