/* =====================================================================================
   Dùng chung cho 4 trang: Hướng dẫn sử dụng, Câu hỏi thường gặp, Chính sách bảo mật,
   Điều khoản dịch vụ — cùng một "khung" trực quan (hero + card icon + timeline/accordion)
   thay vì tường chữ thuần, dùng lại tông xanh dương của theme.
   ===================================================================================== */
.qls-back{display:inline-flex;align-items:center;gap:6px;color:var(--ql-blue);text-decoration:none;font-weight:600;font-size:14px;margin-bottom:18px}
.qls-back:hover{text-decoration:underline}

.qls-hero{background:linear-gradient(150deg,var(--ql-blue-deep) 0%,var(--ql-blue) 65%,var(--ql-blue-2) 100%);color:#fff;padding:52px 0 46px;position:relative;overflow:hidden}
.qls-hero .wrap{position:relative;z-index:1}
.qls-hero-blob{position:absolute;border-radius:50%;pointer-events:none;width:340px;height:340px;right:-120px;top:-140px;background:radial-gradient(circle,rgba(255,255,255,.14),rgba(255,255,255,0) 70%)}
.qls-hero-ic{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:14px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);margin-bottom:16px}
.qls-hero h1{font-size:clamp(26px,3.6vw,36px);margin:0 0 10px;color:#fff}
.qls-hero p{font-size:16px;color:#DCE6FB;max-width:600px;margin:0;line-height:1.6}
.qls-hero-meta{margin-top:14px;font-size:13px;color:#B9CBEF}

.qls-body{padding:44px 0 64px}
.qls-body h2{font-size:20px;color:var(--ql-blue-deep);margin:0 0 6px}
.qls-lede{color:var(--soft);font-size:15px;margin:0 0 24px;max-width:680px}
.qls-section{margin-bottom:44px}
.qls-section:last-child{margin-bottom:0}

/* ---- lưới thẻ tính năng có icon (trang Hướng dẫn) ---- */
.qls-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.qls-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px}
.qls-card-ic{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:11px;background:var(--ql-blue-light);color:var(--ql-blue);font-size:20px;margin-bottom:12px}
.qls-card h3{margin:0 0 6px;font-size:15.5px}
.qls-card p{margin:0;color:var(--soft);font-size:13.5px;line-height:1.55}

/* ---- timeline các bước bắt đầu ---- */
.qls-timeline{counter-reset:qls-step;display:flex;flex-direction:column;gap:0;background:#fff;border:1px solid var(--line);border-radius:18px;padding:8px 24px}
.qls-timeline li{counter-increment:qls-step;list-style:none;display:flex;gap:16px;padding:20px 0;border-top:1px solid var(--line)}
.qls-timeline li:first-child{border-top:none}
.qls-timeline .qls-num{flex:none;width:32px;height:32px;border-radius:50%;background:var(--ql-blue);color:#fff;font-weight:800;font-size:14px;display:flex;align-items:center;justify-content:center}
.qls-timeline .qls-num::before{content:counter(qls-step)}
.qls-timeline strong{display:block;font-size:15px;margin-bottom:3px}
.qls-timeline p{margin:0;color:var(--soft);font-size:14px;line-height:1.55}

/* ---- mẹo nhanh ---- */
.qls-tips{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.qls-tip{display:flex;gap:10px;background:var(--ql-blue-light);border-radius:12px;padding:14px 16px;font-size:13.5px;color:var(--ql-blue-deep);line-height:1.5}
.qls-tip svg{flex:none;color:var(--ql-blue);margin-top:1px}

/* ---- FAQ: nhóm theo chủ đề + accordion (dùng thẻ <details> gốc, không cần JS) ---- */
.qls-faq-cat{display:flex;align-items:center;gap:10px;margin:0 0 14px}
.qls-faq-cat-ic{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:var(--ql-blue-light);color:var(--ql-blue)}
.qls-faq-cat h2{margin:0}
.qls-faq-list{display:flex;flex-direction:column;gap:10px}
.qls-faq{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.qls-faq summary{list-style:none;cursor:pointer;padding:16px 46px 16px 18px;font-weight:700;font-size:14.5px;color:var(--ink);position:relative}
.qls-faq summary::-webkit-details-marker{display:none}
.qls-faq summary::after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);font-size:20px;font-weight:400;color:var(--ql-blue);transition:transform .15s ease}
.qls-faq[open] summary::after{transform:translateY(-50%) rotate(45deg)}
.qls-faq-a{padding:0 18px 18px;color:var(--soft);font-size:14px;line-height:1.65}

/* ---- nội dung pháp lý (bảo mật / điều khoản): icon + mục ---- */
.qls-legal{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px 26px}
.qls-legal-head{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.qls-legal-ic{flex:none;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:11px;background:var(--ql-blue-light);color:var(--ql-blue)}
.qls-legal-head h2{margin:0}
.qls-legal p,.qls-legal li{color:var(--soft);font-size:14.5px;line-height:1.7}
.qls-legal ul{margin:8px 0 0;padding-left:20px}
.qls-legal + .qls-legal{margin-top:16px}

.qls-note{display:flex;gap:12px;background:var(--ql-orange-light,#FFF1E0);border:1px solid #FBD9AE;border-radius:14px;padding:16px 18px;margin-bottom:32px;color:#8A5A12;font-size:13.5px;line-height:1.6}
.qls-note svg{flex:none;color:var(--ql-orange,#FF9A2E);margin-top:1px}

/* ---- CTA cuối trang ---- */
.qls-cta{background:var(--ql-blue-light);border-radius:20px;padding:32px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.qls-cta h3{margin:0 0 4px;color:var(--ql-blue-deep);font-size:17px}
.qls-cta p{margin:0;color:var(--soft);font-size:14px}
.qls-cta-actions{display:flex;gap:10px;flex-wrap:wrap}
.qls-btn-outline{display:inline-flex;align-items:center;gap:8px;padding:13px 22px;border-radius:999px;font-weight:700;font-size:14px;text-decoration:none!important;background:#fff;color:var(--ql-blue)!important;border:1.5px solid var(--ql-blue-2);cursor:pointer}
.qls-btn-outline:hover{background:var(--ql-blue);color:#fff!important;border-color:var(--ql-blue)}

@media(max-width:860px){
  .qls-grid{grid-template-columns:repeat(2,1fr)}
  .qls-tips{grid-template-columns:1fr}
}
@media(max-width:600px){
  .qls-grid{grid-template-columns:1fr}
  .qls-hero{padding:40px 0 34px}
  .qls-legal{padding:20px}
  .qls-cta{padding:24px 20px}
}
