body {
    font-family: 'Hanken Grotesk', sans-serif;
}
header{
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
}
.top-bar {
    background: #0a3d62;
}
.top-bar span a{
    font-weight: 600;
    color: #FFFFFF;
    font-size: 16px;
    text-decoration: none;
}
.top-bar span a:hover{
    font-weight: 900 !important;
    text-decoration: underline;
}
.navbar{
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%) !important;
    box-shadow: 0px 5px 50px 0px #00000033;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(5px); 
}
.logo-hover {
    position: relative;
    display: inline-block;
}

.logo-hover .logo {
    width: 220px;
    transition: opacity .4s ease, transform .4s ease;
    top: 10px;
}

.logo-normal {
    opacity: 1;
}
.logo-hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}
.logo-hover:hover .logo-normal {
    opacity: 0;
}
.logo-hover:hover .logo-hover-img {
    opacity: 1;
}

#menu ul{
    width: 80%;
    display: flex;
    justify-content: space-between;
}
#menu ul li a{
    font-weight: 400;
    text-transform: uppercase;
    color: #133759;
    font-size: 16px;
    border-radius: 10px;
}
#menu ul li a:hover{
    font-weight: 600;
    background: linear-gradient(360deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
    text-decoration: underline;
    border-radius: 10px;
    transition: all ease .3s;
}
.btn-contacto {
    background: #0a3d62;
    color: #fff !important;
    font-weight: 900 !important;
    border-radius: 30px !important;
    padding: 8px 22px;
}
.btn-contacto:hover{
    background: #2976BF !important;
    box-shadow: 0px 4px 4px 0px #00000040;
    text-decoration: underline;
}
.hero {
    position: relative;
    background: url("../assets/hero.png") center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
}
.hero-content {
    position: relative;
    color: #fff;
    max-width: 520px;
}
.hero-box {
    background: transparent;
    -webkit-backdrop-filter: blur(30px);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid #FFFFFF33;
    backdrop-filter: blur(30px);
    min-width: 600px;
}
.hero-box:hover{
    border: 2px solid #FFFFFF80;
    box-shadow: 0px 10px 10px 0px #0000001A;
    backdrop-filter: blur(30px);
    background: rgba(255, 255, 255, 0.35);
}
.hero-box:hover .hero-ubicacion {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-box h1 {
    color: #fff;
    font-weight: 900;
    font-size: 40px;
    line-height: 1.3;
    text-align: justify;
}
.hero-ubicacion {
    display: none;  
    align-items: flex-start;
    gap: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    color: #fff;
    padding: 18px 20px 18px 0;
    max-width: 520px;
    transition:
        opacity .35s ease,
        transform .35s ease,
        visibility .35s;
}
.ubicacion-icono {
    font-size: 32px;
    color: #fff;
    margin-top: 2px;
}
.ubicacion-texto strong {
    display: block;
    font-weight: 900;
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 6px;
}
.ubicacion-texto p {
    margin: 0;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
}
.stats {
    background: #f2f8fb;
    padding: 0px 0px 60px;
    position: relative;
    z-index: 5;
}
.translateStats{
    transform: translateY(-90px);
}
.stat-card {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 35px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    height: 100%;
    border-radius: 30px 30px 0px;
}
.stat-icon {
    font-size: 28px;
    color: #0a3d62;
    margin-bottom: 10px;
}
.stat-title {
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 1px;
    color: #133759;
}
.stat-value {
    margin-top: 15px;
    font-weight: 900;
    font-size: 32px;
    color: #133759;
    text-transform: uppercase;
}
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    width: 60px;
    height: 60px;
}
.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.titulo-servicios{
    font-weight: 900;
    font-size: 32px;
    color: #133759;
}


.custom-card {
    position: relative;
    border: none;
    border-radius: 15px;
    overflow: visible;
    margin-bottom: 50px;
    margin: 30px;
}

.card-img-custom {
    border-radius: 15px;
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: #1337594D;
}

.icon-badge {
    position: absolute;
    bottom: 36px; 
    right: 0px;
    background-color: #306EA0;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border: 1px solid #306EA0;
}

.floating-label {
    position: absolute;
    bottom: -20px; 
    right: 0;
    left: 20%;
    background-color: white;
    padding: 15px;
    border-radius: 8px 0 0 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-bottom: 10px solid #306EA0;
}

.floating-label h6 {
    margin: 0;
    font-weight: bold;
    color: #1a3a5a;
    font-size: 14px;
    text-transform: uppercase;
}
.columna-lista {
    list-style-type: square;
    margin: 50px 0px;
    padding: 0px 60px;
}
.columna-lista li {
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 16px;
    color: #003366;
}

.monitoreo-container {
    position: relative;
    padding: 50px 0;
    margin-top: 50px;
}
.blue-bg {
    background-color: #0d3b66;
    color: white;
    padding: 40px;
    width: 100%;
    /* clip-path: polygon(0 0, 95% 0, 100% 100%, 0% 100%); */
    border-radius: 10px;
}
.img-road {
    width: 100%;
    border-radius: 10px;
    transform: skewX(-5deg); 
}
.img-people {
    position: absolute;
    bottom: -10px;
    left: -50px;
    width: 250px;
    z-index: 2;
}
.empresa-img {
    position: relative;
    max-width: 100%;
}

.empresa-img img {
    width: 100%;
    display: block;
    transition: opacity .45s ease-in-out;
}
.empresa-img .img-normal {
    opacity: 1;
}
.empresa-img .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}
.empresa-img:hover .img-normal {
    opacity: 0;
}
.empresa-img:hover .img-hover {
    opacity: 1;
}

.contacto-section {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../assets/imgs/contacto.png');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: white;
}

.glass-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 30px;
}
.glass-card:hover{
    border: 2px solid #FFFFFF80;
    box-shadow: 0px 10px 10px 0px #0000001A;
    backdrop-filter: blur(30px);
    background: rgba(255, 255, 255, 0.35);
}
.glass-card input, .glass-card textarea {
    background: white;
    border-radius: 10px;
    border: none;
    margin-bottom: 15px;
}
.glass-card input{
    height: 50px;
}

.btn-enviar {
    background-color: white;
    color: #306EA0;
    font-weight: 900;
    font-size: 22px;
    border-radius: 10px;
    padding: 10px 40px;
    border: none;
    margin-top: 20px;
    width: 220px;
}
.btn-enviar:hover{
    transition: all ease .3s;
    background-color: #306EA0;
    color: #fff;
}

.lista-puertos {
    list-style: none;
    padding: 0;
    font-weight: 600;
    font-size: 28px;
    color: #FFFFFF;
}

.lista-puertos li::before {
    content: "■ ";
    color: white;
}

.franja-soluciones {
    background: linear-gradient(90deg, #133759 0%, #2976BF 100%);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    margin-top: -25px; /* Para que sobresalga un poco */
    position: relative;
    z-index: 5;
}

.main-footer {
    background-color: white;
    padding: 60px 0;
}
.footer-logo-hover {
    position: relative;
    display: inline-block;
}

.footer-logo {
    width: 340px;
    transition: opacity .45s ease, transform .45s ease;
    top: -5px;
    position: relative;
}
.footer-logo-normal {
    opacity: 1;
}
.footer-logo-hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}
.footer-logo-hover:hover .footer-logo-normal {
    opacity: 0;
}

.footer-logo-hover:hover .footer-logo-hover-img {
    opacity: 1;
}


.footer-link {
    text-decoration: none;
    color: #133759;
    font-weight: 400;
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    text-transform: uppercase;
    transition: all ease .3s;
}

.footer-link:hover{
    font-weight: 600;
    text-decoration: underline;
}

.copy-bar {
    background-color: #133759;
    color: white;
    font-weight: 400;
    padding: 10px 0;
    font-size: 16px;
}
.custom-card {
    position: relative;
    height: 280px;
}
.img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
}
.img-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform .9s ease;
}
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(19, 55, 89, 0.30);
    transition: opacity .6s ease;
}
.custom-card:hover .img-bg {
    transform: scale(1.15); 
}
.custom-card:hover .overlay {
    opacity: 0;
}
.img-overlay-wrapper {
    /* position: absolute;
    top: -20px;
    right: 0;
    width: 40%; */
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
}

.hover-swap img {
    width: 100%;
    height: auto;
    display: block;
}

.hover-swap .img-base {
    opacity: 1;
    transition: opacity 0.4s ease;
}

.hover-swap .img-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.hover-swap:hover .img-base {
    opacity: 0;
}

.hover-swap:hover .img-hover {
    opacity: 1;
}

@media (max-width: 767px) {
    header{
        position: relative;
    }
    .navbar-toggler{
        box-shadow: none !important;
        outline: 0 !important;
    }
    .hero-box{
        min-width: 100%;
        padding: 25px;
    }
    .hero-box h1{
        text-align: left;
        font-size: 30px;
    }
    .hero-ubicacion{
        display: flex;
        opacity: 1;
        visibility: visible;
    }
    .columna-lista{
        margin: 20px 0px;
    }
    .img-road{
        display: none;
    }
    .img-people{
        display: none;
    }
    .glass-card{
        margin-bottom: 20px;
    }
    .monitoreo-container{
        padding-bottom: 0;
    }
    .img-overlay-wrapper {
        position: relative;
        right: 0;
        top: 0;
        transform: 0;
        width: 100%;
    }
}