/* ============================================================
   Mentora — Silo "herramientas web a la medida" + bloque de
   captura de resultados de las herramientas gratis.
   Usa las variables del sistema (--c-navy, --c-violet, --c-coral…).
   OJO: --c-ink NO existe; una variable inválida dentro de un
   linear-gradient elimina toda la propiedad background.
   ============================================================ */

/* ── Bloque "recibir el resultado por correo" ───────────────── */
.hl { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--c-line); }
.hl__toggle { width: 100%; justify-content: center; }
.hl__form {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  padding: 18px;
  background: var(--c-gray-50);
  border: 1px solid var(--c-line);
  border-radius: 14px;
}
.hl__form.is-open { display: flex; }
.hl__intro { font-size: .92rem; line-height: 1.55; color: var(--c-text-soft); margin: 0 0 4px; }
.hl__form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-line-strong);
  border-radius: 10px;
  font: inherit;
  font-size: .95rem;
  background: var(--c-white);
  color: var(--c-text);
}
.hl__form input:focus { outline: 2px solid var(--c-violet); outline-offset: 1px; border-color: transparent; }
.hl__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.hl__submit { width: 100%; justify-content: center; }
.hl__msg { display: none; padding: 11px 14px; border-radius: 10px; font-size: .9rem; line-height: 1.5; }
.hl__msg.is-ok  { background: var(--c-green-50); color: #0e6c4f; }
.hl__msg.is-err { background: var(--c-coral-50); color: var(--c-coral-600); }
.hl__legal { font-size: .72rem; line-height: 1.45; color: var(--c-text-muted); margin: 2px 0 0; }

/* ── Hero del silo ──────────────────────────────────────────── */
.hw-hero { padding: clamp(46px, 8vw, 92px) 0 clamp(30px, 5vw, 54px); text-align: center; }
.hw-hero h1 { font-size: clamp(2rem, 5.2vw, 3.1rem); line-height: 1.15; margin: 16px auto 14px; max-width: 22ch; }
.hw-hero__lead { max-width: 62ch; margin: 0 auto 26px; line-height: 1.65; color: var(--c-text-soft); font-size: clamp(1rem, 2.6vw, 1.14rem); }
.hw-hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hw-crumb { font-size: .85rem; color: var(--c-text-muted); margin-bottom: 6px; }
.hw-crumb a { color: var(--c-text-soft); }

/* ── Secciones y rejillas ───────────────────────────────────── */
.hw-sec { padding: clamp(38px, 6vw, 70px) 0; }
.hw-sec--alt { background: var(--c-gray-50); }
.hw-sec--dark { background: var(--c-navy); color: var(--c-white); }
.hw-sec h2 { text-align: center; font-size: clamp(1.55rem, 4.2vw, 2.25rem); line-height: 1.2; }
.hw-sec__lead { text-align: center; max-width: 64ch; margin: 12px auto 0; line-height: 1.65; color: var(--c-text-soft); }
.hw-sec--dark .hw-sec__lead { color: rgba(255, 255, 255, .8); }

.hw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 32px; }
.hw-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}
.hw-card h3 { font-size: 1.04rem; margin: 10px 0 8px; }
.hw-card p { font-size: .93rem; line-height: 1.62; color: var(--c-text-soft); margin: 0; }
.hw-card__ico { font-size: 1.7rem; line-height: 1; }
.hw-card--link { display: block; text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease; }
.hw-card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.hw-card__mas { display: inline-block; margin-top: 12px; font-size: .88rem; font-weight: 600; color: var(--c-violet); }

/* ── Pasos numerados ────────────────────────────────────────── */
.hw-pasos { counter-reset: paso; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 34px; }
.hw-pasos li { counter-increment: paso; background: var(--c-white); border: 1px solid var(--c-line); border-radius: 18px; padding: 28px 22px 24px; position: relative; }
.hw-pasos li::before {
  content: counter(paso);
  position: absolute; top: -16px; left: 22px;
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-violet), var(--c-coral));
  color: #fff; font-weight: 800; display: grid; place-items: center;
}
.hw-pasos h3 { margin: 4px 0 8px; font-size: 1rem; }
.hw-pasos p { font-size: .92rem; line-height: 1.6; color: var(--c-text-soft); margin: 0; }

/* ── Precios ────────────────────────────────────────────────── */
.hw-precios { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; margin-top: 34px; align-items: start; }
.hw-plan { background: var(--c-white); border: 1px solid var(--c-line); border-radius: 20px; padding: 28px 24px; box-shadow: var(--shadow-sm); }
.hw-plan--destacado { border: 2px solid var(--c-violet); box-shadow: var(--shadow-lg); position: relative; }
.hw-plan__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--c-violet), var(--c-coral)); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 99px; white-space: nowrap; }
.hw-plan h3 { font-size: 1.16rem; margin: 4px 0 6px; }
.hw-plan__para { font-size: .87rem; color: var(--c-text-muted); margin: 0 0 16px; line-height: 1.5; }
.hw-plan__precio { font-size: clamp(1.7rem, 4.4vw, 2.15rem); font-weight: 800; color: var(--c-navy); line-height: 1.1; }
.hw-plan__nota { font-size: .8rem; color: var(--c-text-muted); margin: 4px 0 18px; }
.hw-plan ul { list-style: none; padding: 0; margin: 0 0 22px; }
.hw-plan li { padding: 7px 0 7px 26px; position: relative; font-size: .92rem; line-height: 1.5; color: var(--c-text-soft); }
.hw-plan li::before { content: "✓"; position: absolute; left: 0; top: 7px; color: var(--c-violet); font-weight: 800; }
.hw-plan .btn { width: 100%; justify-content: center; }

/* ── Tabla comparativa ──────────────────────────────────────── */
.hw-tabla { max-width: 900px; margin: 32px auto 0; overflow-x: auto; }
.hw-tabla table { width: 100%; border-collapse: collapse; background: var(--c-white); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); min-width: 560px; }
.hw-tabla th, .hw-tabla td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--c-line); font-size: .93rem; }
.hw-tabla th { background: var(--c-navy); color: #fff; font-size: .88rem; }
.hw-tabla td:first-child { font-weight: 600; }
.hw-tabla tr:last-child td { border-bottom: 0; }

/* ── Demos vivas ────────────────────────────────────────────── */
.hw-demos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 32px; }
.hw-demo {
  display: block; text-decoration: none;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px; padding: 22px 20px; color: var(--c-white);
  transition: transform .18s ease, background .18s ease;
}
.hw-demo:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .12); }
.hw-demo h3 { font-size: 1rem; margin: 0 0 7px; color: #fff; }
.hw-demo p { font-size: .89rem; line-height: 1.55; color: rgba(255, 255, 255, .78); margin: 0; }
.hw-demo__ver { display: inline-block; margin-top: 12px; font-size: .85rem; font-weight: 600; color: #fbbf24; }

/* ── FAQ ────────────────────────────────────────────────────── */
.hw-faq { max-width: 800px; margin: 30px auto 0; }
.hw-faq details { background: var(--c-white); border: 1px solid var(--c-line); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; }
.hw-faq summary { font-weight: 700; cursor: pointer; line-height: 1.45; }
.hw-faq p { margin: 12px 0 0; line-height: 1.68; color: var(--c-text-soft); }

/* ── Enlaces del silo (malla interna) ───────────────────────── */
.hw-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.hw-chip { display: inline-block; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--c-line-strong); background: var(--c-white); font-size: .88rem; text-decoration: none; color: var(--c-text); transition: border-color .18s ease, color .18s ease; }
.hw-chip:hover { border-color: var(--c-violet); color: var(--c-violet); }

/* ── Cierre ─────────────────────────────────────────────────── */
.hw-final { padding: clamp(46px, 7vw, 84px) 0; text-align: center; }
.hw-final h2 { font-size: clamp(1.55rem, 4.2vw, 2.25rem); line-height: 1.2; }
.hw-final p { max-width: 56ch; margin: 14px auto 26px; color: var(--c-text-soft); line-height: 1.65; }
