/* ============================================================
   Hobzo Theme – hobzo-ds.css
   Дизайн системата „Hobzo“ (прототип 10.03.2026): шрифтове, токени,
   header, footer, бутони, карта на хоби и началната страница.
   Шрифтовете са локални (GDPR) – не се зареждат от Google.
   ============================================================ */

@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-ExtraBold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("../fonts/Unbounded-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("../fonts/Unbounded-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("../fonts/Unbounded-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
    --brand: #FD6504;
    --brand-hover: #E85A00;
    --brand-text: #B04000;
    --brand-heading: #E05500;
    --brand-soft: #FFEEE2;
    --brand-tint: #FFCBA6;
    --on-brand: #24170D;
    --surface: #FFFFFF;
    --surface-raised: #FFFFFF;
    --surface-sunken: #F3EADF;
    --ink: #24170D;
    --ink-muted: #6B5A4C;
    --ink-hover: #3D2A1C;
    --line: #E3D7C9;
    --line-strong: #8C7766;
    --focus: #1F5FBF;
    --inverse-surface: #24170D;
    --inverse-ink: #FFF6EC;
    --inverse-ink-muted: #CDBBAA;
    --inverse-line: #4A3A2E;
    --inverse-accent: #FD6504;
    --inverse-focus: #8AB4FF;
    --cat-active-bg: #EAF0EA;
    --cat-active-fg: #3F6B4A;
    --cat-active-solid: #3F6B4A;
    --cat-intellectual-bg: #E8EAF1;
    --cat-intellectual-fg: #2E3A5C;
    --cat-intellectual-solid: #2E3A5C;
    --cat-practical-bg: #EFEEE0;
    --cat-practical-fg: #6B6A2E;
    --cat-practical-solid: #6B6A2E;
    --cat-creative-bg: #F4E8EE;
    --cat-creative-fg: #7A3558;
    --cat-creative-solid: #7A3558;
    --font-sans: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-display: Unbounded, Manrope, system-ui, sans-serif;
    --shadow-card: 0 1px 2px rgba(36,23,13,0.08), 0 6px 20px rgba(36,23,13,0.08);
    --shadow-pop: 0 12px 32px rgba(36,23,13,0.16);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --width-page: 1200px;
}

/* ── Основа (нулиране) ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { display: flex; flex-direction: column; min-height: 100vh; background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 1rem; line-height: 1.6; }
.hobzo-main-content { flex: 1 0 auto; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--ink); }
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
img, svg { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
button, input, select, textarea { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); word-wrap: normal !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
*:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.hz-wrap { max-width: var(--width-page); margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.hz-icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hz-icon-sm { width: 15px; height: 15px; }
.hz-h2 { margin: 0; font-family: var(--font-display); font-size: 26px; line-height: 34px; font-weight: 600; color: var(--ink); }
.hz-skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 20px; border-radius: var(--radius-pill); background: var(--ink); color: var(--inverse-ink); font-weight: 700; text-decoration: none; }
.hz-skip:focus { top: 12px; }

/* ── Бутони ─────────────────────────────────────────────── */
.hz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border: 2px solid transparent; border-radius: var(--radius-pill); font: 700 14px/20px var(--font-sans); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.hz-btn-lg { padding: 12px 32px; font-size: 17px; line-height: 28px; }
.hz-btn-primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.hz-btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: var(--on-brand); }
.hz-btn-strong { background: var(--ink); border-color: var(--ink); color: var(--inverse-ink); }
.hz-btn-strong:hover { background: var(--ink-hover); border-color: var(--ink-hover); color: var(--inverse-ink); }
.hz-btn-outline-light { background: transparent; border-color: var(--inverse-ink); color: var(--inverse-ink); }
.hz-btn-outline-light:hover { background: rgba(255,246,236,.1); color: var(--inverse-ink); }
.hz-btn-secondary { background: var(--surface-raised); border-color: var(--ink); color: var(--ink); }
.hz-btn-secondary:hover { background: var(--brand-soft); color: var(--ink); }
.hz-link-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--brand-text); text-decoration: none; }
.hz-link-more:hover { color: var(--ink); }

/* ── Header ─────────────────────────────────────────────── */
.hz-header { position: relative; z-index: 50; border-bottom: 1px solid var(--line); background: var(--surface); }
/* Лого | страниците в средата | търсачка + тест. Когато търсачката се разгърне,
   дясната колона расте и избутва страниците. */
.hz-header-bar { position: relative; display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.hz-header-bar > .hz-logo { justify-self: start; }
.hz-header-nav { justify-self: center; }
.hz-header-bar > .hz-header-actions { justify-self: end; }
.hz-logo { display: flex; line-height: 0; }
.hz-logo img { height: 28px; width: auto; }
.hz-nav { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; font-size: 15px; font-weight: 700; }
.hz-nav a { display: block; padding-bottom: 4px; border-bottom: 2px solid transparent; color: var(--ink); text-decoration: none; }
.hz-nav a:hover { color: var(--brand-text); }
.hz-nav .current-menu-item > a, .hz-nav a[aria-current="page"] { border-bottom-color: var(--brand); }
.hz-header-actions { display: flex; align-items: center; gap: 12px; }
.hz-icon-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.hz-icon-btn:hover { background: var(--brand-soft); color: var(--ink); }
.hz-header-cta { padding: 12px 22px; font-size: 15px; white-space: nowrap; }
.hz-menu-btn { display: none; }
/* Търсачката в хедъра – разгръща се на същия ред */
.hz-hsearch { display: flex; align-items: center; height: 46px; border: 1.5px solid transparent; border-radius: var(--radius-pill); background: transparent; transition: border-color .25s, background-color .25s, box-shadow .25s; }
.hz-hsearch .hz-hsearch-toggle { width: 43px; height: 43px; }
.hz-hsearch input { width: 0; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; opacity: 0; font: 500 15px/24px var(--font-sans); color: var(--ink); transition: width .3s ease, opacity .2s ease, padding .3s ease; }
.hz-hsearch input::placeholder { color: #8C7766; opacity: 1; }
.hz-hsearch input::-webkit-search-cancel-button { display: none; }
.hz-hsearch-close { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 34px; height: 34px; margin-right: 4px; padding: 0; border: 0; border-radius: 50%; background: var(--surface-sunken); color: var(--ink); cursor: pointer; }
.hz-hsearch-close[hidden] { display: none; }
.hz-hsearch-close:hover { background: var(--brand-soft); }
.hz-hsearch.is-open { border-color: var(--line-strong); background: var(--surface-raised); box-shadow: 0 0 0 4px var(--brand-soft); }
.hz-hsearch.is-open input { width: 300px; padding: 0 8px 0 2px; opacity: 1; }
.hz-hsearch.is-open .hz-hsearch-toggle { background: transparent; color: var(--brand-text); }
@media (max-width: 1180px) {
    .hz-header-bar.is-searching .hz-header-nav { display: none; }
    .hz-header-bar.is-searching { grid-template-columns: auto 1fr; }
    .hz-header-bar.is-searching .hz-header-actions { justify-self: stretch; }
    .hz-header-bar.is-searching .hz-hsearch { flex: 1; min-width: 0; }
    .hz-hsearch.is-open input { flex: 1; width: auto; }
}
.hz-search { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; padding: 6px 6px 6px 18px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--surface-raised); color: var(--ink-muted); }
.hz-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 15px/24px var(--font-sans); color: var(--ink); }
.hz-mobile-menu { display: flex; flex-direction: column; padding: 4px 24px 20px; border-top: 1px solid var(--line); background: var(--surface); }
.hz-mobile-menu[hidden] { display: none; }
.hz-mobile-menu ul { margin: 0; padding: 0; list-style: none; }
.hz-mobile-menu li a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 700; }
.hz-mobile-menu .hz-btn { margin-top: 16px; }
@media (max-width: 760px) {
    .hz-header-nav, .hz-header-cta { display: none !important; }
    .hz-menu-btn { display: flex; }
    .hz-header-bar { grid-template-columns: auto 1fr; }
    /* На телефон разгърнатата търсачка покрива реда (над логото и менюто) */
    .hz-hsearch.is-open { position: absolute; z-index: 5; top: 50%; left: 16px; right: 16px; transform: translateY(-50%); }
    .hz-hsearch.is-open input { flex: 1; width: auto; }
}
@media (min-width: 761px) { .hz-mobile-menu { display: none !important; } }

/* ── Footer ─────────────────────────────────────────────── */
.hz-foot { background: var(--inverse-surface); color: var(--inverse-ink-muted); }
.hz-foot a { color: var(--inverse-ink-muted); text-decoration: none; }
.hz-foot a:hover { color: var(--inverse-accent); text-decoration: underline; }
.hz-foot :focus-visible { outline-color: var(--inverse-focus); }
.hz-foot-main { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; padding-top: 48px; padding-bottom: 48px; }
.hz-foot-brand { display: flex; flex-direction: column; gap: 12px; max-width: 400px; }
.hz-foot-brand .hz-logo { align-self: flex-start; }
.hz-foot-brand .hz-logo img { height: 26px; }
.hz-foot-tagline { margin: 0; font-size: 15px; font-weight: 700; color: var(--inverse-ink); }
.hz-foot-text { margin: 0; font-size: 14px; line-height: 22px; }
.hz-foot-search { display: flex; align-items: center; max-width: 320px; margin-top: 4px; padding: 4px 4px 4px 16px; border: 1px solid var(--inverse-line); border-radius: var(--radius-pill); background: rgba(255, 246, 236, .06); transition: border-color .15s; }
.hz-foot-search:focus-within { border-color: var(--inverse-accent); }
.hz-foot-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 14px/22px var(--font-sans); color: var(--inverse-ink); }
.hz-foot-search input::placeholder { color: var(--inverse-ink-muted); opacity: 1; }
.hz-foot-search button { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: var(--brand); color: var(--on-brand); cursor: pointer; }
.hz-foot-search button:hover { background: var(--brand-hover); }
.hz-foot-cols { display: flex; flex-wrap: wrap; gap: 32px 72px; font-size: 14px; }
@media (min-width: 761px) { .hz-foot-cols { padding-left: 160px; } }
@media (min-width: 761px) and (max-width: 1000px) { .hz-foot-cols { padding-left: 48px; } }
@media (max-width: 760px) { .hz-foot-main { grid-template-columns: minmax(0, 1fr); } }
.hz-foot-col { display: flex; flex-direction: column; gap: 10px; }
.hz-foot-title { margin: 0; font-size: 14px; font-weight: 700; color: var(--inverse-ink); }
.hz-foot-col ul { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hz-foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--inverse-line); font-size: 13px; }
.hz-foot-legal { display: flex; gap: 20px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }

/* ── Карта на хоби ──────────────────────────────────────── */
.hb-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: 0 2px 8px rgba(36,23,13,.06); color: var(--ink); text-decoration: none; transition: box-shadow 200ms ease, transform 200ms ease; box-sizing: border-box; }
.hb-card:hover { box-shadow: 0 14px 32px rgba(36,23,13,.14); transform: translateY(-2px); color: var(--ink); }
.hb-media { display: flex; height: 168px; }
.hb-spine { width: 10px; flex-shrink: 0; background: var(--hb-cat, var(--line-strong)); transition: width 200ms ease; }
.hb-card:hover .hb-spine { width: 18px; }
.hb-ph { position: relative; flex-grow: 1; overflow: hidden; background: var(--surface-sunken); }
.hb-ph::before { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 22px solid #EADDCD; right: -44px; bottom: -74px; box-sizing: border-box; }
.hb-ph img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; }
.hb-body { display: flex; flex-direction: column; gap: 9px; flex-grow: 1; padding: 18px 18px 20px; }
.hb-cat { display: flex; align-items: center; gap: 7px; font-size: 11px; line-height: 16px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.hb-cat::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hb-cat, var(--line-strong)); }
.hb-title { margin: 0; font-family: var(--font-display); font-size: 19px; line-height: 26px; font-weight: 600; color: var(--ink); }
.hb-desc { margin: 0; flex-grow: 1; font-size: 14px; line-height: 21px; color: var(--ink-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hb-rule { height: 1px; margin-top: 4px; background: var(--line); }
.hb-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin: 0; padding: 2px 0 0; list-style: none; font-size: 13px; line-height: 18px; font-weight: 600; }
.hb-meta li { display: flex; align-items: center; gap: 6px; min-width: 0; }
.hb-bars { display: flex; align-items: flex-end; gap: 2px; height: 13px; flex-shrink: 0; margin-right: 2px; }
.hb-bars i { width: 4px; border-radius: 1px; background: var(--line); }
.hb-bars i:nth-child(1) { height: 6px; }
.hb-bars i:nth-child(2) { height: 9px; }
.hb-bars i:nth-child(3) { height: 13px; }
.hb-bars i.on { background: var(--ink); }
.hz-cat-active { --hb-cat: var(--cat-active-solid); }
.hz-cat-intellectual { --hb-cat: var(--cat-intellectual-solid); }
.hz-cat-practical { --hb-cat: var(--cat-practical-solid); }
.hz-cat-creative { --hb-cat: var(--cat-creative-solid); }

/* ── Мрежи и секции ─────────────────────────────────────── */
.hz-section { padding-top: 48px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 24px; }
.hz-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hz-grid4, .hz-grid3 { display: grid; gap: 20px; }
.hz-grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hz-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .hz-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) { .hz-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hz-grid4, .hz-grid3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .hz-h2 { font-size: 24px; line-height: 32px; } }

/* ── Hero ───────────────────────────────────────────────── */
.hz-hero { position: relative; overflow: hidden; background: var(--brand-soft); }
.hz-hero-ring { position: absolute; right: -200px; top: -220px; width: 520px; height: 520px; border: 52px solid var(--brand-tint); border-radius: 50%; box-sizing: border-box; }
.hz-hero-in { position: relative; display: grid; gap: 32px 24px; grid-template-columns: minmax(0, 740px) minmax(0, 440px); grid-template-areas: "head deck" "actions deck"; justify-content: space-between; padding-top: 48px; padding-bottom: 56px; }
.hz-hero-head { grid-area: head; display: flex; flex-direction: column; gap: 24px; align-self: end; margin: 0; }
.hz-hero-title { margin: 0; font-family: var(--font-display); font-size: 56px; line-height: 64px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
.hz-hero-sentence { margin: 0; font-family: var(--font-display); font-size: 32px; line-height: 64px; font-weight: 500; color: var(--ink); }
.hz-nowrap { white-space: nowrap; }
.hz-pick { position: relative; display: inline-flex; align-items: center; vertical-align: middle; }
.hz-pick select { field-sizing: content; appearance: none; -webkit-appearance: none; height: 56px; margin: 0 2px; padding: 0 52px 0 20px; border: 0; border-radius: var(--radius-pill); background: #FFFFFF; box-shadow: var(--shadow-card); color: var(--brand-text); font: inherit; font-weight: 600; cursor: pointer; transition: box-shadow .15s; }
.hz-pick select:hover { box-shadow: var(--shadow-pop); }
.hz-pick .hz-icon { position: absolute; right: 18px; pointer-events: none; color: var(--brand-text); transform: rotate(90deg); }
.hz-hero-deck { grid-area: deck; align-self: center; width: 440px; }
.hz-deck-stage { position: relative; padding: 16px 0 0 70px; }
.hz-deck-card { text-align: left; }
.hz-deck-front { position: relative; z-index: 3; width: 310px; }
.hz-deck-back1 { position: absolute; top: 56px; left: 10px; width: 290px; transform: rotate(-7deg); z-index: 2; pointer-events: none; }
.hz-deck-back2 { position: absolute; top: 56px; left: 150px; width: 290px; transform: rotate(7deg); z-index: 1; pointer-events: none; }
.hz-deck-back1 .hb-media, .hz-deck-back2 .hb-media, .hz-deck-front .hb-media { height: 150px; }
.hz-deck-front .hb-card { box-shadow: var(--shadow-pop); }
.hz-deck-pager { display: flex; align-items: center; justify-content: space-between; width: 310px; margin: 48px 0 0 70px; }
.hz-deck-pager[hidden] { display: none; }
.hz-deck-btn { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 1.5px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); cursor: pointer; transition: background-color .15s; }
.hz-deck-btn:hover { background: var(--brand-soft); }
.hz-deck-pos { font-size: 17px; line-height: 24px; font-weight: 800; }
.hz-hero-actions { grid-area: actions; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; align-self: start; }
@media (max-width: 880px) {
    .hz-hero-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "actions" "deck"; text-align: center; }
    .hz-hero-title { font-size: 36px; line-height: 44px; letter-spacing: -0.01em; }
    .hz-hero-sentence { font-size: 20px; line-height: 50px; }
    .hz-pick select { height: 42px; padding: 0 38px 0 12px; }
    .hz-pick .hz-icon { right: 12px; }
    .hz-hero-deck { width: auto; }
    .hz-deck-stage { padding: 8px 0 0; }
    .hz-deck-front { width: 260px; margin: 0 auto; }
    .hz-deck-back1 { left: calc(50% - 310px); width: 240px; top: 30px; }
    .hz-deck-back2 { left: calc(50% + 70px); width: 240px; top: 30px; }
    .hz-deck-pager { width: 260px; margin: 32px auto 0; }
    .hz-hero-actions { flex-direction: column; align-items: stretch; }
    .hz-hero-ring { left: -100px; right: auto; top: -90px; width: 220px; height: 220px; border-width: 28px; }
}

/* ── Какво е Hobzo (под hero, над категориите) ──────────── */
.hz-intro { padding-top: 48px; }
.hz-intro-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 52px 40px; border-radius: 28px; background: var(--inverse-surface); text-align: center; }
.hz-intro-card > * { position: relative; }
.hz-intro-ring { position: absolute !important; right: -110px; bottom: -170px; width: 360px; height: 360px; border: 42px solid rgba(253, 101, 4, .22); border-radius: 50%; box-sizing: border-box; }
.hz-intro-card::before { content: ""; position: absolute; left: -80px; top: -120px; width: 240px; height: 240px; border: 30px solid rgba(255, 246, 236, .06); border-radius: 50%; }
.hz-intro-title { margin: 0; max-width: 900px; font-family: var(--font-display); font-size: 42px; line-height: 52px; font-weight: 700; letter-spacing: -0.015em; color: var(--inverse-ink); }
.hz-intro-title span { color: var(--brand); }
.hz-intro-text { margin: 0; max-width: 680px; font-size: 19px; line-height: 30px; font-weight: 500; color: var(--inverse-ink-muted); }
.hz-intro + .hz-section { padding-top: 48px; }
@media (max-width: 640px) {
    .hz-intro { padding-top: 32px; }
    .hz-intro-card { padding: 36px 22px; border-radius: 22px; }
    .hz-intro-title { font-size: 28px; line-height: 36px; }
    .hz-intro-text { font-size: 17px; line-height: 28px; }
}

/* ── Категории (плочки) ─────────────────────────────────── */
.hz-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.hz-cat-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--radius-md); background: var(--hb-cat); color: var(--inverse-ink); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.hz-cat-tile:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); color: var(--inverse-ink); }
.hz-cat-tile::before { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; border: 22px solid rgba(255,246,236,.07); right: -50px; top: -60px; box-sizing: border-box; }
.hz-cat-tile > * { position: relative; }
.hz-cat-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 4px; border-radius: 50%; background: var(--inverse-ink); color: var(--hb-cat); }
.hz-cat-name { font-family: var(--font-display); font-size: 20px; line-height: 28px; font-weight: 600; }
.hz-cat-desc { font-size: 15px; line-height: 24px; opacity: .88; }
.hz-cat-ex { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.hz-cat-ex span { padding: 2px 8px; border-radius: var(--radius-pill); background: rgba(255,246,236,.16); box-shadow: inset 0 0 0 1px rgba(255,246,236,.28); font-size: 14px; line-height: 20px; font-weight: 600; }
.hz-cat-go { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 700; }

/* ── Как работи Hobzo? ──────────────────────────────────── */
.hz-how { background: var(--inverse-surface); padding: 48px 0; }
.hz-how .hz-h2 { margin-bottom: 24px; color: var(--inverse-ink); text-align: center; }
.hz-how-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.hz-how-line { position: absolute; top: 28px; left: 16.66%; right: 16.66%; border-top: 2px dashed rgba(253,101,4,.55); }
.hz-how-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 12px; text-align: center; }
.hz-how-num { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: var(--on-brand); box-shadow: 0 0 0 6px var(--inverse-surface); }
.hz-how-count { margin-top: 8px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); }
.hz-how-name { margin: 0; font-family: var(--font-display); font-size: 20px; line-height: 28px; font-weight: 600; color: var(--inverse-ink); }
.hz-how-text { margin: 0; max-width: 300px; font-size: 15px; line-height: 24px; color: var(--inverse-ink); }
.hz-how-cta { display: flex; justify-content: center; margin-top: 32px; }
@media (max-width: 760px) { .hz-how-steps { grid-template-columns: minmax(0, 1fr); } .hz-how-line { display: none; } }

/* ── Три начина да намериш своето хоби (начална страница) ── */
.hz-ways { padding: 72px 0; background: var(--surface-sunken); }
.hz-ways-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.hz-ways-kicker { margin: 0; font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text); }
.hz-ways-title { margin: 0; font-family: var(--font-display); font-size: 34px; line-height: 42px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.hz-ways-text { margin: 0; max-width: 680px; font-size: 18px; line-height: 29px; color: var(--ink-muted); }
.hz-ways-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hz-ways-tabs[hidden] { display: none; }
.hz-ways-tabs button { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); font: 700 15px/20px var(--font-sans); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.hz-ways-tabs button:hover { border-color: var(--ink); }
.hz-ways-tabs button[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: var(--inverse-ink); }
.hz-way { display: flex; flex-direction: column; gap: 28px; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 2px 8px rgba(36, 23, 13, .05); }
.hz-way + .hz-way { margin-top: 20px; }
.hz-ways-box.is-js .hz-way + .hz-way { margin-top: 0; }
.hz-way[hidden] { display: none; }
.hz-way-name { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 22px; line-height: 30px; color: var(--ink); }
.hz-way-name .hz-icon { color: var(--brand); }
.hz-ways-box.is-js .hz-way-name { display: none; }
.hz-way-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.hz-way-steps li { position: relative; display: flex; flex-direction: column; gap: 14px; }
.hz-way-steps li:not(:last-child)::after { content: ""; position: absolute; top: 24px; left: 64px; right: -16px; border-top: 2px dashed rgba(253, 101, 4, .55); }
.hz-way-num { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.hz-way-steps p { margin: 0; max-width: 320px; font-size: 16px; line-height: 26px; color: var(--ink); }
.hz-way .hz-btn { align-self: flex-start; }
.hz-way.is-entering li { animation: hz-way-rise .45s ease both; animation-delay: calc(var(--d, 0) * 100ms); }
@keyframes hz-way-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
    .hz-ways { padding: 56px 0; }
    .hz-ways-title { font-size: 26px; line-height: 34px; }
    .hz-ways-text { font-size: 16px; line-height: 26px; }
    .hz-ways-tabs button { flex: 1 1 100%; }
    .hz-way { padding: 26px; }
    .hz-way-steps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .hz-way-steps li { flex-direction: row; align-items: center; }
    .hz-way-steps li:not(:last-child)::after { display: none; }
}

/* ── Банер за теста ─────────────────────────────────────── */
.hz-quizbanner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 32px; border-radius: var(--radius-lg); background: var(--brand); }
.hz-quizbanner > div { flex: 1 1 360px; }
.hz-quizbanner h2 { margin: 0; font-family: var(--font-display); font-size: 20px; line-height: 28px; font-weight: 600; color: var(--on-brand); }
.hz-quizbanner p { margin: 8px 0 0; max-width: 560px; font-size: 15px; line-height: 24px; color: var(--on-brand); }

/* ── Компактна карта на статия ──────────────────────────── */
.hz-art { display: flex; align-items: center; gap: 16px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color 150ms ease; }
.hz-art:hover { border-color: var(--ink); color: var(--ink); }
.hz-art-thumb { position: relative; flex-shrink: 0; width: 88px; height: 64px; overflow: hidden; border-radius: 10px; background: var(--surface-sunken); }
.hz-art-thumb::before { content: ""; position: absolute; width: 60px; height: 60px; border-radius: 50%; border: 9px solid #EADDCD; right: -16px; bottom: -26px; box-sizing: border-box; }
.hz-art-thumb img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; }
.hz-art-text { display: flex; flex-direction: column; gap: 4px; }
.hz-art-title { font-size: 15px; line-height: 21px; font-weight: 800; }
.hz-art-meta { font-size: 13px; color: var(--ink-muted); }

/* ── „Очаквайте скоро“ / празни състояния ───────────────── */
.hz-empty { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 720px; margin: 0 auto; padding: 72px 24px; text-align: center; }
.hz-empty-art svg { width: 120px; height: 120px; fill: none; stroke: var(--brand-tint); stroke-width: 12; stroke-linecap: round; }
.hz-empty-kicker { margin: 0; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-text); }
.hz-empty-title { margin: 0; font-family: var(--font-display); font-size: 36px; line-height: 44px; font-weight: 600; color: var(--ink); }
.hz-empty-text { margin: 0; font-size: 17px; line-height: 28px; color: var(--ink-muted); }
.hz-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
@media (max-width: 640px) { .hz-empty-title { font-size: 28px; line-height: 36px; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ── Header: състояния ─────────────────────────────────── */
.hz-menu-btn .hz-menu-close, .hz-menu-btn[aria-expanded="true"] .hz-menu-open { display: none; }
.hz-menu-btn[aria-expanded="true"] .hz-menu-close { display: block; }
.hz-quiz-row { padding-top: 8px; padding-bottom: 24px; }
.hz-section-last { padding-top: 24px; padding-bottom: 72px; }
