/* ===================================
    Crafto - Logistics 
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');
/* variable */
:root {      
    --alt-font: "Montserrat", sans-serif;
    --primary-font: "Montserrat", sans-serif;
    --base-color: #003554; /* Azul BEHCSA */
    --behcsa-celeste: #07b4b9; /* Celeste BEHCSA */
    --behcsa-naranja: #e94e12; /* Naranja BEHCSA */
    --dark-gray: #141414;
    --medium-gray: #707070;
    --aluminium-gray: rgba(255, 255, 255, 0.4);
}
/* reset */
body{
    font-size: 18px;
    line-height: 30px;
}
a:hover{
    color: var(--dark-gray);
}
/* header */
.navbar .navbar-nav .nav-link {
    font-size: 18px;
    font-weight: 600;
}
.navbar .navbar-nav .dropdown.open .dropdown-menu {
    background-color: var(--white);
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
    font-size: 17px;
    font-weight: 500;
    color: var(--dark-gray);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
header .navbar-brand img {
    max-height: 30px;
}
.header-top-bar div>a {
    color: var(--light-gray);
}
.header-top-bar div>a:hover {
    color: var(--white);
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a i {
    font-size: 30px;
}
.navbar .navbar-nav .dropdown .dropdown-menu a i {
    width: 35px;
}
header .btn.btn-box-shadow.btn-base-color,
.btn.btn-base-color {
    color: var(--white);
}
header .btn.btn-box-shadow.btn-base-color:hover,
.btn.btn-box-shadow.btn-base-color:hover {
    color: var(--white);
}
header .btn.btn-small {
    font-size: 15px; 
    padding: 10px 18px;
}
/* btn */
.btn.btn-hover-animation-switch.btn-link {
    padding-top: 0;
}
.btn { 
    text-transform: inherit;
    font-weight: 600;
    letter-spacing: 0;
}
.btn.btn-extra-large {
    font-size: 18px;
    padding: 16px 32px;
}
.btn.btn-large {
    font-size: 17px;
    padding: 14px 28px;
}
.btn.btn-medium {
    font-size: 16px; 
    padding: 12px 24px;
}
.btn.btn-small {
    font-size: 15px;
}
.btn.btn-very-small {
    font-size: 14px; 
    padding: 9px 20px;
}

/* counter style */
.counter-style-04 .vertical-counter:after {
    color: var(--base-color);
}
.review-star-icon i {
    color: var(--base-color);
}

.google-maps-link a:hover {
    color: var(--white);
}

/* footer style */
footer ul li {
    margin-bottom: 1px;
}
footer p {
    line-height: 28px;
}
/* page title */
.page-title-double-large h1 {
    font-size: 4.375rem;
    line-height: 4.688rem;
}
.page-title-double-large h2 {
    font-size: 16px;
    line-height: 28px;
}

/* top bottom left right class */
.right-12 {
    right: 12%;
}

.bg-jungle-green {
    background-color: #2ebb79;
}
/* Outside box */
.outside-box-top-205px {
    margin-top: -205px;
}
/* Transparent background color */
.bg-gradient-gray-light-dark-transparent {
    background-image: linear-gradient(to top, #f7f7f7 0%, transparent 100%);
}
@media (max-width: 1399px) {
    .xl-h-180px {
        height: 180px;
    }
    .xl-w-180px {
        width: 180px;
    }
}
@media (max-width: 1199px) {
    .outside-box-top-200px {
        margin-top: -150px;
    }
}
@media (max-width: 991px) {
    .outside-box-top-200px {
        margin-top: 0;
    }
    .navbar .navbar-nav .dropdown.open .dropdown-menu {
        padding-bottom: 15px;
    }
    .navbar .navbar-nav .dropdown .dropdown-menu.show {
        background-color: var(--white);
    }
}

/* Gallery hover improvements - Sin overlay, solo imagen clickeable */
/* Asegurar que el enlace funcione dentro del efecto 3D atropos */
.image-gallery-style-02 .atropos-inner .gallery-box {
    cursor: pointer;
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}
.image-gallery-style-02 .gallery-box {
    cursor: pointer;
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
.image-gallery-style-02 .gallery-box a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 10;
    text-decoration: none;
    pointer-events: auto;
    cursor: pointer;
}
.image-gallery-style-02 .gallery-box .gallery-image {
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
    padding: 0;
    margin: 0;
    pointer-events: none; /* Permite que los clics pasen al enlace */
}
.image-gallery-style-02 .gallery-box .gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none; /* Permite que los clics pasen al enlace */
}
.image-gallery-style-02 .gallery-box .gallery-hover {
    display: none !important; /* Oculta completamente el overlay hover */
}
.image-gallery-style-02 .gallery-box:hover img {
    opacity: 1 !important; /* Mantiene la imagen visible sin efectos */
    filter: none !important; /* Sin filtros en hover */
}

/* Responsividad - Asegurar que las imágenes se adapten correctamente */
@media (max-width: 1199px) {
    /* En pantallas menores, el efecto atropos no está activo */
    .image-gallery-style-02 .atropos-inner .gallery-box {
        pointer-events: auto;
    }
}
@media (max-width: 991px) {
    .image-gallery-style-02 .gallery-box .gallery-image img {
        width: 100%;
        height: auto;
        min-height: 200px;
        object-fit: cover;
    }
}
@media (max-width: 767px) {
    .image-gallery-style-02 .gallery-box .gallery-image img {
        min-height: 250px;
    }
}
@media (max-width: 575px) {
    .image-gallery-style-02 .gallery-box .gallery-image img {
        min-height: 200px;
    }
}

/* BEHCSA Logo Container */
.behcsa-logo-container {
    width: 156px;
    height: 113px;
    background-color: #003554;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    flex-shrink: 0;
}

@media (max-width: 575px) {
    .behcsa-logo-container.xs-w-120px {
        width: 120px !important;
        height: 87px; /* Mantiene la proporción 113/156 ≈ 0.724 */
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-float i {
    margin-top: 0;
}

@media (max-width: 767px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}

/* Footer servicios - Asegurar que se partan correctamente en los espacios naturales */
footer .col-lg-2.col-md-3.col-sm-5 {
    min-width: 220px;
    flex: 0 0 auto;
}

footer .col-lg-2.col-md-3.col-sm-5 > span.fs-18 {
    white-space: nowrap !important;
    display: inline-block;
    word-break: keep-all;
}

.footer-services-links {
    width: 100%;
}

.footer-services-links a {
    display: block;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    margin-bottom: 10px;
    line-height: 1.7;
    width: 100%;
}

.footer-services-links a:hover {
    color: var(--behcsa-celeste);
}