/* ===========================================
   HSJB INSTALLATION PAGE (page-hsjb-install.php)
   Builds on homepage.css tokens/classes.
   =========================================== */

.hi-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.hi-hero__img img { width: 100%; max-width: 380px; display: block; margin: 0 auto; filter: drop-shadow(0 12px 30px rgba(0,0,0,0.45)); }
.hi-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; }
.hi-badge { display: inline-block; padding: 0.35rem 0.8rem; border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; color: #f4f5f6; font-size: 0.8rem; letter-spacing: 0.03em; }
.hi-hero__links { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.hi-link { color: var(--accent, #d4871c); font-weight: 600; text-decoration: none; }
.hi-link:hover { color: #e89e3a; }

.section--alt { background: #f2f3f5; }

.hi-warn { border: 2px solid #c0392b; border-radius: 10px; padding: 1.25rem 1.5rem 1.25rem 1.5rem; background: #fff5f4; margin-bottom: 2rem; }
.hi-warn ul { list-style: none; margin: 0; padding: 0; }
.hi-warn li { position: relative; padding-left: 1.4rem; margin: 0.4rem 0; line-height: 1.5; color: #1c1e22; }
.hi-warn li::before { content: "\25B8"; position: absolute; left: 0; color: #c0392b; font-weight: 700; }
.hi-warn strong { color: #c0392b; }

.hi-two { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.hi-card { background: #fff; border: 1px solid #e1e4e8; border-radius: 12px; padding: 1.5rem 1.75rem; }
.hi-card h3, .hi-check h3, .hi-h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.75rem; color: #141618; }
.hi-h3 { margin-top: 2rem; }
.hi-card p { margin: 0 0 0.75rem; line-height: 1.55; color: #3a3f46; }
.hi-list { list-style: none; margin: 0; padding: 0; }
.hi-list li { position: relative; padding-left: 1.1rem; margin: 0.3rem 0; line-height: 1.45; color: #3a3f46; }
.hi-list li::before { content: "\2022"; position: absolute; left: 0; color: var(--accent, #d4871c); font-weight: 700; }

.hi-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.hi-step { background: #fff; border: 1px solid #e1e4e8; border-radius: 12px; padding: 1.25rem 1.4rem 1.4rem; }
.hi-step__fig { height: 190px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; background: #fff; border-radius: 8px; overflow: hidden; }
.hi-step__fig img { max-height: 190px; max-width: 100%; object-fit: contain; display: block; }
.hi-step__fig--svg { color: #141618; padding: 0.5rem; }
.hi-step__fig--svg svg { width: 100%; height: auto; max-height: 170px; }
.hi-step h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.05rem; font-weight: 700; margin: 0 0 0.6rem; color: #141618; }
.hi-step__n { display: inline-flex; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--accent, #d4871c); color: #141618; font-size: 0.9rem; font-weight: 800; align-items: center; justify-content: center; flex: none; }
.hi-step p { margin: 0 0 0.6rem; font-size: 0.95rem; line-height: 1.5; color: #3a3f46; }

.hi-check { background: #fff; border-left: 4px solid var(--accent, #d4871c); border-radius: 10px; padding: 1.25rem 1.5rem; }
.hi-check ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
.hi-check li { position: relative; padding-left: 1.8rem; margin: 0.35rem 0; line-height: 1.5; color: #3a3f46; break-inside: avoid; }
.hi-check li::before { content: ""; position: absolute; left: 0; top: 0.3rem; width: 1rem; height: 1rem; border: 2px solid var(--accent, #d4871c); border-radius: 3px; }

.hi-p { line-height: 1.6; color: #3a3f46; margin: 0 0 1rem; }
.hi-p--light { color: #c9cdd2; }
.hi-ol { padding-left: 1.3rem; color: #3a3f46; line-height: 1.55; }
.hi-ol li { margin: 0.35rem 0; }

.hi-tech { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.hi-tech td { padding: 0.55rem 0.6rem; border-bottom: 1px solid #e1e4e8; vertical-align: top; color: #3a3f46; line-height: 1.45; }
.hi-tech td:first-child { font-weight: 700; color: #141618; width: 34%; }

.hi-downloads { list-style: none; margin: 0; padding: 0; }
.hi-downloads li { padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.12); color: #c9cdd2; line-height: 1.5; }
.hi-downloads a { color: var(--accent, #d4871c); font-weight: 600; text-decoration: none; }
.hi-downloads a:hover { color: #e89e3a; }
.hi-soon { color: #f4f5f6; font-weight: 600; }
.hi-docref { font-size: 0.8rem; color: #8a9098; margin-top: 1.5rem; }

@media (max-width: 900px) {
  .hi-hero, .hi-two { grid-template-columns: 1fr; }
  .hi-steps { grid-template-columns: 1fr 1fr; }
  .hi-hero__img img { max-width: 260px; }
}
@media (max-width: 600px) {
  .hi-steps { grid-template-columns: 1fr; }
  .hi-check ul { columns: 1; }
  .hi-step__fig { height: 160px; }
}
