/* 
  SISTEMA VISUAL: ARTURO MONTENEGRO PSICÓLOGO
  IDENTIDAD: MODERNA, TECNOLÓGICA, PROFESIONAL
  PALETA: #00245f (PRIMARIO), #FFFFFF (BASE)
*/

:root {
  /* Colors - New Premium Palette */
  --primary: #00245f;
  --primary-dark: #001a45;
  --primary-medium: #003a8c;
  --primary-light: #f0f4ff;
  --primary-soft: #f8faff;
  
  --accent: #007aff;
  --accent-soft: #e0eeff;
  
  --white: #ffffff;
  --bg-base: #ffffff;
  --bg-alt: #f1f5f9;
  
  --text: #001a45; /* Dark navy for better premium feel */
  --text-muted: #475569;
  --text-on-dark: #f8faff;
  
  --stroke: rgba(0, 36, 95, 0.08);
  --stroke-dark: rgba(0, 36, 95, 0.2);
  
  --shadow-sm: 0 2px 4px rgba(0, 36, 95, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(0, 36, 95, 0.08), 0 8px 10px -6px rgba(0, 36, 95, 0.06);
  --shadow-lg: 0 20px 50px -12px rgba(0, 36, 95, 0.12);
  
  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Borders */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  /* Transitions */
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 1. RESET & GLOBAL */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--bg-alt);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.5; /* Reducido de 1.6 */
  font-weight: 400;
  display: flex;
  flex-direction: column;
  padding: 20px; /* Reducido de 40px 20px */
  overflow-x: hidden;
}

.fade { display: none; }

.wrap {
  width: 100%;
  max-width: 1100px; /* Aumentado de 900px */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 40px);
  justify-content: center;
}

.shell {
  width: 100%;
}

/* 2. HEADER / TOPBAR */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 16px 0; /* Reducido de 32px */
  background: transparent;
  border-bottom: 1px solid var(--stroke);
  margin-bottom: 24px; /* Reducido de 48px */
  width: 100%;
}

.meta {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 700;
}

/* 3. HERO & HEADLINES */
.headline {
  font-family: var(--font-headings);
  font-size: clamp(26px, 4.5vw, 38px); /* Reducido ligeramente más */
  line-height: 1.1;
  color: var(--primary);
  margin-bottom: 16px; /* Reducido de 24px */
  font-weight: 800;
  letter-spacing: -0.03em;
}

.subhead {
  font-size: clamp(15px, 2vw, 17px); /* Reducido ligeramente */
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 32px; /* Reducido de 48px */
  font-weight: 400;
  line-height: 1.4;
}

/* 4. BUTTONS (PREMIUM & MODERN) */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  padding: 16px 40px; /* Reducido de 20px 48px */
  font-size: 15px; /* Reducido de 16px */
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta:active {
  transform: translateY(-1px);
}

.secondary {
  background: var(--white) !important;
  border: 2px solid var(--primary) !important;
  color: var(--primary) !important;
  box-shadow: none !important;
}

.secondary:hover {
  background: var(--primary-light) !important;
  border-color: var(--primary) !important;
}

.backbtn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
}

.linkbtn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}

.linkbtn:hover {
  color: var(--primary);
  background: var(--primary-light);
}

/* 5. CARDS & CONTAINERS */
.card {
  background: var(--white);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: var(--transition);
  width: 100%;
}

.card-inner {
  padding: 32px 48px; /* Reducido verticalmente, aumentado horizontalmente */
}

/* Start Screen Layout */
.start-layout {
  display: flex;
  align-items: center;
  gap: 32px;
}

.start-visual {
  flex: 1;
  max-width: 320px;
}

.start-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.start-content {
  flex: 1.2;
}

@media (max-width: 768px) {
  .card-inner { padding: 20px 14px; }
  body { padding: 8px; }
  .headline { font-size: clamp(20px, 4.5vw, 24px); margin-bottom: 12px; }
  .subhead { margin-bottom: 16px; font-size: 14px; line-height: 1.3; }
  .start-layout { flex-direction: column; text-align: center; gap: 16px; }
  .start-visual { max-width: 150px; margin: 0 auto; }
  
  /* Topbar compacta */
  .topbar { margin-bottom: 12px; padding-bottom: 8px; }
  .meta { font-size: 9px; letter-spacing: 0.05em; }
  
  /* Quiz compactado */
  .progress { height: 6px; margin-bottom: 16px; }
  .qtop { margin-bottom: 12px; padding-bottom: 8px; }
  .result-pill { padding: 3px 10px; font-size: 11px; }
  .qprogress { font-size: 11px; }
  
  .qtitle { font-size: 18px; margin-bottom: 6px; line-height: 1.2; }
  .qhint { margin-bottom: 12px; font-size: 12px; }
  
  .answers { gap: 4px; margin-bottom: 12px; }
  .answer { padding: 8px 12px; font-size: 13px; min-height: 44px; } /* Altura mínima para táctil */
  
  .visual-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; margin-bottom: 12px; }
  .visual-option { padding: 4px; }
  .visual-option span { font-size: 10px; }
  .visual-option img { margin-bottom: 4px; }

  .micro { padding: 10px 14px; margin-bottom: 16px; border-left-width: 3px; }
  .micro-badge { font-size: 9px; }
  .micro-text { font-size: 12px; }

  .trust-box { margin-top: 10px; padding: 8px 12px; font-size: 10px; gap: 8px; }
  .trust-box::before { width: 14px; height: 14px; background-size: contain; }

  .backbtn { padding: 4px 8px; font-size: 12px; }

  /* Procesamiento */
  .analysis-steps { margin-top: 20px; gap: 8px; }
  .analysis-step { padding: 8px 12px; gap: 10px; border-radius: 8px; }
  .analysis-step span { font-size: 13px; }
  .check-icon { width: 20px; height: 20px; }
  
  /* Resultados - Máxima densidad */
  .result-hero { padding: 24px 16px; margin-bottom: 24px; border-radius: 16px; }
  .hero-arturo { width: 80px !important; height: 80px !important; margin-bottom: 12px; border-width: 3px; }
  .hero-label { font-size: 10px; margin-bottom: 8px; }
  .hero-title { font-size: 20px; margin-bottom: 8px; }
  .hero-sub { font-size: 13px; }
  
  .insights-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 24px; }
  .insight-card { padding: 12px 8px; }
  .insight-icon { height: 32px; font-size: 20px; margin-bottom: 4px; }
  .insight-label { font-size: 9px; margin-bottom: 4px; }
  .insight-value { font-size: 12px; }
  
  .interpretation-stats { padding: 20px 12px; margin-bottom: 24px; border-radius: 16px; }
  .stats-title { font-size: 18px; margin-bottom: 16px; text-align: left; }
  .stat-item { margin-bottom: 16px; }
  .stat-name, .stat-value { font-size: 12px; }
  .stat-bar-bg { height: 8px; }
  
  .progression-box { padding: 16px; border-radius: 12px; margin-top: 20px; }
  .progression-label { font-size: 14px; }
  .progression-note { font-size: 12px; }
  
  .analysis-block { padding: 20px 16px; margin-bottom: 12px; border-radius: 12px; }
  .block-tag { font-size: 9px; margin-bottom: 12px; }
  .analysis-block p { font-size: 14px; line-height: 1.5; }
  
  .emotional-block { padding: 32px 20px; margin-bottom: 32px; border-radius: 16px; }
  .emotional-text { font-size: 16px; }
  
  .conversion-section { padding: 32px 16px; border-radius: 16px; }
  .conv-title { font-size: 22px; }
  .conv-sub { font-size: 14px; }
  .plans-grid { margin-top: 24px; }
  .plan-card { padding: 24px 16px; border-radius: 16px; }
  .plan-price { font-size: 32px; }
  .plan-name { font-size: 15px; }
  .plan-desc { font-size: 13px; margin-bottom: 20px; }
  
  .about-arturo-box { margin: 24px auto; border-radius: 16px; gap: 12px; padding: 16px; }
  .about-img { 
    width: 60px !important; 
    height: 60px !important; 
    object-fit: cover;
    flex-shrink: 0;
  }
  .about-name { font-size: 16px; }
  .about-tag { font-size: 12px; }
}

/* Ajustes adicionales para pantallas ultra pequeñas */
@media (max-width: 360px) {
  .headline { font-size: 19px; }
  .qtitle { font-size: 16px; }
  .cta { padding: 10px 20px; font-size: 13px; }
  .visual-grid { grid-template-columns: 1fr; } /* Una sola columna si es demasiado estrecho */
}

/* 6. QUIZ / FORM COMPONENTS */
.qtop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px; /* Reducido */
  padding-bottom: 12px;
  border-bottom: 1px solid var(--stroke);
}

.result-pill {
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}

.qprogress {
  font-size: 12px;
  color: var(--text-muted);
}

.qprogress b {
  color: var(--primary);
}

.qtitle {
  font-family: var(--font-headings);
  font-size: clamp(20px, 3.5vw, 26px); /* Reducido */
  color: var(--primary);
  margin-bottom: 8px; /* Reducido */
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.qhint {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px; /* Reducido */
  font-weight: 400;
}

/* Micro Messages */
.micro {
  background: var(--accent-soft);
  padding: 12px 16px; /* Reducido */
  border-radius: var(--radius-md);
  margin-bottom: 20px; /* Reducido */
  border-left: 4px solid var(--accent);
}

.micro-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 2px;
}

.micro-text {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.3;
}

/* Visual Grid */
.visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Reducido min-width para permitir más altura */
  gap: 12px;
  margin-bottom: 20px;
}

.visual-option {
  background: var(--white);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 8px; /* Reducido */
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  position: relative;
}

.visual-option img {
  width: 100%;
  aspect-ratio: 3/4; /* Cambiado de 1 para dar más altura */
  object-fit: contain; /* Cambiado de cover para que se vea la imagen completa sin recortes */
  background: #f8faff; /* Fondo sutil para que luzca mejor con contain */
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.visual-option span {
  display: block;
  font-size: 12px; /* Reducido */
  font-weight: 600;
  color: var(--text);
}

.visual-option:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.visual-option.selected {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 0 2px var(--primary);
}

.check-mark {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--primary);
  color: var(--white);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: var(--transition);
}

.visual-option.selected .check-mark {
  opacity: 1;
  transform: scale(1);
}

.validation-msg {
  color: #ef4444;
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
  display: none;
}

.next-btn-container {
  margin-top: 20px; /* Reducido */
  display: flex; 
  justify-content: flex-end;
}

.answers {
  display: grid;
  gap: 8px;
  margin-bottom: 20px; /* Reducido */
}

.answer {
  width: 100%;
  padding: 12px 20px; /* Reducido */
  background: var(--bg-soft);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  text-align: left;
  font-size: 14px; /* Reducido */
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.answer:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
  transform: translateX(8px);
  box-shadow: var(--shadow-sm);
}

/* Visual answers (images) */
.answers-visual {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.answer-v {
  background: var(--white);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 12px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.answer-v img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.answer-v span {
  font-weight: 600;
  color: var(--text);
}

.answer-v:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.input {
  width: 100%;
  padding: 18px 24px;
  background: var(--primary-soft);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--text);
  outline: none;
  transition: var(--transition);
}

.input:focus {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* 7. PROGRESS & TRUST */
.progress {
  height: 8px;
  background: var(--primary-light);
  margin-bottom: 40px; /* Reducido de 56px */
  border-radius: 20px;
  overflow: hidden;
}

.progress > div {
  height: 100%;
  background: var(--primary);
  border-radius: 20px;
  transition: width 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.trust-box {
  background: var(--primary-soft);
  padding: 12px 20px; /* Reducido */
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  font-size: 12px; /* Reducido */
  color: var(--text-muted);
  margin-top: 16px; /* Reducido */
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.trust-box::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2300245f'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z'/%3E%3C/svg%3E") no-repeat center;
  flex-shrink: 0;
}

/* 8. RESULTS PAGE */
.result-hero {
  text-align: center;
  margin-bottom: 80px;
  padding: 60px 40px;
  background: var(--primary-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.result-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-arturo {
  width: 160px !important;
  height: 160px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-lg);
  margin-bottom: 32px;
}

.hero-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-headings);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 700px;
  margin: 0 auto;
}

/* Insights Grid */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.insight-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
  text-align: center;
  transition: var(--transition);
}

.insight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.insight-icon {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 16px;
}

.insight-icon img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.insight-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.insight-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

/* 9. STATS & INTERPRETATION */
.interpretation-stats {
  margin-bottom: 64px;
  padding: 56px;
  background: var(--white);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stats-title {
  font-family: var(--font-headings);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 40px;
  text-align: left;
}

.stat-item {
  margin-bottom: 32px;
}

.stat-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.stat-name {
  font-weight: 600;
  color: var(--text);
}

.stat-value {
  font-weight: 800;
  color: var(--primary);
}

.stat-bar-bg {
  height: 12px;
  background: var(--bg-alt);
  border-radius: 20px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 20px;
  transition: width 1s ease-out;
}

/* Analysis Blocks */
.result-analysis-container {
  display: grid;
  gap: 24px;
  margin-bottom: 64px;
}

.analysis-block {
  background: var(--white);
  padding: 40px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.analysis-block:hover {
  border-color: var(--primary-medium);
  box-shadow: var(--shadow-md);
}

.analysis-block.highlight {
  background: var(--primary-soft);
  border: 2px solid var(--primary);
}

.block-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 20px;
}

.analysis-block p {
  font-size: 17px;
  color: var(--text);
  line-height: 1.7;
}

.emotional-block {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 60px;
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-bottom: 80px;
}

.emotional-text {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
  font-style: italic;
  opacity: 0.95;
}

/* 10. CONVERSION SECTION */
.conversion-section {
  padding: 80px 40px;
  background: var(--primary-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  text-align: center;
  margin-bottom: 40px;
}

.conv-header { margin-bottom: 48px; }

.conv-title {
  font-family: var(--font-headings);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.conv-sub {
  font-size: 18px;
  color: var(--text-muted);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.plan-card {
  background: var(--white);
  padding: 48px 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.plan-price {
  font-family: var(--font-headings);
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.plan-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.plan-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
  flex-grow: 1;
}

.plan-cta {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.plan-cta:hover {
  background: var(--primary-dark);
  transform: scale(1.02);
}

/* 11. ABOUT BOX */
.about-arturo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 40px auto;
  max-width: 500px;
  text-align: left;
  padding: 24px;
  background: var(--white);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}

.about-img {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50%;
  border: 3px solid var(--primary-light);
  object-fit: cover; /* Asegura que la imagen no se aplaste */
  flex-shrink: 0; /* Evita que el contenedor flex la comprima */
}

.about-info { display: flex; flex-direction: column; }

.about-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}

.about-tag {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* 12. LOADING & ANALYSIS */
.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--primary-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.analysis-progress-container {
  height: 10px;
  background: var(--primary-light);
  border-radius: 20px;
  margin: 40px 0;
  overflow: hidden;
}

#analysisProgressBar {
  height: 100%;
  background: var(--primary);
  width: 0;
  transition: width 0.3s ease;
}

.analysis-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.analysis-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background: var(--white);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  opacity: 0.5;
  transition: var(--transition);
}

.analysis-step.active {
  opacity: 1;
  border-color: var(--primary);
  background: var(--primary-soft);
  transform: translateX(10px);
  box-shadow: var(--shadow-sm);
}

.analysis-step.completed {
  opacity: 1;
  border-color: var(--accent-soft);
  background: var(--white);
}

.check-icon {
  width: 24px;
  height: 24px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.check-icon svg {
  width: 14px;
  height: 14px;
  color: var(--white);
  opacity: 0;
  transform: scale(0.5);
  transition: var(--transition);
}

.analysis-step.active .check-icon {
  background: var(--primary-light);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

.analysis-step.completed .check-icon {
  background: var(--accent);
}

.analysis-step.completed .check-icon svg {
  opacity: 1;
  transform: scale(1);
}

.analysis-step span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.analysis-step.active span {
  color: var(--primary);
  font-weight: 700;
}

.analysis-step.completed span {
  color: var(--text);
}

/* FOOTER NOTES */
.footer-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 24px;
}

.progression-box {
  background: var(--primary-soft);
  padding: 32px;
  border-radius: var(--radius-md);
  margin-top: 40px;
}

.progression-header {
  margin-bottom: 24px;
}

.progression-label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.progression-desc {
  font-size: 13px;
  color: var(--text-muted);
}

.progression-visual {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.p-bar {
  height: 8px;
  background: var(--white);
  border-radius: 10px;
  margin-top: 8px;
}

.p-bar div {
  height: 100%;
  background: var(--primary);
  border-radius: 10px;
}

.progression-note {
  font-size: 14px;
  font-style: italic;
  color: var(--text-muted);
}

/* ANIMATIONS */
.fade {
  animation: reveal 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .interpretation-stats { padding: 32px 24px; }
  .conversion-section { padding: 48px 24px; }
  .about-arturo-box { flex-direction: column; text-align: center; border-radius: var(--radius-md); }
}
