/* ==========================================================================
   Профеcіонарій — Основні стилі
   ========================================================================== */

:root {
    --color-primary: #5B5FE9;
    --color-primary-dark: #4347d4;
    --color-primary-light: #eef0ff;
    --color-accent: #6c70ff;
    --color-text: #1a1a2e;
    --color-text-muted: #6b7280;
    --color-text-light: #9ca3af;
    --color-bg: #ffffff;
    --color-bg-soft: #f5f6fa;
    --color-bg-hero: #f0f2fa;
    --color-border: #e5e7eb;
    --color-success: #10b981;
    --color-warning: #f59e0b;

    --badge-popular-bg: #dbeafe;
    --badge-popular-text: #1e40af;
    --badge-demand-bg: #dcfce7;
    --badge-demand-text: #166534;
    --badge-creative-bg: #ede9fe;
    --badge-creative-text: #5b21b6;
    --badge-new-bg: #fef3c7;
    --badge-new-text: #92400e;

    --category-blue: #5B5FE9;
    --category-purple: #a855f7;
    --category-green: #10b981;
    --category-yellow: #f59e0b;
    --category-cyan: #06b6d4;
    --category-orange: #f97316;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10);

    --container-max: 1280px;
    --header-height: 80px;

    --font-base: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-base);
    color: var(--color-text);
    background: var(--color-bg);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--color-primary); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.6em; line-height: 1.2; font-weight: 700; color: var(--color-text); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 24px;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: absolute;
    top: -100px; left: 12px;
    background: var(--color-primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    border: 2px solid transparent;
}
.btn--primary {
    background: var(--color-primary);
    color: #fff;
}
.btn--primary:hover { background: var(--color-primary-dark); color: #fff; }
.btn--ghost {
    background: #fff;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn--ghost:hover { background: var(--color-primary-light); color: var(--color-primary); }
.btn--small { padding: 8px 16px; font-size: 14px; }

/* ---------- Site Header ---------- */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: var(--header-height);
    padding-block: 16px;
}
.site-header__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}
.site-header__logo-link {
    display: inline-flex;
    align-items: center;
}
.site-header__logo-link svg {
    height: 36px;
    width: auto;
}
.site-header__tagline {
    color: var(--color-text-muted);
    font-size: 12px;
    line-height: 1.3;
    max-width: 140px;
    border-left: 1px solid var(--color-border);
    padding-left: 14px;
}
.site-header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}
.site-menu {
    display: flex;
    gap: 32px;
}
.site-menu li a {
    font-weight: 500;
    font-size: 15px;
    color: var(--color-text);
}
.site-menu li.current-menu-item a,
.site-menu li.current_page_item a {
    color: var(--color-primary);
}
.site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.site-header__search-toggle {
    width: 44px; height: 44px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: background 0.2s ease;
}
.site-header__search-toggle:hover { background: var(--color-bg-soft); }

.site-header__nav-toggle {
    display: none;
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.site-header__nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.2s ease;
}
.site-header__nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header__nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header__nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-header__search {
    background: #fff;
    border-top: 1px solid var(--color-border);
    padding-block: 20px;
}

/* ---------- Hero ---------- */
.hero {
    background: var(--color-bg-hero);
    padding-block: 64px 80px;
    overflow: hidden;
}
.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
}
.hero__content { max-width: 600px; }
.hero__title {
    font-size: clamp(34px, 4.2vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.hero__title-accent {
    color: var(--color-primary);
}
.hero__lead {
    font-size: 17px;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    line-height: 1.55;
}
.hero__tags {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.hero__tags-label {
    color: var(--color-text-muted);
    font-size: 14px;
    margin-right: 6px;
}
.tag-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    background: #fff;
    color: var(--color-text);
    transition: all 0.2s ease;
}
.tag-chip:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-light);
}

/* ---------- Hero Visual ---------- */
.hero__visual {
    position: relative;
    min-height: 460px;
}
.hero__visual-grid {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
}
.hero__visual-cell {
    border-radius: 50% 50% 50% 50% / 35% 35% 65% 65%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1.2;
    box-shadow: var(--shadow-md);
}
.hero__visual-cell img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual-cell--purple { background: #c4b5fd; }
.hero__visual-cell--teal { background: #5eead4; }
.hero__visual-cell--yellow { background: #fde68a; }
.hero__visual-cell--pink { background: #fbcfe8; }

.hero__floating {
    position: absolute;
    width: 56px; height: 56px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}
.hero__floating--briefcase {
    left: -10px; top: 50%;
    background: var(--color-primary);
}
.hero__floating--chart {
    right: -10px; top: 12%;
    background: #fff;
}

/* ---------- Search Form ---------- */
.search-form {
    width: 100%;
    margin-bottom: 0;
}
.search-form__field {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: var(--radius-full);
    padding: 8px 8px 8px 22px;
    box-shadow: var(--shadow-md);
    gap: 12px;
    border: 1px solid transparent;
    transition: border-color 0.2s ease;
}
.search-form__field:focus-within {
    border-color: var(--color-primary);
}
.search-form__icon {
    color: var(--color-text-muted);
    flex-shrink: 0;
}
.search-form__input {
    flex: 1;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 16px;
    color: var(--color-text);
    padding: 12px 0;
    outline: none;
    min-width: 0;
}
.search-form__input::placeholder { color: var(--color-text-light); }
.search-form__submit { padding: 12px 28px; }

/* ---------- Sections ---------- */
.section {
    padding-block: 64px;
}
.section--cms { padding-block: 48px; }
.section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.section__title {
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.01em;
}
.section__link {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.section__link:hover { color: var(--color-primary-dark); }

/* ---------- Categories Grid ---------- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.category-card {
    --category-accent: var(--category-blue);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    transition: all 0.2s ease;
    position: relative;
}
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--category-accent);
}
.category-card--blue { --category-accent: var(--category-blue); }
.category-card--purple { --category-accent: var(--category-purple); }
.category-card--green { --category-accent: var(--category-green); }
.category-card--yellow { --category-accent: var(--category-yellow); }
.category-card--cyan { --category-accent: var(--category-cyan); }
.category-card--orange { --category-accent: var(--category-orange); }

.category-card__body { flex: 1; }
.category-card__title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px;
    line-height: 1.3;
}
.category-card__count {
    font-size: 13px;
    color: var(--color-text-muted);
    margin: 0;
}
.category-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--category-accent) 12%, white);
    color: var(--category-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.category-card__icon-emoji { font-size: 24px; line-height: 1; }
.category-card__icon-svg { width: 24px; height: 24px; }
.category-card__icon-img { width: 28px; height: 28px; object-fit: contain; }

/* ---------- Professions Grid ---------- */
.professions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.profession-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}
.profession-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}
.profession-card__thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--color-bg-soft);
}
.profession-card__thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.3s ease;
}
.profession-card:hover .profession-card__thumb img { transform: scale(1.05); }
.profession-card__body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.profession-card__title {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    color: var(--color-text);
    line-height: 1.3;
}
.profession-card__category {
    font-size: 13px;
    color: var(--color-text-muted);
    margin: 0;
}
.profession-card__badge { margin-top: auto; padding-top: 4px; }

/* ---------- Badges ---------- */
.profession-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}
.profession-badge--popular {
    background: var(--badge-popular-bg);
    color: var(--badge-popular-text);
}
.profession-badge--high-demand {
    background: var(--badge-demand-bg);
    color: var(--badge-demand-text);
}
.profession-badge--creative {
    background: var(--badge-creative-bg);
    color: var(--badge-creative-text);
}
.profession-badge--new {
    background: var(--badge-new-bg);
    color: var(--badge-new-text);
}

/* ---------- Page hero ---------- */
.page-hero {
    background: var(--color-bg-hero);
    padding-block: 48px 56px;
}
.page-hero__title {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    margin: 12px 0 16px;
}
.page-hero__lead {
    font-size: 17px;
    color: var(--color-text-muted);
    max-width: 720px;
    margin-bottom: 28px;
}

/* ---------- Filter chips ---------- */
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}
.filter-chip {
    display: inline-flex;
    padding: 8px 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    background: #fff;
    color: var(--color-text);
    transition: all 0.2s ease;
}
.filter-chip:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.filter-chip--active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}
.filter-chip--active:hover { color: #fff; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs__sep { color: var(--color-text-light); }

/* ---------- Page wrapper ---------- */
.page-wrapper { padding-block: 48px; }
.page-header { margin-bottom: 32px; }
.page-title {
    font-size: clamp(28px, 3vw, 40px);
    margin: 0;
}
.cms-content {
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text);
}
.cms-content h2 { font-size: 28px; margin-top: 2em; }
.cms-content h3 { font-size: 22px; margin-top: 1.5em; }
.cms-content a { color: var(--color-primary); text-decoration: underline; }
.cms-content img { border-radius: var(--radius-md); margin: 1em 0; }
.cms-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: 20px;
    margin: 1.5em 0;
    font-style: italic;
    color: var(--color-text-muted);
}

/* ---------- Single posts ---------- */
.single-article {
    max-width: 820px;
    margin-inline: auto;
}
.single-article__title {
    font-size: clamp(28px, 3.5vw, 44px);
    margin-bottom: 12px;
}
.single-article__meta {
    color: var(--color-text-muted);
    font-size: 14px;
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
}
.single-article__thumb {
    margin: 0 0 28px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.single-article__content { font-size: 17px; line-height: 1.7; }
.single-article__foot { margin-top: 36px; }
.single-article__tags { font-size: 14px; color: var(--color-text-muted); }
.single-article__tags a {
    color: var(--color-primary);
    margin-left: 4px;
}

/* ---------- Single profession ---------- */
.profession-single { margin-block: 32px; }
.profession-single__layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: flex-start;
}
.profession-single__media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg-soft);
    aspect-ratio: 4 / 3;
}
.profession-single__media img { width: 100%; height: 100%; object-fit: cover; }
.profession-single__category-link {
    display: inline-flex;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 14px;
}
.profession-single__title {
    font-size: clamp(28px, 3.5vw, 44px);
    margin: 0 0 16px;
}
.profession-single__badge { margin-bottom: 24px; }
.profession-single__content {
    font-size: 17px;
    line-height: 1.7;
}

/* ---------- Posts grid ---------- */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.post-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}
.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.post-card__thumb {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--color-bg-soft);
}
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 20px; }
.post-card__title { font-size: 18px; line-height: 1.3; margin: 0 0 8px; }
.post-card__title a:hover { color: var(--color-primary); }
.post-card__meta {
    font-size: 13px;
    color: var(--color-text-muted);
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}
.post-card__type {
    display: inline-block;
    font-size: 12px;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}
.post-card__excerpt { font-size: 14px; color: var(--color-text-muted); margin-bottom: 12px; }

/* ---------- Pagination ---------- */
.pagination, .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}
.pagination .page-numbers, .nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-weight: 500;
}
.pagination .page-numbers.current, .nav-links .page-numbers.current,
.pagination .page-numbers:hover, .nav-links .page-numbers:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* ---------- 404 ---------- */
.error-404 {
    padding-block: 96px;
    background: var(--color-bg-soft);
}
.error-404__inner {
    text-align: center;
    max-width: 560px;
    margin-inline: auto;
}
.error-404__code {
    font-size: 120px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
}
.error-404__title {
    font-size: 28px;
    margin-bottom: 12px;
}
.error-404__lead {
    color: var(--color-text-muted);
    margin-bottom: 28px;
}
.error-404__actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.error-404__search { max-width: 480px; margin-inline: auto; }

/* ---------- Empty state ---------- */
.empty-state {
    text-align: center;
    padding-block: 48px;
    color: var(--color-text-muted);
}
.empty-state h2 {
    color: var(--color-text);
    margin-bottom: 8px;
}

/* ---------- Site Footer ---------- */
.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    margin-top: 64px;
    padding-top: 64px;
}
.site-footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}
.site-footer__col h4 { color: #fff; }
.site-footer__logo svg { height: 36px; filter: brightness(0) invert(1); }
.site-footer__about { margin-top: 16px; font-size: 14px; line-height: 1.6; color: #94a3b8; }
.footer-widget__title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    color: #fff;
}
.footer-list { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-list a { color: #cbd5e1; }
.footer-list a:hover { color: #fff; }
.footer-social { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-social a { color: #cbd5e1; }
.footer-social a:hover { color: #fff; }
.site-footer__bottom {
    border-top: 1px solid #1e293b;
    padding-block: 24px;
}
.site-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #94a3b8;
}
.footer-bottom-menu {
    display: flex;
    gap: 24px;
}
.footer-bottom-menu a { color: #94a3b8; }
.footer-bottom-menu a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .professions-grid { grid-template-columns: repeat(3, 1fr); }
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero__visual { min-height: 360px; max-width: 480px; margin-inline: auto; }
    .profession-single__layout { grid-template-columns: 1fr; gap: 24px; }
    .site-header__tagline { display: none; }
    .site-header__nav { position: fixed; top: 0; right: -100%; bottom: 0; width: min(320px, 100%); background: #fff; padding: 80px 24px 24px; transition: right 0.3s ease; box-shadow: var(--shadow-lg); z-index: 90; flex-direction: column; justify-content: flex-start; }
    .site-header__nav.is-open { right: 0; }
    .site-menu { flex-direction: column; gap: 16px; }
    .site-header__nav-toggle { display: inline-flex; order: 3; }
    .site-header__actions .btn--ghost { display: none; }
}

@media (max-width: 700px) {
    .hero { padding-block: 40px 56px; }
    .hero__visual-grid { gap: 14px; }
    .section { padding-block: 48px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .professions-grid { grid-template-columns: repeat(2, 1fr); }
    .posts-grid { grid-template-columns: 1fr; }
    .search-form__field { flex-wrap: wrap; padding: 8px; padding-left: 16px; }
    .search-form__submit { flex: 1; }
    .site-footer__inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
    .site-footer__bottom-inner { justify-content: center; text-align: center; }
}

@media (max-width: 500px) {
    .categories-grid { grid-template-columns: 1fr; }
    .professions-grid { grid-template-columns: 1fr; }
    .hero__title { font-size: 32px; }
    .error-404__code { font-size: 88px; }
    .site-header__actions .btn { padding: 8px 14px; font-size: 14px; }
}
