@import url(https://fonts.googleapis.com/css?family=Roboto:300,400);
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css);
body {
    margin: 0;
    width: 100%;
    height: 100vh;
}
html {
  scroll-behavior: smooth;
}
.logo_container img {
  width: 200px;
}
.boton_whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    z-index: 1000;
    border-radius: 20px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}
.boton_whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
}
nav {
    width: 100%;
    height: 80px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1) ;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo_container {
    margin-left: 30px;
    width: 20%;
}
.menu a {
    color: black;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 21px;
    text-decoration: none;
    transition: color 0.3s ease;
}
.menu a:hover {
    color: #114686;
}
.menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin-right: 30px;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: white;
}
nav p {
    color: black;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 28px;
    margin: 0;
}
.coche_mexacar_img {
    width: 100%;
}
.seccion_informacion{
    display: flex;
    height: 90vh;
    align-items: center;
}
.coche_mexacar {
    width: 50%;
}
.informacion {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.informacion h1 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 38px;
    margin: 0;
    color: #114686;
}
.info_cliente h1 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 34px;
    margin: 0;
    color: #114686;
}
.informacion p {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 20px;
    margin: 20px 0;
}
footer {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
}
footer p {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 15px;
    text-align: center;
}
.informacion a {
    width: 200px;
    height: 50px;
    background-color: #3374c4;
    color: white;
    border: none;
    border-radius: 10px;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}
.informacion a:hover {
    transform: scale(1.1);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}
/* Estilo del botón hamburguesa */
.menu_toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
  margin-right: 20px;
}
@media (max-width: 768px) {

.menu_toggle {
    display: block;
  }
.menu_container {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;   
    right: 0;
    width: 200px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 20px;
    z-index: 10;
  }
.menu_container.active {
    display: flex;
  }
.menu {
    flex-direction: column;
    gap: 15px;
  }
.menu li {
    display: block;
    margin: 0;
  }
.menu li a {
    display: block;
    padding: 8px 0;
  }
}
.seccion_cotizacion {
    display: flex;
    height: 100vh;
    align-items: center;
    padding: 20px;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
}
.cotizador {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.info_cliente {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
input[type="range"] {
    width: 50%;
    -webkit-appearance: none;
    height: 15px;
    border-radius: 15px;
    background: #114686;
    outline: none;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #d1cfcf;
    cursor: pointer;
    margin-top: 0px;
    box-shadow: 0px 2px
    5px rgba(0, 0, 0, 0.3);
}
.cotizador h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 34px;
    color: #DF1732;
}
.cotizador p {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 20px;
    margin: 20px 0;
}
.cotizador h1 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 38px;
    margin: 0;
    color: #114686;
}
/* Estilos del formulario */
.formulario_cliente {
  width: 50%;
  margin: 40px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-family: "Poppins", sans-serif;
}

.form-cliente .campo {
  margin-bottom: 15px;
}

.input-form {
  width: 80%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.input-form:focus {
  border-color: #2980b9;
  outline: none;
  box-shadow: 0 0 5px rgba(41, 128, 185, 0.3);
}

label {
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
  color: #2c3e50;
}

.boton-enviar {
  width: 100%;
  padding: 12px;
  background-color: #3374c4;
  margin-top: 10px;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.boton-enviar:hover {
  background-color: #1e6fa4;
  transform: translateY(-2px);
}

/*Seccion nosotros*/
#seccion_nosotros {
    display: flex;
    align-items: center;
    height: 80vh;
    background-color: #f5f5f5;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
}
#seccion_nosotros .contenedor_titulo {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-right: 2px solid #114686;
}
#seccion_nosotros .contenedor_texto {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
#seccion_nosotros h1 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 30px;
    margin: 0;
    color: #114686;
}
#seccion_nosotros p {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 20px;
    margin: 20px 0;
}
.contenedor_texto p {
    font-weight: 300;
    color: black;
    width: 60%;
}
.contenedor_titulo p {
    color: #DF1732;
    font-family: "Poppins", sans-serif;
}
#seccion_sucursales {
    display: flex;
    height: 90vh;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    flex-direction: column;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
}
#seccion_sucursales h1 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 30px;
    margin-top: 50px;
    color: #114686;
}
#tarjeta {
    width: 300px;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 20px;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
}
#tarjeta:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 16px rgba(0, 0, 0, 0.2);
}
.irapuato {
    background-image: url('../img/sucursal_irapuato.jpg');
}
.celaya {
    background-image: url('../img/mexacar_celaya.jpg');
}
.contenedor_sucursales {
    display: flex;
    gap: 40px;
}
.texto_sucursal {
    background-color: rgba(17, 70, 134, 0.5);
    backdrop-filter: blur(2px);  
    width: 100%;
    height: 90px;
    bottom: 0;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
}
.texto_sucursal h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 20px;
    margin:0;
    color: white;
}
.texto_sucursal p {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-size: 12px;
    color: white;
    text-align: center;
    margin: 0;
}
.subtitulo {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 20px;
    margin: 40px 0;
}

/* =========================
   ESTILOS RESPONSIVE
   ========================= */

/* Tablets y pantallas medianas */
@media (max-width: 992px) {
  .seccion_informacion {
    flex-direction: column;
    height: auto;
    text-align: center;
    padding: 80px 0;
  }

  .coche_mexacar,
  .informacion {
    width: 90%;
  }

  .seccion_cotizacion {
    flex-direction: column;
    height: auto;
  }

  .cotizador,
  .info_cliente {
    width: 90%;
    margin-bottom: 40px;
  }

  #seccion_nosotros {
    flex-direction: column;
    height: auto;
    padding: 40px 20px;
  }

  #seccion_nosotros .contenedor_titulo {
    border-right: none;
    padding-bottom: 20px;
  }

  #seccion_sucursales {
    height: auto;
    padding: 40px 20px;
  }

  .contenedor_sucursales {
    flex-direction: column;
    align-items: center;
  }

  #tarjeta {
    width: 80%;
    max-width: 350px;
  }

  nav {
    height: 70px;
    flex-wrap: wrap;
  }

  .logo_container {
    width: auto;
    margin-left: 15px;
  }

  .menu_container {
    width: 100%;
  }

  .menu a {
    font-size: 18px;
  }
}

/* Celulares */
@media (max-width: 576px) {
  nav p {
    font-size: 20px;
  }

  .informacion h1 {
    font-size: 28px;
  }

  .informacion p {
    font-size: 16px;
  }

  .cotizador h2 {
    font-size: 24px;
  }

  .cotizador p {
    font-size: 16px;
  }

  .cotizador h1 {
    font-size: 26px;
  }

  #seccion_nosotros h1,
  #seccion_sucursales h1 {
    font-size: 24px;
  }
  #seccion_nosotros p {
    font-size: 16px;
    width: auto;
  }
  .formulario_cliente {
    width: 90%;
    padding: 20px;
  }

  input[type="range"] {
    width: 80%;
  }

  footer p {
    font-size: 13px;
  }
  .testimonios {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
.subtitulo {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 20px;
    margin: 40px 0;
    text-align: center;
    justify-self: center;
}
/* Estilos para la sección de testimonios */
.seccion_testimonios {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    padding-bottom: 40px;
    padding-top: 20px;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
}
.seccion_testimonios h2 {
    font-family: "Poppins", sans-serif;
    margin: 0;
    font-weight: 400;
    font-style: italic;
    font-size: 30px;
    margin-bottom: 20px;
    color: #114686; 
}
.testimonios {
    display: flex;
    width: 100%;
    justify-content: center;
}
.snip1533 {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  color: #9e9e9e;
  display: inline-block;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  margin: 35px 10px 10px;
  max-width: 310px;
  min-width: 250px;
  position: relative;
  text-align: center;
  width: 100%;
  background-color: #ffffff;
  border-radius: 5px;
  border-top: 5px solid #DF1732;
}

.snip1533 *,
.snip1533 *:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.1s ease-out;
  transition: all 0.1s ease-out;
}

.snip1533 figcaption {
  padding: 13% 10% 12%;
}

.snip1533 figcaption:before {
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  color: #DF1732;
  content: "\f10e";
  font-family: 'FontAwesome';
  font-size: 32px;
  font-style: normal;
  left: 50%;
  line-height: 60px;
  position: absolute;
  top: -30px;
  width: 60px;
}

.snip1533 h3 {
  color: #3c3c3c;
  font-size: 20px;
  font-weight: 300;
  line-height: 24px;
  margin: 10px 0 5px;
}

.snip1533 h4 {
  font-weight: 400;
  margin: 0;
  opacity: 0.5;
}

.snip1533 blockquote {
  font-style: italic;
  font-weight: 300;
  margin: 0 0 20px;
}
/*Seccion contacto */
#seccion_contacto {
    display: flex;
    height: auto;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    flex-direction: column;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
}
#seccion_contacto h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 30px;
    margin-top: 20px;
    margin-bottom: 0;
    color: #114686;
}
#seccion_contacto h3 {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 24px;
    color: #114686;
}
#seccion_contacto p {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-size: 18px;
    margin: 10px 0 20px;
    color: #333;
    text-decoration: none;
}
@media (max-width: 576px) {
  #seccion_contacto h2 {
    font-size: 24px;
  }
  #seccion_contacto h3 {
    font-size: 20px;
  }
  #seccion_contacto p {
    font-size: 16px;
  }
  .seccion_testimonios h2 {
    font-size: 24px;
  }
}
.login_seccion {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: white;
    flex-direction: column;
}
.login_seccion h1 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 34px;
    margin-bottom: 20px;
    color: #114686;
    text-align: center;
}
.contenedor_login {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  flex-direction: column;
}

/* Caja del formulario */
.formulario_login {
  width: 100%;
  max-width: 360px;
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.login_fieldset{
  border: none;
}
/* Título */
.login_fieldset legend {
  font-size: 1.4rem;
  color: #1f4e79; 
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  border: none;
}

/* Inputs */
.input_login {
  width: 90%;
  padding: 12px 14px;
  margin: 10px 0 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.2s ease;
}

.input_login:focus {
  outline: none;
  border-color: #1f4e79;
  box-shadow: 0 0 0 2px rgba(31, 78, 121, 0.15);
}

/* Botón */
.boton_login {
  width: 100%;
  background-color: #1f4e79;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.boton_login:hover {
  background-color: #163b5a;
}

/* Ajustes pequeños para móviles */
@media (max-width: 480px) {
  .formulario_login {
    padding: 30px 20px;
  }
}