:root {

    --primario: #072246;
    --blanco: #FFF;
    --negro: #292727;
    --fuentePrincipal: 'Poppins', sans-serif;
}
html {
    font-size: 62.5%;
    box-sizing: border-box;
    color: var(--negro);
    
}
*, *:before, *:after {
    box-sizing: inherit;
}
body {
    font-family: var(--fuentePrincipal);
    font-size: 1.6rem;
    line-height: 1.8;
}
h1, h2, h3 {
    font-weight: 900;
    margin: 2rem 0;
}
h1 {
    font-size: 5rem;
}
h2 {
    font-size: 4.6rem;
}
h3 {
    font-size: 3rem;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
    display: block;
    
}
[class$="__contenedor"] {
    max-width: 120rem;
    margin: 0 auto;
    width: 90%;
}
[class$="__heading"] {
    text-align: center;
    margin-bottom: 5rem;
}

.header {
    background-image: url(../img/header_bg_072246.svg);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 10rem;
    padding: 5rem 0;
}
@media (min-width: 768px) { 
    .header {
        background-size: 50rem;
    }
}
@media (min-width: 992px) { 
    .header {
        background-size: 60rem;
    }
}

@media (min-width: 1280px) { 
    .header {
        background-size: 85rem;
    }
}
@media (min-width: 768px) { 
    .header__barra {
        display: flex;
        justify-content: space-between;
    }
}
.header__logo {
    width: 20rem;
    margin: 0 auto 3rem auto;
}
@media (min-width: 768px) { 
    .header__logo {
        margin: 0;
    }
    .header__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
        
    }
}

.header__heading {
    font-size: 3rem;
}
@media (min-width: 768px) { 
    .header__heading {
        text-align: left;
        font-size: 5rem;
        line-height: 1.2;
    }
}

@media (min-width: 768px) { 
    .header__imagen {
        max-width: 60rem;
        margin: 0 auto;
    }
}

.btn-rentar {
  /* Colores y Tipografía */
  background-color: #FFB300; /* Un amarillo ámbar que contrasta con el azul */
  color: #001A3D;           /* Texto en azul oscuro para legibilidad */
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  
  /* Dimensiones y Forma */
  display: block;
  padding: 15px 35px;
  border-radius: 8px;       /* Bordes ligeramente redondeados */
  
  /* Efectos y Transiciones */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

/* Efecto al pasar el mouse */
.btn-rentar:hover {
  background-color: #FFA000; /* Un tono más oscuro al posarse */
  transform: translateY(-3px); /* Pequeño salto hacia arriba */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Efecto al hacer clic */
.btn-rentar:active {
  transform: translateY(-1px);
} 


@media (min-width: 768px) { 
    .btn-rentar {
        padding: 1rem 3rem;
        display: inline-block;
    
    }
}
.navegacion {
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (min-width: 768px) { 
    .navegacion {
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
    }
}
.navegacion__link {
    color: var(--primario);
}
@media (min-width: 768px) { 
    .navegacion__link {
        color: var(--blanco);
    }
}

.navegacion__link--blanco {
    color: var(--blanco);
}

.nucleus {
    margin-top: 3rem;
}

.nucleus__grid {
    display: flex;
    flex-direction: column-reverse;
}

@media (min-width: 768px) { 
    .nucleus__grid {
        display: grid;
        grid-template-columns: 1fr 2fr;
        column-gap: 5rem;
        align-items: center;
    }
}
.listado__elemento {
    background-color: var(--blanco);
    box-shadow: 0px 0px 15px 3px rgb(0 0 0 / .15);
    padding: 2rem;
    margin-bottom: 5rem;
    transition-property: transform;
    transition-duration: 300ms;
}
.listado__elemento:hover {
    transform: scale(1.1);
}
@media (min-width: 768px) { 
    .listado__elemento--2col {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
    }
}
.listado__heading {
    font-size: 3rem;
    color: var(--primario);
    margin: 0;
}
.listado__numero {
    font-size: 6rem;
    margin: 0;
    font-weight: 900;
    color: var(--primario);
    text-align: center;
}
@media (min-width: 768px) { 
    .listado__numero {
        flex-basis: 20rem;
        text-align: right;
        font-size: 4rem;
    }
}
.listado__texto {
    margin: 0;
    font-size: 2rem;
}

.seguridad {
    background-color: var(--primario);
    padding: 20rem 0;
    position: relative;
    margin: 10rem 0;
    overflow: hidden;
}
.seguridad::before,
.seguridad::after {
    background-color: var(--blanco);
    content: '';
    height: 20rem;
    width: 120%;
    position: absolute;
}
.seguridad::before {
    top: -10rem;
    left: 0;
    transform: rotate(3deg);
}
.seguridad::after {
    bottom: -10rem;
    left: 0;
    transform: rotate(-3deg);
}
.seguridad__heading {
    color: var(--blanco);
}
@media (min-width: 768px) { 
    .seguridad__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 5rem;
        align-items: center;
        
    }
}
@media (min-width: 768px) { 
    .comisiones__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 5rem;
        align-items: flex-end;
    }
}
@media (min-width: 998px) { 
    .comisiones__grid {
        align-items: center;
    }
}
.comisiones__texto {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
}
@media (min-width: 768px) { 
    .comisiones__texto {
        text-align: left;
    }
}
.testimoniales {
    background-color: var(--primario);
    padding: 5rem 0;
}
.testimoniales__heading {
    color: var(--blanco);
}
.testimoniales__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}
@media (min-width: 768px) { 
    .testimoniales__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.testimonial {
    box-shadow: 0px 0px 15px 3px rgb(0 0 0 / .15);
    background-color: var(--blanco);
    padding: 2rem;
    position: relative;
}
.testimonial__texto {
    padding-left: 4rem;
}
.testimonial__texto::before {
    content: '';
    background-image: url(../img/comilla.png);
    background-size: 3rem;
    background-repeat: no-repeat;
    background-position: center;
    width: 3rem;
    height: 3rem;
    position: absolute;
    top: 3.5rem;
    left: 2rem;
}
.testimonial__autor {
    color: var(--primario);
    font-weight: 700;
    text-align: right;
}
.footer {
    background-color: var(--blanco);
    padding: 3rem 0;
}
@media (min-width: 768px) { 
    .footer__grid {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}
.footer__logo {
    width: 20rem;
    margin: 0 auto 4rem auto;
}
@media (min-width: 768px) { 
    .footer__logo {
        margin: 0;
    }
}

.footer{
    font-size: 3rem;
    font-weight: bold;
    color: var(--primario);
}

.mgr{
    margin: 0;
    font-size: 2.6rem;

}

.mgr {
    text-align: center;
}
@media (min-width: 768px) { 
    .mgr {
        text-align: left;
    }
}

.mgr2 {
    text-align: center;
}
@media (min-width: 768px) { 
    .mgr2 {
        text-align: left;
    }
}

.imgCar {
    
}
@media (min-width: 768px) { 
    .imgCar {
       max-width: 50rem;
    }
}

.clr{
    color: var(--primario);
}

.vehiculos {
padding: 4rem 2rem;

}


.vehiculos__titulo {
text-align: center;
margin-bottom: 3rem;
color: #0046a6;
font-weight: 700;
}


.vehiculos__grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
max-width: 1200px;
margin: 0 auto;
}


.vehiculo {
background: white;
padding: 2rem;
border-radius: 1rem;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
transition: transform .2s ease, box-shadow .2s ease;
}


.vehiculo:hover {
transform: translateY(-5px);
box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}


.vehiculo__titulo {
font-size: 1.8rem;
margin-bottom: .5rem;
color: #1a1a1a;
}


.vehiculo__texto {

color: #555;
line-height: 1.6;
}