*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: 'Inter', sans-serif;
}

/* ═══════════════════════════════════
   FONDO GLOBAL
   ═══════════════════════════════════ */
body {
  background: #c0182e;
}

/* ═══════════════════════════════════
   DESKTOP LAYOUT
   ═══════════════════════════════════ */
.landing-desktop {
  display: grid;
  grid-template-columns: 52% 48%;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;       /* el grid nunca crece */
  position: relative;
  z-index: 1;
}

/* — Columna imagen — */
.col-image {
  position: relative;
  height: 100dvh;
  overflow: hidden;
}

.model-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* object-position: center top; */
  object-position: -190px center;
  display: block;
  mix-blend-mode: lighten;
}

/* — Columna contenido —
   ► height: 100dvh + overflow-y: auto  →  scroll interno siempre disponible
   ► justify-content: center solo aplica cuando el contenido cabe sin scroll;
     cuando desborda (errores), el scroll toma el control automáticamente.
   ─────────────────────────────────────────────────────────────────────────── */
.col-content {
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;

  /* Flex sin justify-content: center — ese combo con overflow causa que
     el contenido desbordado no sea alcanzable con scroll en desktop.
     En su lugar usamos un spacer ::before/::after con margin:auto      */
  display: flex;
  flex-direction: column;

  padding: clamp(10px, 1.5vh, 24px) clamp(20px, 4vw, 52px) clamp(10px, 1.5vh, 24px) clamp(12px, 1.5vw, 20px);
  gap: clamp(6px, 1.2vh, 16px);
  position: relative;
  z-index: 2;
  scrollbar-width: none;
}
.col-content::-webkit-scrollbar { display: none; }

/* Spacers que empujan el contenido al centro cuando hay espacio libre,
   pero se colapsan a 0 cuando el contenido desborda → scroll funciona */
.col-content::before,
.col-content::after {
  content: '';
  flex: 1;          /* ocupa el espacio sobrante arriba y abajo */
  min-height: 0;    /* se puede encoger hasta 0 sin problema */
}

/* ── LOGO ── */
.logo {
  display: flex;
  justify-content: center;
  animation: fadeUp 0.55s ease both;
  flex-shrink: 0;
}

.logo-img {
  height: clamp(36px, 15vh, 100px);   /* más pequeño para ganar espacio vertical */
  width: 90%;
  object-fit: contain;
}

/* ── CARD ── */
.card {
  width: 70%;
  align-self: center;
  border-radius: 16px;
  padding: clamp(12px, 1.8vh, 22px) clamp(14px, 1.8vw, 26px);
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1.1vh, 13px);
  animation: fadeUp 0.55s 0.1s ease both;
  position: relative;
  flex-shrink: 0;
  background: linear-gradient(180deg, #2A2229 0%, #1F1A1D 100%);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(180deg, #F37F95 0%, #E80F0F 100%);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  width: fit-content;
  font-family: 'Montserrat', sans-serif;
}

.badge-dot {
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: blink 1.4s ease-in-out infinite;
}

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* Título */
.card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(18px, 3.5vh, 30px);
  font-weight: 800;
  line-height: 1.22;
  color: #ffffff;
}

/* Descripción */
.card-desc {
  font-size: clamp(11px, 1.4vh, 13px);
  line-height: 1.6;
  color: #F37F95;
}

/* Fecha */
.date-box {
  background: linear-gradient(90deg, rgba(232,15,15,0.1) 0%, rgba(243,127,149,0.1) 100%);
  border-radius: 10px;
  padding: clamp(7px, 1vh, 11px) 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 0.6px solid rgba(243,127,149,0.2);
}

.date-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #F37F95;
  font-weight: 600;
  margin-bottom: 4px;
  font-family: 'Montserrat', sans-serif;
}

.date-main {
  font-size: clamp(13px, 1.6vh, 15px);
  font-weight: 700;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

.date-time {
  font-size: 12px;
  color: #888898;
  margin-top: 2px;
}

.date-icon {
  width: 36px; height: 36px;
  background: linear-gradient(180deg, #E80F0F 0%, #F37F95 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Confirm text */
.confirm-text {
  font-size: clamp(12px, 1.5vh, 15px);
  color: #ffffff;
}

/* ── FORM ── */
.form { display: flex; flex-direction: column; gap: clamp(6px, 1vh, 10px); }

.field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field-label {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.26px;
  text-transform: uppercase;
  color: rgba(243,127,149,1);
}

.field-input {
  width: 100%;
  background: rgba(54,54,54,1);
  border: 1.5px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: clamp(7px, 1vh, 10px) 14px;
  font-size: 13px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field-input::placeholder {
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  font-size: 11px;
}

.field-input:focus {
  border-color: rgba(217,26,53,0.5);
  box-shadow: 0 0 0 3px rgba(217,26,53,0.1);
}

.field-group.has-error .field-input { border-color: rgba(255,80,80,0.5); }

/* Los mensajes de error tienen altura reservada siempre:
   visibles = texto rojo, ocultos = espacio colapsado.
   Así no "empujan" el layout cuando aparecen. */
.err-msg {
  font-size: 11px;
  color: #ff6868;
  min-height: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.2s ease, opacity 0.2s ease;
}

.field-group.has-error .err-msg {
  max-height: 20px;
  opacity: 1;
}

/* Botón */
.btn-register {
  width: 100%;
  padding: clamp(9px, 1.2vh, 12px);
  background: linear-gradient(180deg, #E80F0F 0%, #F37F95 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  margin-top: 2px;
  transition: filter 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 5px 20px rgba(217,26,53,0.45);
}

.btn-register:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(217,26,53,0.6);
}

.btn-register:active { transform: translateY(1px); }
.btn-register:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

/* ── SUCCESS ── */
.success-box {
  display: none;
  text-align: center;
  padding: 18px 16px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.success-box.show { display: flex; }

.success-check {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, #c41230, #e8192e);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.success-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.success-sub { font-size: 13px; color: #888898; line-height: 1.6; }

/* ── FOOTER DESKTOP ── */
.footer-text-desktop {
  font-family: 'Inter', sans-serif;
  color: #E6E6E6;
  font-weight: 700;
  font-size: clamp(12px, 3.6vh, 32px);  /* controlado: nunca más de 16px */
  line-height: 1.35;
  letter-spacing: 0px;
  text-align: center;
  animation: fadeUp 0.55s 0.2s ease both;
  flex-shrink: 0;
  align-self: center;
  width: 100%;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════
   MOBILE  (≤ 768px)
   ═══════════════════════════════════ */
@media (max-width: 768px) {
  html, body { overflow: auto; }

  .landing-desktop { display: none !important; }
  .landing-mobile  { display: flex !important; }
}

/* Mobile layout – oculto en desktop */
.landing-mobile {
  display: none;
  flex-direction: column;
  min-height: 100dvh;
  position: relative;
  z-index: 1;
}

/* Logo mobile */
.mobile-header {
  padding: 24px 20px 16px;
}

.mobile-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

/* Card mobile */
.mobile-card {
  margin: 0 14px;
  background: linear-gradient(180deg, #2A2229 0%, #1F1A1D 100%);
  border-radius: 16px;
  padding: 20px 18px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.mobile-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  line-height: 1.22;
}

/* Footer mobile – imagen + texto */
.mobile-footer {
  display: flex;
  align-items: flex-end;
  margin-top: 18px;
}

.mobile-model-wrap {
  flex-shrink: 0;
  width: 130px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.mobile-model-img {
  width: 130px;
  height: 160px;
  object-fit: cover;
  object-position: center top;
  mix-blend-mode: lighten;
  display: block;
}

.mobile-footer-text {
  flex: 1;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  padding: 20px 18px 26px 14px;
}


/* ═══════════════════════════════════
   MODAL DE CONFIRMACIÓN
   ═══════════════════════════════════ */

/* Overlay – fondo oscuro sobre toda la página */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  /* Estado inicial: oculto */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

/* Estado visible */
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Caja del modal */
.modal-box {
  background: linear-gradient(180deg, #2A2229 0%, #1F1A1D 100%);
  border-radius: 20px;
  padding: 36px 32px 28px;
  max-width: 480px;       /* ancho suficiente para que cada línea quepa */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.07);
  text-align: center;

  /* Entrada con escala */
  transform: scale(0.88) translateY(16px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}

/* Círculo verde con check */
.modal-check {
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, #22a95b, #2dd176);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(34, 169, 91, 0.45);
  margin-bottom: 4px;
}

/* Título */
.modal-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  white-space: nowrap;
}

/* Nombre en rojo */
.modal-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #F37F95;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Mensaje: cada <p> es una línea independiente */
.modal-msg {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: #a0a0b0;
  line-height: 1.65;
  white-space: nowrap;
}

.modal-msg strong {
  color: #ffffff;
  white-space: nowrap;
}

/* Contenedor de líneas del mensaje */
.modal-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

/* Botón cerrar */
.modal-close-btn {
  margin-top: 6px;
  width: 100%;
  padding: 13px;
  background: linear-gradient(180deg, #E80F0F 0%, #F37F95 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: filter 0.2s, transform 0.15s;
  box-shadow: 0 5px 20px rgba(232, 15, 15, 0.4);
}

.modal-close-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.modal-close-btn:active {
  transform: translateY(1px);
}


/* ═══════════════════════════════════
   MODAL DE CONFIRMACIÓN
   ═══════════════════════════════════ */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: linear-gradient(180deg, #2A2229 0%, #1F1A1D 100%);
  border-radius: 20px;
  padding: 40px 32px 32px;
  max-width: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.07);
  text-align: center;
  transform: scale(0.88) translateY(16px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-check {
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, #22a95b, #2dd176);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(34, 169, 91, 0.45);
  margin-bottom: 4px;
}

.modal-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.modal-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #F37F95;
}

.modal-msg {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: #a0a0b0;
  line-height: 1.65;
}

.modal-msg strong {
  color: #ffffff;
}

.modal-close-btn {
  margin-top: 6px;
  width: 100%;
  padding: 13px;
  background: linear-gradient(180deg, #E80F0F 0%, #F37F95 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: filter 0.2s, transform 0.15s;
  box-shadow: 0 5px 20px rgba(232, 15, 15, 0.4);
}

.modal-close-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.modal-close-btn:active {
  transform: translateY(1px);
}


/* ═══════════════════════════════════
   CHECKBOX POLÍTICA DE PRIVACIDAD
   ═══════════════════════════════════ */

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

/* Input nativo oculto */
.checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Caja visual del checkbox */
.checkbox-box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid rgba(243, 127, 149, 0.5);
  background: rgba(54, 54, 54, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: background 0.18s, border-color 0.18s, box-shadow 0.18s;
  position: relative;
}

/* Check SVG interno */
.checkbox-box::after {
  content: '';
  display: block;
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-top: -2px;
}

/* Checked state */
.checkbox-input:checked + .checkbox-box {
  background: linear-gradient(180deg, #E80F0F 0%, #F37F95 100%);
  border-color: transparent;
  box-shadow: 0 3px 10px rgba(232, 15, 15, 0.4);
}

.checkbox-input:checked + .checkbox-box::after {
  transform: rotate(-45deg) scale(1);
}

/* Hover */
.checkbox-label:hover .checkbox-box {
  border-color: #F37F95;
  box-shadow: 0 0 0 3px rgba(243, 127, 149, 0.1);
}

/* Error state */
.field-group.has-error .checkbox-box {
  border-color: rgba(255, 80, 80, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 80, 80, 0.1);
}

/* Texto del checkbox */
.checkbox-text {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

/* Enlace inline que abre el modal de política */
.privacy-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #F37F95;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s, opacity 0.15s;
}

.privacy-link:hover {
  color: #ff9db5;
  opacity: 0.9;
}


/* ═══════════════════════════════════
   MODAL POLÍTICA DE PRIVACIDAD
   ═══════════════════════════════════ */

/* Caja del modal de privacidad — más alta para el texto */
.privacy-modal-box {
  max-width: 520px !important;
  padding: 28px 28px 24px !important;
  gap: 0 !important;
  max-height: 88dvh;
  display: flex;
  flex-direction: column;
}

/* Header con título + botón X */
.privacy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.privacy-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

.privacy-close-x {
  background: rgba(255,255,255,0.06);
  border: none;
  color: rgba(255,255,255,0.55);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}

.privacy-close-x:hover {
  background: rgba(243, 127, 149, 0.15);
  color: #F37F95;
}

/* Área scrolleable del contenido */
.privacy-body {
  flex: 1;
  overflow-y: auto;
  padding-right: 8px;
  margin-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(243,127,149,0.3) transparent;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.privacy-body::-webkit-scrollbar {
  width: 4px;
}
.privacy-body::-webkit-scrollbar-track { background: transparent; }
.privacy-body::-webkit-scrollbar-thumb {
  background: rgba(243,127,149,0.3);
  border-radius: 4px;
}

.privacy-updated {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  font-family: 'Inter', sans-serif;
  margin-bottom: 4px;
}

.privacy-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #F37F95;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 4px;
}

.privacy-text {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #a0a0b0;
  line-height: 1.65;
}

.privacy-text strong { color: #fff; }

.privacy-list {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.privacy-list li {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #a0a0b0;
  line-height: 1.65;
}