/* =========================
   BASE
========================= */
*{margin:0;padding:0;box-sizing:border-box;}

body{
  font-family: Arial, sans-serif;
  background: url("img/nebulosa-portal.png") center/cover no-repeat fixed;
  color: white;
  padding: 20px;
  text-align: center;
}

/* Escala global SOLO para pantallas grandes */
@media (min-width: 1200px){
  html{ font-size: 14px !important; }
  body{ zoom: 0.85; }

  .form-container,
  .section-box{
    max-width: 1100px !important;
  }
}

/* =========================
   HEADER (LIMPIO + PRO) - CORREGIDO
========================= */
.pa-header{
  position: sticky;
  top: 0;
  z-index: 30;

  padding: 12px 16px;
  margin: -20px -20px 18px;

  background: rgba(10, 8, 22, 0.62);
  border-bottom: 1px solid rgba(140, 90, 255, 0.45);
  backdrop-filter: blur(12px);

  box-shadow:
    0 10px 28px rgba(0,0,0,0.35),
    0 0 24px rgba(125, 66, 255, 0.22);
}

/* contenedor */
.pa-header__inner{
  position: relative;            /* clave para posiciones absolutas */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;     /* botones + menú a la derecha */
  gap: 10px;
  min-height: 56px;             /* altura estable del header */
}

/* ===== MARCA CENTRADA (SOLO TEXTO + ✨) ===== */
.pa-brand{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  user-select: none;
  white-space: nowrap;
  z-index: 2;
}

.pa-brand__text{
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 32px;
  color: #d6b0ff;

  -webkit-text-stroke: 1.6px rgba(0,0,0,0.88);
  text-shadow:
    0 0 18px rgba(180, 120, 255, 0.65),
    0 0 42px rgba(120, 60, 230, 0.55);
}

.pa-brand__spark{
  opacity: .95;
  filter: drop-shadow(0 0 12px rgba(160, 90, 255, 0.60));
}

/* ===== LOGO INDEPENDIENTE (LLENA EL HUECO ROJO) ===== */
/* OJO: el logo NO va dentro de .pa-brand */
.pa-logo{
  position: absolute;
  left: -80px;                  /* pegado al lado izquierdo del header */
  top: 63%;
  transform: translateY(-50%);
  width: 800px;                /* <- aquí lo haces ENORME para llenar el hueco */
  height: 300px;                /* alto del header, se ve potente */
  object-fit: contain;
  z-index: 1;
  pointer-events: none;        /* no estorba clics */

  filter:
    drop-shadow(0 0 14px rgba(255, 200, 120, .55))
    drop-shadow(0 0 20px rgba(160, 90, 255, .45));
}

/* ===== BOTONES (PC) ===== */
.pa-nav{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 10px;
  z-index: 3;
}

.pa-nav__link{
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: #f4ecff;

  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 800;

  cursor: pointer;
  transition: .2s ease;
}

.pa-nav__link:hover{
  background: rgba(255,255,255,0.08);
  border-color: rgba(165,109,255,0.65);
  transform: translateY(-1px);
}

/* ===== BOTÓN MENÚ ===== */
.pa-menu-btn{
  width: 42px;
  height: 42px;
  border-radius: 12px;
   margin-right: 12px;

  border: 1px solid rgba(200, 139, 255, 0.6);
  background: radial-gradient(circle at top left, rgba(200, 139, 255, 0.45), #1a1028);

  box-shadow:
    0 0 12px rgba(200, 139, 255, 0.55),
    0 0 26px rgba(80, 50, 180, 0.6);

  display:flex;
  align-items:center;
  justify-content:center;

  cursor:pointer;
  color:#fff;
  font-size: 16px;
  transition: .2s ease;
  z-index: 4;
}

.pa-menu-btn:hover{
  transform: translateY(-1px);
  box-shadow:
    0 0 18px rgba(200, 139, 255, 0.75),
    0 0 36px rgba(80, 50, 200, 0.8);
}

/* dropdown */
.pa-menu{
  position: absolute;
  right: 18px;
  top: 60px;

  background: #151526;
  border-radius: 12px;

  box-shadow:
    0 0 20px rgba(125, 66, 255, 0.6),
    0 0 40px rgba(10, 0, 40, 0.9);

  padding: 10px 0;
  min-width: 240px;
  display: none;
  z-index: 40;

  border: 1px solid rgba(140, 90, 255, 0.7);
  overflow: hidden;
}

.pa-menu__item{
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: transparent;

  color: #f4ecff;
  text-align: left;
  font-size: 13px;
  cursor: pointer;
}

.pa-menu__item:hover{
  background: rgba(109, 52, 255, 0.25);
}

.pa-menu__sep{
  height: 1px;
  background: rgba(255,255,255,0.10);
  margin: 8px 0;
}

/* ===== MÓVIL ===== */
@media (max-width: 860px){
  .pa-nav{ display:none; }

  .pa-header{ padding: 10px 12px; }

  .pa-header__inner{
    min-height: 54px;
  }

  /* ✅ Ocultar logo en móvil (PC lo sigue mostrando) */
  .pa-logo{
    display: none !important;
  }

  /* Mantén el título centrado y con poder */
  .pa-brand{
  left: 55%;
  transform: translateX(-50%) translateX(-40px); /* <- mueve a la izquierda (ajusta el px) */
}

  .pa-brand__text{
    font-size: 18px;
    letter-spacing: 0.18em;
    -webkit-text-stroke: 1.5px rgba(0,0,0,0.90);
    text-shadow:
      0 0 18px rgba(180,120,255,0.80),
      0 0 44px rgba(120,60,230,0.60);
  }

  .pa-menu-btn{
    width: 46px;
    height: 46px;
  }
}

/* ===== MENÚ: PC solo Legal / Móvil todo ===== */

/* Por defecto (PC): ocultamos los items "de contenido" dentro del menú */
.pa-menu .pa-only-mobile { 
  display: none;
}

/* En móvil: mostramos los items "de contenido" dentro del menú */
@media (max-width: 860px){
  .pa-menu .pa-only-mobile {
    display: block;
  }
}
/* =========================
   TITULOS / SUBTITULO (H1 YA NO)
========================= */
.subtitulo{
  font-size: 20px;
  color: #dcd7ff;
  margin-top: 40px;  /* esto lo despega del header */
  margin-bottom: 30px;
}

@media (max-width: 860px){
  .subtitulo{
    font-size: 16px;      /* antes 20 */
    margin-top: 18px;     /* menos aire en cel */
    margin-bottom: 18px;
    padding: 0 8px;       /* evita que se “abra” raro */
    line-height: 1.35;
  }
}
/* =========================
   BOTÓN INFO
========================= */
#info-btn{
  display: inline-block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  background: linear-gradient(90deg, #6d34ff, #a56dff);
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(125, 66, 255, 0.55);
  margin-bottom: 20px;
  transition: 0.2s ease;
}
#info-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(125, 66, 255, 0.75);
  opacity: 0.95;
}

/* =========================
   CARD PRINCIPAL DEL FORM (WIZARD BODY)
========================= */
.form-container{
  position: relative;
  background:
    linear-gradient(180deg, rgba(21,21,38,0.96), rgba(14,12,28,0.96));
  padding: 22px;
  border-radius: 22px;
  max-width: 1040px;
  margin: 0 auto;
  border: 1px solid rgba(165, 109, 255, 0.22);
  box-shadow:
    0 0 24px rgba(109, 52, 255, 0.20),
    0 0 60px rgba(109, 52, 255, 0.12),
    inset 0 0 0 1px rgba(255,255,255,0.02);
  text-align: left;
}

/* línea decorativa superior tipo wizard */
.form-container::after{
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 14px;
  margin-bottom: 8px;
  background: linear-gradient(
    90deg,
    rgba(165,109,255,0),
    rgba(165,109,255,0.45),
    rgba(165,109,255,0)
  );
}

/* =========================
   CARDS SECUNDARIAS (precio, tipos, redes, etc.)
========================= */
.section-box{
  max-width: 900px;
  margin: 20px auto 0;
  background: #151526;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 0 20px #6d34ff60;
  text-align: left;
}

/* evita doble card */
.section-box .section-box{
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  margin-top: 40px;
}

/* =========================
   BADGE (tipo de lectura)
========================= */
.tipo-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(165, 109, 255, 0.12);
  border: 1px solid rgba(165, 109, 255, 0.35);
  color: #efe6ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  box-shadow: 0 0 16px rgba(109, 52, 255, 0.14);
}

/* =========================
   TITULOS / CAMPOS FORM
========================= */
h3{
  margin-top: 0;
  margin-bottom: 14px;
  text-align: left !important;
  font-size: 22px;
  color: #f1e8ff;
  font-weight: 700;
  letter-spacing: 0.01em;
}

label{
  font-size: 13px;
  margin-top: 14px;
  margin-bottom: 6px;
  display: block;
  color: #e8dcff;
  font-weight: 600;
  letter-spacing: 0.01em;
}

input, textarea{
  width: 100%;
  padding: 12px 14px;
  margin-top: 0;
  border-radius: 12px;
  border: 1px solid rgba(165, 109, 255, 0.22);
  background: rgba(11, 10, 22, 0.78);
  color: #ffffff;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

input:focus, textarea:focus{
  border-color: rgba(165, 109, 255, 0.60);
  box-shadow:
    0 0 0 3px rgba(109, 52, 255, 0.14),
    0 0 18px rgba(109, 52, 255, 0.18);
}

textarea{
  resize: vertical;
  min-height: 96px;
}

::placeholder{
  color: #9da1b3 !important;
  opacity: 1;
}

/* =========================
   WIZARD (HEADER + PROGRESO + PASOS)
========================= */
.wizard-shell{
  max-width: 1040px;
  margin: 0 auto 14px;
}

.wizard-top{
  background:
    linear-gradient(180deg, rgba(21,21,38,0.92), rgba(14,12,28,0.92));
  border: 1px solid rgba(165, 109, 255, 0.22);
  border-radius: 18px;
  padding: 14px 16px 12px;
  box-shadow:
    0 0 20px rgba(109, 52, 255, 0.16),
    inset 0 0 0 1px rgba(255,255,255,0.02);
}

.wizard-top__head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.wizard-top__title{
  color: #f1e8ff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.wizard-top__meta{
  color: #cdb9f6;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* barra */
.wizard-progress{
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(165, 109, 255, 0.14);
  border: 1px solid rgba(165, 109, 255, 0.10);
  overflow: hidden;
  margin-bottom: 12px;
}

.wizard-progress-bar{
  height: 100%;
  width: 25%; /* paso 1 de 4 */
  border-radius: 999px;
  background: linear-gradient(90deg, #6d34ff, #a56dff);
  box-shadow: 0 0 14px rgba(125, 66, 255, 0.45);
  transition: width .25s ease;
}

/* tabs de pasos */
.wizard-steps{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 8px;
}

.wizard-step{
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(165, 109, 255, 0.16);
  background: rgba(255,255,255,0.01);
  color: #bfaee3;
}

.wizard-step__num{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(165, 109, 255, 0.25);
  background: rgba(165, 109, 255, 0.08);
  color: #dbcaff;
  flex: 0 0 22px;
}

.wizard-step__label{
  font-size: 12px;
  line-height: 1.15;
  font-weight: 600;
}

/* activo */
.wizard-step.is-active{
  border-color: rgba(165, 109, 255, 0.45);
  background: rgba(109, 52, 255, 0.10);
  color: #f1e8ff;
  box-shadow: 0 0 12px rgba(109, 52, 255, 0.14);
}

.wizard-step.is-active .wizard-step__num{
  background: linear-gradient(90deg, #6d34ff, #a56dff);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 10px rgba(125, 66, 255, 0.35);
}

/* completado (para luego con JS) */
.wizard-step.is-done{
  border-color: rgba(130, 255, 190, 0.20);
  background: rgba(130, 255, 190, 0.05);
  color: #e9fff4;
}

.wizard-step.is-done .wizard-step__num{
  background: rgba(130, 255, 190, 0.14);
  border-color: rgba(130, 255, 190, 0.30);
  color: #bff7d7;
}

/* bloqueado (visual) */
.wizard-step.is-locked{
  opacity: .65;
}

/* =========================
   WIZARD - BLOQUES / PASOS (paneles)
   (útil si luego separas por step en divs)
========================= */
.wizard-panel{
  display: none;
}

.wizard-panel.is-active{
  display: block;
}

/* texto auxiliar dentro del paso */
.wizard-step-intro{
  color: #d7c8f7;
  font-size: 14px;
  line-height: 1.45;
  margin: 4px 0 10px;
}

/* =========================
   WIZARD - NAVEGACIÓN (ATRÁS / SIGUIENTE)
   ✅ ESTO TE FALTABA
========================= */

/* contenedor de botones */
.wizard-actions{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(165, 109, 255, 0.12);
}

/* estilo base navegación */
.wizard-btn{
  min-width: 150px;
  height: 52px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .2s ease;
  user-select: none;
}

/* botón atrás */
.wizard-btn--ghost{
  background: rgba(255,255,255,0.02);
  color: #d8c9f8;
  border-color: rgba(165, 109, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.01);
}

.wizard-btn--ghost:hover{
  background: rgba(165, 109, 255, 0.08);
  border-color: rgba(165, 109, 255, 0.40);
  color: #f1e8ff;
  transform: translateY(-1px);
}

/* botón siguiente */
.wizard-btn--primary{
  background: linear-gradient(90deg, #6d34ff, #b061ff);
  color: #ffffff;
  border-color: rgba(255,255,255,0.10);
  box-shadow:
    0 0 18px rgba(125, 66, 255, 0.40),
    0 0 32px rgba(125, 66, 255, 0.22),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}

.wizard-btn--primary:hover{
  transform: translateY(-1px);
  box-shadow:
    0 0 24px rgba(125, 66, 255, 0.55),
    0 0 42px rgba(125, 66, 255, 0.28),
    inset 0 0 0 1px rgba(255,255,255,0.10);
}

/* estados */
.wizard-btn:disabled{
  opacity: .55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* alineación cuando solo haya botón siguiente */
.wizard-actions.is-first{
  justify-content: flex-end;
}

/* alineación cuando estés en medio */
.wizard-actions.is-middle{
  justify-content: space-between;
}

/* alineación último paso */
.wizard-actions.is-last{
  justify-content: space-between;
}

/* opcional: texto guardar/continuar después */
.wizard-save-note{
  text-align: center;
  margin-top: 14px;
  color: #b9a5df;
  font-size: 13px;
  opacity: .9;
}

/* ===== FIX para que no hereden estilos viejos ===== */
.wizard-actions .wizard-btn{
  width: auto !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
  text-transform: none !important;
}

.wizard-actions .wizard-btn--ghost,
.wizard-actions .wizard-btn--primary{
  padding: 0 18px !important;
}

/* móvil */
@media (max-width: 860px){
  .wizard-actions{
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
  }

  .wizard-btn{
    min-width: 120px;
    height: 46px;
    font-size: 14px;
    border-radius: 12px;
  }
}


/* =========================
   MÓVIL
========================= */
@media (max-width: 860px){
  .form-container{
    max-width: 100%;
    padding: 16px;
    border-radius: 16px;
  }

  .form-container::after{
    margin-top: 12px;
    margin-bottom: 6px;
  }

  h3{
    font-size: 18px;
    margin-bottom: 12px;
  }

  label{
    font-size: 13px;
    margin-top: 12px;
  }

  input, textarea{
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 14px;
  }

  textarea{
    min-height: 88px;
  }

  .wizard-shell{
    max-width: 100%;
    margin-bottom: 12px;
  }

  .wizard-top{
    border-radius: 14px;
    padding: 12px 12px 10px;
  }

  .wizard-top__head{
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 10px;
  }

  .wizard-top__title{
    font-size: 15px;
  }

  .wizard-top__meta{
    font-size: 11px;
    white-space: normal;
  }

  .wizard-steps{
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .wizard-step{
    min-height: 40px;
    padding: 8px;
    border-radius: 10px;
  }

  .wizard-step__label{
    font-size: 11px;
  }

  /* navegación móvil */
  .wizard-actions{
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
  }

  .wizard-btn{
    min-width: 0;
    flex: 1;
    height: 48px;
    border-radius: 12px;
    font-size: 14px;
    padding: 0 12px;
  }

  .wizard-save-note{
    font-size: 12px;
    margin-top: 12px;
  }
}

/* =========================
   BOTONES
========================= */
.pay-btn{
  padding: 14px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(90deg, #6d34ff, #a56dff);
  box-shadow: 0 0 25px rgba(125, 66, 255, 0.55);
  transition: 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pay-btn-main{ width: 100%; }

.pay-btn-option{
  flex: 1;
  min-width: 180px;
  font-size: 14px;
  padding-inline: 18px;
}

.tipo-selector-activo{
  box-shadow: 0 0 32px rgba(255, 255, 255, 0.65);
  transform: translateY(-1px);
}

.pay-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(125, 66, 255, 0.75);
  opacity: 0.95;
}

.pay-btn[disabled]{ cursor: not-allowed; opacity: 0.7; }

.pay-btn.is-loading{ position: relative; cursor: wait; }

.pay-btn.is-loading::after{
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-top-color: transparent;
  display: inline-block;
  margin-left: 10px;
  animation: spin 0.7s linear infinite;
}

body.loading-cursor{ cursor: progress; }

@keyframes spin{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

/* =========================
   MODAL INFO
========================= */
#info-modal{
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

#info-modal .content{
  background: #1a1a2e;
  padding: 20px;
  border-radius: 12px;
  max-width: 520px;
  text-align: left;
  box-shadow: 0 0 20px #6d34ff80;
}

#info-modal h2{
  margin-top: 0;
  color: #e6c7ff;
}

#info-modal p{
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}

#cerrar-info{
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  background: #6d34ff;
  color: white;
  border: none;
}

#cerrar-info:hover{ background: #542ac9; }

/* =========================
   MODAL LEGAL (SE QUEDA)
========================= */
#legal-modal{
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 23;
}

#legal-modal .content{
  background: #11111f;
  max-width: 720px;
  max-height: 80vh;
  padding: 22px 24px;
  border-radius: 16px;
  box-shadow:
    0 0 28px rgba(125, 66, 255, 0.9),
    0 0 60px rgba(0, 0, 0, 0.9);
  text-align: left;
  border: 1px solid rgba(140, 90, 255, 0.7);
  overflow: hidden;
}

#legal-modal h2{
  margin: 0 0 10px;
  color: #e9d6ff;
  font-size: 18px;
}

#legal-modal p{
  font-size: 13px;
  line-height: 1.6;
  color: #f4ecff;
}

#legal-modal .scroll{
  max-height: 58vh;
  overflow-y: auto;
  padding-right: 6px;
  margin-top: 4px;
}

#cerrar-legal{
  margin-top: 12px;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(90deg, #6d34ff, #a56dff);
  color: white;
  font-size: 14px;
  cursor: pointer;
}

#cerrar-legal:hover{ opacity: 0.9; }

/* ===== Modal legal: ajuste móvil ===== */
@media (max-width: 860px){
  #legal-modal{
    padding: 14px;              /* aire alrededor */
    align-items: flex-end;       /* opcional: más cómodo tipo sheet */
  }

  #legal-modal .content{
    width: 100%;
    max-width: 520px;            /* límite razonable */
    margin: 0 auto;
    padding: 18px 16px;
    border-radius: 18px;
    max-height: 82vh;
  }

  #legal-modal h2{
    font-size: 16px;
  }

  #legal-modal .scroll{
    max-height: 56vh;            /* más scroll usable */
  }

  #cerrar-legal{
    padding: 12px;
    border-radius: 14px;
  }
}

/* =========================
   MODAL PORTAL (MISMO ESTILO QUE LEGAL)
========================= */
#portal-modal{
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#portal-modal .content{
  background: #11111f;
  max-width: 720px;
  max-height: 80vh;
  padding: 22px 24px;
  border-radius: 16px;
  box-shadow:
    0 0 28px rgba(125, 66, 255, 0.9),
    0 0 60px rgba(0, 0, 0, 0.9);
  text-align: left;
  border: 1px solid rgba(140, 90, 255, 0.7);
  overflow: hidden;
}

#portal-modal h2{
  margin: 0 0 10px;
  color: #e9d6ff;
  font-size: 18px;
}

#portal-modal .scroll{
  max-height: 58vh;
  overflow-y: auto;
  padding-right: 6px;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.6;
  color: #f4ecff;
}

#cerrar-portal{
  margin-top: 12px;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(90deg, #6d34ff, #a56dff);
  color: white;
  font-size: 14px;
  cursor: pointer;
}

#cerrar-portal:hover{ opacity: 0.9; }

/* móvil */
@media (max-width: 860px){
  #portal-modal{
    padding: 14px;
    align-items: center;
  }

  #portal-modal .content{
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 18px 16px;
    border-radius: 18px;
    max-height: 82vh;
  }

  #portal-modal h2{ font-size: 16px; }
  #portal-modal .scroll{ max-height: 56vh; }
  #cerrar-portal{ padding: 12px; border-radius: 14px; }
}

/* =========================
   PRICE BOX
========================= */
.price-box{
  margin-top: 18px;
  margin-bottom: 12px;
  text-align: center;
  color: #e5d8ff;
  font-size: 14px;
}

.price-box .price-line{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.price-box .old-price{
  text-decoration: line-through;
  opacity: 0.45;
  font-size: 15px;
}

.price-box .new-price{
  color: #ffd86f;
  font-size: 17px;
  font-weight: 700;
}

.price-box .arrow{ opacity: 0.7; }

.price-box .price-tagline{
  margin-top: 4px;
  font-size: 12px;
  color: #c9baff;
}

/* =========================
   REDES (links)
========================= */
.social-btn{
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  color: white;
  transition: 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-btn:hover{ transform: translateY(-3px); }

.tiktok{
  background: linear-gradient(90deg,#6d34ff,#a56dff);
  box-shadow: 0 0 20px rgba(125,66,255,0.6);
}
.youtube{
  background: linear-gradient(90deg,#ff0033,#ff5c5c);
  box-shadow: 0 0 20px rgba(255,0,51,0.6);
}
.instagram{
  background: linear-gradient(90deg,#833ab4,#fd1d1d,#fcb045);
  box-shadow: 0 0 20px rgba(200,80,255,0.6);
}
.facebook{
  background: linear-gradient(90deg,#1877f2,#4e8df5);
  box-shadow: 0 0 20px rgba(24,119,242,0.6);
}
.spotify{
  background: linear-gradient(90deg,#1db954,#1ed760);
  box-shadow: 0 0 20px rgba(29,185,84,0.6);
}

/* Autofill Chrome / Edge / Safari */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: #f3ecff !important;
  caret-color: #f3ecff !important;

  /* pinta el fondo interno */
  -webkit-box-shadow: 0 0 0px 1000px rgba(10, 8, 26, 0.95) inset !important;
  box-shadow: 0 0 0px 1000px rgba(10, 8, 26, 0.95) inset !important;

  border-radius: 14px !important;
  transition: background-color 9999s ease-out 0s;
}

/* opcional: estado normal para que combine */
.wizard-form input,
.wizard-form textarea {
  background: rgba(10, 8, 26, 0.95);
  color: #f3ecff;
}