.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.flash-stack {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1100;
    display: grid;
    gap: 12px;
    max-width: 360px;
}

.flash-stack .alert {
    margin: 0;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(10, 15, 30, 0.18);
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    text-decoration: none;
}

.nav-logo-mark {
    width: clamp(214px, 20vw, 304px);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.site-brand-svg {
    display: block;
    width: 100%;
    height: auto;
}

.site-brand-svg path,
.site-brand-svg polygon,
.site-brand-svg rect {
    transition: fill 0.2s ease;
}

.site-brand-svg .st0 {
    fill: #0a63ff;
}

.site-brand-svg path:not(.st0),
.site-brand-svg polygon:not(.st0),
.site-brand-svg rect:not(.st0) {
    fill: #0a63ff;
}

.site-brand-svg--home,
.site-brand-svg--footer {
    filter: drop-shadow(0 10px 18px rgba(3, 12, 28, 0.3));
}

.site-brand-svg--home path:not(.st0),
.site-brand-svg--home polygon:not(.st0),
.site-brand-svg--home rect:not(.st0),
.site-brand-svg--footer path:not(.st0),
.site-brand-svg--footer polygon:not(.st0),
.site-brand-svg--footer rect:not(.st0) {
    fill: #ffffff;
}

.nav-logo-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.nav-logo-title {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0;
    font-size: 1.36rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.08em;
}

.nav-logo-title-main {
    color: #fff;
    text-transform: uppercase;
}

.nav-logo-title-accent {
    color: var(--blue);
    text-transform: uppercase;
}

.nav-logo-subtitle {
    padding-left: 1px;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.58);
}

#nav.nav-light .nav-logo-mark {
    filter: none;
}

#nav.nav-light .nav-logo-title-main {
    color: var(--ink);
}

#nav.nav-light .nav-logo-title-accent {
    color: var(--blue);
}

#nav.nav-light .nav-logo-subtitle {
    color: var(--ink-5);
}

.nav-social-link,
.footer-social,
.drawer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8) !important;
    background: rgba(255, 255, 255, 0.06);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease,
        color 0.25s ease;
}

.nav-social-link .ui-icon,
.footer-social .ui-icon,
.drawer-social-link .ui-icon {
    width: 17px;
    height: 17px;
    display: block;
}

.nav-social-link:hover,
.footer-social:hover,
.drawer-social-link:hover {
    color: #fff !important;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.nav-social-link.is-facebook:hover,
.footer-social.is-facebook:hover,
.drawer-social-link.is-facebook:hover {
    background: rgba(24, 119, 242, 0.94);
}

.nav-social-link.is-instagram:hover,
.footer-social.is-instagram:hover,
.drawer-social-link.is-instagram:hover {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.96), rgba(255, 140, 0, 0.9));
}

.nav-social-link.is-linkedin:hover,
.footer-social.is-linkedin:hover,
.drawer-social-link.is-linkedin:hover {
    background: rgba(10, 102, 194, 0.94);
}

.nav-social-link.is-telegram:hover,
.footer-social.is-telegram:hover,
.drawer-social-link.is-telegram:hover {
    background: rgba(36, 161, 222, 0.94);
}

#nav.nav-light .nav-social-link {
    color: var(--ink-4) !important;
    background: rgba(26, 110, 255, 0.06);
    border-color: rgba(26, 110, 255, 0.1);
}

#nav.nav-light .nav-social-link:hover {
    color: #fff !important;
}

.drawer-phone .ui-icon {
    width: 18px;
    height: 18px;
    color: var(--cyan);
}

.drawer-socials {
    padding-top: 18px;
}

.drawer-social-link {
    color: rgba(255, 255, 255, 0.84) !important;
}

.drawer-cta {
    width: 100%;
    margin-top: 14px;
    justify-content: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.footer-logo-mark {
    width: min(100%, 274px);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.footer-brand-copy {
    display: grid;
    gap: 3px;
}

.footer-logo-title {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.07em;
}

.footer-logo-title-main {
    color: #fff;
    text-transform: uppercase;
}

.footer-logo-title-accent {
    color: var(--cyan);
    text-transform: uppercase;
}

.footer-logo-subtitle {
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.46);
}

.footer-contact-copy {
    display: grid;
    gap: 4px;
}

.footer-contact-label {
    font-size: 0.69rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.36);
}

.footer-contact-text a,
.footer-contact-text {
    line-height: 1.58;
}

.footer-contact-icon.ui-icon {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    color: var(--blue);
}

.contact-info-icon {
    background: linear-gradient(180deg, rgba(26, 110, 255, 0.14), rgba(0, 200, 255, 0.08));
    border: 1px solid rgba(26, 110, 255, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 10px 24px rgba(26, 110, 255, 0.08);
}

.contact-info-icon .ui-icon {
    width: 20px;
    height: 20px;
}

.blog-see-more-btn,
.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.blog-see-more-btn__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.form-submit__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.consent-box__icon {
    width: 14px;
    height: 14px;
}

.nav-right {
    z-index: 2;
}

.nav-burger {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

#nav.nav-light .nav-burger {
    border-color: rgba(26, 110, 255, 0.16);
    background: rgba(26, 110, 255, 0.08);
    box-shadow: 0 8px 22px rgba(26, 110, 255, 0.08);
}

@media (max-width: 1280px) {
    .nav-socials {
        display: none;
    }
}

@media (max-width: 1120px) {
    .nav-phone {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-inner {
        position: relative;
        gap: 12px;
    }

    .nav-logo {
        max-width: calc(100% - 96px);
    }

    .nav-logo-mark {
        width: clamp(184px, 46vw, 232px);
    }

    .nav-logo-title {
        font-size: 1.08rem;
    }

    .nav-logo-subtitle {
        font-size: 0.56rem;
        letter-spacing: 0.18em;
    }

    .nav-right {
        position: absolute;
        top: 50%;
        right: 6px;
        transform: translateY(-50%);
        margin-left: 0;
        gap: 8px;
    }

    .nav-burger {
        flex-shrink: 0;
    }
}

@media (max-width: 700px) {
    .footer-logo-mark {
        width: min(100%, 220px);
    }

    .footer-logo-title {
        font-size: 1.08rem;
    }

    .footer-logo-subtitle {
        letter-spacing: 0.18em;
    }
}

@media (max-width: 560px) {
    .nav-logo-subtitle {
        display: none;
    }

    .nav-logo-title {
        font-size: 0.98rem;
    }

    .footer-logo-subtitle {
        display: none;
    }
}

.blog-sidebar-list {
    display: grid;
    gap: 14px;
}

.blog-sidebar-item {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    text-decoration: none;
}

.blog-sidebar-item img {
    width: 60px;
    height: 48px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 22px rgba(10, 15, 30, 0.12);
}

.blog-sidebar-title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--ink);
    transition: color 0.2s ease;
}

.blog-sidebar-item:hover .blog-sidebar-title {
    color: var(--blue);
}

.blog-sidebar-date {
    margin-top: 4px;
    font-size: 0.72rem;
    color: var(--ink-5);
}

.blog-sidebar-links {
    display: grid;
    gap: 10px;
}

.blog-sidebar-links a {
    color: var(--ink-3);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.blog-sidebar-links a:hover {
    color: var(--blue);
    transform: translateX(3px);
}

.blog-cta-widget {
    background: linear-gradient(135deg, var(--dark), var(--dark-3));
    border-color: var(--dark-edge);
    text-align: center;
}

.blog-cta-widget__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    color: var(--blue);
}

.blog-cta-widget__title {
    font-size: 0.96rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.blog-cta-widget p {
    font-size: 0.85rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.58);
    margin-bottom: 18px;
}

.blog-page-pagination {
    margin-top: 28px;
}

.blog-page-pagination .pagination {
    gap: 8px;
}

.blog-page-pagination .page-link {
    min-width: 42px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid var(--border);
    color: var(--ink-3);
    background: var(--bg-card);
    box-shadow: var(--sh-card);
}

.blog-page-pagination .page-item.active .page-link,
.blog-page-pagination .page-link:hover {
    color: #fff;
    border-color: var(--blue);
    background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.blog-page-pagination .page-item.disabled .page-link {
    opacity: 0.45;
}

.post-hero {
    background: var(--dark);
    padding: 118px 0 58px;
    position: relative;
    overflow: hidden;
}

.post-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(26, 110, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 110, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
}

.post-hero-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 620px;
    height: 280px;
    background: radial-gradient(ellipse at center top, rgba(26, 110, 255, 0.18) 0%, transparent 70%);
}

.post-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.post-hero-title {
    font-size: clamp(28px, 4.5vw, 52px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1.12;
    max-width: 760px;
    margin-bottom: 20px;
}

.post-hero-desc {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.62);
    max-width: 620px;
}

.post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
    align-items: start;
    padding-block: clamp(48px, 6vw, 80px);
}

.post-cover {
    width: 100%;
    height: clamp(240px, 35vw, 440px);
    border-radius: var(--r-xl);
    overflow: hidden;
    margin-bottom: 36px;
}

.post-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--ink);
    margin: 36px 0 12px;
    line-height: 1.3;
}

.post-content h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--ink);
    margin: 28px 0 10px;
}

.post-content p,
.post-content li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--ink-3);
}

.post-content p {
    margin-bottom: 16px;
}

.post-content ul,
.post-content ol {
    margin: 12px 0 20px 20px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content a {
    color: var(--blue);
}

.post-content a:hover {
    text-decoration: underline;
}

.post-content strong {
    color: var(--ink);
    font-weight: 700;
}

.post-content blockquote {
    border-left: 3px solid var(--blue);
    background: var(--bg-subtle);
    padding: 16px 20px;
    border-radius: 0 var(--r-md) var(--r-md) 0;
    margin: 24px 0;
    font-size: 17px;
    font-style: italic;
    color: var(--ink-3);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.post-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--bg-off);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    margin-top: 40px;
}

.post-author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--blue-dim);
    border: 2px solid var(--blue-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--blue);
    flex-shrink: 0;
}

.post-author-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}

.post-author-role {
    font-size: 13px;
    color: var(--ink-4);
    margin-top: 2px;
}

.post-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 48px;
}

.post-nav-btn {
    display: block;
    padding: 20px;
    border-radius: var(--r-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--sh-card);
    color: inherit;
    text-decoration: none;
    transition: all var(--t-md);
}

.post-nav-btn:hover {
    border-color: var(--blue-border);
    box-shadow: var(--sh-md);
    transform: translateY(-2px);
}

.post-nav-btn--next {
    text-align: right;
}

.post-nav-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ink-5);
    font-weight: 600;
    margin-bottom: 6px;
}

.post-nav-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.4;
}

.post-share-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.post-share-row .footer-social {
    color: var(--ink-4) !important;
    background: rgba(26, 110, 255, 0.06);
    border-color: rgba(26, 110, 255, 0.1);
}

.post-share-row .footer-social:hover {
    color: #fff !important;
}

.error-hero {
    background: var(--dark);
    padding: 120px 0 64px;
    position: relative;
    overflow: hidden;
}

.error-hero__title {
    font-size: clamp(30px, 4vw, 54px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1.08;
    max-width: 660px;
    margin-bottom: 18px;
}

.error-hero__desc {
    font-size: 17px;
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.62);
    max-width: 620px;
}

.error-content {
    padding: clamp(44px, 6vw, 84px) 0;
}

.error-content__card {
    max-width: 760px;
    padding: clamp(26px, 4vw, 38px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--sh-card);
}

.error-content__card h2 {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 12px;
}

.error-content__card p {
    color: var(--ink-3);
    line-height: 1.72;
    margin-bottom: 22px;
}

.error-content__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 900px) {
    .post-layout {
        grid-template-columns: 1fr;
    }

    .post-nav {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .post-hero {
        padding-top: 108px;
    }

    .error-content__actions .btn {
        width: 100%;
        justify-content: center;
    }
}
