/* ===== RESET BÁSICO ===== */
* {
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #efe7dc, #e7dfd4);
  color: #2c2c2c;
}

/* ===== CONTENEDOR GENERAL ===== */
.luxy-form-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

.luxy-form-card {
  width: 100%;
  max-width: 520px;
}

/* ===== BURBUJAS SUPERIORES ===== */
.luxy-bubble {
  background: #c7d9e6;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 2px 4px rgba(0,0,0,.08);
}

/* ===== STEPS ===== */
.step {
  display: none;
  margin-top: 24px;
}

.step.active {
  display: block;
}

/* ===== LABELS ===== */
label {
  display: block;
  margin: 10px 0 6px;
  font-size: 13px;
  font-weight: 500;
}

/* ===== INPUTS ===== */
input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #d6cfc4;
  background: #fff;
  font-size: 14px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #c6a574;
}

/* ===== CHECKBOXES ===== */
.checkbox-row {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  font-size: 13px;
}

.checkbox-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

/* ===== BOTONES ===== */
button {
  margin-top: 20px;
  padding: 12px 22px;
  border-radius: 10px;
  border: none;
  font-size: 14px;
  cursor: pointer;
}

.btn-primary {
  background: #4b7ba6;
  /*background: #d1b38a;*/
  color: #fff;
}

.btn-secondary {
  background: #d1b38a;
  color: #fff;
}

button:hover {
  background: #d1b38a;
}

/* ===== FOOTER ===== */
.form-footer {
  margin-top: 14px;
  font-size: 12px;
  color: #555;
  text-align: center;
}

/* ===== POPUP ===== */
.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 999;
}

.popup.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-content {
  background: #fff;
  padding: 32px;
  width: 90%;
  max-width: 380px;
  border-radius: 14px;
  text-align: center;
}

.popup-content h2 {
  margin-top: 0;
}

.popup-content a {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 22px;
  border-radius: 10px;
  background: #475995;
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.luxy-bubble {
  margin-bottom: 18px;
  padding: 16px 20px;
  font-size: 14.5px;
}

.step h3 {
  margin: 8px 0 24px;
  font-size: 18px;
  font-weight: 600;
}

label {
  /*margin-top: 18px;*/
  margin-bottom: 6px;
  font-size: 13px;
}

input,
textarea {
  margin-bottom: 6px;
}

.checkbox-row {
  margin-top: 10px;
  margin-bottom: 18px;
  gap: 22px;
}

button {
  margin-top: 0px;
}

.step button + button {
  margin-left: 10px;
}

.step:last-child label {
  margin-top: 24px;
}

.popup-content {
  padding: 36px 32px;
}

.popup-content p {
  margin: 16px 0 22px;
}

/* ===== GRID 2 COLUMNAS DESKTOP ===== */

.luxy-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* Desktop */
@media (min-width: 768px) {
  .luxy-grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 22px 24px;
  }
}

/* ===== PHONE ROW ===== */

.phone-row {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.phone-prefix {
  background: #f1f1f1;
  border: 1px solid #d6cfc4;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  height: 45px;
}

/* ===== CONTACT CENTER ===== */

.contact-label {
    margin-top: 20px;
    text-align: center;
}

.checkbox-row.center {
    display: flex;
    justify-content: center;
    align-items: center;      /* ← centra verticalmente */
    gap: 30px;
    margin-top: 12px;
}

.checkbox-row.center label {
    display: flex;
    align-items: center;      /* ← centra checkbox + texto */
    gap: 8px;
    margin: 0;
}

.checkbox-row.center input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.btn-center {
    text-align: center;
    margin-top: 28px;
}

/*para bloquear astra*/
.checkbox-row.center label {
    margin-top: 0 !important;
}


/* ===== PASO 2 VERTICAL PREMIUM ===== */

.step h3 {
  margin: 24px 0 28px;
  font-size: 18px;
  font-weight: 600;
}

.step input {
  margin-bottom: 18px;
}

.select-wrapper {
  position: relative;
}

.select-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8c9ab4;
  font-size: 16px;
  pointer-events: none;
}

.checkbox-row.center {
  justify-content: center;
  gap: 40px;
  margin: 14px 0 20px;
}

.btn-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 0;
}

.security-text {
  margin-top: 26px;
  font-size: 14px;
  text-align: center;
  color: #555;
  line-height: 1.4;
}

/* ===== ANIMACIÓN STEPS ===== */

.step {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  position: absolute;
  width: 100%;
}

.step.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}
.luxy-form-card {
  position: relative;
  min-height: 600px;
}


/* ===== FONDO GENERAL ===== */

.luxy-bg {
  margin: 0;
  background: #d8cec1;
  font-family: 'Inter', sans-serif;
}

/* ===== HEADER ===== */

.luxy-header {
  background: #1e2230;
  padding: 16px 40px;
}

.luxy-header-inner {
  max-width: 1300px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.luxy-logo {
  color: white;
  font-size: 26px;
}

.luxy-nav a {
  color: #ddd;
  margin: 0 18px;
  text-decoration: none;
  font-size: 14px;
}

.btn-login {
  background: #5c6fa8;
  padding: 10px 18px;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  margin-right: 20px;
}

.lang {
  color: #ccc;
  font-size: 13px;
}

/* ===== HERO LAYOUT ===== */

.luxy-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* IMÁGENES LATERALES */

.luxy-left-img {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 85%;
}

.luxy-right-img {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 85%;
}

.luxy-background-img {
  background-image: url(https://luxyfun.com/wp-content/uploads/2026/02/portada-formularios-4.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  /*min-height: 900px;*/
}
/*.luxy-background-img {
  background-position: left center;
}*/


/* CONTENEDOR CENTRAL */

.luxy-center {
  width: 600px;
  position: relative;
  z-index: 2;
}

.luxy-center .step {
  margin-top: 18px;
}

/* ===== BURBUJAS ===== */

.luxy-bubble {
  background: #b7cadb;
  padding: 10px 18px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 17px;
  box-shadow: 0 2px 4px rgba(0,0,0,.15);
  text-align: center;
  font-weight: 600;
}
.luxy-bubble-amarillo {
  background: #f2e0d0;
  padding: 10px 18px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 17px;
  box-shadow: 0 2px 4px rgba(0,0,0,.15);
  text-align: center;
  font-weight: 600;
}

.luxy-bubble.with-avatar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bubble-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* ===== FORM AJUSTE ESPACIADO ===== */

.step h3 {
  margin: 16px 0 18px;
}

.step input {
  margin-bottom: 14px;
}

.btn-center {
  margin-top: 20px;
}

/* ===== CSS PERSONALIZADO ===== */

.input-error {
  border: 2px solid #d9534f !important;
  background: #fff5f5;
}

.error-text {
  color: #d9534f;
  font-size: 12px;
  margin-top: -8px;
  margin-bottom: 10px;
}

.luxy-all {
  display: flex;
}

.luxy-left, .luxy-right {
  width: 100px;
  height: 60px;
  margin: 0 10px;
}

.luxy-mid {
  width:100%;
}

.row-edad {
  display: flex;
  width:30%;
  float: left;
  margin: 0 10px 0 0;
}

.row-edad input {
  width:90%;
}

.row-edad-input {
  display: flex;
  width:30%;
  float: left;
}

.text-inner {
  font-size: 14px;
  margin: 0 0 0 10px;
}

.text-inner2 {
  font-size: 14px;
  margin: 12px;
}

.btn-submit  {
  text-align: center;
  clear: both;
}

/* ===== VALIDACIÓN ===== */

.input-error {
  border: 2px solid #d9534f !important;
  background: #fff5f5;
}

.error-text {
  color: #d9534f;
  font-size: 12px;
  margin-top: -8px;
  margin-bottom: 10px;
}

/* ===== POPUP ===== */

.popup {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}


.popup-content {
  position: relative;
  background: #ffffff;
  width: 90%;
  max-width: 600px;
  padding: 40px 45px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  z-index: 2;
  text-align: left;
  animation: popupFade 0.3s ease;
}

.popup-content h2 {
  text-align: center;
  margin-bottom: 20px;
}

.popup-content p {
  margin-bottom: 15px;
  line-height: 1.5;
}

.popup-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.popup-btn {
  display: block;
  width: 220px;
  margin: 30px auto 0;   /* centra horizontal */
  text-align: center;
  background: #475995;
  color: #ffffff;
  padding: 14px 0;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
}

.popup-btn:hover {
  background: #3b4c85;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 18px;
  background: #fff;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #000;
}

.popup-close:hover {
  color: #000;
  background: #fff;
}

@keyframes popupFade {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.whatsapp-btn {
  text-align: center;
}


/*****************************/
.luxy-register-page {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* Opcional: eliminar padding del content */
body.luxy-fullwidth .site-content {
    padding: 0 !important;
}

.site-content {
    padding: 0 !important;
}

.luxy-register-page {
    width: 100%;
}

.luxy-register-page {
    max-width: 100% !important;
    width: 100%;
    padding: 0;
}

.bubble-avatar {
    aspect-ratio: 1 / 1;
}

select {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #fff;
}

/* Normalizar selects del formulario Luxy */
.luxy-hero select,
.luxy-hero input,
.luxy-hero textarea {
    width: 100%;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 12px;
    box-sizing: border-box;
}
.luxy-hero select {
    appearance: auto !important;
}

/* Forzar texto negro en selects del formulario */
.luxy-hero select,
.luxy-hero select option {
    color: #000 !important;
    background-color: #fff !important;
}

/* Cuando está desplegado */
.luxy-hero select:focus {
    color: #000 !important;
    background-color: #fff !important;
}
body .luxy-hero select,
body .luxy-hero select option {
    color: #000 !important;
    background: #fff !important;
}

/* Forzar texto negro en textarea Luxy */
#luxyForm textarea,
#luxyForm textarea:focus,
#luxyForm textarea:active {
    color: #000 !important;
    background-color: #ffffff;
}

/* Placeholder negro suave */
#luxyForm textarea::placeholder {
    color: #666;
}

#luxyForm input,
#luxyForm select {
    color: #000 !important;
}


#primary {
    width: 100% !important;
    margin: 0 !important;
}

.site-content {
    padding: 0 !important;
}

/* Wrapper propio */
.luxy-full-wrapper {
    width: 100%;
    min-height: 100vh;
}

.luxy-container {
    width: 100%;
}

/* FULL WIDTH REAL DENTRO DE ASTRA */
.ast-separate-container #primary {
    padding: 0 !important;
}

.ast-separate-container #primary > .ast-container {
    padding: 0 !important;
    background: transparent !important;
}

.ast-separate-container .site-content {
    padding: 0 !important;
}

/* Hacer que tu sección rompa el contenedor */
.luxy-background-img {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/**************************************/
.security-text2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    text-align: center;
}

.text-accept,
.text-accept2 {
    display: flex;
    align-items: center;
    font-size: 14px;
}

/* ==========================
   FIX SOLO BOTÓN HEADER
   ========================== */

.ast-header-break-point .uagb-buttons-repeater.wp-block-button__link,
.ast-desktop .uagb-buttons-repeater.wp-block-button__link,
header .uagb-buttons-repeater.wp-block-button__link {

    background-color: #475995 !important;
    color: #ffffff !important;
    border: none !important;
}

/* Hover */
header .uagb-buttons-repeater.wp-block-button__link:hover {
    background-color: #3d4f80 !important;
    color: #ffffff !important;
}
/* ==========================
   BOTÓN HEADER MÁS RECTANGULAR
   ========================== */

header .uagb-buttons-repeater.wp-block-button__link {

    background: #475995 !important;
    color: #ffffff !important;

    border-radius: 6px !important;   /* más rectangular */
    padding: 20px 40px !important;   /* proporción más elegante */
}

/* Hover */
header .uagb-buttons-repeater.wp-block-button__link:hover {
    background: #3d4f80 !important;
}

/* alto del p en astra*/
.luxy-membership p {
    margin: 6px 0 18px 0;
    line-height: 1.2;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
}
.iti {
    width: 100% !important;
    display: block !important;
}

.iti input.iti__tel-input {
    width: 100% !important;
}

#luxyForm input[type="tel"] {
    height: 48px;
}

/*para bloquaer el text area*/

textarea {
    resize: none;
    min-height: 100px;
}