/* =========================================================
   Insight de urgencia (test) · RUT · consentimiento · WhatsApp
   ========================================================= */
.insight { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.ins-ico {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  font-size: 26px; font-weight: 800; color: #fff; background: var(--green);
  box-shadow: 0 0 0 8px rgba(18, 183, 106, .14);
}
.insight.is-urgent .ins-ico { background: #e8505b; box-shadow: 0 0 0 8px rgba(232, 80, 91, .16); animation: buzz 2.4s infinite; }
.insight.is-urgent .q-title { color: #b42330; }
.ins-text { margin: -6px 0 22px; font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 58ch; }
.ins-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ins-actions button { border: 0; cursor: pointer; font-family: inherit; }
.ins-actions .btn-ghost { border: 1.5px solid var(--edge); }

/* RUT hint */
.lf .hint { font-size: 12.5px; font-weight: 600; color: var(--ink-2); opacity: .85; }
.lf.invalid .hint { display: none; }

/* WhatsApp en la tarjeta de éxito */
.wa-btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 14px;
  padding: 14px 22px; border-radius: 999px; background: #25d366; color: #fff; font-weight: 800; font-size: 16px;
}
.wa-btn svg { width: 22px; height: 22px; fill: #fff; }
.lead .cta svg.wa { width: 22px; height: 22px; fill: #fff; stroke: none; }

/* 6 servicios */
.svc-grid { grid-template-columns: repeat(3, 1fr); }
.svc.is-hot { border-color: rgba(232, 80, 91, .35); box-shadow: 0 0 0 4px rgba(232, 80, 91, .06); }
.svc-flag {
  align-self: flex-start; margin-bottom: 14px; padding: 4px 10px; border-radius: 999px;
  background: #fde8ea; color: #b42330; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
}

@media (max-width: 860px) {
  .insight { grid-template-columns: 1fr; gap: 14px; }
  .ins-actions .cta, .ins-actions .btn-ghost { width: 100%; justify-content: center; }
  .svc-grid { grid-template-columns: 1fr; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Menú de secciones (escritorio) */
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); margin: 0 auto; }
.nav-links a {
  position: relative; padding: 8px 2px; font-size: 15px; font-weight: 600; color: var(--muted);
  transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transition: transform .25s ease;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--fg); }
.nav-links a.is-active::after { transform: scaleX(1); }
.nav-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
@media (max-width: 1140px) { .nav-links { display: none; } }

/* Las anclas no quedan bajo el menú fijo */
main section[id] { scroll-margin-top: 72px; }

/* Cifras: 2 datos */
.stats.stats-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; }

/* Guías en la portada */
.guides-home { background: rgb(244, 250, 246); color: #10261b; padding: 0 var(--gutter) clamp(56px, 8vw, 104px); }
.guides-home .sec-head { max-width: 640px; margin-bottom: 24px; }
.guides-home .sec-head h2 { margin: 0; font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.035em; line-height: 1.05; }
.guides-home .kicker { color: #067647; }
.guides-all { margin: 22px 0 0; }
.guides-all a { font-weight: 800; color: #067647; text-decoration: none; font-size: 17px; }
.guides-all a:hover { text-decoration: underline; }

/* Íconos de línea en las notificaciones */
.ico.ico-line { position: relative; }
.front .ico.ico-line svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-badge {
  position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  display: grid; place-items: center; background: #fff; color: #c9343f; font-size: 12px; font-weight: 800; line-height: 1;
  box-shadow: 0 2px 6px rgba(80, 0, 10, .35);
}
@media (max-width: 860px) { .front .ico.ico-line svg { width: 24px; height: 24px; } }
