* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  font-family: "arial", sans-serif;
  height: 100%;
  color: white;
}

.container {
  position: relative;
  background-image: url("/assets/image/background.webp");
  background-size: cover;
  background-position: top center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.content_header {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.logo {
  width: 180px;
  margin-bottom: 5rem;
}

.title {
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.tituloImg {
  width: 400px;
  max-width: 90%;
  margin-bottom: 4rem;
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.subtitle span {
  font-weight: bold;
}

.description {
  font-size: 1rem;
  margin-bottom: 4rem;
  padding: 0 1rem;
}

.icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: white;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.icon-circle {
  background: rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 0.6rem;
}

.icon-circle img {
  width: 28px;
  height: 28px;
}

.icon-item:hover {
  transform: scale(1.08);
}

/* ── FORM ── */
#registro-form {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 2rem 1.5rem;
}

.form-group {
  margin-bottom: 15px;
  width: 100%;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  text-align: left;
  color: white;
}

/* Inputs y Selects unificados */
.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s ease;
  outline: none;
  background: white;
  color: #333;
  box-sizing: border-box;
  /* evita desbordamiento */
  -webkit-appearance: none;
  /* fix iOS select */
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #007BFF;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15);
}

.form-group select:hover {
  border-color: #888;
}

button[type="submit"] {
  width: 100%;
  padding: 12px;
  background-color: #5a5596;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 8px;
  transition: background-color 0.2s ease;
}

button[type="submit"]:hover {
  background-color: #47457a;
}

.success {
  margin-top: 1rem;
  color: #a8ffb0;
  font-weight: bold;
}

/* ── QUESTIONS PAGE ── */
.container-questions {
  position: relative;
  background-image: url("/assets/image/background.png");
  background-size: cover;
  background-position: top center;
  min-height: 100vh;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: end;
}

.container-questions iframe {
  width: 100%;
  height: 93vh;
  border: none;
}

.codigo {
  margin-top: 4rem;
  font-size: 14px;
}

/* ── HAMBURGER MENU ── */
.menu-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle div {
  width: 30px;
  height: 4px;
  background-color: white;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.hamburger-menu {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background-color: #5A5596;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
  padding: 20px;
  transition: right 0.3s ease;
  z-index: 1000;
}

.hamburger-menu.open {
  right: 0;
}

.hamburger-menu ul {
  list-style: none;
  padding: 0;
}

.hamburger-menu ul li {
  margin: 20px 0;
}

.hamburger-menu ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 18px;
}

.bar1.rotate-down {
  transform: rotate(45deg) translate(5px, 5px);
}

.bar2.hide {
  opacity: 0;
}

.bar3.rotate-up {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .container {
    padding: 1.5rem 1rem;
  }

  .title {
    font-size: 2.2rem;
  }

  .description {
    font-size: 0.95rem;
  }

  .tituloImg {
    max-width: 85%;
    margin-bottom: 2rem;
  }

  #registro-form {
    max-width: 100%;
    padding: 1.5rem 1rem;
  }

  .form-group input,
  .form-group select {
    font-size: 16px;
    /* evita zoom automático en iOS */
  }
}