/* Reset y base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #000;
}

a {
  text-decoration: none;
  color: inherit;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 90px;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 40px;
  font-weight: bold;
}

.logo img {
  height: 50px;
}

.menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.menu a {
  font-weight: 400;
  color: #000;
}

/* Botón de sesión */
.btn-outline {
  border: 1px solid #79a9b8;
  border-radius: 25px;
  padding: 8px 16px;
  color: #79a9b8;
  transition: 0.3s;
}

.btn-outline:hover {
  background-color: #e6f6fb;
}
.contenido-central {
   flex: 1 1 450px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;  /* alineación izquierda */
  gap: 20px;
  margin-left: 20px; /* acerca al borde */
}

/* HERO CON DISTRIBUCIÓN EN 3 COLUMNAS */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 120px 60px 60px;
  margin-top: 10px;
  gap: 40px;
}

.textos {
  flex: 1 1 300px;
  max-width: 350px;
}

.textos h1 {
  font-size: 42px;
  margin-bottom: 20px;
  margin-right: 80px; /* Empuja hacia la izquierda */
}

/* Imagen centrada verticalmente */
.imagen {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: -80px; /* Empuja hacia la izquierda */
}

.imagen img {
  max-width: 720px; /* más pequeño */
  margin-top: -290px;
  height: auto;
}


/* Login container a la derecha */
.login-container {
  flex: 1 1 350px;
  max-width: 400px;
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}


.login-container h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.login-container .description {
  font-size: 14px;
  margin-bottom: 20px;
  color: #666;
}

.login-container label {
  display: block;
  margin-top: 15px;
  font-size: 14px;
  font-weight: 500;
}

.login-container input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.login-container .forgot-password {
  margin-top: 10px;
  text-align: right;
}

.login-btn {
  width: 100%;
  padding: 12px;
  background-color: #90c1d4;
  color: #fff;
  border: none;
  border-radius: 25px;
  margin-top: 20px;
  cursor: pointer;
  font-weight: 600;
}

.login-btn:hover {
  background-color: #78adbe;
}

.register-text {
  margin-top: 15px;
  font-size: 14px;
  text-align: center;
}
.input-password-wrapper {
  position: relative;
}

.input-password-wrapper input {
  width: 100%;
  padding: 10px 40px 10px 10px; /* espacio para el ojito */
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.input-password-wrapper .toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #555;
  font-size: 16px;
}

/* FOOTER */
.footer {
  background-color: #ffffff;
  padding: 20px 40px;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-top: 40px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* ================= MEDIA QUERIES ================= */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .menu {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 10px;
    margin-top: 10px;
  }

  .hero {
    padding: 80px 20px 40px;
  }

  .textos h1 {
    font-size: 32px;
  }

  .textos p {
    font-size: 16px;
  }

  .btn-rounded {
    font-size: 15px;
    padding: 10px 16px;
  }

  .login-container {
    padding: 20px;
    width: 100%;
    max-width: 100%;
  }

  .imagen img {
    max-width: 90%;
  }
}
/* Responsive: solo mostrar login en móvil */
@media (max-width: 768px) {
  .textos,
  .imagen {
    display: none;
  }

  .hero {
    justify-content: center;
    padding: 100px 20px;
    text-align: center;
  }

  .login-container {
    width: 100%;
    max-width: 400px;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
  }
}

/* Botón de menú hamburguesa en móvil */
.menu-toggle {
  display: none;
  font-size: 26px;
  background-color: #74b8c4;
  color: white;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    align-self: flex-end;
    margin-top: -50px; /* 🔼 Sube el botón */
    margin-right: 10px;
    z-index: 2;
  }

  .menu {
    display: none;
    flex-direction: column;
    background-color: white;
    width: 100%;
    gap: 10px;
    position: absolute;
    top: 55px;  /* Ajusta esta altura según el alto de tu navbar */
    left: 0;
    padding: 20px;
    border-bottom: 1px solid #eee;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    z-index: 1;
  }

  .menu.menu-visible {
    display: flex;
  }
}
/* carrucel */
.carousel-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
  color: #333;
}
.logo-carousel {
  overflow: hidden;
  width: 100%;
  background-color: #fdfdfd;
  padding: 20px 0;
}

.logo-track {
  display: flex;
  width: max-content;
  animation: scrollLogos 30s linear infinite;
  align-items: center;
  gap: 60px; /* espacio entre logos */
  padding-left: 100%; /* para scroll continuo suave */
}

.logo-track img {
  width: 200px; /* ancho fijo */
  height: 100px; /* alto fijo */
  object-fit: contain; /* mantiene proporciones dentro del espacio */
  /* background-color: rgba(255, 255, 255, 0); */
  padding: 10px;
  border-radius: 8px;
  /* box-shadow: 0 2px 4px rgba(0,0,0,0.05); */
  filter: grayscale(100%);
  transition: filter 0.3s, transform 0.3s;
}

.logo-track img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


