#registro-form, #login-form {
  width: 100%;
  max-width: 400px;
  margin: 50px auto;
  padding: 20px;
  background: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.2);
}

#registro-titulo, #login-titulo {
  text-align: center;
  margin-bottom: 20px;
}

#registro-form label,
#login-form label {
  display: block;
  margin: 12px 0 5px;
  font-weight: bold;
}

#registro-form input,
#login-form input,
#login-form select,
#login-form textarea,
#registro-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

#boton-registro,
#boton-login {
  margin-top: 20px;
  width: 100%;
  padding: 10px;
  background: #003366;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

#boton-registro:hover,
#boton-login:hover {
  background: #0059b3;
}



/* ===whatsapp====*/

.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.whatsapp img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

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

/* === Reset básico === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Menú */
.menu {
  background-color: #003366;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}

.logo img {
  height: 50px;
  max-width: 150px;
}

.enlaces {
  display: flex;
  gap: 20px;
}

.enlaces a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.enlaces a:hover {
  color: #FFD700;
}

/* Hamburguesa */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-left: auto;
}

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

.footer {
  background-color: #003366;
  color: white;
  padding: 40px 20px;
  margin-top: 250px;
  font-size: 15px;
}
/* ===== Libro de Reclamaciones ===== */
main {
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

main h1 {
  color: #003366;
  margin-bottom: 20px;
  font-size: 28px;
}

main p {
  margin-bottom: 20px;
  color: #333;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form label {
  font-weight: bold;
  color: #003366;
}

form input,
form select,
form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  font-family: 'Segoe UI', sans-serif;
}

form textarea {
  resize: vertical;
  min-height: 100px;
}

form button {
  width: fit-content;
  padding: 12px 30px;
  background-color: #003366;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #002244;
}

/* Mensaje informativo */
main p:last-of-type {
  font-size: 0.9em;
  color: #555;
  margin-top: 10px;
}


/* === Servicios === */
main h1 {
  color: #003366;
  font-size: 28px;
  margin-bottom: 10px;
}

main p {
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.servicio-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.servicio-card:hover {
  transform: translateY(-5px);
}

.servicio-card h3 {
  color: #003366;
  margin-bottom: 10px;
  font-size: 20px;
}

.servicio-card p {
  color: #444;
  font-size: 15px;
}

/* Última sección de ayuda */
.servicios-ayuda {
  margin-top: 40px;
  background-color: #f1f5ff;
  padding: 20px;
  border-radius: 10px;
  border-left: 5px solid #003366;
}

.servicios-ayuda h3 {
  color: #003366;
  margin-bottom: 10px;
}

.servicios-ayuda p {
  color: #333;
  line-height: 1.6;
}



/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .enlaces {
    display: none;
    flex-direction: column;
    background-color: #003366;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    padding: 10px 0;
    border-top: 1px solid #fff2;
  }

  .enlaces.show {
    display: flex !important;
  }

  .enlaces a {
    margin: 10px 20px;
    text-align: left;
  }
}

/* Botón CTA */
.boton {
  background:#FFD700;
  color:#003366;
  padding:12px 24px;
  border:none;
  border-radius:4px;
  text-decoration:none;
  font-weight:bold;
  display:inline-block;
  margin-top: 15px;
  transition: opacity 0.3s ease;
}

.boton:hover {
  opacity:0.9;
}

/* Footer */
.footer {
  background-color: #003366;
  color: white;
  padding: 40px 20px;
  font-size: 15px;
}

.footer-contenido {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h4 {
  margin-bottom: 10px;
  color: #FFD700;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col ul li a {
  color: white;
  text-decoration: none;
}

.footer-col ul li a:hover {
  text-decoration: underline;
}

/* === Formulario y calculadora === */
form input,
form textarea,
input[type="number"],
input[type="text"],
input[type="email"],
textarea,
button {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

/* Botón genérico */
button {
  background-color: #003366;
  color: white;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #002244;
}

/* === Secciones internas === */
main {
  padding: 40px 20px;
}

/* === Cuadros de servicios o tarjetas === */
.card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

/* === Botón amarillo para CTA (Call To Action) === */
.boton {
  background:#FFD700;
  color:#003366;
  padding:12px 24px;
  border:none;
  border-radius:4px;
  text-decoration:none;
  font-weight:bold;
  display:inline-block;
  margin-top: 15px;
  transition: opacity 0.3s ease;
}

.boton:hover {
  opacity:0.9;
}

@media (max-width: 768px) {
  .footer-contenido {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .servicios-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 600px) {
  form {
    gap: 10px;
  }

  form button {
    width: 100%;
    text-align: center;
  }
}
