/* ===========================================================================
   Portada (index.html): ajustes del informe de auditoría (nov-2026)
   - Contraste: placeholder, ayuda de Enter y pie pasan WCAG AA (≥4.5:1).
   - Línea de propuesta de valor bajo el saludo de NEXT.
   - Tres ejemplos para empezar la conversación (src/portada-atajos.js).
   - Segundo camino: "Prefiero explorar las soluciones".
   Se carga después de conversa.css. Todo se oculta al entrar en conversación.
   =========================================================================== */

:root {
  /* antes #6b6b72 (≈3.9:1 sobre negro); ahora ≈6.4:1 sobre negro y ≈5.6:1 sobre #141516 */
  --text-tertiary: #95959c;
}

/* Botón "Conocer CICLIC" un poco más visible */
.explore-link {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

/* --- Propuesta de valor --------------------------------------------------- */
.value-line {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 22px 0 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.55;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(8px);
  animation: reveal 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.6s forwards;
}

/* Menos aire entre el saludo y el campo, porque ahora hay una línea en medio */
.composer {
  margin-top: clamp(32px, 4.5vh, 48px);
}

/* --- Ejemplos para empezar ----------------------------------------------- */
.starters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.starter {
  padding: 9px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.starter:hover,
.starter:focus-visible {
  border-color: rgba(89, 231, 33, 0.6);
  background: rgba(89, 231, 33, 0.08);
  outline: none;
}
.starter:focus-visible {
  box-shadow: 0 0 0 3px var(--focus-ring);
}

/* --- Segundo camino ------------------------------------------------------- */
.explore-solutions {
  position: relative;
  z-index: 2;
  margin-top: 26px;
  padding: 6px 4px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  opacity: 0;
  animation: reveal 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.7s forwards;
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}
.explore-solutions:hover,
.explore-solutions:focus-visible {
  color: var(--verde);
  text-decoration-color: var(--verde);
  outline: none;
}

/* --- En conversación desaparecen ----------------------------------------- */
body.is-chatting .value-line,
body.is-chatting .starters,
body.is-chatting .explore-solutions {
  display: none;
}

@media (max-width: 560px) {
  .value-line {
    font-size: 15px;
  }
  .starter {
    font-size: 13px;
    padding: 8px 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .value-line,
  .explore-solutions {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
