* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
}

/* Estructura general: contenido centrado y footer abajo */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/*-----------------------*/


/*-----------------------*/
footer {
  width: 100%;
  /* Eliminamos el height fijo para que respire el contenido */
  min-height: 100px;
  background: #cbcacadd;
  color: #333;
  display: flex;
  /* La clave está aquí: */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  /* Un poco de espacio arriba y abajo */
  gap: 15px;
  /* Espacio entre los iconos y el texto de abajo */
}

.content {
  flex: 1;
  /* <-- Esto hace el trabajo */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3rem;
}

.form-container {
  max-width: 370px;
  margin: 3rem auto;
  padding: 2rem;
  border-radius: 14px;
  background: #ffffffdd;
  box-shadow: 0 8px 25px #4b3f3f7a;
}

/* Título */
.title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #4b3f3f;
}

/*Botón REGISTRARSE*/
.signup {
  text-align: center;
  color: #4b3f3f;
}

.signup a {
  text-align: center;
  color: #4b3f3f;
  text-decoration: none;
}

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

/* Formulario */
.form {
  margin-top: 1.5rem;
}

/* Campos */
.input-group {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.input-group label {
  display: block;
  color: #4b3f3f;
  margin-bottom: 4px;
}

.input-group input {
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid #ccc;
  outline: none;
  background-color: #fff;
  padding: 0.75rem 1rem;
  color: #333;
  transition: all 0.2s ease-in-out;
}

.input-group input:focus {
  border-color: #4b3f3f;
  box-shadow: 0 0 5px #33333396;
}

/* Botón */
.form button {
  margin: 1.5rem auto 0 auto;
  display: block;
}

button {
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  background: transparent;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
}

button.learn-more {
  width: 12rem;
  height: auto;
}

button.learn-more .circle {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: relative;
  display: block;
  margin: 0;
  width: 3rem;
  height: 3rem;
  background: #4b3f3f;
  border-radius: 1.625rem;
}

button.learn-more .circle .icon {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background: #fff;
}

button.learn-more .circle .icon.arrow {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  left: 0.625rem;
  width: 1.125rem;
  height: 0.125rem;
  background: none;
}

button.learn-more .circle .icon.arrow::before {
  position: absolute;
  content: "";
  top: -0.29rem;
  right: 0.0625rem;
  width: 0.625rem;
  height: 0.625rem;
  border-top: 0.125rem solid #fff;
  border-right: 0.125rem solid #fff;
  transform: rotate(45deg);
}

button.learn-more .button-text {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0;
  margin: 0 0 0 1.85rem;
  color: #4b3f3f;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
}

button:hover .circle {
  width: 100%;
}

button:hover .circle .icon.arrow {
  background: #fff;
  transform: translate(1rem, 0);
}

button:hover .button-text {
  color: #fff;
}

/* CONTENEDOR GENERAL */
.contenido {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
  /* permite que los elementos bajen en móvil */
}

/* TEXTO CENTRADO */
.contenido-text {
  flex: 1 1 400px;
  /* ocupa espacio flexible, mínimo 400px */
  text-align: center;
}

.contenido-text h1 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.contenido-text p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* MAPA */
.mapa {
  flex: 1 1 400px;
  /* ocupa espacio flexible */
  display: flex;
  justify-content: center;
}

.mapa-iframe {
  width: 100%;
  max-width: 500px;
  height: 350px;
  border-radius: 10px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contenido {
    flex-direction: column;
    text-align: center;
  }

  .mapa-iframe {
    max-width: 90%;
    height: 280px;
  }
}