/* Start custom CSS for html, class: .elementor-element-6ee37cb */*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── FUENTES ──────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

/* ── VARIABLES ────────────────────────────────────── */
:root {
  --c-primary:   #3D2FA0;
  --c-primary-l: #EAE8F8;
  --c-primary-m: #6C5FCF;
  --c-accent:    #F4F0FF;
  --c-text:      #1A1A2E;
  --c-muted:     #6B6B8A;
  --c-border:    #E2DEFF;
  --c-bg:        #F8F7FF;
  --c-white:     #FFFFFF;
  --c-success:   #2ECC71;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --shadow:      0 4px 24px rgba(61,47,160,0.08);
  --shadow-card: 0 2px 12px rgba(61,47,160,0.06);
}

/* ── CONTENEDOR — CENTRADO EN ELEMENTOR ───────────── */
.elementor-widget-html {
  display: block !important;
  width: 100% !important;
  text-align: center;
}

.ct-container {
  display: block !important;
  width: 100% !important;
  max-width: 640px !important;
  margin: 0 auto !important;
  padding: 2rem 1rem 4rem !important;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  color: var(--c-text);
}

/* ── BARRA DE PROGRESO ────────────────────────────── */
.ct-progress-wrap {
  margin-bottom: 2rem;
}
.ct-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--c-muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.ct-progress-track {
  height: 5px;
  background: var(--c-border);
  border-radius: 99px;
  overflow: hidden;
}
.ct-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--c-primary-m), var(--c-primary));
  border-radius: 99px;
  transition: width 0.5s cubic-bezier(.4,0,.2,1);
}

/* ── PANTALLA / SLIDE ─────────────────────────────── */
.ct-screen {
  display: none;
  animation: ctFadeIn 0.35s ease;
}
.ct-screen.active { display: block; }

@keyframes ctFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── TARJETA INSTRUCCIONES ────────────────────────── */
.ct-card-instructions {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}
.ct-card-instructions h2 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 0.75rem;
}
.ct-card-instructions p {
  font-size: 0.875rem;
  color: var(--c-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.ct-scale-legend {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.ct-scale-legend-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--c-text);
}
.ct-scale-legend-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-primary);
  font-weight: 600;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ct-disclaimer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-border);
  font-size: 0.78rem;
  color: var(--c-muted);
  font-style: italic;
}

/* ── BADGE DIMENSIÓN ──────────────────────────────── */
.ct-dimension-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--c-primary-l);
  color: var(--c-primary);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
}
.ct-dimension-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
}

/* ── TARJETA PREGUNTA ─────────────────────────────── */
.ct-card-question {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 1.25rem;
}
.ct-question-num {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--c-muted);
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}
.ct-question-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--c-text);
  margin-bottom: 0.4rem;
}
.ct-question-hint {
  font-size: 0.8rem;
  color: var(--c-muted);
  margin-bottom: 1.75rem;
  font-style: italic;
}

/* ── OPCIONES ─────────────────────────────────────── */
.ct-options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.ct-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  user-select: none;
}
.ct-option:hover {
  border-color: var(--c-primary-m);
  background: var(--c-accent);
  transform: translateX(3px);
}
.ct-option.selected {
  border-color: var(--c-primary);
  background: var(--c-primary-l);
}
.ct-option-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-muted);
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.ct-option.selected .ct-option-circle {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
}
.ct-option-label {
  font-size: 0.875rem;
  color: var(--c-muted);
  transition: color 0.2s;
}
.ct-option.selected .ct-option-label {
  color: var(--c-primary);
  font-weight: 500;
}

/* ── ACCIONES ─────────────────────────────────────── */
.ct-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.ct-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--c-border);
  background: transparent;
  color: var(--c-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.ct-btn:hover { background: var(--c-border); color: var(--c-text); }
.ct-btn-primary {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
}
.ct-btn-primary:hover { background: #2d2278; border-color: #2d2278; }
.ct-btn-primary:disabled {
  background: var(--c-border);
  color: var(--c-muted);
  border-color: var(--c-border);
  cursor: not-allowed;
}
.ct-btn-ghost {
  border-color: transparent;
  background: transparent;
}
.ct-btn-ghost:hover { background: var(--c-accent); color: var(--c-primary); }

/* ── PANTALLA BIENVENIDA ──────────────────────────── */
.ct-welcome {
  text-align: center;
  padding: 3rem 1rem;
}
.ct-welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--c-primary-l);
  color: var(--c-primary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 99px;
  margin-bottom: 1.5rem;
}
.ct-welcome h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1.2;
  color: var(--c-text);
  margin-bottom: 1rem;
}
.ct-welcome p {
  font-size: 0.95rem;
  color: var(--c-muted);
  line-height: 1.75;
  max-width: 440px;
  margin: 0 auto 2rem;
}

/* ── PANTALLA FINAL ───────────────────────────────── */
.ct-final {
  text-align: center;
  padding: 3rem 1rem;
  font-family: 'Poppins', sans-serif;
}
.ct-final-icon {
  width: 64px;
  height: 64px;
  background: var(--c-primary-l);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
}
.ct-final h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  color: var(--c-text);
  margin-bottom: 0.75rem;
}
.ct-final p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--c-muted);
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto 2rem;
}

/* ── TEXTAREA ─────────────────────────────────────── */
.ct-textarea {
  width: 100%;
  min-height: 120px;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  color: var(--c-text);
  background: var(--c-bg);
  resize: vertical;
  transition: border-color 0.2s;
  outline: none;
}
.ct-textarea:focus {
  border-color: var(--c-primary-m);
  background: var(--c-white);
}

/* ── SELECCIÓN MÚLTIPLE ───────────────────────────── */
.ct-option-check { align-items: flex-start; }
.ct-option-check-box {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: 1.5px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: transparent;
  background: var(--c-white);
  flex-shrink: 0;
  margin-top: 1px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.ct-option-check.selected .ct-option-check-box {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
}

/* ── CAMPO OTRO ───────────────────────────────────── */
.ct-other-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.ct-other-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--c-muted);
  white-space: nowrap;
}
.ct-other-input {
  flex: 1;
  padding: 0.55rem 0.9rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: var(--c-text);
  background: var(--c-bg);
  outline: none;
  transition: border-color 0.2s;
}
.ct-other-input:focus {
  border-color: var(--c-primary-m);
  background: var(--c-white);
}

/* ── RESULTADOS ───────────────────────────────────── */
.res-header {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}
.res-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--c-primary-l);
  color: var(--c-primary);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
}
.res-profile-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.res-profile-emoji { font-size: 2.5rem; line-height: 1; }
.res-profile-label {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}
.res-global-score { font-size: 1.1rem; font-weight: 700; color: var(--c-primary); }
.res-global-label { font-size: 0.85rem; color: var(--c-muted); }
.res-profile-summary {
  font-size: 0.9rem;
  color: var(--c-muted);
  line-height: 1.7;
  border-top: 1px solid var(--c-border);
  padding-top: 1rem;
  margin-top: 0.5rem;
}
.res-radar-wrap {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
}
.res-radar-container { max-width: 340px; margin: 0 auto; padding: 0.5rem 0; }
.res-section {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
}
.res-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: var(--c-text);
  margin-bottom: 0.35rem;
}
.res-section-subtitle {
  font-size: 0.82rem;
  color: var(--c-muted);
  margin-bottom: 1.25rem;
  font-style: italic;
}
.res-dim-card {
  margin-bottom: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--c-border);
}
.res-dim-card:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.res-dim-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem; }
.res-dim-icon { font-size: 1.3rem; flex-shrink: 0; }
.res-dim-info { flex: 1; display: flex; flex-direction: column; gap: 0.15rem; }
.res-dim-name { font-weight: 600; font-size: 0.9rem; color: var(--c-text); }
.res-dim-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.6rem;
  border-radius: 99px;
  width: fit-content;
}
.res-dim-pct { font-size: 1.1rem; font-weight: 700; flex-shrink: 0; }
.res-bar-track {
  height: 7px;
  background: var(--c-border);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 0.65rem;
}
.res-bar-fill { height: 100%; border-radius: 99px; transition: width 0.8s cubic-bezier(.4,0,.2,1); }
.res-dim-desc { font-size: 0.82rem; color: var(--c-muted); line-height: 1.65; }
.res-qual-item { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.85rem; }
.res-qual-label { font-size: 0.82rem; color: var(--c-text); font-weight: 500; min-width: 160px; flex-shrink: 0; }
.res-qual-bar-track { flex: 1; height: 6px; background: var(--c-border); border-radius: 99px; overflow: hidden; }
.res-qual-bar-fill { height: 100%; border-radius: 99px; transition: width 0.7s ease; }
.res-qual-pct { font-size: 0.82rem; font-weight: 700; min-width: 36px; text-align: right; }

/* ── CTA ──────────────────────────────────────────── */
.res-cta-section {
  background: linear-gradient(135deg, #EAE8F8 0%, #F4F0FF 100%);
  border: 2px solid var(--c-primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem;
  text-align: center;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}
.res-cta-title { font-size: 1.35rem; font-weight: 700; color: var(--c-primary); margin-bottom: 0.5rem; font-family: 'Poppins', sans-serif; }
.res-cta-subtitle { font-size: 0.9rem; color: var(--c-muted); margin-bottom: 1.75rem; line-height: 1.4; font-family: 'Poppins', sans-serif; }
.res-cta-description { margin: 1.5rem 0; font-size: 0.95rem; line-height: 1.6; color: var(--c-muted); font-family: 'Poppins', sans-serif; }

/* ── MODAL DE CONTACTO ────────────────────────────── */
.contact-modal {
  display: flex;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}
.contact-modal.hidden { display: none; opacity: 0; }
.contact-modal-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  cursor: pointer;
}
.contact-modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(61,47,160,0.15);
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.contact-modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none; border: none;
  font-size: 1.5rem;
  color: var(--c-muted);
  cursor: pointer;
  padding: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s ease;
}
.contact-modal-close:hover { color: var(--c-primary); }
.contact-modal-title { font-size: 1.35rem; font-weight: 700; color: var(--c-primary); margin-bottom: 0.5rem; text-align: center; font-family: 'Poppins', sans-serif; }
.contact-modal-text { font-size: 0.9rem; color: var(--c-muted); text-align: center; margin-bottom: 1.75rem; line-height: 1.4; font-family: 'Poppins', sans-serif; }
.contact-modal-buttons { display: flex; flex-direction: column; gap: 1rem; }
.contact-btn {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  border: 2px solid #e2deff;
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}
.contact-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(61,47,160,0.12); }
.contact-btn-whatsapp { border-color: #25d366; color: #25d366; }
.contact-btn-whatsapp:hover { background: rgba(37,211,102,0.08); }
.contact-btn-email { border-color: #3d2fa0; color: var(--c-primary); }
.contact-btn-email:hover { background: rgba(61,47,160,0.08); }
.contact-btn-icon { font-size: 1.75rem; }
.contact-btn-icon-img { width: 1.75rem; height: 1.75rem; object-fit: contain; }
.contact-btn-text { font-size: 1rem; }
.contact-btn-detail { font-size: 0.75rem; color: var(--c-muted); font-weight: 400; margin-top: 0.25rem; }

/* ── FORMULARIO DE REGISTRO ───────────────────────── */
.ct-registro-form { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.5rem; }
.ct-field-wrap { display: flex; flex-direction: column; gap: 0.4rem; }
.ct-field-label { font-size: 0.78rem; font-weight: 600; color: var(--c-primary); letter-spacing: 0.04em; text-transform: uppercase; }
.ct-field-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--c-text);
  background: var(--c-bg);
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.ct-field-input::placeholder { color: #b0b0c8; }
.ct-field-input:focus { border-color: var(--c-primary-m); background: var(--c-white); box-shadow: 0 0 0 3px rgba(61,47,160,0.08); }
.ct-field-input.ct-field-error { border-color: #E74C3C; background: #fff8f8; }
.ct-field-input.ct-field-ok { border-color: #27AE60; }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 480px) {
  .ct-welcome h1 { font-size: 1.7rem; }
  .ct-card-question { padding: 1.5rem; }
  .ct-question-text { font-size: 1.05rem; }
  .res-profile-label { font-size: 1.3rem; }
  .res-qual-label { min-width: 120px; font-size: 0.76rem; }
  .res-header, .res-radar-wrap, .res-section { padding: 1.25rem; }
}/* End custom CSS */