    * {
      box-sizing: border-box;
    }

    body, html {
      margin: 0;
      padding: 0;
      height: 100%;
      font-family: 'Segoe UI', sans-serif;
    }

    .bg {
      background-image: url("/fondo-hogar.png");
      background-size: cover;
      background-position: center;
      min-height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      color: white;
    }
main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}


    /* HEADER NUEVO */
header {
  background-color: #07326f;
  height: 70px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  position: relative;
}

.header-inner {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

    .header-title {
      font-size: 1.4rem;
      font-weight: 600;
      color: white;
      margin: 0 auto;
    }

    .desktop-right-link {
      display: none;
      color: white;
      text-decoration: none;
      font-weight: 600;
      font-size: 0.95rem;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
    }

    .desktop-right-link:first-child {
      right: 7rem;
    }

    .desktop-right-link:last-child {
      right: 1rem;
    }

    .burger-menu {
      display: none;
      cursor: pointer;
      position: absolute;
      left: 1rem;
      top: 50%;
      transform: translateY(-50%);
    }

    .burger-menu div {
      width: 25px;
      height: 3px;
      background-color: white;
      margin: 4px 0;
    }

    .mobile-menu {
      display: none;
      flex-direction: column;
      background-color: #003580;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      z-index: 1000;
    }

    .mobile-menu a {
      color: white;
      text-decoration: none;
      padding: 0.75rem;
      text-align: left;
      font-weight: 600;
      border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    @media (min-width: 602px) {
      .desktop-right-link {
        display: block;
      }

      .burger-menu,
      .mobile-menu {
        display: none;
      }
    }

    @media (max-width: 601px) {
      .header-inner {
        justify-content: center;
        padding-right: 0rem;
      }

      .burger-menu {
        display: block;
      }

      .header-title {
        font-size: 1.2rem;
        text-align: center;
      }
    }

.form-container {
  background: rgba(0, 0, 0, 0.5);
  padding: 2.5rem 2rem;
  max-width: 420px;
  margin: auto;
  margin-top: 3rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
}

.form-container h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
}
    form {
      display: flex;
      flex-direction: column;
    }

label {
  margin: 0.75rem 0 0.3rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: #eee;
}

input {
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #fff;
  color: #333;
  transition: box-shadow 0.3s ease;
}

input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #f8b40066;
}
    input, button {
      padding: 0.6rem;
      margin-bottom: 1rem;
      border: none;
      border-radius: 5px;
      font-size: 1rem;
    }

button {
  padding: 0.8rem;
  background-color: #f8b400;
  color: #000;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: none;
}

button:hover {
  background-color: #ffca28;
}
.register-text a {
  color: #f8b400;
  text-decoration: none;
  font-weight: 600;
}

.register-text a:hover {
  text-decoration: underline;
}

.logo-image {
  height: 50px; /* 🔹 tamaño más adecuado para header */
  object-fit: contain;
  display: block;
}

html, body {
  height: 100%;
  margin: 0;
  overflow-x: hidden; /* solo oculta el scroll horizontal */
  overflow-y: hidden;
}

.bg {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url("/fondo-hogar.png");
  background-size: cover;
  background-position: center;
}
footer {
  background-color: #091f3d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  color: #fff;
  padding: 1rem 2rem;
  font-size: 17px;
  line-height: 1.5;
  width: 100vw;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  text-align: center;

}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 600px) {
  footer {
    display: none;
  }
}