/* Sitio público contaplus.lat — mismos colores, tipografía y componentes de la aplicación ContaPlus */
:root {
  --tinta: #14213d;
  --tinta-suave: #4a5568;
  --fondo: #f7f8fb;
  --tarjeta: #ffffff;
  --borde: #e2e6ee;
  --acento: #0f766e;
  --acento-oscuro: #0b5c56;
  --ambar: #d97706;
  --rojo: #b91c1c;
  --verde: #15803d;
  --radio: 14px;
  --sombra: 0 6px 24px rgba(20, 33, 61, 0.06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body { font-family: "Manrope", system-ui, sans-serif; color: var(--tinta); background: var(--fondo); line-height: 1.55; }
a { color: var(--acento); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
h2 { font-size: 1.6rem; font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }

.barra { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 5vw; background: var(--tarjeta); border-bottom: 1px solid var(--borde); position: sticky; top: 0; z-index: 10; }
.marca { font-weight: 800; font-size: 1.2rem; color: var(--tinta); display: flex; align-items: center; gap: .5rem; }
.marca:hover { text-decoration: none; }
.marca-icono { background: var(--acento); color: #fff; border-radius: 8px; padding: .1rem .45rem; font-size: .95rem; }
.nav { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--tinta-suave); font-weight: 600; font-size: .95rem; }

.contenido { max-width: 1080px; margin: 0 auto; padding: 2rem 5vw 4rem; }
.pie { border-top: 1px solid var(--borde); padding: 1.5rem 5vw 2.5rem; color: var(--tinta-suave); font-size: .88rem; text-align: center; }
.pie-aviso { margin-top: .8rem; font-size: .82rem; }

.boton { display: inline-block; background: var(--acento); color: #fff !important; padding: .65rem 1.2rem; border-radius: 10px; font-weight: 700; border: 0; cursor: pointer; font-family: inherit; font-size: .95rem; }
.boton:hover { background: var(--acento-oscuro); text-decoration: none; }
.boton-suave { background: #e6f2f1; color: var(--acento-oscuro) !important; }
.boton-suave:hover { background: #d3e8e6; }
.boton-whatsapp { background: #16a34a; }
.boton-whatsapp:hover { background: #15803d; }

.tarjeta { background: var(--tarjeta); border: 1px solid var(--borde); border-radius: var(--radio); padding: 1.4rem; box-shadow: var(--sombra); }
.rejilla { display: grid; gap: 1.2rem; }
.rejilla-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.rejilla-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.fila { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.silencioso { color: var(--tinta-suave); font-size: .92rem; }
.etiqueta { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 700; background: #eef2f7; color: var(--tinta-suave); }
.etiqueta-ok { background: #dcfce7; color: var(--verde); }
.etiqueta-alerta { background: #fef3c7; color: #92400e; }
.etiqueta-mal { background: #fee2e2; color: var(--rojo); }
.seccion { padding: 2.5rem 0; }
.seccion > p.intro { color: var(--tinta-suave); max-width: 60ch; }

/* Portada */
.heroe { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; padding: 2rem 0 3rem; }
.heroe p.lead { font-size: 1.15rem; color: var(--tinta-suave); max-width: 46ch; }
.heroe-panel { background: var(--tinta); color: #fff; border-radius: 20px; padding: 1.6rem; }
.heroe-panel h3 { color: #a7f3d0; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.heroe-panel ol { margin: 0; padding-left: 1.2rem; }
.heroe-panel li { margin-bottom: .6rem; }
.servicio .icono { font-size: 1.8rem; margin-bottom: .4rem; }
.servicio p { color: var(--tinta-suave); font-size: .95rem; margin: 0; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; }
.kpi { background: var(--tarjeta); border: 1px solid var(--borde); border-radius: 12px; padding: .9rem 1rem; }
.kpi strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--acento); }
.kpi span { font-size: .82rem; color: var(--tinta-suave); }
.contacto-lista { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .6rem; }
.contacto-lista li { display: flex; gap: .6rem; align-items: center; }
.aviso-legal { background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radio); padding: 1rem 1.2rem; color: #78350f; font-size: .92rem; }

/* Diagnóstico */
.pregunta { border: 1px solid var(--borde); border-radius: 12px; padding: 1rem 1.1rem; margin-bottom: .9rem; background: var(--tarjeta); }
.pregunta h3 { display: flex; gap: .7rem; align-items: flex-start; font-size: 1rem; margin-bottom: .7rem; }
.numero { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--acento); color: #fff; font-size: .85rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.opciones { display: flex; gap: .7rem; flex-wrap: wrap; }
.opcion { flex: 1; min-width: 120px; display: flex; gap: .5rem; align-items: center; padding: .6rem .9rem; border: 1px solid var(--borde); border-radius: 10px; cursor: pointer; font-weight: 600; background: var(--fondo); }
.opcion:hover { border-color: var(--acento); }
.opcion.seleccionada { border-color: var(--acento); background: #e6f2f1; color: var(--acento-oscuro); }
.opcion input { accent-color: var(--acento); }
.resultado { display: none; margin-top: 1.5rem; border-radius: var(--radio); padding: 1.6rem; border: 1px solid var(--borde); background: var(--tarjeta); }
.resultado.visible { display: block; }
.resultado .puntaje { font-size: 2.6rem; font-weight: 800; }
.resultado.solida { border-color: #bbf7d0; background: #ecfdf3; }
.resultado.intermedia { border-color: #fde68a; background: #fffbeb; }
.resultado.critica { border-color: #fecaca; background: #fef2f2; }
.progreso { height: 10px; background: #e6e9f0; border-radius: 999px; overflow: hidden; margin: .6rem 0 1rem; }
.progreso > span { display: block; height: 100%; background: linear-gradient(90deg, var(--acento), #34d399); }

@media (max-width: 760px) {
  .heroe { grid-template-columns: 1fr; }
  .barra { flex-direction: column; align-items: flex-start; }
  .nav { gap: .7rem; }
}
