@charset "UTF-8";
/* CSS Document */

:root {
  --primary: linear-gradient(to right, #005ca9, #509fcb);
  --background: #fff;
  --accent: #00254b;
  --text: #333;
  --border: #eee;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

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

header {
  background: var(--primary);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: bold;
}
.logo img {
  height: 200px; /* Ajusta según el tamaño que quieras */
  width: auto;
  margin-left: 0px;
}
.logo2 {
  font-weight:lighter;
  font-size: 0.7rem;
  width: 300px;
  margin-left: 0%;
  
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  font-size: font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-weight: lighter;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

.section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
}

form input, form textarea {
  padding: 0.75rem;
  border: 1px solid var(--border);
  font-size: 1rem;
}

form button {
  background: var(--primary);
  color: white;
  padding: 0.75rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background: var(--accent);
}


/* Banner */
.banner {
  position: relative;
  height: 60vh;
  color: white;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* capa oscura encima del fondo, pero detrás del contenido */
.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7); /* Cambia el 0.4 según la opacidad que quieras */
  z-index: 1;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
	
  
  
}

.slide.active {
  opacity: 1;

}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 90%;
  padding: 50px;
}

.banner-content img {
  width: 70px;
  margin-bottom: 15px;
}

.banner-content h1 {
  font-size: 1.8rem;
  margin: 0 0 10px;
  font-weight: normal;
  letter-spacing: 1px;
 color: #005ca9;
}

.recuadro-lineal {
  width: 60px;
  height: 20px;
  background: #ff4500;
  margin: 10px auto;
  border-radius: 2px;
}

.banner-content p {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: lighter;
}

.recuadro-lineal {
  width: 50%;        
  margin-left: 25%;
  margin-right: 25%;
  height: 10px;
  background: linear-gradient(to right, #005ca9, #509fcb); 
  margin-top: 0px;
  padding-top: 0px;
  margin-bottom: 15px;
}

/* Renueva */
.renueva {
  text-align: center;
  padding: 4rem 1rem;
  background-color: #f9f9f9;
}

.renueva-texto h2 {
  font-size: 2rem;
  color: #0057A0;
  align-items: center;
  margin-bottom: 0.5rem;
}
.renueva-texto p {
  color: #666;
  margin: 0.2rem 0;
}

.icono-css {
  width: 30px;
  height: 30px;
  border-radius: 80%;
  background: linear-gradient(to right, #005ca9, #509fcb);
  display: inline-block;
  position: relative;
  margin-right: 0.2rem;
}

.icono-css::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 45%;
  width: 6px;
  height: 6px;
  border: solid white;
  border-width: 3px 3px 0 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.renueva-contenedor {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.renueva-item {
  width: 250px;
  height: 450px;
  border-radius: 125px;
  overflow: hidden;
  background: linear-gradient(to bottom, #005ca9, #509fcb);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  position: relative;
}

.renueva-top {
  padding: 2rem 1rem 1rem;
  text-align: center;
  font-weight: 500;
  z-index: 2;
}

.renueva-bottom img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}


.renueva-bottom {
  position: relative;
  height: 100%;
  overflow: hidden;
}
.renueva-bottom:hover{
  transform: scale(1.1);

}

.renueva-bottom img {
  width: 100%;
  transition: opacity 0.4s ease;
  display: block;
}

.texto-oculto {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 2rem;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #005ca9, #509fcb);
  color:#FFFFFF;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight:lighter;
  font-size: 0.8rem;
  
  
}

.renueva-item.activo img {
  opacity: 0;
  pointer-events: none;
}

.renueva-item.activo .texto-oculto {
  opacity: 1;
}
/* Banner Video*/
 .container2 {
            position: relative;
            width: 100%; /* Ajusta el tamaño según necesites */
            height: 100%;
            overflow: hidden;
        }
 .container2 video {
            position: relative;
            width: 100%; /* Ajusta el tamaño según necesites */
            height: 100%;
            overflow: hidden;
        }

/* Banner Color */
        .container1 {
            position: relative;
            width: 100%; /* Ajusta el tamaño según necesites */
            height: 480px;
            overflow: hidden;
        }
        .image {
            position: absolute;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .image.second {
            clip-path: inset(0 50% 0 0); /* Inicialmente oculta la mitad derecha */
            position: absolute;
        }
.indicator {
    position: absolute;
    width: 50px;
    height: 50px;
    pointer-events: none;
    transform: translate(-50%, -50%);
    display: none; /* Se oculta hasta que el usuario pase el cursor */
    background-color: #005ca9; /* Color azul */
    border-radius: 50%; /* Lo convierte en un círculo */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7); /* Sombra negra */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.hand-icon {
    width: 25px;
    height: auto;
}
        .indicator img {
            width: 80%;
            height: 80%;
            object-fit: contain;
        }
        .divider {
            position: absolute;
            width: 2px; /* Grosor de la línea */
            height: 100%;
            background-color: rgba(255, 255, 255, 0.8); /* Color blanco semi-transparente */
            top: 0;
            display: none; /* Se oculta hasta que el usuario pase el cursor */
        }

/* Showroom Movil*/
.showroom {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #fff;
}

.contenido-showroom h3 {
  font-size: 1.8rem;
  color: #6f6f6f;
  margin-bottom: 0.5rem;
  font-weight: lighter;
}

.contenido-showroom h2 {
  font-size: 2.2rem;
  color: #0063B1;
  margin-bottom: 1rem;
}

.contenido-showroom p {
  max-width: 700px;
  margin: auto;
  color: #333;
  font-size: 1rem;
  margin-top: 0px;
}

.imagen-showroom img {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 2rem auto;
  display: block;
}

.iconos-showroom {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.icono {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.icono:hover {
  transform: scale(1.1);
}

.icono img {
  width: 60px;
  height: 60px;
}

.icono p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #005ca9;
}

/* Modal styles */
.modal {
  display: none; /* oculto por defecto */
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #fff;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  border-radius: 10px;
  position: relative;
  text-align: center;
}

.close {
  position: absolute;
  top: 15px; right: 15px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.modal-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 1rem;
}

/* Showroom calendario y contacto */

.showroom-section {
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
}

.showroom-left {
  background-color:#F7F7F8;
  color: #005ca9;
  flex: 1 1 40%;
  box-sizing: border-box;
  font-weight: lighter;
  padding-left: 80px;
  padding-right: 80px;
  padding-bottom: 80px;
  padding-top: 80px;
}

.showroom-left h2 {
  margin-top: 0;
  letter-spacing: 3px;
}
.showroom-left h3 {
  letter-spacing: 3px;
  font-weight: lighter;
}
.showroom-left .icon img {
  width: 150px;
  margin: 20px 0;
}

.recuadro-lineal2 {
  width: 60%;  
  height: auto;
  background: linear-gradient(to right, #005ca9, #509fcb); 
  padding-top: 0px;
  padding: 2%;
  margin-top: 2%;
  margin-bottom: 2%;
}
.recuadro-lineal2 img {
  width: 100%;
  height: auto;
	
}
.showroom-buttons {
  margin-top: 30px;
}


.showroom-buttons .btn {
  background: linear-gradient(to bottom, #005ca9, #509fcb);  
  color:#FFFFFF;
  padding: 10px 20px;
  text-decoration: none;
  margin-right: 10px;
  display: inline-block;
  transition: 0.3s;
}

.showroom-buttons .btn.outline {
  border: 2px solid white;
  font-size: 16px;
	
}
.showroom-buttons .btn :hover {
  background-color: #003e80;
  color: #FFFFFF;
}

.showroom-right {
  flex: 1 1 60%;
  padding: 0;
  box-sizing: border-box;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 15px;
  height: 100%;
  background: #F7F7F8;
}

.image-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-grid .tall {
  grid-row: span 2;
}
.image-grid .small {
  grid-row: span 1;
}
.image-grid .small2 {
  grid-template-columns: repeat(2, 1fr);
}

/* Medios */
#medios .medios-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
	padding-top: 0px;
}

.medios-imagen, .medios-info {
  flex: 1 1 50%;
}

.medios-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.medios-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  background-color: #FFFFFF;
}

.medios-info h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #005ca9;
}

.medios-info p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #6f6f6f;
  font-weight: lighter;
}

/* Estilo del botón de descarga de Medios */
.boton-descarga {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(to bottom, #005ca9, #509fcb);  color: white;
  text-decoration: none;
}

.boton-descarga:hover {
  background: #00254b;
}


/* Footer */

    footer {
      background-color: #00254b; /* Azul oscuro */
      color: white;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    }

    .footer-content {
      display: flex;
      justify-content: space-between;
      padding: 40px 20px;
      flex-wrap: wrap;
    }

    .footer-box {
      flex: 1 1 20%;
      padding: 10px;
      min-width: 150px;
	  
    }

    .footer-box img {
      width: 120px;
      margin-bottom: 10px;
    }

    .footer-box h4 {
      margin-bottom: 10px;
      font-size: 12px;
      color: #FFFFFF;
	  font-weight: normal;
	  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    }

    .footer-box p, .footer-box a {
      font-size: 12px;
      color: #ededed;
      text-decoration: none;
      margin-bottom: 5px;
      display: block;
	  font-weight: lighter;
	  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
	  cursor: pointer;
    }

    .social-icons {
      display: flex;
      gap: 15px;
      margin-top: 10px;
	  cursor: pointer;
    }

    .social-icons a {
      color: white;
      font-size: 18px;
      transition: color 0.3s;
	  cursor: pointer;
    }

    .social-icons a:hover {
      color: #00aaff;
	  cursor: pointer;
    }

    .footer-bottom {
      background-color: #00254b; /* Celeste */
      text-align: center;
      padding: 10px 0;
      font-size: 12px;
      color: #6f6f6f;
	  font-weight: lighter;
	  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2); /* Sombra superior */
	  cursor: pointer;

    }



/* Estilos modal de Contacto */
.modal-contacto {
  display: none; /* Esto lo oculta al cargar */
  position: fixed;
  z-index: 2000;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 30, 30, 0.6);
  align-items: center;
  justify-content: center;
  gap: 40px; /* espacio arriba y abajo */
  box-sizing: border-box; /* para que el padding no afecte al tamaño */
}

.modal-content-contacto {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 800px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
   max-height: calc(100vh - 80px);
  overflow-y: auto;
  /* Para que el modal no quede pegado al borde, agrega margin */
  margin: 40px 0;
  /* Evita que el contenido “rompa” el borde redondeado */
  background-clip: padding-box;
}
/* Contenedor interno para scroll si el contenido es muy grande */
.modal-scroll-wrapper {
  max-height: 100%;
  overflow-y: auto;
  padding-right: 10px; /* para que no quede cortado el scroll */
}
.modal-scroll-wrapper h2 {
 font-size: 2.2rem;
  color: #0063B1;
	
  
}

.close-contacto {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 28px;
  color: #555;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

.close-contacto:hover {
  color: #000;
}

#formularioContacto input,
#formularioContacto textarea {
  width: 100%;
  padding: 10px;
  margin-top: 0px;
  margin-bottom: 0px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  box-sizing: border-box; /* Esto es clave */
  font-size: 1rem;
  font-family: inherit;
  display: block; /* para evitar comportamiento inline inesperado */
}
#formularioContacto {
  width: 100%;
  max-width: 600px; /* o el que prefieras */
  margin: 0 auto;
  box-sizing: border-box;
}

/* Estilos Responsivo Footer */
    @media (max-width: 768px) {
      .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }

      .footer-box {
        margin-bottom: 20px;
      }

      .social-icons {
        justify-content: center;
      }
    }

/* Politicas y Cookies */
.politicas{
	width: 80%;
	margin-left: 10%;
	margin-right: 10%;
	margin-top: 5%;
}
.politicas p{
	text-align: left;
}
.politicas h2{
	text-align: left;
	margin-top: 1.5rem;
}
.politicas ul{
	text-align: left;
	margin-bottom: 1.5rem;
}
.politicas h3{
	text-align: left;
	margin-top: 1.5rem;
}

/* Responsive Botonera principal*/
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--primary);
    position: absolute;
    right: 0;
    top: 70px;
    width: 200px;
    padding: 1rem;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-btn {
    display: block;
  }
}


/* Responsive Showroom calendario y contacto */
@media (max-width: 768px) {
  .showroom-section {
    flex-direction: column;
  }

  .showroom-left,
  .showroom-right {
    flex: 1 1 100%;
    padding: 40px 20px;
  }

  .image-grid {
    grid-template-columns: 1fr; /* una sola columna en móvil */
    grid-template-rows: auto;
  }

  .showroom-buttons {
    text-align: center;
  }

  .showroom-buttons .btn {
    display: block;
    margin: 10px auto;
    width: 80%;
  }

  .showroom-left h2,
  .showroom-left h3 {
    text-align: center;
  }

  .showroom-left .icon {
    text-align: center;
  }

  .showroom-left .icon img {
    margin: 20px auto;
  }
}



/* Responsive para Medios */
@media (max-width: 768px) {
  .medios-container {
    flex-direction: column;
  }

  .medios-imagen,
  .medios-info {
    flex: 1 1 100%;
    height: auto;
  }

  .medios-info {
    padding: 20px;
    text-align: center;
  }

  .boton-descarga {
    margin: 0 auto;
  }
}







    /* Botón de WhatsApp */
    .whatsapp-button {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 1000;
      background-color: #25d366;
      color: white;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      transition: transform 0.3s ease;
    }

    .whatsapp-button:hover {
      transform: scale(1.1);
    }

    .whatsapp-button img {
      width: 30px;
      height: 30px;
    }

   .whatsapp-button i {
  font-size: 30px; /* Puedes aumentar el tamaño aquí */
}


    /* Botón "Ir arriba" */
    #btn-ir-arriba {
      position: fixed;
      bottom: 90px; /* más arriba que el botón de WhatsApp */
      right: 25px;
      display: none;
      background: linear-gradient(to right, #005ca9, #509fcb); 
      color: white;
      border: none;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      font-size: 24px;
      cursor: pointer;
      box-shadow: 0 4px 8px rgba(0,0,0,0.3);
      z-index: 999;
      transition: transform 0.3s ease;
    }

    #btn-ir-arriba:hover {
      transform: scale(1.1);
      background-color: #555;
    }

