:root {
    --red-brand: #c30000; 
    --dark-text: #1a1a1a;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
}

/************ SECCIÓN DE LOGO ************/

.contenedor-header{
    background-color: white;
    padding: 10px 20px;

}

.logotipo {
    width: 100%;
}

#logo {
    width: 200px;     
    height: auto;
    max-width: 80%;   
    display: inline-block;
    margin: 8px 0;   
}

/************ SECCIÓN DEL MENÚ ************/

.menu-navegacion{
    background-color:#c30000;
    width: 100%;
    height:100%;
    padding-bottom: 1%;
    padding-top: 1%;
}

.menu-navegacion ul {
    display: flex;
    list-style: none;
    justify-content: space-between; 
    max-width: 1400px;
    margin: 0 auto;   
    padding: 0 40px;
}

.menu-navegacion a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 1.5rem; 
    transition: 0.3s;
    font-size: 1.5rem; 
    text-shadow: 0 0 10px #ff0000;
}

.menu-navegacion a:hover, .menu-navegacion a.active {
    opacity: 0.8;
}

/************ SECCIÓN DEL BANNER ************/

.caja-banner {
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: left;
    color: white;
    text-align: left;
    background: url("img/img-home/hero-moto1.png") no-repeat;
    background-position: center;
    background-size: cover;
}

.caja-banner2{
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: left;
    color: white;
    text-align: left;
    background: url("img/img-servicios/banner-moto2.png") no-repeat;
    background-position: center;
    background-size: cover;
}

.caja-banner3{
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: left;
    color: white;
    text-align: left;
    background: url("img/img-flota/banner-flota1.jpg") no-repeat;
    background-position: center;
    background-size: cover;
}

.caja-banner4{
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: left;
    color: white;
    text-align: left;
    background: url("img/img-blog/banner-blog.png") no-repeat;
    background-position: center;
    background-size: cover;
}

.caja-banner5{
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: left;
    color: white;
    text-align: left;
    background: url("img/img-contacto/copia-banner.png") no-repeat;
    background-position: center;
    background-size: cover;
}

.caja-banner .banner {
    position: absolute;
    inset: 0;   
    background: linear-gradient(90deg, oklch(52.143% 0.18862 26.801 / 0.589), rgba(255, 255, 255, 0));
}

.caja-banner2 .banner {
    position: absolute;
    inset: 0;   
    background: linear-gradient(90deg, oklch(52.143% 0.18862 26.801 / 0.589), rgba(255, 255, 255, 0));
}

.caja-banner3 .banner {
    position: absolute;
    inset: 0;   
    background: linear-gradient(90deg, oklch(52.143% 0.18862 26.801 / 0.589), rgba(255, 255, 255, 0));
}

.caja-banner4 .banner {
    position: absolute;
    inset: 0;   
    background: linear-gradient(90deg, oklch(52.143% 0.18862 26.801 / 0.589), rgba(255, 255, 255, 0));
}

.caja-banner5 .banner {
    position: absolute;
    inset: 0;   
    background: linear-gradient(90deg, oklch(52.143% 0.18862 26.801 / 0.589), rgba(255, 255, 255, 0));
}

.banner-content {
    position: relative;
}

/* Texto banner*/
.banner-content {
    padding-left: 10%;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 120px;
    line-height: 1.2;
}

.banner-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

/*==================================== PÁGINA HOME ====================================*/

/************ SECCIÓN SOBRE NOSOTROS ************/
.about-us {
    padding: 80px 0;
    /*padding: 10px 0 80px;*/
    text-align: center;
    background-color: #fff;
}

.todo-us {
    padding: 10px 0 80px;
    text-align: center;
    background-color: #fff;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 100px;
    font-weight: 700;
    margin-left: 5%;
}

.contenedor-titulo {
    background-color: var(--red-brand); 
    width: 95%;
    max-width: 1450px; 
    padding: 10px 0;
    border-radius: 50px; 
    text-align: center;
    margin: 0 auto 5% auto;
}

.titulo-barra {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem; 
    font-weight: 700;
    margin: 0; 
    line-height: 1.2;
}

/************ SECCIÓN CARDS HOME ************/

.cards-grid {
    display: flex !important;
    justify-content: center ;
    flex-wrap: nowrap; 
    gap: 200px !important; 
    width: 100%;
    max-width: 2000px; 
    margin: 80px auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
    width: 350px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 480px;
}

.card:hover {
    transform: translateY(-5px);
}

/************ SECCIÓN IMAGEN CARD HOME ************/

.card-icon img {
    width: 100%;
    max-width: 200px; 
    height: auto;
    margin: 0 auto 20px;
    display: block;
}

/************ SECCIÓN TEXTO CARD HOME ************/

.card h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 700;
}

.card p {
    font-size: 0.9rem;
    /*color: #666;*/
    color: #1a1a1a;
    text-align: justify;
}

/************ SECCIÓN FRASE HOME ************/

.frase-home {
    font-weight: 600;
    font-size: 2rem;
    margin-top: 100px;
    color: #333;
}

/*==================================== PÁGINA SERVICIO ====================================*/

/************ SECCIÓN CARDS SERVICIO ************/

.contenedor-servicios-detallados {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
}

.card-detalle {
    background: white;                 
    border-radius: 20px;               
    box-shadow: 0 10px 40px rgba(0,0,0,0.1); 
    display: flex;
    align-items: center;
    justify-content: center;           
    gap: 150px;                           
    padding: 60px 80px 60px 40px;                    
    margin: 40px auto;                 
    width: 100%;                      
    max-width: 1400px;                   
    overflow: hidden;
    transition: transform 0.3s ease;
    min-height: 400px;
}

.card-detalle:hover {
    transform: translateY(-5px);
}

/************ SECCIÓN ZIGZAG SERVICIO ************/

.card-detalle:nth-child(odd) {
    flex-direction: row-reverse;
}

/************ SECCIÓN IMAGENES SERVICIO ************/

.imagen-servicio {
    flex: 0 1 390px;
    display: flex;
    justify-content: center;
    
}

.imagen-servicio img {
    width: 100%; 
    max-width: 100%;
    height: 390px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    
}

.card-detalle .imagen-servicio {
    margin-left: -60px;
    margin-right: 0;
}

.card-detalle:nth-child(3) .imagen-servicio {
    margin-left: 0;
    margin-right: -60px;  
}

/************ SECCIÓN DE TEXTO CARD SERVICIO ************/

.info-servicio {
    flex: 0 1 500px; 
    text-align: left;
}

.info-servicio h3 {
    color: #1a1a1a;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.info-servicio p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

/************ SECCIÓN DE LISTA CHECK CARD SERVICIO ************/

.lista-checks {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
}

.lista-checks li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    text-align: left; 
    font-weight: 500;
    color: #333;
}

.lista-checks li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: -2px;
    background: #000; 
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/************ SECCIÓN CAMPA SERVICIOS ************/

.contenedor-titulo-campa {
    background-color: var(--red-brand); 
    width: 95%;
    max-width: 1420px; 
    padding: 10px 0;
    border-radius: 50px; 
    text-align: center;
    margin: 6% auto 4% auto;

}

.titulo-barra-campa {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem; 
    font-weight: 700;
    margin: 0; 
    line-height: 1.2;
}

.card-detalle.card-campa {
    padding: 60px 40px; 
    flex-direction: column; 
    gap: 40px;
}

.imagen-servicio-campa {
    width: 100%;
    display: flex;
    justify-content: center;
}

.imagen-servicio-campa img {
    width: 100%;
    height: auto;        
    max-height: 400px;   
    border-radius: 12px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
}

.info-campa-columnas {
    display: flex;
    justify-content: center; 
    gap: 100px; 
    width: auto; 
    margin-left: 3%; 
    margin-right: 3%; 
    border-top: 1px solid #eee; 
    padding-top: 30px;
}

.columna-info {
    flex: 1; 
    max-width: 290px;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
}

.columna-info h4 {
    color: #1a1a1a;
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 700;
    position: relative;
    padding-left: 25px;
}

.columna-info h4::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 1px;
    color: #c30000;
    font-size: 14px;
}

.columna-info p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: justify;
    
}

/*==================================== PÁGINA DE FLOTA ====================================*/

/************ SECCIÓN TEXTO FLOTA ************/

.caja-texto-flota {
    width: 90%;           
    max-width: 1400px;    
    margin: 60px auto;   
    text-align: center;  
    padding: 0; 
}

.texto-flota {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;    
    font-weight: 400;    
    color: #444;        
    line-height: 1.9;   
    letter-spacing: 0;   
    display: inline-block; 
}

/************ SECCIÓN CARDS FLOTA ************/

.flota-ligera {
    display: flex !important; 
    flex-direction: column !important; 
    padding: 40px !important; 
    gap: 60px !important;
}

.card-detalle {
    background: white;                 
    border-radius: 20px;               
    box-shadow: 0 10px 40px rgba(0,0,0,0.1); 
    display: flex;
    align-items: center;
    justify-content: center;           
    gap: 150px;                           
    padding: 60px 80px 60px 40px;                    
    margin: 40px auto;                 
    width: 100%;                      
    max-width: 1400px;                   
    overflow: hidden;
    transition: transform 0.3s ease;
    min-height: 400px;
}

/************ SECCIÓN TÍTULO ROJO CARDS FLOTA ************/

.header-rojo {
    background-color: #c30000;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    padding: 15px;
    border-radius: 50px;
    width: 90%;
    margin-top: 3%;
    text-align: center;
}

/************ SECCIÓN IMAGENES CARD FLOTA ************/

.contenedor-imagenes-flota {
    display: flex;
    gap: 20px;
    width: 100%;
    margin-top: 0 !important; 
    margin-bottom: 30px;
}
.contenedor-imagenes-flota img {
    flex: 1; 
    width: 50%;
    height: 400px; 
    object-fit: cover;
    border-radius: 25px;
}

/************ SECCIÓN TEXTO Y LISTA CHECK CARD FLOTA ************/

.info-servicio-flota {
    width: 100%;           
    max-width: 1200px;     
    margin: 0 0 40px 0;
    padding-left: 10px;
    text-align: left;
}

.info-servicio-flota p {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.6;
    margin-top: 0;         
    margin-bottom: 30px;   
    text-align: left;
}

.lista-caracteristicas {
    list-style: none;
    padding: 0;           
    margin-top: 5%;
}

.lista-caracteristicas li {
    position: relative;
    padding-left: 55px;    
    margin-bottom: 40px; 
    font-size: 1.1rem;
    color: #1a1a1a;
    line-height: 1.4;
}

.lista-caracteristicas li::before {
    content: '✔';
    position: absolute;
    left: 0;             
    top: 0;             
    background: #000;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/*==================================== PÁGINA DE BLOG ====================================*/

/************ SECCIÓN FRANJA TíTULO BLOG ************/

.header-rojo-franja {
    background-color: #c30000;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    padding: 15px;
    border-radius: 50px;
    width: 75%;
    margin-top: 5%;
    text-align: center;
    margin-bottom: 5%;
    margin-left: 12%;
}

/************ SECCIÓN IMAGENES BLOG ************/

.card-icon-blog img {
    width: 100%;
    max-width: 250px;
    height: 200px;
    margin: 0 auto 20px;
    display: block;
}

/************ SECCIÓN CARD BLOG ************/

.cards-grid-blog {
    display: flex !important;
    justify-content: center ;
    flex-wrap: nowrap; 
    gap: 200px !important; 
    width: 100%;
    max-width: 2000px; 
    margin: 80px auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.card-blog {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
    width: 350px !important;
    flex-shrink: 0 !important; 
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 480px;
}

.card-blog:hover {
    transform: translateY(-5px);
}

/************ SECCIÓN CARD TEXTO BLOG ************/

.card-blog h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 700;
}

.card-blog p {
    font-size: 0.9rem;
    color: #1a1a1a;
    text-align: justify;
}

/*==================================== PÁGINA DE CONTACTO ====================================*/

/************ SECCIÓN CARD AYUDA CONTACTO  ************/

.card-ayuda {
    background-color: #ffffff;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    padding: 80px 60px;
    width: 100%;
    max-width: 1200px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    text-align: center;      
    margin: 40px auto;
    font-family: 'Montserrat', sans-serif;
}

.header-ayuda {
    display: flex;
    flex-direction: row;   
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
}

.contenedor-icono-rojo {
    background: #fff;
    padding: 20px;          
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.10);
}

.img-tel {
    width: 90px;         
    height: auto;
    object-fit: contain;
}

.header-ayuda h2 {
    font-size: 3rem; 
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
}

.texto-ayuda {
    font-size: 1.4rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 50px;
    max-width: 700px;      
}

.fila-contacto {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
}

.item-telefono {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    color: #1a1a1a;
}

.check-circulo {
    background: #000;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.boton-ayuda {
    background-color: #c30000;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.6rem;
    padding: 15px 80px;      
    border-radius: 50px;
    transition: all 0.3s ease;
}

.boton-ayuda:hover {
    background-color: #a00000;
    transform: scale(1.05);  
}

/************ SECCIÓN DATOS Y FORMULARIO CONTACTO ************/

.seccion-contacto {
    background-color: white;
    padding: 80px 0;
    font-family: 'Montserrat', sans-serif;
}

.contenedor-contacto {
    display: flex;
    justify-content: center;
    gap: 40px; 
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; 
}

.card-contacto {
    background-color: #fff;
    border-radius: 40px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    padding: 40px;
    flex: 1; 
    min-width: 350px;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pill-header {
    background-color: #c30000;
    color: #fff;
    padding: 12px 60px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 50px;
    text-align: center;
    width: fit-content;
}

/************ SECCIÓN DATOS DE INTERÉS ************/

.lista-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 35px;
    padding-left: 50px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 25px;
}

.icono-negro {
    .img-tel {
    width: 50px;           
    height: auto;
    object-fit: contain;
    }
}

.info-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
    text-align: left;
}

#direcion-contacto{
    text-align: left;
}

/************ SECCIÓN DE FORMULARIO ************/

.formulario-consulta {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.input-estilo {
    width: 100%;
    padding: 15px 25px;
    border-radius: 30px;
    border: none;
    background-color: #fff;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.05);
    font-family: 'Montserrat', sans-serif;
    color: #333;
    outline: none;
}

.area-texto {
    height: 120px;
    resize: none;
    border-radius: 20px;
}

.contenedor-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin: 10px 0;
}

.contenedor-checkbox input {
    margin-top: 5px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.contenedor-checkbox label {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    cursor: pointer;
}

.boton-enviar {
    background-color: #c30000;
    color: #fff;
    border: none;
    padding: 12px 50px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.boton-enviar:hover {
    transform: scale(1.05);
    background-color: #a00000;
}

/************ SECCIÓN MAPA DE LOCALIZACIÓN ************/

.card-oficina {
    border-radius: 40px;
    padding: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /*puesto ahora*/
    margin-top: 0px;

}

.pill-header-oficina {
    background-color: #c30000;
    color: #fff;
    padding: 12px 80px;
    border-radius: 50px;
    font-weight: 700;
    width: 100%;
    max-width: 800px;
    font-size: 1.5rem;
    margin-bottom: 50px;
    text-align: center;
    margin-bottom: 80px;
}

.contenedor-mapa {
    width: 100%;
    border-radius: 20px;
    overflow: hidden; 
    border: 1px solid #ddd;
    line-height: 0; 
}

.contenedor-mapa iframe {
    width: 100%;
    height: 500px; 
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 10px;
}

.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: 0.4s; 
}

/************ SECCIÓN FOOTER DE TODOS ************/

.footer {
    background-color: var(--red-brand);
    color: white;
    justify-content: center;
    text-align: center;
    padding: 2.5rem 1rem;
}

.logo_footer {
    display: flex;
    justify-content: center;
}

.footer img {
    width: 160px; 
    margin-bottom: 0.5rem;
    background-color: white;      
    border-radius: 30px;         
    border: 3px solid #b5090f;
    padding: 12px 20px;        
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.footer p {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.9; 
}

/*==================================== RESPONSIVIDAD DE LAS PÁGINAS ====================================*/

/************ PANTALLAS MENORES A 1024PX ************/

@media (max-width: 1024px) {
    .menu-navegacion a {
        padding: 1rem;
        font-size: 1rem;
    }
    .banner-content h1 {
        font-size: 2.5rem;
    }
    .cards-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px;
        padding: 0 20px;
    }
    .cards-grid-blog {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablet */
        gap: 20px;
        padding: 0 20px;
    }
}

/************ PANTALLAS MENORES A 768PX ************/

@media (max-width: 768px) {
    .menu-navegacion ul {
        flex-direction: column;
        align-items: center;
        justify-content: center; 
        padding: 0;            
    }
    #logo {
        margin: 10px auto; 
        display: block;
        max-width: 150px;
    }
    .menu-navegacion a {
        display: block;
        padding: 10px;
        width: 100%;
        text-align: center;
    }
    .caja-banner {
        height: 450px;
        text-align: center;
        justify-content: center;
    }
    .banner-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start; 
        text-align: left;       
        padding-left: 20px;    
    }
    .banner-content p {
        text-align: left !important; 
        margin-left: 0 !important;
        margin-right: auto !important;
        width: 100%;
        font-size: 1.1rem;       
        line-height: 1.4;       
    }
    .banner-content h1 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .contenedor-titulo {
        width: 90%;
    }
    .titulo-barra {
        font-size: 1.5rem;
    }
    .frase-home {
        font-size: 1.4rem;
        padding: 0 20px;
    }
}

/************ PANTALLAS MENORES A 480PX ************/

@media (max-width: 480px) {
    .banner-content h1 {
        font-size: 1.5rem;
    }
    #logo {
        width: 150px;
    }
}

/************ PANTALLAS MENORES A 1024PX ************/

@media (max-width: 1024px) {
    .menu-navegacion {
        display: flex;
        justify-content: flex-end;
        padding: 10px 20px;
    }
    .menu-toggle {
        display: flex;
        z-index: 2000; 
    }
    .nav-list {
        display: flex; 
        flex-direction: column;
        position: fixed; 
        top: 0;
        right: -100%; 
        width: 75%;
        height: 100vh; 
        background-color: #c30000;
        padding-top: 100px; 
        transition: 0.4s ease-in-out; 
        z-index: 1500;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }
    #nav-list.active {
        right: 0; 
    }
    .menu-navegacion a {
        font-size: 1.5rem;
        padding: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        text-align: left; 
        width: 100%;
    }
    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0; 
    }
    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg); 
    }
    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg); 
    }
}

/************ PANTALLAS MENORES A 1024PX ************/

@media (max-width: 1024px) {
    .cards-grid {
        flex-direction: column !important;
        align-items: center !important;
        gap: 40px !important; 
        margin: 40px auto !important;
        padding: 0 20px !important;
    }
    .card {
        width: 90% !important;     
        max-width: 350px !important; 
        flex-shrink: 1 !important; 
        min-height: auto !important; 
        padding: 30px 20px !important;
    }

    /*********************** PARA BLOG *************************/

    .cards-grid-blog {
        flex-direction: column !important;
        align-items: center !important;
        gap: 40px !important; 
        margin: 40px auto !important;
        padding: 0 20px !important;
    }
    .card-blog {
        width: 90% !important;
        max-width: 350px !important;
        flex-shrink: 1 !important; 
        min-height: auto !important; 
        padding: 30px 20px !important;
    }
    .frase-home {
        font-size: 1.4rem;
        padding: 0 20px;
    }
    .header-rojo-franja {
    background-color: #c30000;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 15px;
    border-radius: 50px;
    width: 75%;
    margin-top: 5%;
    text-align: center;
    margin-bottom: 5%;
    margin-left: 12%;
    }
}    

/************ PANTALLAS MENORES A 992PX PÁGINA DE SERVICIOS ************/

@media (max-width: 992px) {
    .about-us .card-detalle, 
    .about-us .card-detalle:nth-child(odd),
    .about-us .card-detalle:nth-child(3) {
        flex-direction: column;
        height: auto;           
        min-height: 0;          
        padding: 30px 20px;    
        gap: 20px;              
        width: 90%;          
        margin: 20px auto;
    }
    .card-detalle .imagen-servicio,
    .card-detalle:nth-child(odd) .imagen-servicio,
    .card-detalle:nth-child(3) .imagen-servicio {
        margin: 0;             
        width: 100%;
        display: flex;
        justify-content: center;
        flex: none;             
    }
    .imagen-servicio img {
        width: 100%;
        max-width: 500px; 
        height: 250px;         
        object-fit: cover;  
        border-radius: 15px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .info-servicio {
        width: 100%;
        flex: none;
        padding: 0;
        display: flex;
        flex-direction: column;
    }
    .info-servicio h3 {
        text-align: center;
        margin-bottom: 30px;
        font-size: 1.4rem;
    }
    .info-servicio p {
        text-align: justify;
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 30px;
        padding-left: 30px;
        padding-right: 30px;
    }
    .lista-checks {
        margin-top: 0;
        padding-left: 30px;
        display: flex;
        flex-direction: column;
        align-items: flex-start; 
        margin-bottom: 15px;
    }
    .lista-checks li {
        margin-bottom: 15px;
        font-size: 0.9rem;
    }
    .texto-flota {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;    
    font-weight: 400;     
    color: #444;        
    line-height: 1.9;   
    letter-spacing: 0;    
    display: inline-block;
    }
    .contenedor-imagenes-flota{
    display: flex;
    flex-direction: column; 
    gap: 20px; 
    width: 100%;
    max-width: 5000px;
    }

    /*campa*/

    .contenedor-titulo-campa{
        width: 90%;
    }
    .titulo-barra-campa {
        font-size: 1.5rem;
    }
    #texto-campa{
        text-align: justify;
    }

    .info-campa-columnas {
        flex-direction: column;
        gap: 35px; 
        margin-left: 0; 
        margin-right: 0;
        padding-top: 25px;
    }
    .columna-info {
        max-width: 100%; 
    }
    .columna-info h4 {
        font-size: 1.15rem;
        margin-bottom: 8px;
    }
    #texto-campa {
        font-size: 0.95rem;
        line-height: 1.6;
        text-align: left; 
    }
}

/************ PANTALLAS MENORES A 480PX  ************/

@media (max-width: 480px) {
    .about-us .card-detalle {
        padding: 20px 15px;
    }
    .imagen-servicio img {
        height: 180px;
    }
    .info-servicio p, .lista-checks {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/************ PANTALLAS MENORES A 992PX PÁGINA DE FLOTA ************/

@media (max-width: 992px) {
    
    .contenedor-imagenes-flota {
        display: flex;
        flex-direction: row; 
        gap: 10px;          
        width: 100%;
        justify-content: center;
    }
    .contenedor-imagenes-flota img {
        flex: 1;            
        width: 50%;          
        height: 150px;       
        object-fit: cover;   
        border-radius: 15px; 
    }
    .flota-ligera {
        padding: 20px !important; 
        gap: 20px !important; 
    }
    .info-servicio-flota p {
        font-size: 0.95rem;    
        line-height: 1.5;      
        margin-bottom: 20px;   
        padding: 0 5px;        
    }
    .lista-caracteristicas li {
        font-size: 0.9rem; 
        padding-left: 45px; 
        margin-bottom: 25px;
        line-height: 1.3;
    }
    .lista-caracteristicas li::before {
        width: 28px;          
        height: 28px;       
        font-size: 14px;      
        top: 0;             
    }
    .info-servicio-flota {
        margin-bottom: 20px;
    }

    .header-rojo {
        width: 100%;          
        padding: 10px 20px; 
        margin: 0 auto 10px auto;
    }
    .header-rojo h4 {
        font-size: 1.1rem;   
        margin: 0;         
        line-height: 1.2;
    }
    .card-detalle {
        background-color: #ffffff; 
        width: 92%;               
        margin: 20px auto;        
        border-radius: 20px;      
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); 
        padding: 25px 15px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .caja-blogs{
    justify-content: center;
    }
}

/************ PANTALLAS MENORES A 992PX PÁGINA DE CONTACTO ************/

@media (max-width: 992px) {
    .card-ayuda {
        padding: 95px 55px;
        width: 90%;
        margin: 20px auto;
        min-height: auto;
    }
    .header-ayuda {
        flex-direction: row !important;
        justify-content: center;
        gap: 15px;
        margin-bottom: 25px;
    }
    .img-tel {
        width: 45px; 
        height: auto;
    }
    .header-ayuda h2 {
        font-size: 1.3rem;
        text-align: left;
        line-height: 1.2;
    }
    .texto-ayuda {
        font-size: 0.95rem;
        padding: 0 25px; 
        margin-bottom: 30px;
        line-height: 1.5;
        text-align: center;
    }
    .fila-contacto {
        flex-direction: row !important; 
        justify-content: center;
        align-items: center;
        gap: 10px; 
        width: 100%;
    }
    .item-telefono {
        font-size: 1rem;
        gap: 8px;
        white-space: nowrap;
    }
    .check-circulo {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
    .boton-ayuda {
        font-size: 1.1rem;
        padding: 8px 20px;
        width: auto;
        border-radius: 50px;
        white-space: nowrap;
    }
}

/************ PANTALLAS MENORES A 992PX PÁGINA DE CONTACTO ************/

@media (max-width: 992px) {

    .pill-header-oficina {
        width: 90% ;         
        padding: 10px 15px ; 
        margin-bottom: 30px ; 
    }
    .pill-header-oficina h4 {
        font-size: 1.1rem ;   
        white-space: nowrap ; 
        margin: 0;
    }
}

/************ PANTALLAS MENORES A 992PX PÁGINA DE CONTACTO ************/

@media (max-width: 992px) {
    .img-tel {
        width: 40px !important;
        height: auto;
        object-fit: contain;
    }
    .card-contacto {
    max-width: 480px;
    }
    .pill-header{
    font-size: 1rem;
    }
}

/************ PANTALLAS MENORES A 992PX PÁGINA DE CONTACTO ************/
@media (max-width: 992px) {
    .boton-enviar {
        padding: 8px 30px !important; 
        font-size: 1rem !important;    
        width: auto !important;        
    }
    .frase-home {
        font-size: 1.4rem;
        padding: 0 20px;
    }
    .footer img {
    width: 100px;
    margin-bottom: 0.5rem;
    }
    .footer {
        background-color: var(--red-brand);
        color: white;
        justify-content: center;
        text-align: center;
        padding: 2.5rem 1rem; 
    }
    .logo_footer {
        display: flex;
        justify-content: center;
    }
    .footer img {
        width: 130px; 
        margin-bottom: 0.5rem;
        background-color: white;     
        border-radius: 20px;
        border: 3px solid #b5090f;   
        padding: 12px 20px;          
        display: inline-block;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15); 
    }

    .footer p {
        margin-top: 1.5rem;
        font-size: 0.9rem;
        opacity: 0.9; 
    }
    
}