/* ==========================================================
   AlaRaíz Psicología — Estilos Orientador Simbólico y Lúdico
   Versión: Fondo Claro y Dinámico (Brand Palette Light)
   ========================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:    #eb600a;
  --amber:     #ed8f0c;
  --teal:      #00aca6;
  --teal-lt:   #008f8a;
  
  /* Paleta Light Premium */
  --deep:      #fcfaf6;   /* Fondo base crema orgánico */
  --deep-2:    rgba(255, 255, 255, 0.72); /* Glassmorphic white */
  --mid:       #243342;   /* Texto principal */
  --slate:     #52606d;   /* Texto secundario */
  --cream:     #1a2530;   /* Texto oscuro de alto contraste */
  --warm:      #486581;   /* Texto medio-oscuro */
  --blush:     #d66c27;   /* Acentos de naranja de alta visibilidad */
  
  --radius:    22px;
  --radius-sm: 14px;
}

html { font-size: 16px; }

body {
  background-color: var(--deep);
  color: var(--cream);
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.8s ease;
}

/* ---- Logo Marca de Agua de Fondo ---- */
.logo-bg-watermark {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.logo-bg-img {
  width: min(520px, 90vw);
  height: auto;
  opacity: 0.055;
  filter: saturate(0.6) blur(0.5px);
  animation: logo-bg-breathe 12s ease-in-out infinite;
  transform-origin: center center;
  user-select: none;
  mix-blend-mode: multiply;
}

@keyframes logo-bg-breathe {
  0%, 100% { transform: scale(1) rotate(-2deg); opacity: 0.055; }
  50%       { transform: scale(1.06) rotate(2deg); opacity: 0.08; }
}

/* ---- Temas Dinámicos de Fondo (Cambian con las respuestas y el hover) ---- */
body.theme-default {
  background-color: #fcfaf6;
}
body.theme-default .deco-glow-orange {
  background: radial-gradient(circle, rgba(235,96,10,0.06) 0%, transparent 70%);
}
body.theme-default .deco-glow-teal {
  background: radial-gradient(circle, rgba(0,172,166,0.05) 0%, transparent 70%);
}

body.theme-storm {
  background-color: #f0f3f6; /* Tono grisáceo tormenta */
}
body.theme-storm .deco-glow-orange {
  background: radial-gradient(circle, rgba(98,125,152,0.15) 0%, transparent 70%);
}
body.theme-storm .deco-glow-teal {
  background: radial-gradient(circle, rgba(0,172,166,0.03) 0%, transparent 70%);
}

body.theme-path {
  background-color: #fef8f0; /* Tono cálido amanecer/sendero */
}
body.theme-path .deco-glow-orange {
  background: radial-gradient(circle, rgba(237,143,12,0.12) 0%, transparent 70%);
}
body.theme-path .deco-glow-teal {
  background: radial-gradient(circle, rgba(235,96,10,0.06) 0%, transparent 70%);
}

body.theme-nest {
  background-color: #faf1eb; /* Tono rosado/salmón suave maternal */
}
body.theme-nest .deco-glow-orange {
  background: radial-gradient(circle, rgba(245,203,167,0.18) 0%, transparent 70%);
}
body.theme-nest .deco-glow-teal {
  background: radial-gradient(circle, rgba(235,96,10,0.08) 0%, transparent 70%);
}

body.theme-flight {
  background-color: #f1faf7; /* Tono verde/turquesa suave fresco */
}
body.theme-flight .deco-glow-orange {
  background: radial-gradient(circle, rgba(0,172,166,0.12) 0%, transparent 70%);
}
body.theme-flight .deco-glow-teal {
  background: radial-gradient(circle, rgba(0,200,194,0.08) 0%, transparent 70%);
}

/* ---- Decoraciones de fondo ---- */
.organic-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.deco { position: absolute; }

.deco-leaf-1 {
  width: 340px;
  top: -80px;
  left: -80px;
  animation: sway 10s ease-in-out infinite;
}
.deco-leaf-2 {
  width: 220px;
  bottom: -40px;
  left: -30px;
  animation: sway 14s ease-in-out infinite reverse;
}
.deco-roots-1 {
  width: 400px;
  bottom: -20px;
  right: -60px;
  animation: sway 12s ease-in-out infinite;
}

@keyframes sway {
  0%, 100% { transform: rotate(0deg) scale(1); }
  33%       { transform: rotate(2.5deg) scale(1.02); }
  66%       { transform: rotate(-2deg) scale(0.98); }
}

.deco-glow-orange {
  position: absolute;
  top: 5%;
  right: 10%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  animation: glow-pulse 8s ease-in-out infinite;
}
.deco-glow-teal {
  position: absolute;
  bottom: 8%;
  left: 5%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  animation: glow-pulse 10s ease-in-out infinite reverse;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(1.1); }
}

/* ---- Partículas ---- */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  animation: float linear infinite;
}
@keyframes float {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.18; }
  90%  { opacity: 0.08; }
  100% { transform: translateY(-20vh) scale(1.2); opacity: 0; }
}

/* ---- Contenedor Principal (Wrapper) ---- */
.app-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  min-height: 100vh;
  padding: 3rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Pantallas ---- */
.screen {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  animation: fadeUp 0.65s cubic-bezier(.16,1,.3,1) both;
}
.screen.active { display: flex; }

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

/* ---- Logo ---- */
.logo-area {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-wrap {
  background: rgba(255,255,255,0.98);
  border-radius: 50%;
  width: 135px;
  height: 135px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 6px rgba(255,255,255,0.3),
    0 0 0 14px rgba(0,172,166,0.08),
    0 10px 45px rgba(0,0,0,0.08);
  margin-bottom: 1.2rem;
  animation: logo-float 6s ease-in-out infinite;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 0 6px rgba(255,255,255,0.3), 0 0 0 14px rgba(0,172,166,0.08), 0 10px 45px rgba(0,0,0,0.08); }
  50%       { transform: translateY(-7px); box-shadow: 0 0 0 6px rgba(255,255,255,0.3), 0 0 0 14px rgba(0,172,166,0.12), 0 18px 55px rgba(0,0,0,0.12); }
}

.logo-img {
  width: 105px;
  height: 105px;
  object-fit: contain;
}

.logo-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-lt);
  opacity: 0.95;
  font-weight: 500;
}

/* ---- Cabecera del Quiz ---- */
.quiz-top {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
  background: rgba(255,255,255,0.45);
  padding: 0.8rem 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.sprout-progress-container {
  width: 80px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.03);
  border-radius: 14px;
  padding: 2px;
  border: 1px solid rgba(255,255,255,0.5);
}

.sprout-progress-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.sprout-stage {
  opacity: 0;
  transform: scale(0.7) translateY(8px);
  transform-origin: 50px 60px;
  transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sprout-stage.active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.quiz-progress-wrap {
  flex: 1;
}

/* ---- Pantalla de Bienvenida ---- */
.welcome-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 8vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 1.2rem;
}
.welcome-title em {
  font-style: italic;
  color: var(--orange);
  font-weight: 400;
}
.welcome-sub {
  font-size: 1.05rem;
  color: var(--slate);
  max-width: 460px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.welcome-note {
  margin-top: 1.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm);
  font-weight: 500;
}

/* ---- Botones y Acciones ---- */
.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--amber) 100%);
  color: #fff;
  border: none;
  border-radius: 60px;
  padding: 1.1rem 3.2rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 30px rgba(235,96,10,0.25);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 42px rgba(235,96,10,0.38);
}
.btn-primary:active { transform: scale(0.97); }

.btn-back {
  background: rgba(255,255,255,0.4);
  border: 1.5px solid rgba(0,0,0,0.08);
  color: var(--slate);
  border-radius: 60px;
  padding: 0.6rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  cursor: pointer;
  transition: border-color 0.22s, color 0.22s, transform 0.15s, background-color 0.2s;
  backdrop-filter: blur(5px);
}
.btn-back:hover { border-color: var(--teal); color: var(--teal); background-color: rgba(255,255,255,0.7); transform: translateX(-2px); }

/* ---- Barra de Progreso Tradicional ---- */
.progress-bar-wrap {
  background: rgba(0,0,0,0.05);
  border-radius: 60px;
  height: 4px;
  width: 100%;
  margin-bottom: 0.6rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.4);
}
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  border-radius: 60px;
  transition: width 0.6s cubic-bezier(.25,1,.5,1);
  width: 0%;
}
.progress-text {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm);
  font-weight: 500;
  text-align: left;
}

/* ---- Preguntas y Encabezados ---- */
.question-area {
  width: 100%;
  margin-bottom: 1.8rem;
}
.question-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  display: block;
  animation: bounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes bounceIn {
  0%   { transform: scale(0.4); opacity: 0; }
  75%  { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}

.question-text {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  font-weight: 300;
  line-height: 1.35;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.question-hint {
  font-size: 0.88rem;
  color: var(--slate);
  opacity: 0.85;
  margin-bottom: 2rem;
  font-style: italic;
}

/* ---- Cartas de Oráculo Simbólicas ---- */
.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
}

.option-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid rgba(0, 172, 166, 0.06);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.25s, box-shadow 0.3s;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  outline: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.option-card-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
  pointer-events: none;
}

/* Shimmer (brillo) al hover */
.option-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: none;
}
.option-card:hover::after {
  left: 100%;
  transition: left 0.75s ease-in-out;
}

/* Acento de línea lateral dinámica */
.option-card::before {
  content: '';
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 3.5px;
  background: linear-gradient(180deg, var(--teal), var(--orange));
  border-radius: 0 4px 4px 0;
  opacity: 0;
  transition: opacity 0.25s;
}
.option-card:hover::before,
.option-card.selected::before { opacity: 1; }

/* Focus y clicks */
.option-card:active { transform: scale(0.99); }

/* Estilos de Hover Específicos por Tema */
.option-card:hover[data-theme="storm"] {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(98, 125, 152, 0.38);
  transform: translateY(-2.5px) scale(1.01);
  box-shadow: 0 8px 24px rgba(98, 125, 152, 0.08);
}
.option-card:hover[data-theme="path"] {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(237, 143, 12, 0.38);
  transform: translateY(-2.5px) scale(1.01);
  box-shadow: 0 8px 24px rgba(237, 143, 12, 0.08);
}
.option-card:hover[data-theme="nest"] {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(235, 96, 10, 0.38);
  transform: translateY(-2.5px) scale(1.01);
  box-shadow: 0 8px 24px rgba(235, 96, 10, 0.08);
}
.option-card:hover[data-theme="flight"] {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 172, 166, 0.38);
  transform: translateY(-2.5px) scale(1.01);
  box-shadow: 0 8px 24px rgba(0, 172, 166, 0.08);
}

/* Estilos de Selección Específicos por Tema */
.option-card.selected[data-theme="storm"] {
  background: rgba(98, 125, 152, 0.08);
  border-color: rgba(98, 125, 152, 0.6);
  box-shadow: 0 4px 15px rgba(98, 125, 152, 0.1);
}
.option-card.selected[data-theme="path"] {
  background: rgba(237, 143, 12, 0.08);
  border-color: rgba(237, 143, 12, 0.6);
  box-shadow: 0 4px 15px rgba(237, 143, 12, 0.1);
}
.option-card.selected[data-theme="nest"] {
  background: rgba(235, 96, 10, 0.08);
  border-color: rgba(235, 96, 10, 0.6);
  box-shadow: 0 4px 15px rgba(235, 96, 10, 0.1);
}
.option-card.selected[data-theme="flight"] {
  background: rgba(0, 172, 166, 0.08);
  border-color: rgba(0, 172, 166, 0.6);
  box-shadow: 0 4px 15px rgba(0, 172, 166, 0.15);
}

/* Contenedor del Icono SVG de la Carta */
.option-svg-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  flex-shrink: 0;
  transition: color 0.3s, background 0.3s, transform 0.3s;
  border: 1px solid rgba(255,255,255,0.4);
}

.option-card:hover[data-theme="storm"] .option-svg-wrap {
  color: #627d98;
  background: rgba(98, 125, 152, 0.15);
  transform: rotate(4deg) scale(1.08);
}
.option-card:hover[data-theme="path"] .option-svg-wrap {
  color: var(--amber);
  background: rgba(237, 143, 12, 0.15);
  transform: rotate(4deg) scale(1.08);
}
.option-card:hover[data-theme="nest"] .option-svg-wrap {
  color: var(--orange);
  background: rgba(235, 96, 10, 0.15);
  transform: rotate(4deg) scale(1.08);
}
.option-card:hover[data-theme="flight"] .option-svg-wrap {
  color: var(--teal);
  background: rgba(0, 172, 166, 0.15);
  transform: rotate(4deg) scale(1.08);
}

.option-card.selected .option-svg-wrap {
  background: rgba(255, 255, 255, 0.7);
}
.option-card.selected[data-theme="storm"] .option-svg-wrap { color: #627d98; }
.option-card.selected[data-theme="path"] .option-svg-wrap { color: var(--amber); }
.option-card.selected[data-theme="nest"] .option-svg-wrap { color: var(--orange); }
.option-card.selected[data-theme="flight"] .option-svg-wrap { color: var(--teal); }

.option-svg-wrap svg {
  width: 26px;
  height: 26px;
}

.option-label {
  font-size: 0.96rem;
  color: var(--cream);
  line-height: 1.45;
}
.option-label strong {
  display: block;
  font-weight: 500;
  margin-bottom: 0.15rem;
}
.option-label span {
  font-size: 0.82rem;
  color: var(--slate);
  opacity: 0.9;
}

.quiz-nav { margin-top: 1rem; }

/* ---- Resultados ---- */
.result-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.result-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  background: rgba(255,255,255,0.98);
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 0 0 6px rgba(0,172,166,0.08);
  margin-bottom: 0.6rem;
  animation: bounceIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.result-header { text-align: center; width: 100%; }
.result-tag {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal-lt);
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.archetype-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
.arch-emoji { font-size: 2rem; }

.result-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.25;
}
.result-title em { font-style: italic; color: var(--orange); }

.archetype-desc {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--slate);
  max-width: 520px;
  margin: 0.4rem auto 1.5rem;
  font-style: italic;
}

/* ---- Mándala SVG Dinámico ---- */
.mandala-container {
  width: 180px;
  height: 180px;
  margin: 1.2rem auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  border: 1px solid rgba(255,255,255,0.6);
  animation: rotation 30s linear infinite;
  backdrop-filter: blur(5px);
}

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

.mandala-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.mandala-legend {
  position: absolute;
  bottom: -22px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm);
  font-weight: 500;
  animation: anti-rotation 30s linear infinite;
}

@keyframes anti-rotation {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* Divisor */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0.8rem auto;
  opacity: 0.7;
}
.divider::before, .divider::after {
  content: '';
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal));
}
.divider::after {
  background: linear-gradient(90deg, var(--orange), transparent);
}
.divider-leaf {
  width: 11px; height: 15px;
  background: var(--teal);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  opacity: 0.9;
}

/* ---- Tarjetas de Servicios Recomendados ---- */
.result-cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
}

.result-card {
  background: rgba(255,255,255,0.55);
  border: 1.5px solid rgba(235,96,10,0.22);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: left;
  backdrop-filter: blur(12px);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  animation: fadeUp 0.6s cubic-bezier(.16,1,.3,1) both;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.result-card::after {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235,96,10,0.1), transparent 70%);
}

.result-card:hover {
  transform: translateY(-4px);
  border-color: rgba(235,96,10,0.45);
  box-shadow: 0 10px 30px rgba(235,96,10,0.08);
}

.result-card.secondary {
  border-color: rgba(0,172,166,0.22);
  animation-delay: 0.15s;
}
.result-card.secondary::after {
  background: radial-gradient(circle, rgba(0,172,166,0.08), transparent 70%);
}
.result-card.secondary:hover {
  border-color: rgba(0,172,166,0.45);
  box-shadow: 0 10px 30px rgba(0,172,166,0.08);
}

.result-card-badge {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
.result-card-badge::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1.5px;
  background: var(--orange);
}

.result-card.secondary .result-card-badge { color: var(--teal-lt); }
.result-card.secondary .result-card-badge::before { background: var(--teal-lt); }

.result-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.3rem;
}

.service-badge-sub {
  font-size: 0.82rem;
  color: var(--blush);
  letter-spacing: 0.02em;
  font-weight: 500;
}
.result-card.secondary .service-badge-sub {
  color: var(--teal-lt);
}

.result-card p {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.7;
}

.link-info {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.84rem;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(235,96,10,0.25);
  transition: border-color 0.22s, color 0.22s;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.link-info:hover { color: var(--amber); border-color: var(--amber); }

.result-card.secondary .link-info { color: var(--teal-lt); border-bottom-color: rgba(0,172,166,0.25); }
.result-card.secondary .link-info:hover { color: var(--teal); border-color: var(--teal); }

.result-disclaimer {
  font-size: 0.82rem;
  color: var(--warm);
  line-height: 1.7;
  max-width: 440px;
  text-align: center;
  margin-top: 0.8rem;
  font-weight: 500;
}

/* CTA resultado final */
.result-cta {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
  width: 100%;
}

.btn-wa {
  background: linear-gradient(135deg, #25d366 0%, #128c5e 100%);
  color: #fff;
  border: none;
  border-radius: 60px;
  padding: 1rem 2.8rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.22s, box-shadow 0.22s;
  box-shadow: 0 6px 24px rgba(37,211,102,0.2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(37,211,102,0.32); }

/* ---- Botón Cuéntame Más ---- */
.btn-cuentame {
  background: linear-gradient(135deg, var(--orange) 0%, var(--amber) 100%);
  color: #fff;
  border: none;
  border-radius: 60px;
  padding: 1rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.22s, box-shadow 0.22s;
  box-shadow: 0 6px 24px rgba(235,96,10,0.25);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  animation: cuentame-pulse 3s ease-in-out infinite;
}
.btn-cuentame:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(235,96,10,0.38);
  animation: none;
}

@keyframes cuentame-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(235,96,10,0.25); }
  50%       { box-shadow: 0 6px 32px rgba(235,96,10,0.5), 0 0 0 6px rgba(235,96,10,0.08); }
}

.btn-restart {
  background: transparent;
  border: none;
  color: var(--warm);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.22s;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 500;
}
.btn-restart:hover { opacity: 1; color: var(--cream); }

/* ---- Responsive / Media Queries ---- */
@media (min-width: 540px) {
  .options-grid { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .option-card {
    padding: 1.4rem;
  }
  .option-card-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  .option-card::before { top: 0; bottom: 0; left: 0; width: 4px; height: auto; }
}

@media (max-width: 440px) {
  body { align-items: flex-start; }
  .app-wrapper { padding: 1.5rem 1rem; min-height: 100dvh; }
  .logo-wrap { width: 115px; height: 115px; }
  .logo-img { width: 90px; height: 90px; }
  .quiz-top { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .sprout-progress-container { width: 100%; height: 50px; }
  .option-card { padding: 1rem; }
  .option-card-inner { gap: 0.8rem; }
}
