/**
 * File: demov2/assets/css/pages/help.css
 * Purpose: Kömək mərkəzi — mərkəzləşdirilmiş hero + böyük axtarış,
 *          canlı nəticələr (vurğulanmış uyğunluqlar), mövzu kartları,
 *          kateqoriyalar üzrə akkordeonlar, "Hələ sualınız var?" bloku.
 *          Rəngli minimal: tünd hero zolağı, mövzu rəngli ikon qutuları,
 *          rəngli əlaqə kanalları, açıq rəngli (tint) əlaqə bloku.
 */

/* ── Hero ── */
.hhero { padding-top: 4px; }
@media (min-width: 1024px) { .hhero { padding-top: 8px; } }
.hhero__box { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 44px 20px 36px; border-radius: 20px; background: var(--deep); color: var(--on-deep); }
@media (min-width: 768px) { .hhero__box { padding: 72px 40px 56px; border-radius: 24px; } }
.hhero__eyebrow { font-size: 14px; font-weight: 600; color: color-mix(in srgb, var(--brand) 55%, #fff); }
.hhero h1 { margin-top: 10px; font-size: clamp(28px, 4vw, 46px); letter-spacing: -.035em; line-height: 1.1; max-width: 18ch; }
.hsearch { position: relative; display: flex; align-items: center; width: min(100%, 640px); margin-top: 28px; }
@media (min-width: 768px) { .hsearch { margin-top: 32px; } }
.hsearch > .i { position: absolute; left: 20px; width: 21px; height: 21px; color: var(--text-2); pointer-events: none; }
.hsearch input { width: 100%; height: 60px; padding: 0 52px 0 54px; border-radius: var(--r-full); border: 1px solid transparent; background: var(--surface); color: var(--text); font-size: 16.5px; outline: none; box-shadow: 0 6px 24px rgba(0, 0, 0, .22); transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.hsearch input::-webkit-search-cancel-button { display: none; }
.hsearch input:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 55%, transparent), 0 6px 24px rgba(0, 0, 0, .22); }
html[data-theme='dark'] .hsearch input { background: var(--surface-2); }
@media (max-width: 479px) { .hsearch input { height: 54px; font-size: 15.5px; padding-left: 48px; } .hsearch > .i { left: 17px; } }
.hsearch__x { position: absolute; right: 10px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2); transition: background .15s; }
.hsearch__x:hover { background: var(--surface-2); color: var(--text); }
.hsearch__x .i { width: 17px; height: 17px; }
.hhero__pop { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 20px; max-width: 640px; }
.hhero__pop > span { font-size: 14px; color: var(--on-deep-2); }
.hhero__pop .chips { justify-content: center; }
.hhero__pop .chip { background: rgba(255, 255, 255, .1); color: var(--on-deep); }
.hhero__pop .chip:hover { background: rgba(255, 255, 255, .18); }

/* ── Nəticələr ── */
.hres { padding-top: 32px; }
.hres__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.hres__head h2 { font-size: clamp(20px, 2vw, 24px); }
.hres__head .link { white-space: nowrap; font-size: 14.5px; }
.hres__grp { display: flex; align-items: center; gap: 8px; margin-top: 28px; font-size: 13px; font-weight: 600; color: var(--h-t, var(--text-2)); }
.hres__grp i { width: 8px; height: 8px; border-radius: 50%; background: var(--h, var(--text-3)); }
.hres .acc__a > div { color: var(--text-2); }
.hres .empty { padding-top: 32px; }
.help mark, .hres mark { background: var(--accent-soft); color: var(--accent-text); border-radius: 3px; padding: 0 1px; }

/* ── Mövzular ── */
.htopics-wrap { padding-bottom: 8px; }
@media (min-width: 1024px) { .htopics-wrap { padding-bottom: 16px; } }
.htopics { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .htopics { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .htopics { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.htopic { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: 16px; background: var(--surface-2); text-align: left; transition: background .2s; }
@media (min-width: 1024px) { .htopic { padding: 28px; } }
.htopic:hover { background: var(--surface-3); }
.htopic > .ico-box { margin-bottom: 18px; }
.ico-box .i { width: 22px; height: 22px; }
.htopic b { font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.htopic > span:not(.ico-box) { font-size: 14.5px; color: var(--text-2); padding-right: 24px; } /* ikon qutusu da span-dır — ikon sola sıxılırdı */
.htopic small { margin-top: 10px; font-size: 13.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.htopic__go { position: absolute; right: 22px; bottom: 24px; color: var(--text-3); transition: transform .2s var(--ease), color .2s; }
.htopic__go.i { width: 18px; height: 18px; }
.htopic:hover .htopic__go { color: var(--text); transform: translateX(3px); }

/* ── FAQ bölmələri ── */
.hsec { display: grid; gap: 8px 48px; padding-block: 36px; background: var(--taper) top / 100% 1px no-repeat; scroll-margin-top: calc(var(--hdr-h) + 12px); }
.hsec:first-child { background: none; padding-top: 0; }
@media (min-width: 900px) { .hsec { grid-template-columns: 300px 1fr; padding-block: 48px; } }
@media (min-width: 1200px) { .hsec { grid-template-columns: 360px 1fr; gap: 8px 72px; } }
.hsec__side .ico-box { width: 40px; height: 40px; border-radius: 11px; margin-bottom: 16px; }
.hsec__side .ico-box .i { width: 20px; height: 20px; }
.hsec__side h2 { font-size: clamp(21px, 2vw, 25px); letter-spacing: -.025em; }
.hsec__side p { margin-top: 6px; font-size: 15px; color: var(--text-2); max-width: 34ch; }
.hsec__side small { display: block; margin-top: 10px; font-size: 13.5px; color: var(--text-3); }
@media (min-width: 900px) { .hsec__side { position: sticky; top: calc(var(--hdr-h) + 24px); align-self: start; } }
.hsec .acc__q, .hres .acc__q { font-size: 16px; line-height: 1.4; }
.acc__a .faq__a { line-height: 1.65; font-size: 15.5px; max-width: 64ch; }
.faq__a .link { margin-top: 10px; font-size: 14.5px; }
.faq__fb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 14px; font-size: 13.5px; color: var(--text-3); }
.faq__fb button { height: 30px; padding: 0 12px; border-radius: var(--r-full); background: var(--surface-2); font-size: 13px; font-weight: 500; color: var(--text); transition: background .15s; }
.faq__fb button:hover { background: var(--surface-3); }
.faq__fb > .i { color: var(--success); }

/* ── Əlaqə seçimləri ── */
.hcontact { padding: 32px 20px; border-radius: 24px; background: var(--tint); }
@media (min-width: 768px) { .hcontact { padding: 48px 40px; } }
@media (min-width: 1024px) { .hcontact { padding: 56px; } }
.hcontact__head h2 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.03em; }
.hcontact__head p { margin-top: 8px; color: var(--text-2); font-size: 16px; max-width: 52ch; }
.hcontact__grid { display: grid; gap: 12px; margin-top: 28px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .hcontact__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hcontact__grid { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; } }
.hopt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 22px; border-radius: 16px; background: var(--surface); box-shadow: var(--edge); text-align: left; transition: box-shadow .2s; }
.hopt:hover { box-shadow: var(--sh-3); }
.hopt > .ico-box { margin-bottom: 16px; }
.hopt b { font-size: 16px; font-weight: 600; }
.hopt span { font-size: 14px; color: var(--text-2); }
.hopt em { margin-top: 14px; font-style: normal; font-size: 14.5px; font-weight: 600; color: var(--h-t, var(--text)); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.hopt:hover em { text-decoration-color: currentColor; }

/* ── Telefon: kompakt mövzu və əlaqə kartları (ikon solda) ── */
@media (max-width: 559px) {
  .htopic { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 18px 44px 18px 18px; }
  .htopic > .ico-box { grid-row: 1 / span 3; margin: 1px 0 0; width: 40px; height: 40px; border-radius: 11px; }
  .htopic span { padding-right: 0; }
  .htopic small { margin-top: 4px; }
  .htopic__go { top: 50%; bottom: auto; right: 16px; margin-top: -9px; }
  .hopt { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 18px; }
  .hopt > .ico-box { grid-row: 1 / span 3; margin: 1px 0 0; width: 40px; height: 40px; border-radius: 11px; }
  .hopt em { margin-top: 8px; }
}

/* [F3] telefon: axtarış sahəsi ≥16px (iOS fokusda səhifəni böyütməsin) — yalnız şrift ölçüsü */
@media (max-width: 479px) { .hsearch input { font-size: 16px; } }
