/* =============================================
   registro.css — Estilos de la página Registro
   Depende de: ../../styles.css (estilos base compartidos)
   ============================================= */

.registro-main {
  font-family: 'Inter', sans-serif;
  min-height: calc(100vh - 76px);
  background:
    radial-gradient(1200px 520px at 8% 0%, rgba(255, 240, 0, 0.08) 0%, rgba(255, 240, 0, 0) 55%),
    radial-gradient(900px 500px at 90% 8%, rgba(60, 96, 255, 0.12) 0%, rgba(60, 96, 255, 0) 56%),
    linear-gradient(180deg, #090a0c 0%, #090a0b 45%, #070708 100%);
  padding: 24px 14px 70px;
}

main {
  border: 8px solid #fff000;
}

.registro-main h1,
.registro-main h2,
.registro-main h3,
.registro-main .fuente-destacada {
  font-family: 'Montserrat', sans-serif;
}

.registro-objetivo {
  position: relative;
  min-height: clamp(820px, 92vh, 980px);
  display: flex;
  align-items: center;
  background-color: #0b0b0f;
  overflow: hidden;
}

.fondo-seccion {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
  pointer-events: none;
}

.registro-objetivo-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: rgba(10, 12, 18, 0.65);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.registro-objetivo-contenido {
  position: relative;
  z-index: 1;
  width: 50%;
  margin-left: auto;
  padding: 56px 56px;
}

.registro-objetivo-contenido h2 {
  margin: 0 0 24px;
  color: #fff000;
  font-size: clamp(38px, 2.8vw, 50px);
  line-height: 1;
  letter-spacing: 0.4px;
  font-weight: 700;
  text-transform: uppercase;
}

.registro-objetivo-intro {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.42;
  font-weight: 500;
}

.registro-objetivo-lista-principal,
.registro-objetivo-sublista {
  margin: 0;
  padding: 0;
  list-style: none;
}

.registro-objetivo-lista-principal {
  display: grid;
  gap: 14px;
}

.registro-objetivo-lista-principal>li,
.registro-objetivo-sublista>li {
  position: relative;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.38;
}

.registro-objetivo-lista-principal>li {
  padding-left: 18px;
}

.registro-objetivo-lista-principal>li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.47em;
  width: 9px;
  height: 9px;
  border: 2px solid #9052ff;
  box-sizing: border-box;
}

.registro-objetivo-sublista {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.registro-objetivo-sublista>li {
  padding-left: 18px;
}

.registro-objetivo-sublista>li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  background: #7a35ff;
}

.registro-costos {
  background: linear-gradient(180deg, #02030a 0%, #03040b 100%);
  border-left: 2px solid #fff000;
  padding: 30px 28px 24px;
}

.registro-costos-contenido {
  max-width: 1210px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px minmax(390px, 1fr) minmax(390px, 1fr);
  gap: 30px;
  align-items: stretch;
}

.registro-costos-titulo {
  margin: 0;
  align-self: center;
  color: #e7e514;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(34px, 3vw, 46px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.registro-costo-tarjeta {
  min-height: 184px;
  padding: 24px 22px 18px;
  background: #34353b;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.registro-costo-cuadro {
  width: 60px;
  height: 60px;
  border: 9px solid transparent;
  margin-top: 1px;
  box-sizing: border-box;
}

.registro-costo-tarjeta--afiliados .registro-costo-cuadro {
  border-color: #6f2ab4;
}

.registro-costo-tarjeta--general .registro-costo-cuadro {
  border-color: #c61e20;
}

.registro-costo-texto {
  display: grid;
  gap: 24px;
}

.registro-costo-cantidad {
  margin: 0;
  color: #f5f5f3;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(62px, 5vw, 72px);
  line-height: 0.88;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.registro-costo-centavos {
  font-size: 0.62em;
  vertical-align: super;
  letter-spacing: -0.02em;
}

.registro-costo-descripcion {
  margin: 0;
  max-width: 390px;
  color: #f0f2f5;
  font-size: clamp(18px, 1.6vw, 35px);
  line-height: 1.18;
  font-weight: 500;
}

.bg-marca-amarillo {
  background-color: #FFF000;
}

.text-marca-amarillo {
  color: #FFF000;
}

.border-marca-amarillo {
  border-color: #FFF000;
}

.registro-main .max-w-3xl {
  max-width: 980px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(160deg, rgba(19, 21, 26, 0.94) 0%, rgba(10, 11, 14, 0.96) 62%, rgba(8, 8, 10, 0.98) 100%);
  box-shadow:
    0 35px 55px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset;
}

.registro-main .border-b {
  border-bottom-color: rgba(255, 255, 255, 0.13) !important;
}

.registro-main h2 {
  letter-spacing: 0.16em;
  text-wrap: balance;
}

.registro-main form label {
  color: #d5d9e1;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.registro-main input[type='text'],
.registro-main input[type='email'],
.registro-main input[type='tel'] {
  border-radius: 10px;
  border-color: rgba(255, 255, 255, 0.14) !important;
  background: rgba(9, 11, 15, 0.94) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02) inset;
  font-size: 15px;
}

.registro-main input[type='text']::placeholder,
.registro-main input[type='email']::placeholder,
.registro-main input[type='tel']::placeholder {
  color: #8790a3;
}

.registro-main input[type='text']:focus,
.registro-main input[type='email']:focus,
.registro-main input[type='tel']:focus {
  border-color: rgba(255, 240, 0, 0.95) !important;
  box-shadow:
    0 0 0 3px rgba(255, 240, 0, 0.2),
    0 0 0 1px rgba(255, 240, 0, 0.5) inset;
}

#contenedor-taller #boton-taller {
  border-radius: 12px;
  border-color: rgba(255, 255, 255, 0.16) !important;
  background: linear-gradient(180deg, rgba(12, 14, 19, 0.98), rgba(10, 11, 14, 0.98)) !important;
}

#contenedor-taller #boton-taller:hover {
  border-color: rgba(255, 255, 255, 0.34) !important;
}

#contenedor-taller #menu-talleres {
  border-color: rgba(255, 240, 0, 0.64) !important;
  border-radius: 0 0 12px 12px;
  background: #0b0d12;
}

#contenedor-taller #menu-talleres>div {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.registro-main fieldset {
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(13, 16, 22, 0.75) 0%, rgba(9, 11, 15, 0.8) 100%);
}

.registro-main legend {
  color: #d5d9e1;
  letter-spacing: 0.1em;
}

.perfil-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.perfil-card {
  display: block;
  cursor: pointer;
}

.perfil-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.perfil-card-ui {
  min-height: 126px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(16, 19, 25, 0.95) 0%, rgba(10, 12, 17, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.perfil-card-ui strong {
  color: #f7f9ff;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.perfil-card-ui small {
  color: #a8b0be;
  font-size: 12px;
  line-height: 1.45;
}

.perfil-card:hover .perfil-card-ui {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.28);
}

.perfil-checkbox:focus-visible+.perfil-card-ui {
  outline: 2px solid rgba(255, 240, 0, 0.9);
  outline-offset: 2px;
}

.perfil-checkbox:checked+.perfil-card-ui {
  border-color: rgba(255, 240, 0, 0.95);
  background:
    radial-gradient(420px 120px at 0% 0%, rgba(255, 240, 0, 0.1) 0%, rgba(255, 240, 0, 0) 70%),
    linear-gradient(180deg, rgba(25, 28, 19, 0.96) 0%, rgba(16, 18, 13, 0.96) 100%);
  box-shadow:
    0 12px 22px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 240, 0, 0.35) inset;
}

.registro-main button[type='submit'] {
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(255, 240, 0, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.registro-main button[type='submit']:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(255, 240, 0, 0.24);
}

#mensaje {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* Utility fallback classes used by registro.html (Tailwind-free) */
.hidden { display: none !important; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.w-full { width: 100%; }
.max-w-3xl { max-width: 980px; }
.relative { position: relative; }
.absolute { position: absolute; }
.z-50 { z-index: 50; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.flex-col { flex-direction: column; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-6 { gap: 1.5rem; }

.p-0 { padding: 0; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.ml-1 { margin-left: 0.25rem; }
.pr-4 { padding-right: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }

.overflow-y-auto { overflow-y: auto; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.leading-tight { line-height: 1.25; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

.text-black { color: #000; }
.text-white { color: #fff; }
.text-zinc-200 { color: #e4e4e7; }
.text-zinc-300 { color: #d4d4d8; }
.text-zinc-400 { color: #a1a1aa; }
.text-zinc-500 { color: #71717a; }
.text-green-400 { color: #4ade80; }
.text-blue-400 { color: #60a5fa; }
.text-purple-400 { color: #c084fc; }
.text-red-400 { color: #f87171; }

.bg-black { background-color: #000; }
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t-0 { border-top-width: 0; }
.border-zinc-700 { border-color: #3f3f46; }
.border-zinc-800 { border-color: #27272a; }
.border-dashed { border-style: dashed; }

.max-h-64 { max-height: 16rem; }
.max-h-80 { max-height: 20rem; }
.cursor-pointer { cursor: pointer; }
.appearance-none { appearance: none; }
.focus\:outline-none:focus { outline: none; }
.transition { transition: all 0.2s ease; }
.transition-colors { transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
.transition-transform { transition: transform 0.2s ease; }
.duration-300 { transition-duration: 0.3s; }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }

.shadow-lg { box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35); }
.shadow-2xl { box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45); }
.shadow-yellow-300\/10 { box-shadow: 0 25px 40px rgba(253, 224, 71, 0.1); }

.hover\:bg-white:hover { background-color: #fff; }
.hover\:bg-zinc-900:hover { background-color: #18181b; }
.hover\:border-zinc-500:hover { border-color: #71717a; }
.hover\:border-marca-amarillo:hover { border-color: #fff000; }

.focus\:border-marca-amarillo:focus {
  border-color: #fff000 !important;
}

.focus\:ring-1:focus {
  box-shadow: 0 0 0 1px rgba(255, 240, 0, 0.7);
}

.focus\:ring-marca-amarillo:focus {
  box-shadow: 0 0 0 1px rgba(255, 240, 0, 0.7);
}

.shrink-0 { flex-shrink: 0; }
.inline-block { display: inline-block; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

@media (min-width: 768px) {
  .md\:p-10 { padding: 2.5rem; }
  .md\:p-12 { padding: 3rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:p-5 { padding: 1.25rem; }
}

@media (max-width: 900px) {
  main {
    border-width: 5px;
  }

  .registro-main {
    padding: 14px 10px 56px;
  }

  .registro-costos {
    padding: 24px 12px 22px;
  }

  .registro-costos-contenido {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .registro-costos-titulo {
    font-size: clamp(2rem, 11vw, 2.5rem);
  }

  .registro-costo-tarjeta {
    min-height: 0;
    padding: 18px 14px;
    gap: 14px;
  }

  .registro-costo-cuadro {
    width: 38px;
    height: 38px;
    border-width: 6px;
  }

  .registro-costo-texto {
    gap: 9px;
  }

  .registro-costo-cantidad {
    font-size: clamp(2.45rem, 12vw, 3.1rem);
  }

  .registro-costo-descripcion {
    font-size: 1rem;
    max-width: none;
  }

  .registro-objetivo {
    min-height: clamp(640px, 72vh, 760px);
  }

  .fondo-seccion {
    object-position: center center;
  }

  .registro-objetivo-panel {
    width: 100%;
    background: rgba(10, 12, 18, 0.78);
  }

  .registro-objetivo-contenido {
    width: 100%;
    padding: 28px 16px;
  }

  .registro-objetivo-contenido h2 {
    margin: 0 0 16px;
    font-size: clamp(1.58rem, 7vw, 2.18rem);
  }

  .registro-objetivo-intro {
    margin-bottom: 14px;
    font-size: 0.98rem;
  }

  .registro-objetivo-lista-principal {
    gap: 10px;
  }

  .registro-objetivo-lista-principal>li,
  .registro-objetivo-sublista>li {
    font-size: 0.96rem;
    line-height: 1.4;
  }

  .registro-objetivo-sublista {
    gap: 8px;
    margin-top: 10px;
  }

  .registro-main .max-w-3xl {
    max-width: 100%;
  }

  .registro-main h2 {
    font-size: clamp(1.7rem, 6.4vw, 2.1rem);
    letter-spacing: 0.08em;
  }

  .perfil-grid {
    grid-template-columns: 1fr;
  }

  .perfil-card-ui {
    min-height: 104px;
  }
}

.scrollbar-personalizado {
  -webkit-overflow-scrolling: touch;
  transform: translateZ(0);
  will-change: transform, scroll-position;
}

.scrollbar-personalizado::-webkit-scrollbar {
  width: 8px;
}

.scrollbar-personalizado::-webkit-scrollbar-track {
  background: #111;
}

.scrollbar-personalizado::-webkit-scrollbar-thumb {
  background: #333;
}

.scrollbar-personalizado::-webkit-scrollbar-thumb:hover {
  background: #FFF000;
}
