/* ── Design Tokens ──────────────────────────────────────────── */
:root {
  /* Paleta */
  --color-text: #ffffff;
  --color-btn-text: #000000;
  --color-accent: #22B07D;
  --color-border: rgba(255, 255, 255, 0.5);
  --color-overlay: rgba(0, 0, 0, 0.35);
  --color-input-bg: transparent;

  --font-heading: 'Exo 2', sans-serif;
  --font-heading-medium: 'Exo 2', sans-serif;
  --font-body: 'Exo 2', sans-serif;
  --font-eurostile: 'Exo 2', sans-serif;
  --font-checkbox: 'Exo 2', sans-serif;
  --font-label: 'Exo 2', sans-serif;

  /* Spacing */
  --radius-input: 0px;
  --radius-btn: 0px;
}

/* ── Reset & Base ────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: #020708;
  overflow-x: hidden;
}

/* ── Utilidades ──────────────────────────────────────────────── */
.d-none {
  display: none !important;
}

/* ── Tipografía global ───────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-text);
}

p {
  font-family: var(--font-body);
  color: var(--color-text);
}

/* ── Loader styles (generados dinámicamente por JS) ─────────── */
/* Se mantienen en JS — no es necesario CSS adicional */

/* ============================================================
   SECCIÓN EMAIL (section-email)
   Desktop: split layout — imagen izquierda, form derecha
   Mobile: fondo full-bleed, contenido centrado
   ============================================================ */
.section-email {
  position: relative;
  min-height: 100vh;
}

.section-email .illustration-side {
  position: relative;
  overflow: hidden;
}

.section-email .illustration-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Contenedor del form email */
.section-email-form-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* Logo en sección email (mobile) */
.section-email .illustration-side-title {
  width: 100%;
  display: flex;
  justify-content: center;
}

.section-email .illustration-side-title img {
  width: 100%;
  height: auto;
}

.section-form .illustration-side-title {
  display: none;
}

.section-ty .illustration-side-title img {
  width: 496px;
  height: 358px;
  aspect-ratio: 115/83;
}

/* Formulario de email */
#email-form {
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

#email-form>div {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#email-form .form-label {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text);
  display: block;
  width: 238px;
  margin-bottom: 0.25rem;
}

#email-form .form-control {
  width: 238px;
  background: transparent;
  border: 1px solid var(--color-text);
  border-radius: var(--radius-input);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  padding: 0.55rem 0.75rem;
  min-height: 42px;
  outline: none;
  transition: border-color 0.2s;
}

#email-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

#email-form .form-control:focus {
  border-color: var(--color-text);
  box-shadow: none;
  background: rgba(255, 255, 255, 0.05);
}

/* ── Botón principal ─────────────────────────────────────────── */
.btn-registro {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-text);
  color: var(--color-btn-text);
  font-family: var(--font-body);
  font-size: 14px !important;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
  border: none;
  border-radius: var(--radius-btn);
  padding: 0.6rem 2.5rem;
  min-width: 220px;
  min-height: 48px;
  cursor: pointer;
  transition: opacity 0.2s, background-color 0.2s;
  letter-spacing: 0.01em;
  width: 238px;
  height: 40px;
}

.btn-registro:hover {
  opacity: 0.88;
}

.btn-registro:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ── Validación: input con error ─────────────────────────────── */
.input-error {
  border-color: #e53935 !important;
}

/* ── Mensaje de error ────────────────────────────────────────── */
#email-error-message,
#error-nombre,
#error-apellido,
#error-pais,
#error-ciudad,
#error-telefono,
#error-fecha-nacimiento {
  color: #ff5252;
  font-size: 12px;
  font-family: var(--font-body);
  margin-top: 4px;
}

/* ============================================================
   SECCIÓN FORM (section-form)
   Desktop: col izquierda imagen artista, col derecha formulario
   Mobile: fondo full-bleed, formulario centrado
   ============================================================ */
.section-form {
  min-height: 100vh;
  position: relative;
}

.section-form .form-container {
  position: relative;
  z-index: 2;
}

.section-form .container-fluid,
.section-form .form-container,
.section-form .row {
  min-height: 100vh;
}

#registration-form {
  width: 100%;
  max-width: 340px;
}

/* Imagen lateral del form (col-md-6) */
.section-form .illustration-side-data-form {
  overflow: hidden;
  border-radius: 0;
}

.section-form .illustration-side-data-form img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Texto introductorio del form */
.form-text {
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 38px;
  font-style: normal;
  font-weight: 300;
  line-height: 36px;
  width: 455px;
  height: 143px;

}

/* Labels del formulario */
.section-form .form-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

/* Inputs del formulario */
.section-form .form-control,
.section-form .form-select {
  background: transparent;
  border: 1px solid var(--color-text);
  border-radius: var(--radius-input);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  padding: 0.55rem 0.75rem;
  min-height: 42px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s;
  width: 100%;
}

.section-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.section-form .form-control:focus,
.section-form .form-select:focus {
  border-color: var(--color-text);
  box-shadow: none;
  background: rgba(255, 255, 255, 0.05);
  outline: none;
}

/* Select options (fondo oscuro) */
.section-form .form-select option {
  background-color: #111;
  color: var(--color-text);
}

/* Phone input container */
.phone-input-container {
  display: flex;
  gap: 0.5rem;
}

.phone-input-container .form-control {
  flex: 1;
}

/* Lada select */
#form-field-ladaSelect {
  background: transparent;
  border: 1px solid var(--color-text);
  border-radius: var(--radius-input);
  color: var(--color-text);
  font-size: 12px;
  padding: 0.3rem 0.5rem;
  min-height: 42px;
  min-width: 80px;
  max-width: 120px;
  outline: none;
}

#form-field-ladaSelect option {
  background: #111;
  color: #fff;
}

/* Checkboxes */
.section-form .form-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.section-form .form-check-input {
  width: 12px;
  height: 12px;
  border: 1px solid var(--color-border);
  background: transparent;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--color-text);
}

.section-form .form-check-input:checked {
  background-color: var(--color-text);
  border-color: var(--color-text);
}

.section-form .form-check-label {
  font-size: 12px;
  font-family: var(--font-checkbox);
  color: var(--color-text);
}

/* Links de términos */
.link-register {
  font-family: var(--font-checkbox);
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text);
  text-decoration: underline;
}

.link-register:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Texto de validación de contraseña */
.elementor-field-type-html p {
  font-family: var(--font-body);
  line-height: 16px;
  color: var(--color-text);
  margin-bottom: 0;
}

/* Choices.js — override para tema oscuro */
.choices {
  font-family: var(--font-body);
  font-size: 12px;
}

.choices__inner {
  background: transparent;
  border: 1px solid var(--color-text);
  border-radius: var(--radius-input);
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 6px 10px;
  color: var(--color-text);
}

.choices__placeholder {
  color: rgba(255, 255, 255, 0.55);
  opacity: 1 !important;
}

.choices__list--single .choices__item {
  color: var(--color-text);
}

.choices__list--dropdown {
  background: #111 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: var(--radius-input) !important;
}

.choices__list--dropdown .choices__item {
  color: var(--color-text) !important;
  font-size: 12px !important;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
  background: rgba(255, 255, 255, 0.12) !important;
}

.choices__input {
  background: transparent !important;
  color: var(--color-text) !important;
  font-size: 12px !important;
  border: none !important;
  outline: none !important;
}

.choices[data-type*='select-one']::after {
  border-color: var(--color-text) transparent transparent !important;
}




/* ── Section Email desktop ─────────────────────────────────── */
.section-email {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100vh;
  width: 100%;
  background:
    linear-gradient(to right, rgba(2, 7, 8, 1) 0%, rgba(2, 7, 8, 0.00) 60%),
    linear-gradient(270deg, rgba(2, 7, 8, 1) 31.89%, rgba(2, 7, 8, 0.00) 70%),
    linear-gradient(to bottom, rgba(2, 7, 8, 1) 0%, rgba(2, 7, 8, 0.00) 35%, rgba(2, 7, 8, 0.00) 65%, rgba(2, 7, 8, 1) 100%),
    url('../img/bg-desktop.webp');
  background-size: cover, cover, cover, auto 190%;
  background-position: left center, left center, left center, 20% 25%;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  align-items: stretch !important;
  justify-items: stretch;
}

.section-email.d-none {
  display: none !important;
}

.section-email .illustration-side {
  display: flex;
  width: 55%;
  flex-shrink: 0;
}

.section-email-form-container {
  grid-column: 2;
  width: 100% !important;
  height: 100%;
  padding: 2rem 3rem;
  align-items: center !important;
  justify-content: center !important;
}

.section-email .illustration-side-title {
  justify-content: center !important;
  max-width: 524px;
  margin-bottom: 1.5rem;
}

.section-email .illustration-side-title img {
  max-width: 456px;
}

#email-form {
  max-width: 333px;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}

/* ── Section Form desktop ──────────────────────────────────── */
.section-form {
  background: linear-gradient(90deg, rgba(2, 7, 8, 0.95) 40%, rgba(2, 7, 8, 0.92) 95%), url('../img/bg-form.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-form .container-fluid {
  width: 100%;
}

.section-form .row {
  align-items: center;
  justify-content: center;
}

.section-form-fields-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 115px 0;
}

#registration-form {
  max-width: 292px;
}

.section-form .choices {
  font-size: 12px;
  margin-bottom: 0;
}

.section-form .choices__inner {
  padding: 2px 8px !important;
}

.section-form .choices__list--single {
  padding: 0 !important;
}

#form-field-ladaSelect {
  min-height: 28px;
  min-width: 58px;
  max-width: 76px;
  border-radius: 5px;
  font-size: 12px;
  padding: 0.25rem 0.35rem;
}

.section-form .form-check {
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.section-form .form-check-input {
  width: 10px;
  height: 10px;
}

.section-form .elementor-field-type-html svg {
  width: 9px;
  height: 9px;
}

.section-form .btn-registro {
  min-width: 184px;
  min-height: 36px;
  font-size: 12px;
  padding: 0.35rem 1.5rem;
}

/* ── Section TY desktop ────────────────────────────────────── */
.section-ty {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  background:
    linear-gradient(rgba(2, 7, 8, 0.35), rgba(2, 7, 8, 0.35)),
    linear-gradient(to right, rgba(2, 7, 8, 1) 0%, rgba(2, 7, 8, 0.00) 10%),
    linear-gradient(to right, rgba(2, 7, 8, 0) 40%, rgba(2, 7, 8, 1) 65%),
    linear-gradient(to bottom, rgba(2, 7, 8, 1) 0%, rgba(2, 7, 8, 0.00) 35%, rgba(2, 7, 8, 0.00) 65%, rgba(2, 7, 8, 1) 100%),
    url('../img/bg-desktop.webp');
  background-size: cover, cover, cover, cover, auto 200%;
  background-position: left center, left center, left center, left center, -10% 30%;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.section-ty .ty-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 44px;
}

/* Botón de acción en TY */
.section-ty .btn-link-ty {
  align-items: center;
  justify-content: center;
  background-color: var(--color-text);
  color: var(--color-btn-text);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-btn);
  padding: 0.6rem 1.5rem;
  min-width: 184px;
  height: 43px;
  cursor: pointer;
  transition: opacity 0.2s;
  letter-spacing: 0.01em;
}

.section-ty .ty-text {
  font-family: var(--font-heading-medium);
  margin: 0;
  font-size: 50px;
  line-height: 34px;
  font-weight: 500;
  text-transform: uppercase;
}

.btn-link-ty:hover {
  opacity: 0.88;
  color: var(--color-btn-text);
  text-decoration: none;
}

/* ============================================================
   MISCELÁNEA
   ============================================================ */

@media (min-width: 768px) {
  .section-form .mb-3 {
    margin-bottom: 0.42rem !important;
  }
}

/* Asegurar que los inputs date se vean igual que los demás */
input[type="date"].form-control {
  color-scheme: dark;
}

/* Acento de color para elementos de validación */
.is-valid {
  border-color: var(--color-accent) !important;
}

.form-image-container {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: end;
}

.form-image-container img {
  width: 100%;
  height: auto;
  max-width: 1015px;
}

.btn-link-ty .tk-text-spotify {
  font-weight: bold;
}

.social-icons {
  display: flex;
  gap: 8rem;
  justify-content: center;
  align-items: center;
}

.social-icons .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icons .social-icon img[src*="spotify"] {
  width: 57.27px;
  height: 57.849px;
}

.social-icons .social-icon img[src*="apple"] {
  width: 56px;
  height: 66px;
}

.social-icons .social-icon img[src*="youtube"] {
  width: 67.417px;
  height: 46.974px;
}

.social-icons .social-icon img[src*="deezer"] {
  width: 58px;
  height: 58px;
}

.social-icons .social-icon img[src*="tidal"] {
  width: 73.256px;
  height: 49.588px;
}

.social-icons .social-icon img[src*="pandora"] {
  width: 41px;
  height: 48px;
  aspect-ratio: 41/48;
}

.social-icons .social-icon img[src*="amazon-music"] {
  width: 96px;
  height: 58px;
}