@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');


/* ---------------INICIO INDEX Y SERVICIOS---------------*/
*{
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body{
    font-family: "Poppins", sans-serif;
    color: #000000;
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.container{
    max-width: 1200px;
    margin: 0 auto;
}

.header{
    background-color: #000000;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 10vh;
    display: flex;
    align-items: center;
    
    
}

.header-menu1{
    background-color: #000000;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 8vh;
    display: flex;
    align-items: center;
    
}
.header-menu2{
    background-color: #000000;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 8vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.header-content{
    background-color: #000000;
    padding-bottom: 10px;
    width: 100%;
    margin-top: 20px;
    
}

.header-content{
    text-align: center;
}

.img-logo{
    width: 350px;
    height: 180px;
    margin-bottom: 5px;
    margin-top: 5px;
}

.img-logo1{
    width: 350px;
    height: 180px;
    margin-top: 5px;
}



.menu{
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;

}
.logo{
    color: #FFFDFC;
    font-size: 25px;
    font-weight: 800;
}

.menu .navbar ul li{
    position: relative;
    float: left;
    
}

.menu .navbar ul li a:hover{
    color: #00FDAC;
    
}

.menu .navbar ul li a{
    font-size: 18px;
    padding: 20px;
    color: #FFFDFC;
    /*display: block;*/
    font-weight: 600;
}

/* Navegación administrativa agrupada */
.admin-nav { display:flex !important; align-items:center; justify-content:center; gap:8px; }
.admin-nav > li { float:none !important; margin:0 !important; }
.admin-nav__group { position:relative !important; }
.admin-nav__trigger { border:0; background:transparent; color:#fffdfc; font:inherit; font-size:18px; font-weight:inherit; padding:20px; cursor:pointer; }
.admin-nav__trigger span { color:#00FDAC; margin-left:3px; }
.admin-nav__trigger:hover { color:#00FDAC; }
.admin-nav__submenu { display:none !important; position:absolute; top:100%; left:0; z-index:50; min-width:185px; padding:8px 0 !important; background:#071426; border:1px solid rgba(0,253,172,.42); border-radius:12px; box-shadow:0 13px 28px rgba(0,0,0,.25); }
.admin-nav__group:hover .admin-nav__submenu, .admin-nav__group:focus-within .admin-nav__submenu, .admin-nav__group.is-open .admin-nav__submenu { display:block !important; }
.admin-nav__submenu li { float:none !important; margin:0 !important; width:100%; }
.admin-nav__submenu li a { display:block; padding:11px 16px !important; font-size:15px !important; white-space:nowrap; text-align:left !important; }
@media (max-width:700px) { .admin-nav { flex-direction:column !important; } .admin-nav__trigger { padding:10px; font-size:15px; } .admin-nav__submenu { position:static; width:100%; box-shadow:none; } }

#menu {
    display: none;
}



.header-content h1{
    font-size: 75px;
    line-height: 80px;
    color: #F9FAFC;
    text-transform: uppercase;
    margin-bottom: 35PX;
}

.header-content p {
    font-size: 16px;
    color: #C5C5C5;
    padding: 0 250px;
    margin-bottom: 25px;
}

.social-media img{
    width: 35px;
    height: 35px;
    margin-right: 10px;
}

.social-media h3{
    color: #ffffff;
}

.btn-1{
    display: inline-block;
    padding: 11px 35px;
    background-color: #00FDAC;
    color: #000000;

}

.btn-1:hover{
    background-color: #008AFF;
}

.btn-1{
    display: inline-block;
    padding: 11px 35px;
    background-color: #008AFF;
    color: #000000;
    border-radius: 5px;

}

.btn-1:hover{
    background-color: #00FDAC;
}

img{
    width: 100%;
}

S
.text-section{
    text-align: center;
    
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ocupa el alto total de la pantalla */
    margin: 0;
}
.footer{
    background-color:#000000;
    margin-top: 50px;
    color: #00FDAC;
}

.footerMensa{
    background-color:#000000;
    margin-top: 50px;
    color: #00FDAC;
    border-radius: 15px;
}


.footer-content{
    flex-direction: column;
    text-align: center;
   
}
.marcaFITS{
    text-align: center;
    padding: 30px;
}

.services{
    padding-bottom: 50px;
    
}

.services-content{
    text-align: center;
    margin-top: 50px;
}

.services-content h2{
    font-size: 55px;
    line-height: 70px;
    color: #000000;
    text-transform: uppercase;
}

.services-content p{
    font-size: 16px;
    color: #000000;
    margin-bottom: 20px;
    padding: 0 10px;
}

.services-group{
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    
}

.services-group > * {
    flex-basis: 48%;  
}


.services-1{
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    ),url("IMG/Legal.jpg");
    background-position: center center;
    background-size: cover;
    padding: 50px;
    margin: 20px;
    border-radius: 15px;
}

.services-2{
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    ),url("IMG/AltoRiesgo.jpg");
    background-position: center center;
    background-size: cover;
    padding: 50px;
    margin: 20px;
    border-radius: 15px;
    
}

.services-3{
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    ),url("IMG/food.jpg");
    background-position: center center;
    background-size: cover;
    padding: 50px;
    margin: 20px;
    border-radius: 15px;
}

.services-4{
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    ),url("IMG/Especial.jpg");
    background-position: center center;
    background-size: cover;
    padding: 50px;
    margin: 20px;
    border-radius: 15px;
}

.services-1 img{
    width: 180px;
    margin-bottom: 15px;
}

.services-2 img{
    width: 180px;
    margin-bottom: 15px;
}

.services-3 img{
    width: 180px;
    margin-bottom: 15px;
}

.services-1 h3{
    color: #ffffff;
    font-size: 28px;
}

.services-2 h3{
    color: #ffffff;
    font-size: 28px;
}

.services-3 h3{
    color: #ffffff;
    font-size: 28px;
}

.services-4 h3{
    color: #ffffff;
    font-size: 28px;
    
}

.services-1 p{
    color: #ffffff;
}

.services-2 p{
    color: #ffffff;
}

.services-3 p{
    color: #ffffff;
}

.services-4 p{
    color: #ffffff;
}


.pServicios {
    margin-top: -20;
    text-align: justify;
    color: #ffffff;
}







.wa-button{
    position: fixed;
    bottom: 15px;
    right: 15px;
    background-color: #00FDAC;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    line-height: 60px;
    box-shadow: 2px 2px 3px #999;
    text-decoration: none;

}

.wa-button:hover{
    background-color: #00FDAC;
}
/* ---------------FINAL INDEX Y SERVICIOS---------------*/

/* ---------------INICIO CONTACTO---------------*/

/* ---------------INICIO INFO---------------*/
.mv{
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 50px;
}

.txt-p{
    text-align: justify;
    color: #000000;
}

.mv-content{
    background-color:#0088ff25;
    background-position: center center;
    background-size: cover;
    
    padding: 50px;
    margin: 20px;
    border-radius: 15px;
}

.pqe-content{
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0),
        rgba(0,0,0,0)
    ),url("IMG/pin6.png");
    background-position: center center;
    background-size: cover;
    padding: 50px;
    border-radius: 15px;
    margin-top: 40px;
}

.txt-p1{
    color: #000000;
    background-color: #ffffff2a;
}

.pqe-content h2{
    color: #000000;
    background-color: #ffffff2a;
}
/* ---------------FINAL INFO ---------------*/
.form-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: black;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    color: #ffffff;
    
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

textarea {
    resize: vertical;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #008AFF;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #00FDAC;
}

button:active {
    background-color: #00FDAC;
}
/* ---------------FINAL CONTACTO---------------*/


.ing{
    position: relative;
    width: 300px;
    box-shadow: 0;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 50px;
    
}

/* ---------------FINAL CONTACTO---------------*/
.it-content h2{
margin-top: 30px;
}

/* ---------------INICIO SERVICIOS INDEX---------------*/
.service-h{
    text-align: left;
    margin-top: 30PX;
}

/*--------------------------------------------*/

@media screen and (max-width: 460px){
   /* Stack the navbar items vertically */
   .header{
    background-color: #000000;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 10vh;
    display: flex;
    align-items: center;
}

.menu .navbar ul {
    flex-direction: column;
    align-items: center;
}

.menu .navbar ul li {
    margin: 10px 0; /* Add margin for spacing */
}

.menu .navbar ul li a {
    padding: 15px;
    font-size: 12px;
    text-align: center; /* Center align text */
}

.img-logo{
    width: 320px;
    height: 150px;
    margin-bottom: 15px;
}

.img-logo1{
    width: 320px;
    height: 150px;
}
.social-media img{
    width: 30px;
    height: 30px;
    margin-right: 3px;
}

.social-media h3{
    color: #ffffff;
    font-size: 13px;
}

/* Make header content more responsive */
.header-content h1 {
    font-size: 50px;
    line-height: 60px;
}

.header-content p {
    padding: 0 20px;
}

.services-content h2{
    font-size: 45px;
    line-height: 70px;
    color: #000000;
    text-transform: uppercase;
}

/* Stack services group items vertically */
.services-group {
    flex-direction: column;
    align-items: center;
}

.services-1, .services-2, .services-3, .services-4 {
    padding: 30px;
}

/* Make the buttons smaller on mobile */
.btn-1 {
    padding: 8px 25px;
}

.mv {
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.txt-p {
    font-size: 16px; /* Adjust font size for better readability */
}

.mv-content {
    padding: 30px;
    width: 100%;
}

.pqe-content {
    padding: 40px;
    margin-top: 30px;
}

.txt-p1 {
    font-size: 18px; /* Adjust text size */
}

.pqe-content h2 {
    font-size: 22px; /* Smaller font size for headings */
}
}

/* Responsive Styles for max-width: 768px and max-width: 420px */
@media screen and (max-width: 768px) {
    /* Stack the navbar items vertically */
    .header{
        background-color: #000000;
        background-position: center bottom;
        background-repeat: no-repeat;
        background-size: cover;
        min-height: 10vh;
        display: flex;
        align-items: center;
    }
    
    .menu .navbar ul {
        flex-direction: column;
        align-items: center;
    }

    .menu .navbar ul li {
        margin: 10px 0; /* Add margin for spacing */
    }

    .menu .navbar ul li a {
        padding: 15px;
        font-size: 15px;
        text-align: center; /* Center align text */
    }

    .social-media img{
        width: 30px;
        height: 30px;
        margin-right: 3px;
    }
    
    .social-media h3{
        color: #ffffff;
        font-size: 13px;
    }

    /* Make header content more responsive */
    .header-content h1 {
        font-size: 50px;
        line-height: 60px;
    }

    .header-content p {
        padding: 0 20px;
    }

    .img-logo{
        width: 320px;
        height: 150px;
        margin-bottom: 15px;
    }

    .img-logo1{
        width: 320px;
        height: 150px;
    }

    .services-content h2{
        font-size: 50px;
        line-height: 70px;
        color: #000000;
        text-transform: uppercase;
    }

    /* Stack services group items vertically */
    .services-group {
        flex-direction: column;
        align-items: center;
    }

    .services-1, .services-2, .services-3, .services-4 {
        padding: 30px;
    }

    /* Make the buttons smaller on mobile */
    .btn-1 {
        padding: 8px 25px;
    }

    .mv {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .txt-p {
        font-size: 16px; /* Adjust font size for better readability */
    }

    .mv-content {
        padding: 30px;
        width: 100%;
    }

    .pqe-content {
        padding: 40px;
        margin-top: 30px;
    }

    .txt-p1 {
        font-size: 18px; /* Adjust text size */
    }

    .pqe-content h2 {
        font-size: 22px; /* Smaller font size for headings */
    }
}

/* Responsive Styles for max-width: 768px and max-width: 420px */
@media screen and (max-width: 420px) {
    /* Stack the navbar items vertically */
    .header{
        background-color: #000000;
        background-position: center bottom;
        background-repeat: no-repeat;
        background-size: cover;
        min-height: 10vh;
        display: flex;
        align-items: center;
    }
    
    .menu .navbar ul {
        flex-direction: column;
        align-items: center;
    }

    .menu .navbar ul li {
        margin: 10px 0; /* Add margin for spacing */
    }

    .menu .navbar ul li a {
        padding: 15px;
        font-size: 15px;
        text-align: center; /* Center align text */
    }

    .img-logo{
        width: 320px;
        height: 150px;
        margin-bottom: 15px;
    }

    .img-logo1{
        width: 320px;
        height: 150px;
    }
    .social-media img{
        width: 30px;
        height: 30px;
        margin-right: 3px;
    }
    
    .social-media h3{
        color: #ffffff;
        font-size: 13px;
    }

    /* Make header content more responsive */
    .header-content h1 {
        font-size: 50px;
        line-height: 60px;
    }

    .header-content p {
        padding: 0 20px;
    }

    .services-content h2{
        font-size: 45px;
        line-height: 70px;
        color: #000000;
        text-transform: uppercase;
    }

    /* Stack services group items vertically */
    .services-group {
        flex-direction: column;
        align-items: center;
    }

    .services-1, .services-2, .services-3, .services-4 {
        padding: 30px;
    }

    /* Make the buttons smaller on mobile */
    .btn-1 {
        padding: 8px 25px;
    }

    .mv {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .txt-p {
        font-size: 16px; /* Adjust font size for better readability */
    }

    .mv-content {
        padding: 30px;
        width: 100%;
    }

    .pqe-content {
        padding: 40px;
        margin-top: 30px;
    }

    .txt-p1 {
        font-size: 18px; /* Adjust text size */
    }

    .pqe-content h2 {
        font-size: 22px; /* Smaller font size for headings */
    }
}

/* Responsive Styles for max-width: 768px and max-width: 420px */
@media screen and (max-width: 390px) {
    /* Stack the navbar items vertically */
    .header{
        background-color: #000000;
        background-position: center bottom;
        background-repeat: no-repeat;
        background-size: cover;
        min-height: 10vh;
        display: flex;
        align-items: center;
    }
    
    .menu .navbar ul {
        flex-direction: column;
        align-items: center;
    }

    .menu .navbar ul li {
        margin: 10px 0; /* Add margin for spacing */
    }

    .menu .navbar ul li a {
        padding: 15px;
        font-size: 14px;
        text-align: center; /* Center align text */
    }

    .img-logo{
        width: 320px;
        height: 150px;
        margin-bottom: 15px;
    }

    .img-logo1{
        width: 320px;
        height: 150px;
    }

    .social-media img{
        width: 30px;
        height: 30px;
        margin-right: 3px;
    }
    
    .social-media h3{
        color: #ffffff;
        font-size: 12px;
    }

    /* Make header content more responsive */
    .header-content h1 {
        font-size: 50px;
        line-height: 60px;
    }

    .header-content p {
        padding: 0 20px;
    }

    .services-content h2{
        font-size: 45px;
        line-height: 70px;
        color: #000000;
        text-transform: uppercase;
    }

    /* Stack services group items vertically */
    .services-group {
        flex-direction: column;
        align-items: center;
    }

    .services-1, .services-2, .services-3, .services-4 {
        padding: 30px;
    }

    /* Make the buttons smaller on mobile */
    .btn-1 {
        padding: 8px 25px;
    }

    .mv {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .txt-p {
        font-size: 16px; /* Adjust font size for better readability */
    }

    .mv-content {
        padding: 30px;
        width: 100%;
    }

    .pqe-content {
        padding: 40px;
        margin-top: 30px;
    }

    .txt-p1 {
        font-size: 18px; /* Adjust text size */
    }

    .pqe-content h2 {
        font-size: 22px; /* Smaller font size for headings */
    }
}

/* Responsive Styles for max-width: 768px and max-width: 420px */
@media screen and (max-width: 393px) {
    /* Stack the navbar items vertically */
    .header{
        background-color: #000000;
        background-position: center bottom;
        background-repeat: no-repeat;
        background-size: cover;
        min-height: 10vh;
        display: flex;
        align-items: center;
    }
    
    .menu .navbar ul {
        flex-direction: column;
        align-items: center;
    }

    .menu .navbar ul li {
        margin: 10px 0; /* Add margin for spacing */
    }

    .menu .navbar ul li a {
        padding: 15px;
        font-size: 13px;
        text-align: center; /* Center align text */
    }

    .img-logo{
        width: 320px;
        height: 150px;
        margin-bottom: 15px;
    }

    .img-logo1{
        width: 320px;
        height: 150px;
    }

    .social-media img{
        width: 30px;
        height: 30px;
        margin-right: 3px;
    }
    
    .social-media h3{
        color: #ffffff;
        font-size: 11px;
    }

    /* Make header content more responsive */
    .header-content h1 {
        font-size: 50px;
        line-height: 60px;
    }

    .header-content p {
        padding: 0 20px;
    }

    .services-content h2{
        font-size: 45px;
        line-height: 70px;
        color: #000000;
        text-transform: uppercase;
    }

    /* Stack services group items vertically */
    .services-group {
        flex-direction: column;
        align-items: center;
    }

    .services-1, .services-2, .services-3, .services-4 {
        padding: 30px;
    }

    /* Make the buttons smaller on mobile */
    .btn-1 {
        padding: 8px 25px;
    }

    .mv {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .txt-p {
        font-size: 16px; /* Adjust font size for better readability */
    }

    .mv-content {
        padding: 30px;
        width: 100%;
    }

    .pqe-content {
        padding: 40px;
        margin-top: 30px;
    }

    .txt-p1 {
        font-size: 18px; /* Adjust text size */
    }

    .pqe-content h2 {
        font-size: 22px; /* Smaller font size for headings */
    }
}

/* Responsive Styles for max-width: 350px and max-width: 420px */
@media screen and (max-width: 360px) {
    /* Stack the navbar items vertically */
    .header{
        background-color: #000000;
        background-position: center bottom;
        background-repeat: no-repeat;
        background-size: cover;
        min-height: 10vh;
        display: flex;
        align-items: center;
    }
    
    .menu .navbar ul {
        flex-direction: column;
        align-items: center;
    }

    .menu .navbar ul li {
        margin: 10px 0; /* Add margin for spacing */
    }

    .menu .navbar ul li a {
        padding: 15px;
        font-size: 12px;
        text-align: center; /* Center align text */
    }

    .img-logo{
        width: 320px;
        height: 150px;
        margin-bottom: 15px;
    }

    .img-logo1{
        width: 320px;
        height: 150px;
    }

    .social-media img{
        width: 30px;
        height: 30px;
        margin-right: 3px;
    }
    
    .social-media h3{
        color: #ffffff;
        font-size: 11px;
    }

    /* Make header content more responsive */
    .header-content h1 {
        font-size: 50px;
        line-height: 60px;
    }

    .header-content p {
        padding: 0 20px;
    }

    .services-content h2{
        font-size: 45px;
        line-height: 70px;
        color: #000000;
        text-transform: uppercase;
    }

    /* Stack services group items vertically */
    .services-group {
        flex-direction: column;
        align-items: center;
    }

    .services-1, .services-2, .services-3, .services-4 {
        padding: 30px;
    }

    /* Make the buttons smaller on mobile */
    .btn-1 {
        padding: 8px 25px;
    }

    .mv {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .txt-p {
        font-size: 16px; /* Adjust font size for better readability */
    }

    .mv-content {
        padding: 30px;
        width: 100%;
    }

    .pqe-content {
        padding: 40px;
        margin-top: 30px;
    }

    .txt-p1 {
        font-size: 18px; /* Adjust text size */
    }

    .pqe-content h2 {
        font-size: 22px; /* Smaller font size for headings */
    }
}

/* Responsive Styles for max-width: 350px and max-width: 420px */
@media screen and (max-width: 350px) {
    /* Stack the navbar items vertically */
    .header{
        background-color: #000000;
        background-position: center bottom;
        background-repeat: no-repeat;
        background-size: cover;
        min-height: 10vh;
        display: flex;
        align-items: center;
    }
    
    .menu .navbar ul {
        flex-direction: column;
        align-items: center;
    }

    .menu .navbar ul li {
        margin: 10px 0; /* Add margin for spacing */
    }

    .menu .navbar ul li a {
        padding: 15px;
        font-size: 11px;
        text-align: center; /* Center align text */
    }

    .img-logo{
        width: 320px;
        height: 150px;
        margin-bottom: 15px;
    }

    .img-logo1{
        width: 320px;
        height: 150px;
    }

    .social-media img{
        width: 30px;
        height: 30px;
        margin-right: 3px;
    }
    
    .social-media h3{
        color: #ffffff;
        font-size: 11px;
    }

    /* Make header content more responsive */
    .header-content h1 {
        font-size: 50px;
        line-height: 60px;
    }

    .header-content p {
        padding: 0 20px;
    }

    .services-content h2{
        font-size: 45px;
        line-height: 70px;
        color: #000000;
        text-transform: uppercase;
    }

    /* Stack services group items vertically */
    .services-group {
        flex-direction: column;
        align-items: center;
    }

    .services-1, .services-2, .services-3, .services-4 {
        padding: 30px;
    }

    /* Make the buttons smaller on mobile */
    .btn-1 {
        padding: 8px 25px;
    }

    .mv {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .txt-p {
        font-size: 16px; /* Adjust font size for better readability */
    }

    .mv-content {
        padding: 30px;
        width: 100%;
    }

    .pqe-content {
        padding: 40px;
        margin-top: 30px;

    }

    .txt-p1 {
        font-size: 18px; /* Adjust text size */
    }

    .pqe-content h2 {
        font-size: 22px; /* Smaller font size for headings */
    }
}

/* Responsive Styles for max-width: 350px and max-width: 420px */
@media screen and (max-width: 329px) {
    /* Stack the navbar items vertically */
    .header{
        background-color: #000000;
        background-position: center bottom;
        background-repeat: no-repeat;
        background-size: cover;
        min-height: 10vh;
        display: flex;
        align-items: center;
    }
    
    .menu .navbar ul {
        flex-direction: column;
        align-items: center;
    }

    .menu .navbar ul li {
        margin: 10px 0; /* Add margin for spacing */
    }

    .menu .navbar ul li a {
        padding: 15px;
        font-size: 10px;
        text-align: center; /* Center align text */
    }

    .img-logo{
        width: 320px;
        height: 150px;
        margin-bottom: 15px;
    }

    .img-logo1{
        width: 320px;
        height: 150px;
    }

    .social-media img{
        width: 30px;
        height: 30px;
        margin-right: 3px;
    }
    
    .social-media h3{
        color: #ffffff;
        font-size: 10px;
    }

    /* Make header content more responsive */
    .header-content h1 {
        font-size: 50px;
        line-height: 60px;
    }

    .header-content p {
        padding: 0 20px;
    }

    .services-content h2{
        font-size: 45px;
        line-height: 70px;
        color: #000000;
        text-transform: uppercase;
    }

    /* Stack services group items vertically */
    .services-group {
        flex-direction: column;
        align-items: center;
    }

    .services-1, .services-2, .services-3, .services-4 {
        padding: 30px;
    }

    /* Make the buttons smaller on mobile */
    .btn-1 {
        padding: 8px 25px;
    }

    .mv {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .txt-p {
        font-size: 16px; /* Adjust font size for better readability */
    }

    .mv-content {
        padding: 30px;
        width: 100%;
    }

    .pqe-content {
        padding: 40px;
        margin-top: 30px;

    }

    .txt-p1 {
        font-size: 18px; /* Adjust text size */
    }

    .pqe-content h2 {
        font-size: 22px; /* Smaller font size for headings */
    }
}

/* Responsive Styles for max-width: 350px and max-width: 420px */
@media screen and (max-width: 310px) {
    /* Stack the navbar items vertically */
    .header{
        background-color: #000000;
        background-position: center bottom;
        background-repeat: no-repeat;
        background-size: cover;
        min-height: 10vh;
        display: flex;
        align-items: center;
    }
    
    .menu .navbar ul {
        flex-direction: column;
        align-items: center;
    }

    .menu .navbar ul li {
        margin: 10px 0; /* Add margin for spacing */
    }

    .menu .navbar ul li a {
        padding: 15px;
        font-size: 9px;
        text-align: center; /* Center align text */
    }

    .img-logo{
        width: 320px;
        height: 150px;
        margin-bottom: 15px;
    }

    .img-logo1{
        width: 320px;
        height: 150px;
    }

    .social-media img{
        width: 30px;
        height: 30px;
        margin-right: 3px;
    }
    
    .social-media h3{
        color: #ffffff;
        font-size: 9px;
    }

    /* Make header content more responsive */
    .header-content h1 {
        font-size: 50px;
        line-height: 60px;
    }

    .header-content p {
        padding: 0 20px;
    }

    .services-content h2{
        font-size: 45px;
        line-height: 70px;
        color: #000000;
        text-transform: uppercase;
    }

    /* Stack services group items vertically */
    .services-group {
        flex-direction: column;
        align-items: center;
    }

    .services-1, .services-2, .services-3, .services-4 {
        padding: 30px;
    }

    /* Make the buttons smaller on mobile */
    .btn-1 {
        padding: 8px 25px;
    }

    .mv {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .txt-p {
        font-size: 16px; /* Adjust font size for better readability */
    }

    .mv-content {
        padding: 30px;
        width: 100%;
    }

    .pqe-content {
        padding: 40px;
        margin-top: 30px;

    }

    .txt-p1 {
        font-size: 18px; /* Adjust text size */
    }

    .pqe-content h2 {
        font-size: 22px; /* Smaller font size for headings */
    }
}

.hero{
    background-image: url("IMG/flota-electrica.jpg");
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    position: relative;
}

.hero-overlay{
    background: rgba(0,0,0);
    min-height: 70vh;
    display: flex;
    align-items: center;
    
}
.hero-overlay1{
    background: rgba(0,0,0);
    min-height: 20vh;
    display: flex;
    align-items: center;

}

.hero-content{
    text-align: center;
    color: #ffffff;
}

.hero-content h1{
    font-size: 55px;
    margin: 20px 0;
}

.hero-content h1 span{
    color: #00FDAC;
}

.hero-content p{
    max-width: 700px;
    margin: 0 auto 30px;
    color: #e0e0e0;
}

body { background-color: #f4f7f9; font-family: 'Segoe UI', sans-serif; margin: 0; padding: 15px; }
        .containerMensa { max-width: 500px; margin: auto; background: white; border-radius: 15px; padding: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
        
        .back-link { color: #6366f1; text-decoration: none; font-size: 14px; display: block; margin-bottom: 20px; font-weight: bold; }
        
        .header-row { display: flex; gap: 10px; margin-bottom: 10px; }
        .badge { padding: 4px 12px; border-radius: 15px; font-size: 11px; font-weight: bold; text-transform: uppercase; }
        .status-actual { background: #d1fae5; color: #00FDAC; border: 1px solid #00FDAC; }
        .label-entrega { background: #e0e7ff; color: #3730a3; }

        .pedido-id { font-size: 26px; font-weight: bold; margin: 5px 0; color: #1a1a1a; }
        .nombre-cliente { font-size: 22px; font-weight: 600; color: #333; margin-bottom: 15px; }
        
        .direccion-box { background: #f8fafc; padding: 15px; border-radius: 10px; border-left: 4px solid #6366f1; margin-bottom: 20px; }
        .info-label { font-weight: bold; font-size: 14px; color: #64748b; text-transform: uppercase; }
        .direccion-texto { color: #1e293b; line-height: 1.5; margin-top: 5px; font-size: 16px; }

        /* Estilo de Botones */
        .btn { width: 100%; padding: 16px; border-radius: 12px; border: none; font-size: 15px; font-weight: bold; margin-top: 10px; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px; }
        
        /* Botones de Contacto/Navegación */
        .btn-wa { background: #00FDAC; color: white; }
        .btn-maps { background: #0ea5e9; color: white; }
        
        /* Botones de Estado */
        .btn-status { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }
        .btn-status:active { background: #e2e8f0; }
        
        /* Botones Críticos */
        .btn-success { background: #6366f1; color: white; margin-top: 20px; font-size: 17px; box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.4); }
        .btn-cancel { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

        .btn:active { transform: scale(0.97); }

.hero-overlayMensa {
    background: rgba(0, 0, 0);
    min-height: 20vh;
    display: flex;
    align-items: center;
    border-radius: 15px;
}

.hero-contentMensa{
    text-align: center;
    color: #ffffff;
    
    
}

.hero-contentMensa h1{
    font-size: 55px;
    margin: 20px 0;
}

.hero-contentMensa h1 span{
    color: #00FDAC;
}

.hero-contentMensa p{
    max-width: 700px;
    margin: 0 auto 30px;
    color: #e0e0e0;
}

.hero-buttons{
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary{
    background-color: #00FDAC;
    color: #000;
    padding: 12px 35px;
    border-radius: 6px;
    font-weight: 600;
}

.btn-secondary{
    background-color: #008AFF;
    color: #000;
    padding: 12px 35px;
    border-radius: 6px;
}


.services-1,
.services-2,
.services-3,
.services-4{
    transition: transform .3s ease, box-shadow .3s ease;
}

.services-1:hover,
.services-2:hover,
.services-3:hover,
.services-4:hover{
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.fleet{
    margin-top: 80px;
    text-align: center;
}

.fleet h2{
    font-size: 45px;
    margin-bottom: 40px;
}

.fleet-group{
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.fleet-item{
    width: 300px;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 15px;
}

.fleet-item img{
    border-radius: 12px;
    margin-bottom: 15px;
}

.eco-badges{
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 25px;
    font-weight: 600;
    color: #008AFF;
}

.cta{
    background: linear-gradient(135deg, #008AFF, #00FDAC);
    padding: 60px 20px;
    text-align: center;
    color: #000;
    margin-top: 80px;
}


    /* Estilos base para los badges */
    .badge {
        padding: 5px 12px;
        border-radius: 15px;
        font-size: 13px;
        font-weight: bold;
        display: inline-block;
        text-align: center;
        min-width: 100px;
    }

    /* Colores por estado */
    .estado-entregado { background-color: #d1fae5; color: #00FDAC; border: 1px solid #00FDAC; } /* Verde */
    .estado-reprogramado { background-color: #ffedd5; color: #522c03; border: 1px solid #fb923c; } /* Naranja */
    .estado-cancelado { background-color: #fee2e2; color: #991b1b; border: 1px solid #f87171; } /* Rojo */
    .estado-retirado { background-color: #fef9c3; color: #854d0e; border: 1px solid #facc15; } /* Amarillo */
    .estado-ruta { background-color: #ede9fe; color: #5b21b6; border: 1px solid #ddd6fe; } /* Morado */
    .estado-default { background-color: #f3f4f6; color: #374151; border: 1px solid #d1d5db; } /* Gris (Otros) */
    #tablaRecientes .badge { color: #000; }


/* ------------------ RASTREO DE ENVIOS ------------------ */
.tracking{
    margin-top: 80px;
    text-align: center;
}

.tracking h2{
    font-size: 45px;
    margin-bottom: 10px;
}

.tracking p{
    margin-bottom: 30px;
}

.tracking-box{
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tracking-box input{
    padding: 12px;
    width: 280px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.tracking-box button{
    padding: 12px 30px;
    background-color: #00FDAC;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.tracking-box button:hover{
    background-color: #008AFF;
}

.tracking-result{
    margin-top: 30px;
    background-color: #f5f5f5;
    padding: 30px;
    border-radius: 15px;
}

.hidden{
    display: none;
}

/* Timeline */
.timeline{
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
}

.step{
    flex: 1;
    padding: 10px;
    margin: 0 5px;
    border-radius: 30px;
    background-color: #ccc;
    color: #000;
    font-weight: 600;
}

.step.active{
    background-color: #00FDAC;
}


/* =========================
  INCIO SOLO SOLICITUD
   ========================= */


form {
  display: grid;
  gap: 12px;
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

input,
select,
textarea,
button {
  padding: 10px;
  border-radius: 10px;
}

button {
  background: #000000;
  font-weight: 300;
  cursor: pointer;
  padding: 3px;
  font-size: 18px;
  color: #00FDAC;
  width: 60%;
}


.total {
  margin-top: 20px;
  margin-bottom: 40px;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
  max-width: 420px
}

/* =========================
  FINAL SOLO SOLICITUD
   ========================= */

   .login-container {
      background: white;
      padding: 2rem;
      border-radius: 10px;
      box-shadow: 0px 5px 15px rgba(0,0,0,0.2);
      width: 300px;
      text-align: center;
      margin-top: 50px;
    }
    .login-container input {
      width: 100%;
      padding: 10px;
      margin: 10px 0;
      border-radius: 5px;
      border: 1px solid #ccc;
    }
    .login-container button {
      width: 100%;
      padding: 10px;
      background: #008AFF;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-weight: bold;
    }
    .login-container button:hover {
      background: #0066cc;
    }
    .error {
      color: red;
      font-size: 0.9rem;
      margin-top: 5px;
    }

    .login-contain{
        justify-content: center;
        display: flex;
    }



   /* =========================
  INICIO TABLA
   ========================= */

    table {
  background: white;
  
}

th {
  background: #333;
  color: white;
  padding: 8px;
}

td {
  padding: 8px;
  text-align: center;
}

tr:nth-child(even) {
  background: #f2f2f2;
}

/* =========================
  FINAL TABLA
   ========================= */

   /* =========================
  INICIO FILTROS
   ========================= */
.filters-container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin: 20px 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-end;
    border-top: 5px solid #008AFF; /* Dorado de Grupo Entrega */
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 140px;
}

.filter-group label {
    font-size: 0.85rem;
    font-weight: bold;
    color: #444;
}

.filter-group input, 
.filter-group select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}

.filter-group input:focus {
    border-color: #008AFF;
}

.filter-actions {
    display: flex;
    gap: 10px;
}

.btn-filter {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    color: #00FDAC;
    transition: 0.3s;
    width: 60%;
}

#btnBuscar { background-color: #c4a035; }
#btnBuscar:hover { background-color: #a3852d; }

#btnLimpiar { background-color: #000000; }
#btnLimpiar:hover { background-color: #555; }

/* Ajuste para la tabla */
/*.table-container {
    overflow-x: auto;
    margin-top: 20px;
}
/*
.table-container table th {
    background-color: #000000;
    color: #00FDAC;
    padding: 12px;
}
/*
.table-container td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}
/* =========================
  FINAL FILTROS
   ========================= */

/* Contenedor de paginación: Centrado y sin estirar */
#pagination-controls {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
}

/* Botones pequeños y elegantes */
#btnPrev, #btnNext {
    
    font-size: 14px;
    font-weight: 600;
    background-color: #000000;
    color: #00FDAC;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    min-width: 100px;
    transition: background-color 0.3s ease;
    width: 10%;
}

#btnPrev:hover:not(:disabled), 
#btnNext:hover:not(:disabled) {
    background-color: #999;
}

/* Estado deshabilitado */
#btnPrev:disabled, #btnNext:disabled {
    background-color: #000000 !important;
    color: #00FDAC !important;
    cursor: not-allowed;
    border: 1px solid #ccc;
}

#page-info {
    font-size: 14px;
    color: #333;
    font-weight: bold;
}


/* Esto asegura que el título negro y la celda blanca se alineen igual */
/*.table-container th, 
.table-container td {
    text-align: center;      /* O 'left' si prefieres todo a la izquierda */
   /* vertical-align: middle;
    padding: 12px 8px;       /* Padding uniforme para evitar saltos */
  /*/*  box-sizing: border-box;
}

/* Ajuste específico para la columna de Estado (la segunda) */
/*.table-container td:nth-child(2) {
    font-weight: bold;
    color: #000;
    min-width: 100px; /* Evita que la columna se encoja más que el título */
/*}
/*
.table-container th {
    min-width: 90px; /* Ajusta según el tamaño de tus títulos */
 /*   white-space: nowrap; /* Evita que el título se parta en dos líneas */
/*}


/* ============================================================
   ESTILOS PARA FORMULARIO DE REGISTRO (NUEVO CLIENTE)
   ============================================================ */

/* Contenedor principal del formulario */
.form-container {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-top: 5px solid #008AFF; /* Línea azul superior igual a tus filtros */
    margin-top: 20px;
    margin-bottom: 40px;
}

/* Cuadrícula para los inputs */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Clase para que un input ocupe todo el ancho de la fila (URLs y Direcciones) */
.full-row {
    grid-column: 1 / -1;
}

/* Estilos de etiquetas y campos (Hereda de tus filtros para consistencia) */
.filter-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.filter-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Evita que el padding ensanche el input */
    font-family: inherit;
}

.filter-group input:focus {
    border-color: #008AFF;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 138, 255, 0.2);
}

/* ============================================================
   BOTONES DE ACCIÓN (EVITA QUE SE VEAN ESTIRADOS)
   ============================================================ */

.button-group {
    display: flex;
    justify-content: center; /* Centra los botones horizontalmente */
    gap: 20px;               /* Espacio entre botones */
    margin-top: 30px;
    width: 100%;
}

.btn-custom {
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    min-width: 160px;        /* Tamaño mínimo para que se vean uniformes */
    font-size: 15px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Botón Guardar (Azul) */
.btn-save {
    background-color: #008AFF;
    color: white;
}

.btn-save:hover {
    background-color: #0066cc;
    transform: translateY(-2px); /* Pequeño efecto de elevación */
}

/* Botón Limpiar (Gris) */
.btn-clear {
    background-color: #777;
    color: white;
}

.btn-clear:hover {
    background-color: #555;
    transform: translateY(-2px);
}

/* Mensajes de feedback (Error/Éxito) */
#mensaje {
    margin-top: 20px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
}

 /* Estilos específicos para la tabla de selección de clientes */
  /* Estilos específicos para la tabla de selección de clientes */
   /* Estilos específicos para la tabla de selección de clientes */
    /* Estilos específicos para la tabla de selección de clientes */
     /* Estilos específicos para la tabla de selección de clientes */
      /* Estilos específicos para la tabla de selección de clientes */
        .table-container {
            margin-top: 30px;
            overflow-x: auto;
            background: white;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            border-top: 5px solid #008AFF;
        }
        
        .history-table {
            width: 100%;
            border-collapse: collapse;
        }

        .history-table th {
            background-color: #004a99; /* Azul corporativo */
            color: white;
            padding: 12px;
            text-align: left;
            font-size: 14px;
        }

        .history-table td {
            padding: 12px;
            border-bottom: 1px solid #eee;
            font-size: 14px;
        }

        .history-table tr:hover {
            background-color: #f1f7ff;
            cursor: pointer;
        }

        .btn-select {
            background: #008AFF;
            color: white;
            border: none;
            padding: 6px 12px;
            border-radius: 4px;
            font-size: 12px;
            cursor: pointer;
            transition: 0.3s;
        }

        .btn-select:hover {
            background: #0056b3;
        }

         /* Estilos específicos para la tabla de selección de clientes */
          /* Estilos específicos para la tabla de selección de clientes */
           /* Estilos específicos para la tabla de selección de clientes */
            /* Estilos específicos para la tabla de selección de clientes */
             /* Estilos específicos para la tabla de selección de clientes */
       
       
             .tabla-estilo {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #111;
    border-radius: 10px;
    overflow: hidden;
    font-size: 14px;
}

.tabla-estilo th {
    background-color: black;
    color: #00FDAC;
    padding: 12px;
    text-align: center;
}

.tabla-estilo td {
    padding: 10px;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
}

.tabla-estilo tr:nth-child(even) td {
    background-color: #f0eeee;
}

.tabla-estilo tr:hover td {
    background-color: #ffffff;
}

.table-container {
    overflow-x: auto;
}

/* Modal de acciones del dashboard */
body.modal-open { overflow: hidden; }

#tablaRecientes tbody tr {
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
}
#tablaRecientes tbody tr:hover td,
#tablaRecientes tbody tr:focus td {
    background: #ecfff9;
}
#tablaRecientes tbody tr:focus { outline: 3px solid rgba(0, 253, 172, .35); }

.service-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(3, 10, 18, .72);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s ease;
}
.service-modal.is-open { opacity: 1; visibility: visible; }
.service-modal__panel {
    position: relative;
    width: min(620px, 100%);
    padding: 40px;
    border: 1px solid rgba(0, 253, 172, .22);
    border-radius: 24px;
    background: linear-gradient(145deg, #ffffff 0%, #f3fffb 100%);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .32);
    transform: translateY(18px) scale(.98);
    transition: transform .22s ease;
}
.service-modal.is-open .service-modal__panel { transform: translateY(0) scale(1); }
.service-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #e9f3f1;
    color: #111827;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.service-modal__close:hover { background: #d9eee9; }
.service-modal__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #00FDAC;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
}
.service-modal__panel h2 { margin: 0 45px 8px 0; font-size: clamp(25px, 4vw, 36px); color: #07111e; }
.service-modal__intro { margin: 0 0 28px; color: #64748b; }
.service-options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.service-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 112px;
    padding: 20px;
    border: 1px solid #dce8e5;
    border-radius: 18px;
    background: #fff;
    color: #101828;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.service-card:hover, .service-card:focus {
    transform: translateY(-3px);
    border-color: #00FDAC;
    box-shadow: 0 14px 28px rgba(0, 253, 172, .14);
}
.service-card--primary { background: linear-gradient(145deg, #07111e, #102436); color: #fff; border-color: #102436; }
.service-card__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #e5fff7;
    font-size: 25px;
}
.service-card__content { display: flex; flex-direction: column; gap: 5px; }
.service-card__content strong { font-size: 17px; }
.service-card__content small { color: #64748b; line-height: 1.35; }
.service-card--primary .service-card__content small { color: #b9cbc6; }
.service-card__arrow { color: #00FDAC; font-size: 23px; }

@media screen and (max-width: 620px) {
    .service-modal__panel { padding: 32px 20px 22px; border-radius: 20px; }
    .service-options { grid-template-columns: 1fr; }
    .service-card { min-height: 92px; }
}

/* Dashboard de cliente */
.client-dashboard { max-width: 1240px; }
.dashboard-welcome { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; }
.dashboard-welcome .pickup-heading { margin-bottom: 0; }
.dashboard-primary-action { padding: 14px 22px; border: 0; border-radius: 12px; background: #07111e; color: #00fdac; font-weight: 900; cursor: pointer; white-space: nowrap; box-shadow: 0 12px 24px rgba(7,17,30,.16); }
.dashboard-primary-action:hover { transform: translateY(-2px); background: #102436; }
.dashboard-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-bottom: 20px; }
.dashboard-stat { display: flex; flex-direction: column; min-height: 130px; padding: 22px; border: 1px solid #e3ecea; border-radius: 18px; background: #fff; box-shadow: 0 9px 25px rgba(15,23,42,.05); }
.dashboard-stat span { color: #64748b; font-weight: 700; font-size: 14px; }
.dashboard-stat strong { margin: auto 0 1px; color: #07111e; font-size: 38px; line-height: 1; }
.dashboard-stat small { color: #94a3b8; }
.dashboard-stat--accent { background: linear-gradient(145deg,#07111e,#102436); border-color: #102436; }
.dashboard-stat--accent span, .dashboard-stat--accent small { color: #b9cbc6; }
.dashboard-stat--accent strong { color: #00fdac; }
.dashboard-stat--pending { border-color: #ffd5d5; background: #fffafa; }
.dashboard-stat--pending strong { color: #dc2626; }
.dashboard-quick-actions { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-bottom: 20px; }
.dashboard-quick-actions > a, .dashboard-quick-actions > button { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 18px; border: 1px solid #dce8e5; border-radius: 16px; background: #fff; color: #0f172a; text-align: left; text-decoration: none; font: inherit; cursor: pointer; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.dashboard-quick-actions > a:hover, .dashboard-quick-actions > button:hover { transform: translateY(-2px); border-color: #00FDAC; box-shadow: 0 12px 24px rgba(0, 253, 172,.11); }
.dashboard-quick-actions > * > span { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 12px; background: #e5fff7; font-size: 22px; }
.dashboard-quick-actions div { display: flex; flex-direction: column; gap: 3px; }
.dashboard-quick-actions small { color: #64748b; }
.dashboard-quick-actions b { color: #00FDAC; font-size: 21px; }
.dashboard-section-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.dashboard-section-header > a { margin-top: 10px; color: #008AFF; font-weight: 800; text-decoration: none; white-space: nowrap; }
.dashboard-activity .pickup-section__title { margin-bottom: 12px; }
.dashboard-activity .table-container { margin-top: 0; padding: 0; box-shadow: none; border-top: 0; }
@media screen and (max-width: 760px) {
  .dashboard-welcome { align-items: stretch; flex-direction: column; }
  .dashboard-primary-action { width: 100%; }
  .dashboard-stats, .dashboard-quick-actions { grid-template-columns: 1fr; }
  .dashboard-stat { min-height: 105px; }
  .dashboard-section-header { flex-direction: column; }
  .dashboard-section-header > a { margin: -5px 0 12px 52px; }
}

/* Solicitud de retiro */
.pickup-page { max-width: 1100px; margin: 34px auto 60px; }
.pickup-heading { margin-bottom: 24px; }
.pickup-heading > span { color: #008AFF; font-weight: 800; font-size: 12px; letter-spacing: .16em; }
.pickup-heading h1 { margin: 7px 0; font-size: clamp(30px, 5vw, 48px); color: #08131f; }
.pickup-heading p { margin: 0; color: #64748b; }
.pickup-form { display: grid; gap: 20px; }
.pickup-section { padding: 28px; border: 1px solid #e3ecea; border-radius: 20px; background: #fff; box-shadow: 0 10px 28px rgba(15,23,42,.06); }
.pickup-section__title { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.pickup-section__title > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #07111e; color: #00fdac; font-weight: 800; }
.pickup-section__title h2 { margin: 0 0 3px; font-size: 21px; color: #0f172a; }
.pickup-section__title p { margin: 0; color: #64748b; font-size: 14px; }
.pickup-grid { display: grid; gap: 16px; margin-bottom: 16px; }
.pickup-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pickup-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pickup-field { display: flex; flex-direction: column; gap: 7px; color: #334155; font-size: 14px; font-weight: 700; }
.pickup-field small { font-weight: 400; color: #64748b; }
.pickup-field input, .pickup-field select, .pickup-field textarea { width: 100%; box-sizing: border-box; padding: 12px 13px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: #0f172a; font: inherit; font-weight: 400; }
.pickup-field input:focus, .pickup-field select:focus, .pickup-field textarea:focus { outline: 3px solid rgba(0,253,172,.2); border-color: #00FDAC; }
.pickup-field input[readonly] { background: #f4f7f6; }
.pickup-clients { margin-top: 24px; }
.pickup-clients__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.pickup-clients__heading h3, .pickup-clients__heading p { margin: 0; }
.pickup-clients__heading p { margin-top: 4px; color: #64748b; }
.pickup-add-client { padding: 10px 14px; border: 1px solid #000; border-radius: 10px; background: #000; color: #00FDAC; font-weight: 800; text-decoration: none; white-space: nowrap; }
.pickup-add-client:hover { background: #111; }
.recipient-tools { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 12px; }
.recipient-search { width: min(430px, 100%); }
.recipient-result-count { padding: 8px 12px; border-radius: 999px; background: #e5fff7; color: #000; font-size: 13px; font-weight: 800; white-space: nowrap; }
.recipient-pagination { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 14px; }
.recipient-pagination button { padding: 9px 14px; border: 1px solid #000; border-radius: 9px; background: #000; color: #00FDAC; font-weight: 800; cursor: pointer; }
.recipient-pagination button:disabled { border-color: #000; background: #000; color: #00FDAC; opacity: .45; cursor: not-allowed; }
.recipient-pagination span { min-width: 105px; color: #475569; font-size: 13px; font-weight: 700; text-align: center; }
.tariff-preview { display: flex; justify-content: space-between; align-items: center; gap: 18px; width: 50%; box-sizing: border-box; margin-top: 14px; padding: 14px 16px; border: 1px solid #dce8e5; border-radius: 12px; background: #f8fbfa; }
.tariff-preview span { color: #000; font-size: 13px; font-weight: 700; }
.tariff-preview strong { color: #64748b; }
.tariff-preview.is-ready { border-color: #00FDAC; background: #e5fff7; }
.tariff-preview.is-ready strong { color: #000; font-size: 20px; }
.tariff-preview.is-error { border-color: #fecaca; background: #fff7f7; }
.tariff-preview.is-error strong { color: #b42318; font-size: 13px; text-align: right; }
.pickup-clients h3 { margin-bottom: 3px; }
.pickup-clients > p { margin-top: 0; color: #64748b; }
#tablaClientes tbody tr { cursor: pointer; }
#tablaClientes tbody tr.is-selected td { background: #d9fff2; }
.pickup-check { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 700; color: #9f1239; }
.pickup-check input { width: 20px; height: 20px; accent-color: #00FDAC; }
.pickup-payment-default { margin: 7px 0 0 30px; color: #64748b; font-size: 13px; }
.pickup-payment { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; padding: 18px; border: 1px solid #fecdd3; border-radius: 14px; background: #fff7f8; }
.pickup-payment:not([hidden]) { display: grid; }
.pickup-message { min-height: 22px; padding: 0 6px; font-weight: 700; }
.pickup-message.is-error { color: #b42318; }
.pickup-message.is-success { color: #00FDAC; }
.pickup-actions { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.pickup-actions--section { margin-top: 24px; padding-top: 22px; border-top: 1px solid #e3ecea; gap: 24px; }
.pickup-actions a { color: #475569; font-weight: 700; text-decoration: none; }
.invoice-gated-link { opacity: .42; cursor: not-allowed !important; text-decoration: line-through !important; }
.pickup-actions button { padding: 14px 26px; border: 0; border-radius: 12px; background: #07111e; color: #00fdac; font-weight: 800; cursor: pointer; }
.pickup-actions button:hover { background: #102436; }
.pickup-actions .pickup-button--secondary { background: #fff; color: #475569; border: 1px solid #cbd5e1; }
.pickup-actions .pickup-button--secondary:hover { background: #f1f5f9; color: #0f172a; }
.pickup-actions button:disabled { opacity: .55; cursor: wait; }
.shipment-batch { border-color: rgba(0, 253, 172,.35); }
.shipment-batch__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.shipment-batch__header .pickup-section__title { margin-bottom: 18px; }
.shipment-batch__header .pickup-section__title > span { background: #000; color: #00FDAC; }
.shipment-batch__count { padding: 8px 13px; border-radius: 999px; background: #e5fff7; color: #000; font-size: 13px; white-space: nowrap; }
.shipment-batch__table td { vertical-align: middle; }
.shipment-batch__table td:first-child { color: #00FDAC; font-weight: 900; }
.shipment-batch__table td:nth-child(2) { min-width: 190px; font-weight: 700; }
.shipment-batch__table td:nth-child(6) { min-width: 220px; }
.shipment-batch__table td:nth-last-child(2), .shipment-batch__table td:nth-last-child(3) { white-space: nowrap; font-weight: 800; }
.shipment-batch__table td.shipment-batch__empty { padding: 28px; color: #000 !important; font-weight: 600; text-align: center; }
.shipment-batch__edit { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #00FDAC; border-radius: 10px; background: #fff; color: #00FDAC; font-size: 23px; line-height: 1; font-weight: 800; cursor: pointer; }
.shipment-batch__edit:hover { background: #e5fff7; }
.shipment-batch__invoiced { color: #00FDAC !important; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.shipment-batch__footer { display: flex; justify-content: flex-end; align-items: center; gap: 18px; margin-top: 20px; }
.shipment-batch__footer span { color: #64748b; font-size: 13px; }
.shipment-batch__invoice-option { display: inline-flex; align-items: center; gap: 8px; max-width: 350px; color: #0f172a; font-size: 13px; font-weight: 750; cursor: pointer; }
.shipment-batch__invoice-option input { width: 17px; height: 17px; margin: 0; accent-color: #008AFF; flex: 0 0 auto; }
.shipment-batch__footer button, .invoice-success__button { padding: 13px 24px; border: 0; border-radius: 11px; background: #07111e; color: #00fdac; font-weight: 900; cursor: pointer; }
.shipment-batch__footer button:disabled { opacity: .48; cursor: not-allowed; }
.invoice-success { text-align: center; }
.invoice-success__icon { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%; background: #e5fff7; color: #00FDAC; font-size: 36px; font-weight: 900; }
.invoice-success .service-modal__eyebrow { display: block; }
.invoice-success h2 { margin: 0 0 12px; }
.invoice-success p { margin: 0 auto 26px; max-width: 470px; color: #475569; line-height: 1.6; }
.pickup-message.is-editing { padding: 12px 14px; border-radius: 10px; background: #fff8df; color: #854d0e; }
@media screen and (max-width: 760px) {
  .pickup-page { width: 94%; }
  .pickup-section { padding: 20px 16px; }
  .tariff-preview { width: 100%; }
  .pickup-grid--2, .pickup-grid--3, .pickup-payment:not([hidden]) { grid-template-columns: 1fr; }
  .pickup-actions { justify-content: space-between; }
  .pickup-actions--section { flex-wrap: wrap; gap: 14px; }
  .pickup-clients__heading { align-items: flex-start; flex-direction: column; }
  .recipient-tools { align-items: stretch; flex-direction: column; }
  .shipment-batch__header { flex-direction: column; gap: 0; }
  .shipment-batch__footer { align-items: stretch; flex-direction: column; }
  .shipment-batch__footer button { width: 100%; }
}

/* Historial */
.history-page { max-width: 1240px; }
.history-filter-grid { display: grid; grid-template-columns: .8fr 1.4fr 1fr 1fr 1fr; gap: 14px; }
.history-filter-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 18px; }
.history-filter-actions button, .history-pagination button {
  padding: 11px 17px; border: 0; border-radius: 10px; background: #07111e; color: #00fdac; font-weight: 800; cursor: pointer;
}
.history-filter-actions .pickup-button--secondary { background: #fff !important; color: #475569 !important; border: 1px solid #cbd5e1; }
.history-filter-actions button:disabled, .history-pagination button:disabled { opacity: .45; cursor: not-allowed; }
.history-pagination button {
  width: auto;
  min-width: 0;
  padding: 9px 14px;
  border: 1px solid #000;
  border-radius: 9px;
  background: #000;
  color: #00FDAC;
  font-size: inherit;
  font-weight: 800;
}
.history-pagination #btnPrev:disabled, .history-pagination #btnNext:disabled {
  border-color: #000 !important;
  background: #000 !important;
  color: #00FDAC !important;
  opacity: .45;
}
.history-results__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.history-results__header .pickup-section__title { margin-bottom: 14px; }
.history-loading { padding: 8px 12px; border-radius: 20px; background: #e5fff7; color: #00FDAC; font-size: 13px; font-weight: 800; }
.history-table-modern td { vertical-align: middle; }
.history-id { font-weight: 900; color: #07111e; }
.history-table-modern .badge { color: #000; }
.history-empty { padding: 36px !important; text-align: center; color: #64748b !important; }
.history-open { display:inline-grid; place-items:center; width:40px; height:40px; padding:0; border:1px solid #00FDAC; border-radius:9px; background:#fff; color:#000; cursor:pointer; }
.history-open svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.history-open:hover { background: #e5fff7; }
.history-pagination { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 14px; }
.history-pagination span { min-width: 105px; color: #475569; font-size: 13px; font-weight: 700; text-align: center; }
@media screen and (max-width: 980px) {
  .history-filter-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media screen and (max-width: 620px) {
  .history-filter-grid { grid-template-columns: 1fr; }
  .history-filter-actions { justify-content: stretch; }
  .history-filter-actions button { flex: 1; }
  .history-results__header { flex-direction: column; }
  .history-pagination { gap: 8px; }
  .history-pagination button { padding: 10px; }
}



/* ============================================================
   SOLUCIÓN RESPONSIVE PARA FORMULARIOS Y MENÚ
   ============================================================ */

@media screen and (max-width: 768px) {
    /* Forzar que el contenedor no se desborde */
    .container, .form-container {
        width: 95% !important;
        max-width: 95% !important;
        margin: 10px auto !important;
        padding: 15px !important;
    }

    /* Forzar que la cuadrícula del formulario sea de 1 SOLA COLUMNA */
    .form-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }

    /* Asegurar que todos los inputs ocupen el 100% del ancho */
    .filter-group {
        width: 100% !important;
        flex-basis: 100% !important;
    }

    input, select, textarea {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Ajustar el logo para que no empuje el diseño */
    .img-logo, .img-logo1 {
        width: 100% !important;
        max-width: 280px;
        height: auto !important;
    }

    /* Menú de navegación apilado */
    .menu {
        flex-direction: column !important;
        position: relative !important;
        height: auto !important;
    }

    .menu .navbar ul {
        flex-direction: column !important;
        padding: 0 !important;
    }

    .menu .navbar ul li a {
        display: block;
        padding: 10px;
        font-size: 14px;
    }

    /* Botones en una sola fila */
    .button-group {
        flex-direction: column !important;
        width: 100%;
    }

    .btn-custom {
        width: 100% !important;
        margin-bottom: 10px;
    }

    .btn-filter {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    color: #00FDAC;
    transition: 0.3s;
	width: 80%;
}

}

@media screen and (max-width: 768px) {
    /* Elimina el alto forzado que se ve en la captura */
    .hero-overlay1 {
        min-height: auto !important; 
        padding: 20px 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    /* Ajusta el contenedor del logo */
    .hero-content.container {
        width: 100% !important;
        margin: 0 !important;
        padding: 10px !important;
    }

    .hero-contentMensa.container {
        width: 100% !important;
        margin: 0 !important;
        padding: 10px !important;
    }

    /* Asegura que el logo tenga un tamaño razonable */
    .img-logo, .img-logo1 {
        max-width: 180px !important; /* Un poco más pequeño para que no domine toda la pantalla */
        height: auto !important;
    }
}

.portal-clientes input { font-size: 16px !important; }

/* Carga masiva de envíos */
.bulk-upload {
    border-top: 4px solid #008AFF;
}

.bulk-upload__intro {
    margin: .35rem 0 1rem;
    color: #334155;
}

.bulk-upload__actions,
.bulk-upload__footer,
.bulk-upload__preview-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bulk-upload__select,
.bulk-upload__template,
.bulk-upload__footer button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #000;
    border-radius: 12px;
    background: #000;
    color: #00FDAC;
    font-weight: 800;
    cursor: pointer;
}

.bulk-upload__select input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.bulk-upload__message {
    min-height: 1.4rem;
    margin: 12px 0 0;
    color: #334155;
    font-weight: 600;
}

.bulk-upload__message.is-error { color: #b42318; }
.bulk-upload__message.is-success { color: #067647; }

.bulk-upload__preview {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #dbe6e4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
}

.bulk-upload__preview-heading { justify-content: space-between; }
.bulk-upload__preview-heading h3,
.bulk-upload__preview-heading p { margin: 0; }
.bulk-upload__preview-heading p { margin-top: 4px; color: #64748b; }

#bulkPreviewCount {
    padding: 7px 11px;
    border-radius: 999px;
    background: #e7fff7;
    color: #111;
    font-weight: 800;
}

.bulk-upload__table {
    width: 100%;
    min-width: 1080px;
    border-collapse: collapse;
}

.bulk-upload__table th {
    padding: 12px;
    background: #000;
    color: #00FDAC;
    text-align: left;
}

.bulk-upload__table td {
    padding: 10px;
    border-bottom: 1px solid #e6ecea;
    color: #111;
    vertical-align: top;
}

.bulk-upload__table tr:nth-child(even) td { background: #f8fafc; }
.bulk-upload__status { color: #067647; font-weight: 700; }
.bulk-upload__status.is-error { color: #b42318; }

.bulk-upload__footer {
    justify-content: space-between;
    margin-top: 14px;
}

.bulk-upload__footer p { margin: 0; color: #334155; font-weight: 700; }
.bulk-upload__footer button:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 700px) {
    .bulk-upload__footer { align-items: stretch; }
    .bulk-upload__footer button { width: 100%; }
    .bulk-upload__preview { padding: 14px; }
}

/* Sistema visual compartido Grupo Entrega */
:root {
    --ge-black: #000000;
    --ge-green: #00FDAC;
    --ge-blue: #008AFF;
    --ge-ink: #081426;
    --ge-surface: #f4f8f8;
    --ge-line: #dbe6e4;
}

body {
    background: var(--ge-surface);
    color: var(--ge-ink);
}

.header {
    min-height: 66px;
    background: var(--ge-black);
}

.header .menu {
    position: relative;
    width: min(1160px, calc(100% - 40px));
    min-height: 66px;
    margin: 0 auto;
}

.header .menu .navbar ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
}

.header .menu .navbar ul li { float: none; }

.header .menu .navbar ul li a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 13px;
    border-radius: 9px;
    color: #fff;
    font-size: 14px;
}

.header .menu .navbar ul li a:hover,
.header .menu .navbar ul li a:focus-visible {
    color: var(--ge-green);
    background: rgba(0, 253, 172, .09);
}

.header .menu .navbar ul li a.is-active {
    color: var(--ge-green);
    background: rgba(0, 253, 172, .14);
}

.header-menu2 {
    min-height: 112px;
    background: var(--ge-black);
}

.header-menu2 .header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 112px;
    margin: 0;
    padding: 10px;
    background: transparent;
}

.header-menu2 .img-logo1 {
    width: 290px;
    max-height: 92px;
    height: auto;
    margin: 0;
    object-fit: contain;
}

.hero-overlay1 {
    min-height: 150px;
    background: radial-gradient(circle at 78% 15%, rgba(0, 138, 255, .34), transparent 34%), #000;
}

.hero-overlay1 .img-logo {
    width: 290px;
    height: auto;
    max-height: 92px;
    margin: 0;
    object-fit: contain;
}

.pickup-page,
.history-page {
    padding-left: 20px;
    padding-right: 20px;
}

.pickup-section,
.dashboard-stat,
.dashboard-quick-actions > a,
.dashboard-quick-actions > button {
    border-color: var(--ge-line);
}

.tabla-estilo {
    border: 1px solid var(--ge-line);
    box-shadow: 0 8px 22px rgba(8, 20, 38, .04);
}

.tabla-estilo th {
    background: var(--ge-black);
    color: var(--ge-green);
}

.footer,
.footerMensa {
    margin-top: auto;
    border-radius: 0;
    background: var(--ge-black);
    color: var(--ge-green);
}

@media (max-width: 760px) {
    .header .menu { width: min(100% - 28px, 1160px); min-height: 58px; }
    .header .menu .navbar ul { justify-content: center; }
    .header .menu .navbar ul li a { min-height: 36px; padding: 0 9px; font-size: 12px; }
    .header-menu2, .header-menu2 .header-content { min-height: 96px; }
    .header-menu2 .img-logo1, .hero-overlay1 .img-logo { width: 220px; max-height: 76px; }
    .hero-overlay1 { min-height: 118px; }
}

/* Header y footer reutilizables para las pantallas operativas */
.ge-unified-header {
    min-height: 152px;
    padding: 10px 0;
    background: #000;
    display: flex;
    align-items: center;
}

.ge-unified-header__inner {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.ge-unified-header__brand { display: block; order: 1; }
.ge-unified-header__brand img {
    display: block;
    width: 290px;
    max-height: 92px;
    object-fit: contain;
}

.ge-unified-header__nav { order: 2; }

.ge-unified-header__nav .navbar ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
    margin: 0;
    padding: 0;
}

.ge-unified-header__nav .navbar ul li { float: none; }
.ge-unified-header__nav .navbar ul li a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 11px;
    border-radius: 9px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.ge-unified-header__nav .navbar ul li a:hover,
.ge-unified-header__nav .navbar ul li a:focus-visible {
    color: #00FDAC;
    background: rgba(0, 253, 172, .09);
}

.ge-unified-footer {
    width: 100%;
    margin-top: 56px;
    padding: 28px 20px;
    background: #000;
    color: #00FDAC;
    text-align: center;
    font-size: .82rem;
}

.ge-unified-footer .marcaFITS { padding: 0; }

/* Menú administrativo: los submenús no heredan el layout del menú principal. */
.ge-unified-header__nav .admin-nav {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.ge-unified-header__nav .admin-nav > li {
    position: relative;
    display: block;
    width: auto;
    margin: 0 !important;
    padding: 0 !important;
}

.ge-unified-header__nav .admin-nav__trigger {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 11px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.ge-unified-header__nav .admin-nav__trigger:hover,
.ge-unified-header__nav .admin-nav__trigger:focus-visible {
    color: var(--ge-green);
    background: rgba(0, 253, 172, .09);
}

.ge-unified-header__nav .admin-nav__trigger span { color: var(--ge-green); margin-left: 5px; }

/* Encabezado público compartido: inicio, servicios, información y rastreo. */
.ge-public-header {
    min-height: 112px;
    display: flex;
    align-items: center;
    background: #000;
}
.ge-public-header__inner {
    width: min(1160px, calc(100% - 40px));
    margin: auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}
.ge-public-header__logo {
    display: block;
    width: 290px;
    max-height: 92px;
    object-fit: contain;
}
@media (max-width: 760px) {
    .ge-public-header { min-height: 96px; }
    .ge-public-header__inner { width: min(100% - 28px, 1160px); gap: 9px; }
    .ge-public-header__logo { width: 220px; max-height: 76px; }
}

.ge-unified-header__nav .navbar ul.admin-nav .admin-nav__submenu {
    display: none !important;
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    z-index: 100;
    width: max-content;
    min-width: 178px;
    margin: 0;
    padding: 7px !important;
    transform: translateX(-50%);
    background: #071426;
    border: 1px solid rgba(0, 253, 172, .55);
    border-radius: 12px;
    box-shadow: 0 13px 28px rgba(0, 0, 0, .28);
}

.ge-unified-header__nav .navbar ul.admin-nav .admin-nav__group.is-open > .admin-nav__submenu {
    display: block !important;
}

.ge-unified-header__nav .navbar ul.admin-nav .admin-nav__submenu li {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.ge-unified-header__nav .navbar ul.admin-nav .admin-nav__submenu a {
    display: block;
    min-height: 0;
    padding: 10px 12px;
    border-radius: 7px;
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .ge-unified-header { min-height: 130px; padding: 8px 0; }
    .ge-unified-header__inner { width: min(100% - 28px, 1160px); gap: 5px; }
    .ge-unified-header__brand img { width: 220px; max-height: 76px; }
    .ge-unified-header__nav .navbar ul { justify-content: center; }
    .ge-unified-header__nav .navbar ul li a { min-height: 34px; padding: 0 8px; font-size: 11px; }
}
/* Rutas de mensajeros */
.route-kpis { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; width:min(1600px,calc(100% - 40px)); margin:30px auto 0; }
.route-kpi { min-height:128px; padding:20px; border-radius:18px; color:#071a15; box-shadow:0 12px 24px rgba(7,26,21,.1); }
.route-kpi span,.route-kpi small { display:block; font-size:13px; font-weight:800; }
.route-kpi strong { display:block; margin:9px 0 6px; font-size:clamp(30px,4vw,42px); line-height:1; }
.route-kpi--green { background:#00FDAC; }
.route-kpi--blue { background:#008AFF; color:#fff; }
.route-kpi--dark { background:#071a15; color:#fff; }
.messenger-map-marker { display:grid; place-items:center; width:38px!important; height:38px!important; border:3px solid #fff; border-radius:50%; background:#00FDAC; box-shadow:0 5px 14px rgba(7,26,21,.35); font-size:20px; }
#map.map { width:100%; height:82vh; min-height:680px; border-radius:18px; box-shadow:0 16px 34px rgba(7,26,21,.15); }
main:has(#map.map) { display:grid; max-width:1600px; margin:30px auto; padding:20px; gap:20px; grid-template-columns:minmax(0,3fr) minmax(300px,1fr); }
main:has(#map.map) > section { min-width:0; }
main:has(#map.map) > aside { min-width:0; max-height:82vh; overflow-y:auto; }
main:has(#map.map) .card { padding:9px; margin:6px 0; font-size:13px; }
main:has(#map.map) .route { padding:5px; font-size:12px; }
main:has(#map.map) > aside .card { margin:0 0 14px; padding:14px; border:1px solid #d8e7e2; border-left:5px solid #00FDAC; border-radius:14px; background:#fff; box-shadow:0 8px 18px rgba(7,26,21,.08); }
main:has(#map.map) > aside .card:nth-child(2n) { border-left-color:#008AFF; background:#fbfdff; }
main:has(#map.map) > aside .card summary { padding:2px 0; color:#071a15; font-size:14px; font-weight:900; cursor:pointer; }
@media(max-width:800px){.route-kpis{grid-template-columns:1fr;width:min(100% - 28px,1600px);gap:10px}.route-kpi{min-height:0;padding:16px}#map.map{height:62vh;min-height:480px}main:has(#map.map){grid-template-columns:1fr}}

/* Dashboards analíticos */
.analytics-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}
.analytics-shell{margin:26px 0 34px;padding:clamp(18px,3vw,34px);border:1px solid #dce8e4;border-radius:24px;background:linear-gradient(145deg,#fff,#f4fbf8);box-shadow:0 12px 35px #0f172a0d}.analytics-heading{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:22px}.analytics-heading span{color:#008AFF;font-size:12px;font-weight:900;letter-spacing:.12em}.analytics-heading h2{margin:5px 0 7px;color:#071a15;font-size:clamp(25px,4vw,38px)}.analytics-heading p,.analytics-card p{margin:0;color:#64748b;font-weight:650}.analytics-reset{padding:11px 15px;border:0;border-radius:10px;background:#000;color:#00FDAC;font-weight:900;cursor:pointer}.analytics-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 20px}.analytics-filters label{display:grid;gap:6px;color:#25363a;font-size:13px;font-weight:900}.analytics-filters input,.analytics-filters select{min-height:43px;padding:8px 10px;border:1px solid #c8d9d5;border-radius:10px;background:#fff;color:#071a15;font:inherit}.analytics-filters input:focus,.analytics-filters select:focus{outline:3px solid #008aff2b;border-color:#008AFF}.analytics-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:15px}.analytics-kpis article{min-height:115px;padding:17px;border-radius:17px;background:#071a15;color:#fff}.analytics-kpis article:nth-child(2){background:#008AFF}.analytics-kpis article:nth-child(3){background:#00FDAC;color:#071a15}.analytics-kpis article:nth-child(4){background:#fff;border:1px solid #d8e5e2;color:#071a15}.analytics-kpis span,.analytics-kpis small{display:block;font-size:12px;font-weight:800}.analytics-kpis strong{display:block;margin:9px 0 6px;font-size:clamp(22px,3vw,31px);line-height:1.05}.analytics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.analytics-card{min-width:0;padding:19px;border:1px solid #dce8e4;border-radius:18px;background:#fff}.analytics-card h3{margin:0 0 5px;color:#071a15;font-size:19px}.analytics-card canvas{max-height:260px;margin-top:14px}.analytics-card--wide{grid-column:span 2}.analytics-card--map [data-map]{height:290px;margin-top:14px;border-radius:12px;overflow:hidden}.analytics-card--insight ul{margin:15px 0 0;padding-left:20px;color:#40515b}.analytics-card--insight li{margin:0 0 11px;line-height:1.45}.analytics-table-card{margin-top:15px}.analytics-table-wrap{overflow:auto;margin-top:15px}.analytics-table-card table{width:100%;border-collapse:collapse;font-size:14px}.analytics-table-card th{padding:11px;text-align:left;background:#071a15;color:#00FDAC;white-space:nowrap}.analytics-table-card td{padding:11px;border-bottom:1px solid #e5ecea;color:#273841}.analytics-status{display:inline-block;padding:5px 9px;border-radius:999px;background:#e6f8f1;color:#071a15;font-size:12px;font-weight:900;white-space:nowrap}.analytics-error{padding:20px;border-radius:14px;background:#fee2e2;color:#991b1b;font-weight:800}@media(max-width:850px){.analytics-filters,.analytics-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.analytics-heading{flex-direction:column}.analytics-grid,.analytics-card--wide{grid-column:auto;grid-template-columns:1fr}.analytics-filters,.analytics-kpis{grid-template-columns:1fr}.analytics-card--map [data-map]{height:250px}}

/* Métricas: enfoque en visualizaciones operativas */
.analytics-filters label { grid-template-rows:18px 43px; align-items:start; }
.analytics-filters input,
.analytics-filters select { box-sizing:border-box; height:43px; min-height:43px; margin:0 !important; align-self:start; }
.analytics-card--insight,
.analytics-table-card { display:none; }
.analytics-card--map { grid-column:span 2; }
.analytics-card--map [data-map] { height:520px; }
@media(max-width:620px){.analytics-card--map{grid-column:auto}.analytics-card--map [data-map]{height:360px}}
