* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,body {
    overflow-x: hidden;
    background-color: #fef9e7;
}

.barra-encabezado {
    background-color: #192851;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);

}

.contenedor-logo img {
   height: 200px;
}

.bienvenida-encabezado {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px; 
  background-color: #192851;
  color: #cdbea1; 
  font-size: 2.2em; 
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: salir-vehiculo 4s ease forwards;
  animation-delay: 0.9s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
}


.franja-amarilla {
  background-color: transparent;
  padding: 0;
  display: inline-block;
  border-radius: 0;
}

.texto-bienvenida {
  font-size: 1.8rem;
  font-weight: bold;
  color: #cdbea1;
  opacity: 0;
  animation:
    aparecer-texto 0.3s ease-in 0.2s forwards,
    desaparecer-texto 0.4s ease-out 1.3s forwards;
}

.contenido-principal {
    padding-top: 220px; 
}


.barra-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
}

.barra-links a {
    text-decoration: none;
    color: #0033a0;
    font-size: 23px;
    transition: color 0.3s ease;
    font-family: Arial, Helvetica, sans-serif;
    font-style: oblique;
   text-shadow: #cdbea1;;
   font-style: bold;
   
  
}

.barra-links a:hover {
    color: #192851;
}

body {
      font-family: Arial, sans-serif;
      background: #fef9e7;
      padding: 0px;
    }
    .container {
  max-width: 700px; /* más ancho */
  margin: auto;
  background: #192851;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.2);
}
    h2 {
      text-align: center;
      color: #4b7bff;
    }
    label {
      display: block;
      margin-top: 15px;
      color: #4b7bff;
    }
    input {
      width: 100%;
      padding: 10px;
      margin-top: 5px;
      border: 1px solid #dbfffd;
      border-radius: 5px;
    }
   .resultado {
  margin-top: 30px;
  background: #cefdff;
  padding: 25px;
  border-radius: 10px;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.resultado label {
  font-weight: bold;
  color: #003366;
}

.resultado input {
  width: 100%;
  padding: 12px;
  border: 1px solid #a7d1e1;
  border-radius: 5px;
  background-color: #f0faff;
  font-size: 16px;
  color: #333;
}

.resultado input.cuota-destacada {
  background-color: #dff6ff;
  font-weight: bold;
  border: 2px solid #4b7bff;
  color: #000f66;
}

.footer {
  background-color: #192851; 
  color: white;
  text-align: center;
  padding: 0;
}

.footer-imagen {
  background-image: url('/Imagenes/Inicio/capitall.jpeg'); 
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  height: 120px; 
  width: 100%;
}

.footer-info {
  padding: 20px 15px;
  max-width: 800px;
  margin: 0 auto;
}

.footer-info h3 {
  margin: 10px 0;
  font-size: 1.5em;
  color: #ffffff;
}

.footer-info p {
  margin: 5px 0;
  font-size: 1em;
  color: #ffffff;
}

.footer-info a {
  color: #00c3ff;
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: underline;
}


 .aparecer {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
  }
  
  .aparecer.visible {
    opacity: 1;
    transform: translateY(0);
  }

  

@keyframes aparecer-texto {
  to { opacity: 1; }
}

@keyframes desaparecer-texto {
  to { opacity: 0; }
}

@keyframes desvanecer-franja {
  to { background-color: transparent; }
}

 
@keyframes salir-vehiculo {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

.whatsapp-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.whatsapp-button {
  background-color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  cursor: pointer;
}

.whatsapp-button img {
  width: 35px;
  height: 35px;
}

.whatsapp-chat {
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 250px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  font-family: Arial, sans-serif;
}

.boton-whatsapp-simulador {
  margin-top: 20px;
  background-color: #25D366;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.boton-whatsapp-simulador:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.chat-header {
  background-color: #25D366;
  color: white;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.chat-header button {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.chat-body {
  padding: 15px;
  font-size: 14px;
}

.chat-body .iniciar-chat {
  display: inline-block;
  margin-top: 10px;
  background-color: #25D366;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.chat-body .iniciar-chat:hover {
  background-color: #128C7E;
}
