/* ═══════════════════════════════════════════════════════════════
   LAS TRES SEMILLAS · style.css · v2
   Mobile-first · Breakpoints: 480 · 768 · 900 · 1100
   ═══════════════════════════════════════════════════════════════ */

:root {
  --sand:      #f5f0e8;
  --linen:     #ede7d9;
  --terra:     #a0764e;
  --terra-d:   #8b6b4a;
  --terra-l:   #f0e6d8;
  --sage:      #7a8c7e;
  --sage-l:    #edf2ee;
  --warm:      #c49a6c;
  --warm-l:    #faf3ea;
  --charcoal:  #2c2925;
  --warm-mid:  #6b5c48;
  --mist:      #ddd6c8;
  --white:     #fdfaf5;
  --verde:     #4a6a47;
  --verde-l:   #f0f7ee;
  --radius:    12px;
  --shadow:    0 2px 16px rgba(44,41,37,.08);
  --tr:        .2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--sand);
  color: var(--charcoal);
  font-weight: 300;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: var(--h-nav-height, 64px);
}

/* ─── PAGE HEADER ─── */
.page-header {
  padding: 40px 20px 32px;
  text-align: center;
  background: linear-gradient(to bottom, var(--verde-l), var(--sand));
  border-bottom: 1px solid var(--mist);
}
.page-eyebrow {
  display: block;
  font-size: 9.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
}
.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 7vw, 42px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.page-title em { font-style: italic; color: var(--sage); }
.page-subtitle {
  font-size: clamp(13.5px, 3vw, 15px);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  line-height: 1.8;
  color: var(--warm-mid);
  max-width: 380px;
  margin: 0 auto;
}

/* ─── BARRA DE PROGRESO ─── */
.barra-wrap {
  position: sticky;
  top: var(--h-nav-height, 64px);
  z-index: 90;
  height: 3px;
  background: var(--mist);
}
.progreso-barra__fill {
  height: 100%;
  background: var(--sage);
  width: 0%;
  transition: width .4s ease;
}

/* ─── MAIN ─── */
main { max-width: 640px; margin: 0 auto; padding: 32px 20px 80px; }

/* ─── PASOS ─── */
.paso { display: none; animation: fadeUp .3s ease; }
.paso.activo { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── ENCABEZADO DE PASO ─── */
.paso__header { margin-bottom: 28px; text-align: center; }
.paso__numero {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
  opacity: .7;
}
.semilla-icono { font-size: 32px; display: block; margin: 0 auto 12px; line-height: 1; }
.paso__titulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 6vw, 34px);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 10px;
}
.paso__titulo em { font-style: italic; color: var(--sage); }
.paso__subtitulo {
  font-size: 14px;
  color: var(--warm-mid);
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto;
}

/* ─── CARD ─── */
.card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

/* ─── CAMPO ─── */
.campo { margin-bottom: 20px; }
.campo:last-child { margin-bottom: 0; }
.campo label, .campo-label {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage);
  opacity: .85;
  margin-bottom: 10px;
}
.campo-hint {
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: none;
  color: var(--warm-mid);
  opacity: .7;
  font-style: italic;
}
.campo input,
.campo select,
.campo textarea {
  width: 100%;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--sand);
  border: 1.5px solid var(--mist);
  border-radius: 8px;
  padding: 12px 14px;
  outline: none;
  transition: border-color var(--tr);
  -webkit-appearance: none;
}
.campo input:focus,
.campo select:focus,
.campo textarea:focus { border-color: var(--sage); background: var(--white); }
.campo textarea { resize: vertical; min-height: 90px; }

/* ─── ESCALA ─── */
.escala { display: flex; gap: 6px; flex-wrap: wrap; }
.escala__btn {
  width: 44px; height: 44px;
  border-radius: 8px;
  border: 1.5px solid var(--mist);
  background: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  color: var(--charcoal);
  cursor: pointer;
  transition: border-color var(--tr), background var(--tr);
  display: flex; align-items: center; justify-content: center;
}
.escala__btn:hover        { border-color: var(--sage); }
.escala__btn.seleccionado { border-color: var(--sage); background: var(--verde-l); font-weight: 500; color: var(--verde); }
.escala-etiquetas {
  display: flex; justify-content: space-between;
  margin-top: 6px; font-size: 11px; color: var(--warm-mid); opacity: .65;
}

/* ─── OPCIONES MULTI ─── */
.opciones { display: flex; flex-direction: column; gap: 10px; }
.opcion {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--white);
  border: 1.5px solid var(--mist);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color var(--tr), background var(--tr);
  text-align: left; width: 100%;
  position: relative;
}
.opcion:hover        { border-color: var(--sage); }
.opcion.seleccionada { border-color: var(--sage); background: var(--verde-l); }
/* Check visual en multi-select */
.opciones--multi .opcion.seleccionada::after {
  content: '✓';
  position: absolute; top: 10px; right: 12px;
  font-size: 13px; color: var(--sage);
  font-family: 'Jost', sans-serif;
}
.opcion__icono { font-size: 20px; flex-shrink: 0; line-height: 1.3; }
.opcion__texto { flex: 1; }
.opcion__texto strong { display: block; font-size: 14px; font-weight: 500; color: var(--charcoal); margin-bottom: 2px; }
.opcion__texto span   { font-size: 13px; color: var(--warm-mid); line-height: 1.5; }

/* ─── CHIPS ─── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: 'Jost', sans-serif;
  font-size: 13px; font-weight: 300;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--mist);
  background: var(--white);
  color: var(--warm-mid);
  cursor: pointer;
  transition: all var(--tr);
  -webkit-tap-highlight-color: transparent;
}
.chip:hover        { border-color: var(--sage); }
.chip.seleccionado { background: var(--sage); border-color: var(--sage); color: var(--white); }

/* ─── SEPARADOR ─── */
.separador { height: 1px; background: var(--mist); margin: 24px 0; }

/* ─── BOTONES ─── */
.btn-primario {
  display: block; width: 100%;
  padding: 16px 24px;
  background: var(--sage); color: var(--white);
  border: none; border-radius: var(--radius);
  font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 400; letter-spacing: .05em;
  cursor: pointer;
  transition: background var(--tr), transform var(--tr);
  text-align: center;
}
.btn-primario:hover  { background: #697a6d; transform: translateY(-1px); }
.btn-primario:active { transform: translateY(0); }
.btn-secundario {
  display: block; width: 100%;
  padding: 13px 24px;
  background: transparent; color: var(--warm-mid);
  border: 1.5px solid var(--mist); border-radius: var(--radius);
  font-family: 'Jost', sans-serif; font-size: 14px;
  cursor: pointer;
  transition: border-color var(--tr), color var(--tr);
  margin-top: 10px;
}
.btn-secundario:hover { border-color: var(--sage); color: var(--sage); }

/* ─── RESULTADO ─── */
.resultado-fecha {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px; font-style: italic;
  color: var(--warm-mid);
  text-align: center;
  margin-bottom: 24px;
  opacity: .75;
}

/* Semilla cards con color por área */
.semilla-card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.semilla-card--terra { border-left: 3px solid var(--terra); }
.semilla-card--sage  { border-left: 3px solid var(--sage);  }
.semilla-card--warm  { border-left: 3px solid var(--warm);  }

.semilla-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.semilla-card__icono { font-size: 22px; line-height: 1; flex-shrink: 0; }
.semilla-card__meta  { flex: 1; min-width: 0; }
.semilla-card__etiqueta {
  font-size: 9.5px; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--warm-mid); opacity: .7;
  margin-bottom: 5px;
}
.semilla-card__chip {
  display: inline-block;
  font-size: 11.5px; font-weight: 300;
  border-radius: 100px;
  padding: 2px 10px;
  margin: 2px 4px 2px 0;
}
.semilla-card__chip--terra { color: var(--terra);   background: var(--terra-l);  border: 1px solid #e8d0b8; }
.semilla-card__chip--sage  { color: #4a6b52;        background: var(--sage-l);   border: 1px solid #c8d8ca; }
.semilla-card__chip--warm  { color: #8a6030;        background: var(--warm-l);   border: 1px solid #e8d4b8; }

.semilla-card__compromiso {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 300;
  color: var(--charcoal);
  line-height: 1.55;
}

/* ─── CÍRCULO NIVEL ─── */
.nivel-circulo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.nivel-circulo svg { display: block; }
.nivel-circulo__num {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
}
.nivel-vacio {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1px dashed var(--mist);
  flex-shrink: 0;
}

/* ─── CIERRE ─── */
.resultado-cierre {
  background: var(--verde-l);
  border: 1px solid #c5dfc2;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 20px 0 8px;
  text-align: center;
}
.resultado-cierre p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-style: italic;
  color: var(--verde);
  line-height: 1.7;
}

/* ─── TOAST ─── */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--charcoal); color: var(--white);
  padding: 12px 20px; border-radius: 100px;
  font-size: 14px; font-weight: 300;
  z-index: 999;
  transition: transform .3s ease, opacity .3s ease;
  opacity: 0; pointer-events: none; white-space: nowrap;
}
.toast.visible { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ─── RESPONSIVE ─── */
@media (min-width: 480px) {
  main { padding: 40px 24px 88px; }
  .escala { gap: 8px; }
  .escala__btn { width: 48px; height: 48px; }
}
@media (min-width: 768px) {
  main { padding: 48px 32px 96px; }
  .card { padding: 32px; }
  .page-header { padding: 48px 44px 44px; }
  .opciones { flex-direction: row; flex-wrap: wrap; }
  .opcion { flex: 1 1 calc(50% - 5px); }
}
@media (min-width: 900px) {
  main { padding: 56px 0 96px; }
}
