﻿:root {
    --color-bg: #08131c;
    --color-bg-soft: #102230;
    --color-blue: #6283a2;
    --color-blue-deep: #4f7190;
    --color-blue-light: #9ab5c7;
    --color-card: rgba(255, 255, 255, 0.12);
    --color-card-strong: rgba(255, 255, 255, 0.18);
    --color-line: rgba(255, 255, 255, 0.2);
    --color-line-dark: rgba(14, 28, 39, 0.18);
    --color-text: #eef3f7;
    --color-text-soft: rgba(238, 243, 247, 0.76);
    --color-text-dark: #183043;
    --color-yellow: #f6d339;
    --radius-xl: 34px;
    --radius-lg: 28px;
    --radius-md: 22px;
    --radius-8:8px;
    --radius-pill: 999px;
    --shadow-soft: 0 28px 80px rgba(2, 7, 12, 0.24);
}

[hidden] {
    display: none !important;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Golos Text", sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

input,
textarea {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: inherit;
}

textarea {
    resize: vertical;
}

.shell {
    width: min(var(--shell), calc(100% - (2 * var(--gutter))));
    margin-inline: auto;
}

.section {
    position: relative;
    padding-block: 112px;
    overflow: clip;
}

.section--blue {
    background:
        linear-gradient(180deg, rgba(124, 157, 184, 0.28) 0%, rgba(73, 108, 138, 0.9) 100%),
        linear-gradient(180deg, #6d8baa 0%, #547694 100%);
}

.section--light {
    background:
        radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.25), transparent 22%),
        linear-gradient(180deg, #93b0c4 0%, #7798b1 100%);
    color: var(--color-text-dark);
}

.section__texture,
.hero__glow,
.partners-cta::before,
.site-footer::before {
    pointer-events: none;
}

.section__texture {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 18%, rgba(255, 255, 255, 0.15), transparent 18%),
        radial-gradient(circle at 76% 0%, rgba(255, 255, 255, 0.12), transparent 24%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 34%);
    opacity: 0.7;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand__word {
    display: inline-block;
    font-family: "Unbounded", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1.35px rgba(246, 211, 57, 0.82);
}

.brand__word--small {
    font-size: 1.45rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 8px 8px 8px 30px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-family: "Golos Text", sans-serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button:focus-visible,
.menu-toggle:focus-visible,
.menu-close:focus-visible,
.accordion__trigger:focus-visible,
.field input:focus,
.field textarea:focus {
    outline: 2px solid rgba(246, 211, 57, 0.75);
    outline-offset: 2px;
}

.button__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 50%;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.button--primary,
.button--header {
    background: var(--color-yellow);
    color: #132534;
    box-shadow: 0 12px 34px rgba(246, 211, 57, 0.22);
}

.button--primary .button__icon,
.button--header .button__icon {
    background: #132534;
    color: var(--color-yellow);
}

.button--light {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
}

.button--light .button__icon {
    background: rgba(8, 19, 28, 0.86);
    color: var(--color-yellow);
}

.button--dark {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text);
    border-color: rgba(255, 255, 255, 0.16);
}

.button--dark .button__icon {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-yellow);
}

.button--ghost {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
}

.button--ghost .button__icon {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-yellow);
}

.scroll-top-button {
    position: fixed;
    right: clamp(14px, 2.4vw, 36px);
    bottom: clamp(16px, 3vw, 36px);
    z-index: 44;
    width: 56px;
    height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    background: #ffffff;
    color: #1d3042;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 28px rgba(4, 10, 16, 0.26);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    pointer-events: none;
    transition:
        opacity 0.55s ease,
        transform 0.55s ease,
        visibility 0s linear 0.55s,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.scroll-top-button.is-active {
    visibility: visible;
    opacity: 0.65;
    transform: translateY(0);
    pointer-events: auto;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0s linear 0s,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.scroll-top-button:disabled {
    cursor: default;
}

.scroll-top-button__icon {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
}

.scroll-top-button__icon img {
    width: 17px;
    height: 15px;
    transform: rotate(-90deg);
}

.scroll-top-button.is-active:hover,
.scroll-top-button.is-active:focus-visible {
    opacity: 1;
    background: #d3b53a;
    border-color: #d3b53a;
}

.scroll-top-button.is-active:active {
    background: #a28b2b;
    border-color: #a28b2b;
    transform: translateY(2px);
}

.button--header {
    min-height: 50px;
    padding-left: 24px;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.03em;
}

.site-header .button--header {
    justify-content: center;
    gap: 0;
    padding-inline: 22px;
}

.button--header .button__icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    font-size: 1.15rem;
}

.button--menu,
.button--wide {
    width: 100%;
}

.menu-toggle,
.menu-close {
    border: 0;
    background: transparent;
    color: inherit;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #ffffff;
}

.menu-toggle span + span {
    margin-top: 5px;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    align-items: start;
    justify-items: end;
    padding: 0;
    background: rgba(4, 11, 17, 0.56);
    backdrop-filter: blur(10px);
}

.mobile-menu__panel {
    width: min(366px, 100%);
    min-height: 100dvh;
    padding: 24px 24px 32px;
    background:
        radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.26), transparent 22%),
        linear-gradient(180deg, #88a9bf 0%, #6f90ad 100%);
    color: #ffffff;
    display: grid;
    gap: 28px;
}

.mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-close {
    width: 40px;
    height: 40px;
    font-size: 2rem;
    line-height: 1;
}

.mobile-menu__nav {
    display: grid;
    justify-items: end;
    gap: 18px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.mobile-menu__nav a {
    font-family: "Unbounded", sans-serif;
    font-size: 1rem;
    line-height: 1.3;
    letter-spacing: 0.06em;
    text-align: right;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.services-chip:hover,
.services-chip:focus-visible {
    background: #f3f3f3;
}

.mobile-menu__contacts {
    display: grid;
    justify-items: end;
    gap: 8px;
    margin-top: 8px;
    padding-top: 12px;
    color: rgba(255, 255, 255, 0.86);
}

.mobile-menu__actions {
    display: grid;
    gap: 12px;
}

.hero {
    position: relative;
    min-height: 920px;
    padding-block: 148px 108px;
    overflow: clip;
    background: #051019;
}

.hero__background {
    position: absolute;
    inset: 0;
    background:
        url("../images/hero-bg.webp") center center / cover no-repeat;
    transform: scale(1.02);
}

.hero__glow {
    position: absolute;
    top: 38%;
    left: 0;
    right: 0;
    height: 168px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 239, 196, 0.36) 28%, rgba(255, 239, 196, 0.5) 54%, rgba(255, 255, 255, 0) 100%);
    filter: blur(56px);
    opacity: 0.88;
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
}

.hero__heading {
    display: flex;
    justify-content: flex-end;
    min-width: 0;
}

.hero__heading h1 {
    width: 100%;
    max-width: var(--container-max);
    margin: 0;
    text-align: left;
    font-family: "Unbounded", sans-serif;
    font-size: 52px;
    font-weight: 500;
    line-height: 76px;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.services-chip:hover,
.services-chip:focus-visible {
    background: #f3f3f3;
}

.hero__line {
    display: block;
    width: 100%;
}

.hero__line--right {
    text-align: right;
}

.hero__summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
    gap: 48px;
    align-items: end;
    min-width: 0;
}

.hero__mark {
    font-family: "Unbounded", sans-serif;
    font-size: 160px;
    font-weight: 700;
    line-height: 0.86;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.14);
    -webkit-text-stroke: 1.8px rgba(255, 255, 255, 0.92);
    text-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
}

.hero__copy {
    display: grid;
    gap: 24px;
    min-width: 0;
}

.hero__copy p {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
}

.hero__copy .button {
    width: min(100%, 461px);
}

.about {
    min-height: 720px;
    padding-block: 118px 108px;
    background:
        linear-gradient(180deg, #2b4e6e 0%, #5a7d9e 50%, #325678 100%);
}

.services {
    padding-block: 96px 92px;
}

.expertise {
    min-height: 1420px;
    padding-block: 112px 100px;
    background:
        linear-gradient(180deg, #497092 0%, #5a7d9e 100%);
}

.clients {
    min-height: 1180px;
    padding-block: 112px 104px;
}

.blog {
    min-height: 1480px;
    padding-block: 112px 96px;
}

.contact {
    padding-block: 92px 84px;
}

.section-copy {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: start;
    gap: 20px;
}

.section-copy--narrow {
    max-width: 462px;
}

.section-copy__eyebrow,
.footer-column__title {
    margin: 0;
    font-family: "Unbounded", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.services-chip:hover,
.services-chip:focus-visible {
    background: #f3f3f3;
}

.section-copy__title,
.partners-cta__copy h2 {
    margin: 0;
    font-family: "Unbounded", sans-serif;
    font-size: 34px;
    font-weight: 500;
    line-height: 48px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.services-chip:hover,
.services-chip:focus-visible {
    background: #f3f3f3;
}

.section-copy__text,
.section-head__text {
    margin: 0;
    font-size: 24px;
    line-height: 32px;
    color: var(--color-text-soft);
}

.blog-card p,
.review-card__quote,
.site-footer__brand p,
.footer-column span,
.contact__details span {
    margin: 0;
    font-size: 18px;
    line-height: 1.56;
    color: var(--color-text-soft);
}

.section-copy--dark .section-copy__text,
.section--light .section-copy__eyebrow,
.section--light .section-copy__title,
.section--light .section-head__text,
.section--light .contact__details,
.section--light .contact__details span {
    color: var(--color-text-dark);
}

.about__inner,
.expertise__inner,
.contact__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 60px;
}

.metrics-table {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.26);
    border-bottom: 1px solid rgba(255, 255, 255, 0.26);
}

.metrics-table__item {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 148px;
    padding: 24px 24px 22px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.metrics-table__item:nth-child(3n) {
    border-right: 0;
    padding-right: 0;
}

.metrics-table__item:nth-last-child(-n + 3) {
    border-bottom: 0;
}

.metrics-table__item strong {
    font-family: "Unbounded", sans-serif;
    font-size: 60px;
    font-weight: 700;
    line-height: 76px;
}

.metrics-table__item span {
    max-width: none;
    font-size: 32px;
    line-height: 40px;
    color: rgba(255, 255, 255, 0.88);
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
}

.hero__heading,
.hero__summary,
.hero__copy,
.about__inner > *,
.expertise__inner > *,
.contact__inner > *,
.section-head > *,
.expertise__content,
.accordion,
.accordion__pane,
.partners-cta__copy,
.partners-cta__aside,
.contact-form {
    min-width: 0;
}

.task-list {
    margin-top: 48px;
    border-top: 1px solid var(--color-line);
}

.task-row {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 400px;
    gap: 24px 28px;
    align-items: start;
    padding-block: 22px;
    border-bottom: 1px solid var(--color-line);
}

.task-row__index {
    font-family: "Unbounded", sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.5);
}

.task-row h3,
.accordion__trigger span:first-child,
.blog-card h3,
.case-preview h3,
.review-card__author strong {
    margin: 0;
}

.task-row h3 {
    font-family: "Unbounded", sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 34px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.services-chip:hover,
.services-chip:focus-visible {
    background: #f3f3f3;
}

.task-row p {
    margin: 0;
    font-size: 24px;
    line-height: 32px;
    color: var(--color-text-soft);
}

.section-action {
    display: flex;
    margin-top: 32px;
}

.section-action--right {
    justify-content: flex-end;
}

.accordion__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 86px;
    padding: 0;
    border: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: inherit;
    text-align: left;
}

.accordion__trigger span:first-child {
    font-family: "Unbounded", sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 34px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.services-chip:hover,
.services-chip:focus-visible {
    background: #f3f3f3;
}

.accordion__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
}

.accordion__pane {
    padding: 24px 0 16px;
}

.case-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(260px, 82vw, 464px);
    gap: 24px;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.case-slider::-webkit-scrollbar {
    display: none;
}

.case-preview {
    scroll-snap-align: start;
    display: grid;
    align-content: start;
    gap: 16px;
    min-height: 300px;
    padding: 24px;
    border-radius: var(--radius-8);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(226, 236, 243, 0.94) 100%);
    color: #173042;
}

.case-preview__eyebrow,
.blog-card__meta {
    margin: 0;
    font-family: "Unbounded", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(24, 48, 67, 0.68);
}

.case-preview h3 {
    font-family: "Unbounded", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.38;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.services-chip:hover,
.services-chip:focus-visible {
    background: #f3f3f3;
}

.case-preview p:last-of-type {
    margin: 0;
    font-size: 15px;
    line-height: 1.52;
    color: rgba(24, 48, 67, 0.78);
}

.case-preview a,
.blog-card a {
    margin-top: 8px;
    font-family: "Unbounded", sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #173042;
}

.case-slider__pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.case-slider__pagination span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.36);
}

.case-slider__pagination .is-active {
    width: 48px;
    border-radius: 999px;
    background: var(--color-yellow);
}

.expertise__action {
    grid-column: 1 / -1;
    margin-top: 8px;
}

.clients {
    background: transparent;
}

.page-home .clients .section-head__text {
    color: #ffffff;
}

.clients__backdrop {
    position: absolute;
    inset: 0;
}

.clients .shell,
.blog .shell {
    position: relative;
    z-index: 1;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 60px;
}

.review-card {
    min-height: 280px;
    padding: 30px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-soft);
}

.review-card__quote {
    color: #ffffff;
}

.review-card__author {
    display: grid;
    gap: 6px;
    margin-top: 28px;
}

.review-card__author span {
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-text-soft);
}

.logo-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    margin-top: 46px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.logo-strip span {
    display: grid;
    place-items: center;
    min-height: 78px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    font-family: "Unbounded", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 28px;
    margin-top: 60px;
}

.blog-card {
    display: grid;
    align-content: start;
    gap: 16px;
    min-height: 292px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-soft);
}

.blog-card h3 {
    font-family: "Unbounded", sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.28;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.services-chip:hover,
.services-chip:focus-visible {
    background: #f3f3f3;
}

.blog-card--featured {
    grid-column: span 7;
    grid-row: span 2;
    padding: 0;
    overflow: hidden;
}

.blog-card__media {
    min-height: 320px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(8, 19, 28, 0.5)),
        url("../images/hero-bg.webp") center center / cover no-repeat;
}

.blog-card__body {
    display: grid;
    gap: 16px;
    padding: 24px;
}

.blog-card--statement {
    grid-column: span 5;
    min-height: 320px;
    background: rgba(255, 255, 255, 0.18);
}

.blog-grid > .blog-card:not(.blog-card--featured):not(.blog-card--statement) {
    grid-column: span 4;
}

.partners-cta {
    position: relative;
    padding-block: 64px;
    background: url("../images/partners-bg.png") center / cover no-repeat;
    overflow: clip;
}

.partners-cta::before {
    display: none;
}

.partners-cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    min-height: 296px;
}

.partners-cta__copy {
    max-width: 920px;
    display: grid;
    gap: 20px;
}

.contact__inner {
    align-items: start;
}

.contact__details {
    display: grid;
    gap: 10px;
}

.contact-form {
    padding: 28px;
    border-radius: var(--radius-8);
    background: linear-gradient(180deg, #183043 0%, #0f2130 100%);
    color: #f4f8fb;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.field {
    display: grid;
    gap: 10px;
}

.field span {
    font-family: "Unbounded", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(244, 248, 251, 0.78);
}

.field input,
.field textarea {
    min-height: 58px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.field textarea {
    min-height: 148px;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(255, 255, 255, 0.46);
}

.field--full {
    grid-column: 1 / -1;
}

.contact-form .button {
    margin-top: 18px;
}

.site-footer {
    position: relative;
    padding-block: 116px 108px;
    background: #121d27;
    overflow: clip;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: auto auto -120px -80px;
    width: 720px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(86px);
}

.site-footer__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(300px, 0.43fr) minmax(0, 1fr);
    gap: 58px;
    min-height: 380px;
}

.site-footer__brand {
    display: grid;
    gap: 32px;
}

.site-footer__wordmark {
    font-family: "Unbounded", sans-serif;
    font-size: 112px;
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.12);
    -webkit-text-stroke: 1.8px rgba(255, 255, 255, 0.88);
}

.site-footer__columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 12px;
}

.footer__link,
.footer-column span {
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-text-soft);
}

@media (max-width: 1599px) {
    .hero {
        min-height: auto;
        padding-block: 136px 104px;
    }

    .hero__heading h1 {
        font-size: 52px;
        line-height: 1.28;
    }

    .hero__mark {
        font-size: 132px;
    }

    .task-row {
        grid-template-columns: 92px minmax(0, 1fr) 360px;
    }

    .site-footer__columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1279px) {
    .site-header__inner,
    .section-head,
    .about__inner,
    .expertise__inner,
    .contact__inner,
    .site-footer__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-header__nav,
    .site-header .button--header {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        justify-self: end;
    }

    .hero {
        padding-block: 128px 96px;
    }

    .hero__background {
        transform: none;
    }

    .hero__inner {
        gap: 40px;
    }

    .hero__heading h1 {
        font-size: clamp(2.2rem, 5vw, 3rem);
        line-height: 1.25;
        letter-spacing: 0.04em;
    }

    .hero__summary {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero__copy {
        max-width: 560px;
        justify-self: end;
    }

    .about,
    .expertise,
    .clients,
    .blog {
    }

    .hero__mark {
        font-size: clamp(5.5rem, 12vw, 8rem);
    }

    .metrics-table {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .metrics-table__item:nth-child(3n) {
        border-right: 1px solid rgba(255, 255, 255, 0.2);
        padding-right: 24px;
    }

    .metrics-table__item:nth-child(2n) {
        border-right: 0;
        padding-right: 0;
    }

    .metrics-table__item:nth-last-child(-n + 3) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .metrics-table__item:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .task-row {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .task-row p {
        grid-column: 2;
    }

    .review-grid,
    .logo-strip,
    .contact-form__grid,
    .site-footer__columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-card--featured {
        grid-column: span 12;
        grid-row: auto;
    }

    .blog-card--statement,
    .blog-grid > .blog-card:not(.blog-card--featured):not(.blog-card--statement) {
        grid-column: span 6;
    }

    .partners-cta__inner {
        align-items: flex-start;
        flex-direction: column;
        min-height: auto;
    }

    .partners-cta__copy,
    .partners-cta__title,
    .partners-cta__aside {
        width: 100%;
        max-width: 100%;
    }

    .partners-cta__copy,
    .partners-cta__aside {
        align-self: stretch;
    }
}

@media (max-width: 899px) {
    .section,
    .about,
    .services,
    .expertise,
    .clients,
    .blog,
    .contact {
        padding-block: 92px;
    }

    .hero {
        padding-block: 120px 88px;
    }

    .hero__inner {
        gap: 56px;
    }

    .hero__heading h1,
    .hero__summary {
        text-align: left;
    }

    .hero__line--right {
        text-align: left;
    }

    .hero__heading {
        justify-content: flex-start;
    }

    .hero__copy,
    .hero__copy .button {
        justify-self: start;
    }

    .section-copy__title,
    .partners-cta__copy h2 {
        font-size: 20px;
    }

    .section-copy__text,
    .section-head__text,
    .hero__copy p {
        font-size: 17px;
    }

    .metrics-table,
    .review-grid,
    .logo-strip,
    .contact-form__grid,
    .site-footer__columns,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .metrics-table__item,
    .metrics-table__item:nth-child(3n) {
        border-right: 0;
        padding-right: 0;
    }

    .metrics-table__item:nth-last-child(-n + 3) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .metrics-table__item:last-child {
        border-bottom: 0;
    }

    .task-row {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-block: 22px;
    }

    .task-row h3 {
        font-size: 22px;
    }

    .task-row p {
        grid-column: auto;
    }

    .section-action,
    .expertise__action {
        justify-content: stretch;
    }

    .section-action .button,
    .expertise__action .button {
        width: 100%;
    }

    .accordion__trigger span:first-child {
        font-size: 20px;
    }

    .blog-card--featured,
    .blog-card--statement,
    .blog-grid > .blog-card:not(.blog-card--featured):not(.blog-card--statement) {
        grid-column: auto;
    }

    .blog .blog-card h3 {
        font-size: 18px;
        line-height: 1.35;
    }

    .clients__bullets button {
        width: 36px;
    }

    .contact-form {
        padding: 24px;
    }

    .site-footer {
        padding-block: 80px;
    }

    .site-footer__inner {
        min-height: auto;
    }
}

@media (max-width: 599px) {
    .brand__word {
        font-size: 1.45rem;
        -webkit-text-stroke-width: 1px;
    }

    .hero {
        padding-block: 112px 72px;
    }

    .hero__mark {
        letter-spacing: 0.1em;
    }

    .hero__copy p,
    .section-copy__text,
    .section-head__text {
        font-size: 1rem;
    }

    .section-copy__title,
    .partners-cta__copy h2 {
        font-size: 28px;
    }

    .button {
        min-height: 58px;
        padding-left: 20px;
        font-size: 1rem;
        line-height: 1.25;
    }
    .button__icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        font-size: 1.35rem;
    }

    .case-slider {
        grid-auto-columns: minmax(260px, 82vw);
    }

    .review-card,
    .blog-card,
    .case-preview {
        padding: 22px;
    }

    .blog-card__media {
        min-height: 220px;
    }

    .mobile-menu__panel {
        width: 100%;
    }

    .site-footer__wordmark {
        font-size: 64px;
    }
}




.brand__image {
    display: block;
    width: 214px;
    height: auto;
}

.brand__image--floating {
    display: none;
}

.brand__image--small {
    width: 156px;
}

.site-header__nav-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: end;
    gap: 8px;
    margin-left: auto;
}

.site-header__meta {
    display: flex;
    gap: 24px;
    min-width: 0;
    font-size: 14px;
    line-height: 16px;
    color: rgba(233, 238, 242, 0.9);
}

.site-header__meta a {
    transition: color 0.3s ease;
}

.site-header__meta a:hover,
.site-header__meta a:focus-visible {
    color: var(--color-yellow);
}

.site-header__nav {
    gap: 10px 22px;
}

.site-header__nav a {
    font-size: 1rem;
    line-height: 1.3;
    letter-spacing: 0.06em;
}

.button__icon,
.button__plain-icon,
.accordion__icon,
.case-slider__nav {
    overflow: hidden;
}

.button__icon img,
.case-slider__nav img,
.blog-card a img {
    display: block;
    width: 15px;
    height: 12px;
    object-fit: contain;
}

.button__plain-icon img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.accordion__icon img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.button__plain-icon {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.button--icon-right {
    justify-content: space-between;
}

.button--download,
.button--telegram,
.button--max {
    min-height: auto;
    padding: 16px 24px;
    font-family: "Golos Text", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: none;
}

.button--download {
    justify-content: center;
    gap: 8px;
    padding: 16px 16px 16px 24px;
    border: 2px solid #1d3042;
    background: #ffffff;
    color: #1d3042;
}

.button--telegram,
.button--max {
    justify-content: center;
    gap: 8px;
    padding: 8px 16px 8px 24px;
    border: 2px solid #ffffff;
    background: #ffffff;
    color: #1d3042;
    width: fit-content;
}

.button--download .button__plain-icon {
    width: 15px;
    height: 17px;
    flex: 0 0 15px;
}

.button--download .button__plain-icon img {
    width: 15px;
    height: 17px;
}

.button--telegram .button__plain-icon,
.button--max .button__plain-icon {
    width: 19px;
    height: 17px;
    flex: 0 0 19px;
}

.button--telegram .button__plain-icon img,
.button--max .button__plain-icon img {
    width: 19px;
    height: 17px;
}

.hero__mark {
    display: flex;
    align-items: end;
    min-width: 0;
}

.hero__mark-image {
    width: min(100%, 625px);
    height: auto;
}

.hero__copy .button {
    width: min(100%, 461px);
}

.section-copy__title--stacked {
    display: grid;
    gap: 0;
}

.section-copy__title--stacked span {
    display: block;
}

.section-copy__accent {
    font-size: 28px;
    line-height: 1.22;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.section-copy__accent--blue {
    color: rgba(255, 255, 255, 0.5);
}

.section-copy__accent--light {
    color: rgba(255, 255, 255, 0.5);
}

.section-copy__accent--dark {
    color: rgba(29, 48, 66, 0.5);
}

.about .section__texture {
    background: url("../images/about-texture-v2.png") left top / 45.56px 45.56px repeat;
    opacity: 0.3;
}

.services {
    background:
    linear-gradient(
        180deg,
        rgba(11, 21, 32, 0.98) 0%,
        rgba(16, 34, 53, 0.97) 45%,
        rgba(23, 49, 74, 0.96) 100%
      );
}

.section-head--stacked {
    align-items: start;
}

.expertise .section__texture {
    background: url("../images/expertise-texture-v2.png") left top / 45.56px 45.56px repeat;
    opacity: 0.3;
}

.about .button--primary,
.expertise__action .button {
    width: min(100%, 466px);
}

.accordion__trigger {
    gap: 16px;
}

.accordion__trigger > span:first-child {
    flex: 1 1 auto;
}

.accordion__note {
    font-size: 14px;
    line-height: 16px;
    color: rgba(255, 255, 255, 0.5);
}

.accordion__icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border: 0;
}

.accordion__trigger:not(.is-active) .accordion__icon img {
    transform: rotate(45deg);
}

.case-preview {
    min-height: 460px;
}

.case-preview__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.case-preview__tags span {
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid #a98a00;
    background: var(--color-yellow);
    color: #1d3042;
    font-size: 14px;
    line-height: 16px;
}

.case-slider__pagination {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    min-height: 32px;
}

.case-slider__nav--prev,
.case-slider__nav--next {
    position: absolute;
    top: 0;
}

.case-slider__nav--prev {
    left: 0;
}

.case-slider__nav--next {
    right: 0;
}

.case-slider__nav {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    padding: 8px;
    border: 2px solid var(--color-yellow);
    border-radius: 999px;
}

.case-slider__nav:first-child img {
    transform: rotate(180deg);
}

.case-slider__bullets {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 32px;
    gap: 8px;
}

.case-slider__bullets span {
    width: 48px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.case-slider__bullets .is-active {
    background: #ddb400;
}

.clients__backdrop {
    background: url("../images/clients-bg.webp") center 35% / cover no-repeat;
    opacity: 0.55;
}

.review-card {
    min-height: 456px;
    padding: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.review-card__company {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.review-card__company-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #ffffff;
    object-fit: contain;
    padding: 7px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.review-card__company strong {
    font-family: "Unbounded", sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.22;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.services-chip:hover,
.services-chip:focus-visible {
    background: #f3f3f3;
}

.review-card__author {
    margin-top: 8px;
    padding-left: 24px;
    border-left: 4px solid rgba(255, 255, 255, 0.5);
}

.review-card__author strong {
    font-size: 24px;
    line-height: 32px;
}

.review-card__author span {
    font-size: 24px;
    line-height: 32px;
    color: #ffffff;
}

.logo-strip {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0;
    margin-top: 32px;
    padding-top: 0;
    border-top: 0;
}

.logo-strip span {
    min-height: 86px;
    padding: 0 10px;
    border: 0;
    background: transparent;
}

.logo-strip img {
    width: 100%;
    max-height: 86px;
    object-fit: contain;
}

.blog .section__texture {
    background:
        radial-gradient(
            circle at center top,
            rgba(210, 230, 255, 0.22) 0%,
            rgba(140, 175, 210, 0.10) 30%,
            transparent 65%
        ),
        linear-gradient(
            180deg,
            #6484a7 0%,
            #5a7a9d 40%,
            #4f6f92 75%,
            #48688b 100%
        );
}

.blog-grid {
    gap: 60px;
}

.blog-card {
    gap: 24px;
    background: rgba(20, 32, 43, 0.88);
    border-color: rgba(255, 255, 255, 0.1);
}

.blog-card--featured {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
    align-items: start;
    padding: 32px;
}

.blog-card--featured .blog-card__body {
    padding: 0;
    align-content: stretch;
}

.blog-card__media,
.blog-card__media--small {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(8, 19, 28, 0.35)),
        url("../images/blog-photo.webp") center / cover no-repeat;
}

.blog-card__media--small {
    min-height: 145px;
}

/* Картинка в карточке блога: без искажения, кроп внутри блока (главная) */
.blog-card--featured .blog-card__media {
    position: relative;
    min-height: 0;
    max-height: none;
    width: 100%;
    aspect-ratio: 992 / 557;
    overflow: hidden;
}

.blog-card--featured .blog-card__media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-width: none;
}

.blog .blog-card__media--small {
    position: relative;
    overflow: hidden;
}

.blog .blog-card__media--small > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-width: none;
}

.blog-card a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.blog-card a img {
    width: 16px;
    height: 16px;
}

.section-action--centered {
    justify-content: center;
}

.partners-cta {
    background:
        url("../images/partners-bg.webp") center / cover no-repeat;
}

.partners-cta__title {
    margin: 0;
    display: grid;
    gap: 8px;
    font-family: "Unbounded", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.services-chip:hover,
.services-chip:focus-visible {
    background: #f3f3f3;
}

.partners-cta__title span {
    display: block;
    font-size: 52px;
    line-height: 1.15;
    letter-spacing: 0.06em;
}

.partners-cta__title-small {
    font-size: clamp(18px, 4.6vw, 28px) !important;
    line-height: 1.2;
    letter-spacing: 0.04em !important;
    display: block;
    max-width: 100%;
    color: #e9eef2;
}

.partners-cta__aside {
    max-width: 520px;
    margin-left: auto;
    display: grid;
    gap: 24px;
    text-align: right;
}

.partners-cta__aside p {
    margin: 0;
    font-size: 24px;
    line-height: 32px;
}

.contact {
    background: url("../images/form-bg.webp") center / cover no-repeat;
}

.contact::before {
    content: none;
}

.contact__inner,
.contact .shell {
    position: relative;
    z-index: 1;
}

.contact-download {
    display: grid;
    gap: 16px;
}

.contact__details--strong a {
    font-family: "Golos Text", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    color: rgba(29, 48, 66, 0.8);
}

.contact-form__grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.field--wide {
    grid-column: span 2;
}

.attach-field {
    display: grid;
    gap: 8px;
    align-self: end;
    color: #ffffff;
    min-width: 0;
}

.attach-field > span:first-child {
    font-family: "Golos Text", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
}

.attach-field__dropzone {
    display: grid;
    justify-items: center;
    align-items: center;
    gap: 8px;
    position: relative;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    min-height: 146px;
    padding: 16px 32px;
    border: 2px dashed rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 16px;
    text-align: center;
}

.attach-field__text {
    display: block;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: center;
}

.attach-field__icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
}

/* Блок с прогрессом отправки + футер формы (contact) */
.contact-form__submit-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.contact-form__footer {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 0;
}

/* Общий индикатор отправки форм (contact + consult-modal) */
.imar-form-progress {
    width: 100%;
    min-width: 0;
    display: grid;
    gap: 10px;
}

.imar-form-progress[hidden] {
    display: none;
}

.imar-form-progress__text {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.imar-form-progress__track {
    position: relative;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.imar-form-progress__indeterminate {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 35%;
    max-width: 200px;
    border-radius: 2px;
    background: linear-gradient(90deg, #ddb400, #ffda36, #ddb400);
    animation: imar-form-progress-sweep 1.1s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .imar-form-progress__indeterminate {
        animation: none;
        left: 0;
        right: 0;
        width: 100%;
        max-width: none;
        opacity: 0.85;
    }
}

@keyframes imar-form-progress-sweep {
    0% {
        transform: translate3d(-100%, 0, 0);
    }
    100% {
        transform: translate3d(350%, 0, 0);
    }
}

.imar-form-progress--modal {
    margin-top: 0;
    margin-bottom: 0;
}

.consent-note {
    margin: 0;
    font-size: 14px;
    line-height: 16px;
    color: rgba(255, 255, 255, 0.6);
}

.consent-note a {
    color: var(--color-yellow);
}

.site-footer {
    padding-block: 64px 0;
    background: #121d27;
}

.site-footer::before {
    display: none;
}

.site-footer__inner {
    grid-template-columns: minmax(0, 2.12fr) minmax(280px, 1fr);
    gap: clamp(28px, 3.2vw, 60px);
    min-height: auto;
    padding-bottom: 64px;
}

.site-footer__brand-logo {
    width: 459px;
    height: auto;
}

.site-footer__contacts-block {
    display: grid;
    gap: 24px;
}

.site-footer__messengers {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.site-footer__contacts-main {
    display: grid;
    gap: 8px;
}

.site-footer__phone,
.site-footer__mail {
    font-family: "Unbounded", sans-serif;
    color: #ffffff;
}

.site-footer__phone {
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.services-chip:hover,
.services-chip:focus-visible {
    background: #f3f3f3;
}

.site-footer__mail {
    font-size: 26px;
    line-height: 26px;
    letter-spacing: 0.04em;
}

.site-footer__legal {
    display: grid;
    gap: 8px;
    max-width: 464px;
    font-size: 14px;
    line-height: 16px;
    color: #ffffff;
}

.site-footer__legal p {
    margin: 0;
}

.site-footer__menu {
    display: grid;
    align-content: space-between;
    gap: 18px;
    padding-left: clamp(24px, 4vw, 64px);
    border-left: 4px solid rgba(255, 255, 255, 0.1);
}

.site-footer__menu .footer__link {
    font-family: "Unbounded", sans-serif;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
}

.site-footer__bottom {
    width: 100%;
    margin-inline: 0;
    padding: 16px 0;
    background: #121d27;
    font-size: 14px;
    line-height: 16px;
    color: rgba(255, 255, 255, 0.25);
}

.site-footer__bottom-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-footer__bottom-inner > span {
    flex: 0 0 auto;
    white-space: nowrap;
}

.site-footer__bottom-links {
    display: flex;
    justify-content: flex-end;
    flex-wrap: nowrap;
    margin-left: auto;
    min-width: 0;
    gap: 25px;
}

.site-footer__bottom a {
    color: inherit;
    white-space: nowrap;
}

@media (max-width: 1279px) {
    .site-header__nav-group {
        display: none;
    }

    .section-copy__accent,
    .partners-cta__title-small {
        font-size: 24px !important;
    }

    .contact-form__grid--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer__menu {
        padding-left: 0;
        border-left: 0;
    }

    .site-footer__bottom {
        padding-inline: 0;
    }

}

@media (max-width: 899px) {
    .brand__image {
        width: 156px;
    }

    .hero__mark-image {
        width: min(100%, 360px);
    }

    .contact-form__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .logo-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .contact-form__grid--three {
        grid-template-columns: 1fr;
    }

    .field--wide {
        grid-column: auto;
    }

    .partners-cta__title span {
        font-size: 20px;
        line-height: 28px !important;
    }

    .partners-cta__title .partners-cta__title-small {
        font-size: 16px !important;
        letter-spacing: 0.03em !important;
        line-height: 32px !important;
    }

    .partners-cta__aside {
        max-width: none;
        text-align: left;
        margin-left: 0;
    }

    .review-card {
        padding: 24px;
    }

    .review-card__company {
        align-items: flex-start;
        flex-direction: column;
    }

    .blog-card--featured {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}










/* Figma alignment pass: desktop typography, spacing, and about/tasks composition
   (только min-width: 1280px — планшеты/мобилки: отдельные брейкпоинты ниже) */
@media (min-width: 1280px) {
    /* padding героя не трогаем: лишний padding-top + cover давали пустоту/сдвиг картинки вверху */
    .hero__background {
        background-position: top center;
    }

    .hero__inner {
        gap: 98px;
    }

    .hero__heading h1 {
        letter-spacing: 0.03em;
    }

    .hero__summary {
        gap: 64px;
    }

    .about {
        padding-block: 120px 108px;
    }

    .button {
        font-size: 24px;
        letter-spacing: 0.03em;
    }

    /* Сильнее, чем правило .button выше: иначе 24px перебивает «Связаться» в шапке. */
    .site-header .button.button--header,
    .site-header .button.button--header span {
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 0.03em;
    }

    .button--download,
    .button--telegram,
    .button--max {
        font-size: 1rem;
        line-height: 1.4;
        letter-spacing: 0.06em;
    }

    .case-preview {
        padding: 32px;
    }

    .case-preview h3 {
        font-size: 16px;
        line-height: 24px;
        font-weight: 600;
        letter-spacing: 0.06em;
    }

    .case-preview p:last-of-type {
        font-size: 16px;
        line-height: 22px;
    }

    .about__inner,
    .expertise__inner,
    .contact__inner,
    .section-head {
        grid-template-columns: minmax(320px, 0.43fr) minmax(0, 1fr);
    }

    .case-slider {
        grid-auto-columns: 464px;
    }

    .about__inner,
    .section-head,
    .expertise__inner {
        gap: 64px;
    }

    .about .section-copy__text,
    .services .section-head__text,
    .expertise .section-copy__text,
    .clients .section-head__text,
    .blog .section-head__text {
        color: #ffffff;
        font-size: 24px;
        line-height: 32px;
    }

    .about__stats {
        display: grid;
        gap: 60px;
    }

    .about__action {
        display: flex;
        justify-content: center;
    }

    .about__action .button {
        width: 466px;
    }

    .metrics-table {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px 64px;
        border: 0;
    }

    .metrics-table__item,
    .metrics-table__item:nth-child(3n),
    .metrics-table__item:nth-last-child(-n + 3) {
        padding: 0;
        border: 0;
    }

    .metrics-table__item strong {
        font-size: 60px;
        line-height: 76px;
        font-weight: 700;
    }

    .metrics-table__item span {
        font-size: 32px;
        line-height: 40px;
        color: #ffffff;
    }

    .section-copy__title,
    .partners-cta__copy h2 {
        font-size: 34px;
        line-height: 48px;
        letter-spacing: 0.06em;
    }

    .section-copy__accent {
        font-size: 28px;
        line-height: 34px;
        letter-spacing: 0.06em;
    }

    .task-list {
        margin-top: 32px;
        border-top: 0;
    }

    .task-row {
        grid-template-columns: 128px minmax(0, 1fr) minmax(200px, 463px);
        column-gap: 64px;
        padding-block: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }

    .task-row__index {
        font-family: "Golos Text", sans-serif;
        font-size: 32px;
        line-height: 40px;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.5);
    }

    .task-row h3 {
        font-family: "Golos Text", sans-serif;
        font-size: 24px;
        line-height: 32px;
        font-weight: 700;
        letter-spacing: 0.03em;
        text-transform: none;
    }

    .task-row p {
        font-size: 24px;
        line-height: 32px;
        color: #ffffff;
    }

    .section-action--right {
        width: var(--case-controls-width, 100%);
        margin-left: auto;
        justify-content: flex-start;
    }

    .section-action--right .button {
        width: 466px;
    }

    .accordion__trigger span:first-child {
        font-size: 28px;
        line-height: 34px;
        letter-spacing: 0.06em;
    }

    .review-card__quote {
        font-size: 24px;
        line-height: 32px;
        color: #ffffff;
    }

    .blog-card h3 {
        font-size: 16px;
        line-height: 24px;
        font-weight: 600;
        letter-spacing: 0.06em;
    }

    .blog-card p,
    .blog-card__meta {
        font-family: "Golos Text", sans-serif;
        font-size: 16px;
        line-height: 22px;
    }
}

/* Residual alignment fixes */
.expertise {
    height: auto;
}

.attach-field__icon img {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.services .section-head {
    grid-template-columns: 1fr;
    align-items: start;
}

.services .section-head__text {
    margin-top: 24px;
    max-width: 992px;
}

.about__action {
    margin-top: 60px;
}

.about__action {
    display: flex;
    justify-content: center;
}

.about__action .button {
    width: min(100%, 466px);
}

/* Pixel pass: clients + blog (desktop) */
@media (min-width: 1280px) {
    .clients .section-head,
    .blog .section-head {
        grid-template-columns: 1fr;
        gap: 24px;
        width: var(--case-controls-width, 100%);
    }

    .review-grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 992px;
        gap: 60px;
        margin-top: 60px;
        overflow: hidden;
    }

    .review-card {
        min-height: 456px;
        padding: 48px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(2px);
        box-shadow: none;
    }

    .review-card__company strong {
        font-size: 28px;
        line-height: 34px;
        letter-spacing: 0.06em;
    }

    .review-card__quote {
        font-size: 24px;
        line-height: 32px;
        color: #ffffff;
    }

    .review-card__author {
        width: 100%;
        margin-top: 8px;
        padding-left: 24px;
        border-left: 4px solid rgba(255, 255, 255, 0.5);
    }

    .review-card__author strong,
    .review-card__author span {
        font-size: 24px;
        line-height: 32px;
    }

    .clients__pagination {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        margin-top: 24px;
    }

    .clients__nav {
        display: grid;
        place-items: center;
        width: 32px;
        height: 32px;
        padding: 8px;
        border: 2px solid var(--color-yellow);
        border-radius: 999px;
    }

    .clients__nav--prev img {
        transform: rotate(180deg);
    }

    .clients__bullets {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .clients__bullets span {
        width: 48px;
        height: 8px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.1);
    }

    .clients__bullets .is-active {
        background: #ddb400;
    }

    .logo-strip {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 344px;
        gap: 60px;
        margin-top: 32px;
        padding-top: 0;
        border-top: 0;
        overflow: hidden;
    }

    .logo-strip span {
        min-height: 146px;
        display: grid;
        place-items: center;
        padding: 30px 72px;
        border: 2px solid rgba(103, 148, 184, 0.85);
        border-radius: 32px;
        background: transparent;
    }

    .logo-strip img {
        width: 200px;
        max-height: 86px;
        object-fit: contain;
    }

    .blog-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 64px;
        margin-top: 60px;
    }

    .blog-card {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "media media"
            "title title"
            "body body"
            "meta link";
        align-content: start;
        gap: 16px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .blog-card--featured {
        grid-column: 1 / span 2;
        grid-row: 1;
        min-height: 311px;
        padding: 32px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        background: linear-gradient(180deg, #14202b 0%, #1d3042 100%);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas: "body media";
        gap: 60px;
    }

    .blog-card--featured .blog-card__body {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "title title"
            "body body"
            ". ."
            "meta link";
        gap: 16px;
        padding: 0;
    }

    .blog-card--featured .blog-card__meta {
        grid-area: meta;
    }

    .blog-card--featured h3 {
        grid-area: title;
    }

    .blog-card--featured p:not(.blog-card__meta) {
        grid-area: body;
    }

    .blog-card--featured a {
        grid-area: link;
        border: 0;
        padding: 0;
        align-self: end;
    }

    .blog-card--featured .blog-card__media {
        grid-area: media;
    }

    .blog-card--statement {
        grid-column: 3;
        grid-row: 1;
    }

    .blog-card--plain {
        grid-column: 2;
        grid-row: 2;
    }

    .blog-card--image-left {
        grid-column: 1;
        grid-row: 2;
    }

    .blog-card--image-right {
        grid-column: 3;
        grid-row: 2;
    }

    .blog-card--image-top .blog-card__media--small {
        grid-area: media;
        min-height: 261px;
    }

    .blog-card__meta {
        grid-area: meta;
        margin: 0;
        font-family: "Golos Text", sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 22px;
        letter-spacing: 0;
        text-transform: none;
        color: #ffffff;
        padding-bottom: 8px;
        border-bottom: 2px solid rgba(255, 255, 255, 0.9);
    }

    .blog-card h3 {
        grid-area: title;
        font-family: "Unbounded", sans-serif;
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .blog-card p:not(.blog-card__meta) {
        grid-area: body;
        margin: 0;
        font-family: "Golos Text", sans-serif;
        font-size: 16px;
        line-height: 22px;
        color: #ffffff;
    }

    .blog-card a {
        grid-area: link;
        margin: 0;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding-bottom: 8px;
        border-bottom: 2px solid rgba(255, 255, 255, 0.9);
        font-family: "Golos Text", sans-serif;
        font-size: 16px;
        font-weight: 600;
        line-height: 22px;
        letter-spacing: 0;
        text-transform: none;
        color: var(--color-yellow);
        justify-self: end;
        align-self: end;
    }

    .blog-card a img {
        width: 16px;
        height: 16px;
    }
}

/* Strong overrides for desktop parity */
@media (min-width: 1280px) {
    .clients .review-grid {
        grid-template-columns: none !important;
        grid-auto-flow: column !important;
        grid-auto-columns: 992px !important;
        gap: 64px !important;
        overflow: hidden !important;
    }

    .clients .review-grid > .review-card {
        width: 992px !important;
        min-height: 456px !important;
    }

    .clients .logo-strip {
        display: flex !important;
        width: min(var(--container-max), calc(100vw - (2 * var(--container-gutter)))) !important;
        gap: 0 !important;
        overflow: hidden !important;
        margin-top: 32px !important;
    }

    .clients .logo-strip > span {
        flex: 0 0 auto !important;
        min-height: auto !important;
        padding: 56px 120px !important;
        border: 4px dashed #6794b8 !important;
        border-radius: 32px !important;
        background: transparent !important;
    }

    .clients .logo-strip img {
        width: 200px !important;
        max-width: none !important;
        max-height: 86px !important;
        object-fit: contain !important;
    }

    .blog .blog-grid > .blog-card--featured {
        grid-column: 1 / span 2 !important;
        grid-row: 1 !important;
    }

    .blog .blog-grid > .blog-card--statement {
        grid-column: 3 !important;
        grid-row: 1 !important;
    }

    .blog .blog-grid > .blog-card--plain {
        grid-column: 2 !important;
        grid-row: 2 !important;
    }

    .blog .blog-grid > .blog-card--image-left {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }

    .blog .blog-grid > .blog-card--image-right {
        grid-column: 3 !important;
        grid-row: 2 !important;
    }
}





/* Final pixel pass: services / expertise / blog */
@media (min-width: 1280px) {
    .services .section-head {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 0 !important;
    }

    .services .section-head__text {
        margin-top: 24px !important;
        max-width: 992px;
    }

    .expertise__action {
        grid-column: 2;
        justify-self: start;
        margin-top: 32px;
    }

    .expertise__action .button {
        width: 466px;
    }

    .blog .blog-card__date-link {
        grid-column: 1 / -1;
        grid-row: 4;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 8px 0;
        border-bottom: 2px solid rgba(255, 255, 255, 0.9);
    }

    .blog .blog-card__date-link .blog-card__meta {
        margin: 0;
        padding: 0 !important;
        border: 0 !important;
        color: #ffffff;
    }

    .blog .blog-card__date-link a {
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        justify-self: auto !important;
        align-self: auto !important;
    }

    .blog .blog-card--featured .blog-card__date-link {
        grid-column: 1 / -1;
        grid-row: 4;
    }
}

/* Clients carousel */
.clients-slider {
    margin-top: 60px;
    overflow: hidden;
    touch-action: pan-y;
}

.clients .review-grid {
    display: flex !important;
    gap: 24px !important;
    margin-top: 0 !important;
    transition: transform 0.45s ease;
    will-change: transform;
    overflow: visible !important;
}

.clients .review-grid > .review-card {
    flex: 0 0 100% !important;
    width: 100% !important;
}

.clients__pagination {
    margin-top: 24px;
}

.clients__nav {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 2px solid var(--color-yellow);
    border-radius: 999px;
    background: transparent;
    line-height: 0;
    overflow: hidden;
}

.clients__nav img {
    display: block;
    width: 12px;
    height: 12px;
    object-fit: contain;
}

.clients__nav--prev img {
    transform: rotate(180deg);
}

.clients__bullets button {
    width: 48px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: rgba(255, 255, 255, 0.1);
}

.clients__bullets button.is-active {
    background: #ddb400;
}

@media (min-width: 1280px) {
    .clients .review-grid {
        gap: 64px !important;
    }

    .clients .review-grid > .review-card {
        flex: 0 0 992px !important;
        width: 992px !important;
    }
}


/* FMCG carousel: ensure hidden cards are reachable via controls */
.case-slider {
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.case-slider__nav {
    background: transparent;
    cursor: pointer;
}

.case-slider__nav:disabled {
    opacity: 0.45;
    cursor: default;
}

.case-slider__bullets button {
    width: 48px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.case-slider__bullets button.is-active {
    background: #ddb400;
}

/* Expertise FMCG: note alignment + full-width carousel reveal */
.accordion__trigger > span.accordion__label {
    flex: 0 0 auto;
}

.accordion__note {
    display: inline-block;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
    white-space: normal;
}

@media (min-width: 1280px) {
    .expertise .accordion__pane.is-open .case-slider__pagination {
        width: var(--case-controls-width, 100%);
        margin-left: var(--case-start-offset, 0px);
    }
    .expertise .accordion__pane.is-open {
        position: relative;
        left: calc(-1 * var(--case-bleed-left, 0px));
        width: 100vw;
        margin-right: 0;
    }

    .expertise .accordion__pane.is-open .case-slider {
        padding-left: var(--case-start-offset, 0px);
        scroll-padding-left: var(--case-start-offset, 0px);
    }
}

.accordion__trigger--note {
    gap: 8px;
}

.case-slider .case-preview {
    background: #FFFFFF;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.case-slider .case-preview h3,
.case-slider .case-preview p,
.case-slider .case-preview a {
    transition: color 0.3s ease;
}

.case-slider .case-preview:hover,
.case-slider .case-preview:focus-within {
    background-color: #FCF5D0 !important;
    color: #1D3042;
}

.case-slider .case-preview:hover h3,
.case-slider .case-preview:hover p,
.case-slider .case-preview:hover a,
.case-slider .case-preview:focus-within h3,
.case-slider .case-preview:focus-within p,
.case-slider .case-preview:focus-within a {
    color: #1D3042;
}





.expertise__content {
    position: relative;
    z-index: 3;
}





/* Yellow button states */
.button--primary:hover,
.button--primary:focus-visible,
.button--header:hover,
.button--header:focus-visible {
    background: #D3B53A;
}

.button--primary:active,
.button--header:active {
    background: #A28B2B;
    transform: translateY(2px);
}

.case-slider__nav,
.clients__nav {
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.case-slider__nav:hover,
.case-slider__nav:focus-visible,
.clients__nav:hover,
.clients__nav:focus-visible {
    background: #D3B53A;
    border-color: #D3B53A;
}

.case-slider__nav:active,
.clients__nav:active {
    background: #A28B2B;
    border-color: #A28B2B;
    transform: translateY(2px);
}


/* Yellow CTA icon size parity with Figma */
.button--primary .button__icon,
.button--header .button__icon {
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;
}

/* Header recovery + divider under top menu */
.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 30;
    padding-top: 16px;
}

.site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 36px;
    min-height: 64px;
    position: relative;
    padding-bottom: 14px;
}

.site-header__inner::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(233, 238, 242, 0.28);
    pointer-events: none;
}

.site-header__nav-group {
    display: grid;
    justify-items: end;
    gap: 8px;
    margin-left: auto;
}

.site-header__nav {
    display: flex;
    justify-content: flex-end;
    min-width: 0;
    flex-wrap: wrap;
    gap: 10px 22px;
}

.site-header__meta {
    display: flex;
    gap: 24px;
    font-size: 14px;
    line-height: 16px;
    color: rgba(233, 238, 242, 0.9);
}

@media (max-width: 1279px) {
    .site-header {
        transition: transform 0.28s ease, opacity 0.2s ease;
        will-change: transform, opacity;
    }

    .site-header.is-mobile-hidden {
        transform: translateY(calc(-100% - 8px));
        opacity: 0;
        pointer-events: none;
    }

    body.menu-open .site-header,
    body.cases-filters-open .site-header {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .site-header__inner {
        gap: 12px;
        padding-bottom: 0;
    }

    .site-header__inner::after {
        display: none;
    }

    .cases-mobile-tools p {
        font-family: "Unbounded", sans-serif;
        font-size: 24px;
        font-weight: 500;
        line-height: 32px;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        color: #ffffff;
    }
}

/* Header final responsive fix: desktop nav + mobile toggle */
@media (max-width: 1279px) {
    .site-header__nav-group,
    .site-header .button--header {
        display: none !important;
    }

    .menu-toggle {
        display: inline-flex !important;
        justify-self: end;
        grid-column: 3;
    }
}

@media (min-width: 1280px) {
    .site-header__nav-group {
        display: grid !important;
    }

    .site-header .button--header {
        display: inline-flex !important;
    }

    .menu-toggle {
        display: none !important;
    }
}

/* Floating header on scroll + top-hover reveal (desktop) */
@media (min-width: 1280px) and (hover: hover) and (pointer: fine) {
    .site-header {
        transition: transform 0.28s ease, opacity 0.22s ease;
    }

    .site-header.is-floating {
        position: fixed;
        inset: 0 0 auto;
        z-index: 80;
        padding-top: 0;
        transform: translateY(calc(-100% - 8px));
        opacity: 0;
        pointer-events: none;
    }

    .site-header.is-floating .site-header__inner {
        margin-top: 0;
        padding-top: 14px;
        padding-bottom: 12px;
        background: rgba(0, 0, 0, 0.5);
    }

    .site-header.is-floating.is-floating-visible {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}

/* Floating header bugfix: full-width 75% backdrop */
@media (min-width: 1280px) and (hover: hover) and (pointer: fine) {
    .site-header.is-floating {
        background: rgba(0, 0, 0, 0.75);
    }

    .site-header.is-floating .site-header__inner {
        background: transparent;
    }
}

/* Top menu labels in uppercase */
.site-header__nav a {
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
}

.site-header__nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--color-yellow);
    transform: translateX(-50%);
    opacity: 0;
    transition: width 0.3s ease, opacity 0.3s ease;
}

.site-header__nav a:not(.is-active):hover::after,
.site-header__nav a:not(.is-active):focus-visible::after {
    width: 100%;
    opacity: 1;
}

.site-header__nav a.is-active::after {
    content: "";
    width: 100%;
    opacity: 1;
    background: #ffffff;
}

.page-services .site-header__nav a.is-active,
.page-cases .site-header__nav a.is-active,
.page-about .site-header__nav a.is-active,
.page-article .site-header__nav a.is-active,
.page-privacy .site-header__nav a.is-active,
.page-case .site-header__nav a.is-active,
.page-blog .site-header__nav a.is-active,
.page-partners .site-header__nav a.is-active,
.page-contacts .site-header__nav a.is-active {
    border-bottom: 0 !important;
}

/* Записи (single) и page.php: шапка как на page-about — иначе .site-header.is-floating
   (padding-top: 0) «прижимает» меню к верху, а на about позже в каскаде 16px сохраняются */
.page-article .site-header,
.page-privacy .site-header,
.page-case .site-header {
    padding-top: 16px;
}

.page-article .site-header__inner,
.page-privacy .site-header__inner,
.page-case .site-header__inner {
    min-height: 56px;
    padding-bottom: 16px;
}

/* Header/Footer menu links: unified hover behavior */
.site-header__nav a,
.site-footer__menu .footer__link,
.site-footer__phone,
.site-footer__mail,
.site-header a,
.mobile-menu a,
.site-footer a {
    transition: color 0.2s ease !important;
}

.site-header__nav a:hover,
.site-header__nav a:focus-visible,
.site-header__meta a:hover,
.site-header__meta a:focus-visible,
.site-footer__menu .footer__link:hover,
.site-footer__menu .footer__link:focus-visible,
.site-footer__phone:hover,
.site-footer__phone:focus-visible,
.site-footer__mail:hover,
.site-footer__mail:focus-visible {
    color: var(--color-yellow) !important;
}

.site-footer__bottom-links a:hover,
.site-footer__bottom-links a:focus-visible {
    color: #ffffff !important;
}

/* Floating header final state-machine override */
@media (min-width: 1280px) and (hover: hover) and (pointer: fine) {
    .site-header.is-floating {
        visibility: hidden !important;
        opacity: 0 !important;
        transform: translateY(-100%) !important;
        pointer-events: none !important;
        transition: opacity 0.3s ease, transform 0.3s ease !important;
    }

    .site-header.is-floating.is-floating-hiding,
    .site-header.is-floating.is-floating-visible {
        visibility: visible !important;
    }

    .site-header.is-floating.is-floating-visible {
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
        transition: opacity 0.4s ease, transform 0.4s ease !important;
    }

    .site-header.is-floating.is-floating-instant,
    .site-header.is-floating.is-floating-instant.is-floating-visible,
    .site-header.is-floating.is-floating-instant.is-floating-hiding {
        transition: none !important;
    }
}

/* White buttons interaction: download + telegram + MAX */
.button--download,
.button--telegram,
.button--max {
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button--download:hover,
.button--download:focus-visible,
.button--telegram:hover,
.button--telegram:focus-visible,
.button--max:hover,
.button--max:focus-visible {
    background-color: #C5C5C5 !important;
}

.button--download:active,
.button--telegram:active,
.button--max:active {
    background-color: #B2B2B2 !important;
    transform: translateY(2px);
}

/* Blog cards hover: light transparent yellow tint */
.blog .blog-card {
    transition: background-color 0.25s ease;
}

.blog .blog-card:hover,
.blog .blog-card:focus-within {
    background-color: rgba(255, 218, 54, 0.14) !important;
}

/* Blog cards hover final: tint only inner content layer */
.blog .blog-card__inner {
    display: grid;
    align-content: start;
    gap: 16px;
    border-radius: 8px;
    transition: background-color 0.25s ease;
}

@media (min-width: 1280px) {
    .blog .blog-card:not(.blog-card--featured) > .blog-card__inner {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "media media"
            "title title"
            "body body"
            "meta link";
    }
}

.blog .blog-card:hover,
.blog .blog-card:focus-within {
    background-color: transparent !important;
}

.blog .blog-card:hover .blog-card__inner,
.blog .blog-card:focus-within .blog-card__inner,
.blog .blog-card:hover .blog-card__body,
.blog .blog-card:focus-within .blog-card__body {
    background-color: rgba(255, 218, 54, 0.14) !important;
}

/* Contact attach dropzone hover */
.attach-field__dropzone {
    transition: background-color 0.2s ease, border-color 0.2s ease, border-style 0.2s ease, color 0.2s ease, transform 0.2s ease;
    user-select: none;
}

.attach-field:hover .attach-field__dropzone,
.attach-field:focus-within .attach-field__dropzone {
    background-color: rgba(255, 218, 54, 0.2) !important;
    border-style: solid !important;
    border-color: rgba(255, 218, 54, 0.95) !important;
    color: #ffffff;
}

/* Contact: attach dropzone should feel interactive */
.attach-field__dropzone {
    cursor: pointer;
}

.attach-field__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    border: 0;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}

.attach-field__clear {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 40px;
    height: 40px;
    display: none;
    place-items: center;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: transparent;
    color: #ffda36;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.attach-field__clear:hover,
.attach-field__clear:focus-visible {
    color: #ffda36;
    background: rgba(255, 218, 54, 0.16);
}

.attach-field.is-filled .attach-field__dropzone {
    border-style: solid !important;
    border-color: rgba(255, 218, 54, 0.95) !important;
    background-color: rgba(255, 218, 54, 0.2) !important;
    color: #ffffff;
    cursor: default;
    justify-items: stretch;
}

.attach-field.is-filled .attach-field__text {
    width: 100%;
    max-width: 100%;
    padding-right: 64px;
    text-align: left;
    align-self: center;
    box-sizing: border-box;
}

.attach-field.is-filled .attach-field__icon {
    display: none;
}

.attach-field.is-filled .attach-field__clear {
    display: grid;
}

.attach-field.is-error .attach-field__dropzone {
    border-style: solid !important;
    border-color: #d66a6a !important;
    background-color: rgba(214, 106, 106, 0.16) !important;
    color: #ffffff;
}

.attach-field .attach-field__dropzone:active {
    background-color: #a28b2b !important;
    border-color: #a28b2b !important;
    transform: translateY(2px);
}

/* Clients: spacing + right bracket icon in author signature */
.clients .review-card__author {
    position: relative;
    margin-top: 36px !important;
    padding-right: 52px;
}

.clients .review-card__author::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 31px;
    height: 34px;
    background-image: url("../images/comment-quotes.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
}

/* Clients Logo Strip: Figma default/hover assets + stable corner frame */
.clients .logo-strip {
    width: 100% !important;
    margin-top: 32px !important;
    padding-top: 0 !important;
    border-top: 0 !important;
    overflow: hidden !important;
}

.clients .logo-strip__track {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: max-content;
    will-change: transform;
    transform: translateZ(0);
    animation: clients-logo-marquee 36s linear infinite;
}

.clients .logo-card {
    position: relative;
    flex: 0 0 440px;
    width: 440px;
    height: 198px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 120px;
    border: 0 !important;
    border-radius: 32px;
    box-sizing: border-box;
    background: transparent;
    overflow: hidden;
}

.clients .logo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: url("../images/logos/frame.png") center / 100% 100% no-repeat;
}

.clients .logo-card__img {
    position: absolute;
    width: 200px;
    height: 86px;
    object-fit: contain;
    transition: opacity 0.3s ease;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.clients .logo-card__img--default {
    z-index: 2;
    opacity: 1;
    visibility: visible;
}

.clients .logo-card__img--hover {
    z-index: 1;
    opacity: 0;
    visibility: hidden;
}

.clients .logo-card:hover .logo-card__img--default {
    opacity: 0;
    visibility: hidden;
}

.clients .logo-card:hover .logo-card__img--hover {
    opacity: 1;
    visibility: visible;
}

@keyframes clients-logo-marquee {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .clients .logo-strip__track {
        animation: none;
    }
}

/* Blog hover refinement: full featured tint + 10px outer glow for regular cards */
.blog .blog-card--featured {
    position: relative;
    overflow: hidden;
}

.blog .blog-card--featured::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(255, 218, 54, 0.14);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 0;
}

.blog .blog-card--featured > * {
    position: relative;
    z-index: 1;
}

.blog .blog-card--featured:hover::after,
.blog .blog-card--featured:focus-within::after {
    opacity: 1;
}

.blog .blog-card--featured:hover .blog-card__body,
.blog .blog-card--featured:focus-within .blog-card__body,
.blog .blog-card--featured:hover .blog-card__inner,
.blog .blog-card--featured:focus-within .blog-card__inner {
    background-color: transparent !important;
}

.blog .blog-card:not(.blog-card--featured):hover .blog-card__inner,
.blog .blog-card:not(.blog-card--featured):focus-within .blog-card__inner,
.blog .blog-card:not(.blog-card--featured):hover .blog-card__body,
.blog .blog-card:not(.blog-card--featured):focus-within .blog-card__body {
    background-color: rgba(255, 218, 54, 0.14) !important;
    box-shadow: 0 0 0 10px rgba(255, 218, 54, 0.14);
    border-radius: 8px;
}

/* Blog hover: underline line should turn yellow */
.blog .blog-card .blog-card__date-link,
.blog .blog-card .blog-card__meta {
    transition: border-bottom-color 0.25s ease;
}

.blog .blog-card:hover .blog-card__date-link,
.blog .blog-card:focus-within .blog-card__date-link,
.blog .blog-card:hover .blog-card__meta,
.blog .blog-card:focus-within .blog-card__meta {
    border-bottom-color: rgba(255, 218, 54, 0.95) !important;
}

/* Final force: clearly visible link color transition */
.site-header a,
.site-header__nav a,
.site-header__meta a,
.mobile-menu a,
.site-footer a,
.site-footer__menu .footer__link,
.site-footer__phone,
.site-footer__mail,
.site-footer__bottom-links a {
    transition-property: color !important;
    transition-duration: 0.2s !important;
    transition-timing-function: ease !important;
}

/* Footer background image: very subtle like in Figma */
.site-footer {
    position: relative;
    overflow: hidden;
    background: #121d27;
}

.site-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/footer-bg.webp") center / cover no-repeat;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.site-footer > * {
    position: relative;
    z-index: 1;
}
















/* Mobile/tablet sticky top header override */
@media (max-width: 1279px) {
    .site-header {
        position: fixed;
        inset: 0 0 auto;
        padding-top: 0;
        background: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(4px);
    }

    .site-header__inner {
        min-height: 72px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    main {
        padding-top: 0;
    }
}

/* Mobile fixes: blog link visibility + clients pagination alignment */
@media (max-width: 1279px) {
    .blog .blog-card__date-link a,
    .blog .blog-card a {
        color: var(--color-yellow) !important;
        border-bottom-color: rgba(246, 211, 57, 0.95) !important;
    }

    .clients__pagination {
        display: grid !important;
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        align-items: center;
        gap: 12px;
        width: 100%;
        margin-top: 20px;
    }

    .clients__nav {
        width: 40px;
        height: 40px;
        justify-self: center;
    }

    .clients__nav--prev {
        justify-self: start;
    }

    .clients__nav--next {
        justify-self: end;
    }

    .clients__bullets {
        justify-self: center;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}


/* Services page */
body.page-services {
    background: #0f1b26;
}

.page-services .site-header__nav a.is-active {
    border-bottom: 2px solid rgba(255, 255, 255, 0.95);
    padding-bottom: 2px;
}

.services-hero {
    position: relative;
    overflow: hidden;
    padding: 120px 0 108px;
    min-height: 756px;
}

.services-hero__bg {
    position: absolute;
    inset: 0;
    background:
        url("../images/services/services-bg.jpg") center 42% / cover no-repeat;
}

.services-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 60px;
}

.services-hero__text h1 {
    margin: 0;
    text-transform: uppercase;
    font-family: "Unbounded", sans-serif;
    font-weight: 500;
}

.services-hero__text h1 span:first-child {
    display: block;
    font-size: 52px;
    line-height: 76px;
    letter-spacing: 0.06em;
    color: #ffffff;
}

.services-hero__text h1 span:last-child {
    display: block;
    font-size: 38px;
    line-height: 48px;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
}


.services-hero__text p {
    margin: 20px 0 0;
    max-width: 992px;
    font-size: 24px;
    line-height: 32px;
    color: #ffffff;
}
.services-chip {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 64px;
    padding: 0 24px 0 32px;
    border-radius: 999px;
    border: 2px solid #1d3042;
    background: #ffffff;
    color: #1d3042;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.services-chip img {
    margin-left: auto;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    transform: rotate(45deg);
}

.services-market {
    padding: 120px 0;
    background: linear-gradient(180deg, #6f90ad 0%, #5d82a3 100%);
}

.services-market__head h2,
.services-market__head p {
    margin: 0;
    text-transform: uppercase;
    font-family: "Unbounded", sans-serif;
}

.services-market__head h2 {
    font-size: 38px;
    line-height: 48px;
    letter-spacing: 0.06em;
    color: #ffffff;
}

.services-market__head p {
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
}

.services-market__table {
    margin-top: 60px;
}

.services-market__row {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(220px, 1fr) minmax(0, 1.25fr);
    gap: clamp(20px, 2.4vw, 32px);
    padding: 24px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.services-market__row--head {
    padding: 0 0 16px;
    border-top: 0;
}

.services-market__row--head span {
    font-family: "Unbounded", sans-serif;
    font-size: 20px;
    line-height: 26px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.services-market__task,
.services-market__work {
    margin: 0;
    font-size: 32px;
    line-height: 40px;
    color: #ffffff;
}

.services-market__task {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.services-market__work {
    font-weight: 400;
    letter-spacing: 0;
}

.services-market__tools {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 8px;
}

.services-market__tools span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 37px;
    border: 1px solid rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: "Golos Text", sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    letter-spacing: 0;
    white-space: nowrap;
}

.services-market__result {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 416px minmax(0, 1fr);
    gap: 24px 64px;
    padding: 48px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #1d3042;
}

.services-market__result h3 {
    margin: 0;
    font-family: "Unbounded", sans-serif;
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
}

.services-market__result > div {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 0;
}

.services-market__result > div span {
    font-size: 32px;
    line-height: 40px;
    color: rgba(255, 255, 255, 0.5);
    min-width: 40px;
}

.services-market__result > div p {
    margin: 0;
    font-size: 32px;
    line-height: 40px;
    color: #ffffff;
}

.page-services .contact.section--light {
    background: url("../images/form-bg.webp") center / cover no-repeat;
}

@media (max-width: 1279px) {
    .services-hero {
        padding: 96px 0 64px;
    }

    .services-hero__text h1 span:first-child {
        font-size: 40px;
        line-height: 52px;
    }

    .services-hero__text h1 span:last-child {
        font-size: 28px;
        line-height: 36px;
    }

    .services-hero__text p,
    .services-chip {
        font-size: 18px;
        line-height: 26px;
    }

    .services-chip {
        height: 52px;
        padding: 0 18px 0 22px;
    }

    .services-market {
        padding: 72px 0;
    }

    .services-market__table {
        margin-top: 40px;
    }

    .services-market__row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 18px 0;
    }

    .page-services .services-market__row--head {
        display: none;
    }

    .page-services .services-market__task::before,
    .page-services .services-market__work::before,
    .page-services .services-market__tools::before {
        display: block;
        font-family: "Unbounded", sans-serif;
        font-size: 16px;
        line-height: 22px;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.5);
        margin-bottom: 8px;
    }

    .page-services .services-market__task::before {
        content: "\0417\0410\0414\0410\0427\0410";
    }

    .page-services .services-market__work::before {
        content: "\041D\0410\0428\0410\00A0\0420\0410\0411\041E\0422\0410";
    }

    .page-services .services-market__tools::before {
        content: "\0418\041D\0421\0422\0420\0423\041C\0415\041D\0422\042B";
        flex: 0 0 100%;
    }

    .services-market__row--head span {
        font-size: 16px;
        line-height: 22px;
    }

    .services-market__task,
    .services-market__work {
        font-size: 24px;
        line-height: 32px;
    }

    .services-market__tools span {
        min-height: 34px;
        padding: 6px 14px;
        font-size: 14px;
        line-height: 20px;
    }

    .services-market__result {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px;
    }

    .services-market__result h3,
    .services-market__result > div p,
    .services-market__result > div span {
        font-size: 24px;
        line-height: 32px;
    }
}

@media (max-width: 767px) {
    .services-hero {
        padding-top: 88px;
    }

    .services-hero__text h1 span:first-child {
        font-size: 34px;
        line-height: 40px;
    }

    .services-hero__text h1 span:last-child {
        font-size: 22px;
        line-height: 32px;
    }

    .services-hero__text p {
        margin-top: 16px;
        font-size: 16px;
        line-height: 22px;
    }

.services-chip {
        display: flex;
        width: 100%;
        min-height: 84px;
        height: 84px;
        border-width: 1px;
        padding: 10px 14px;
        font-size: 13px;
        line-height: 26px;
        white-space: normal;
    }

    .services-chip img {
        width: 12px;
        height: 12px;
    }

    .services-market__head h2 {
        font-size: 28px;
        line-height: 34px;
    }

    .services-market__head p,
    .services-market__task,
    .services-market__work,
    .services-market__result h3,
    .services-market__result > div p,
    .services-market__result > div span {
        font-size: 20px;
        line-height: 28px;
    }

    .services-market__row--head span {
        font-size: 14px;
        line-height: 20px;
    }

    .services-market__tools span {
        min-height: 30px;
        padding: 4px 12px;
        font-size: 13px;
        line-height: 18px;
    }
}







/* Services page final parity pass */
.page-services .site-header {
    padding-top: 16px;
}

.page-services .site-header.is-floating {
    background: rgba(0, 0, 0, 0.75);
}

@media (min-width: 1280px) {
    .page-services .services-hero__bg {
        inset: -120px 0;
    }
}

.page-services .services-hero__chips {
    max-width: var(--container-max);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.page-services .services-chip {
    font-family: "Golos Text", sans-serif;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0.06em;
    font-weight: 700;
    margin-right: 16px;
    margin-bottom: 8px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.page-services .services-chip img {
    flex: 0 0 16px;
    transform: none;
}

.page-services .services-chip:hover,
.page-services .services-chip:focus-visible {
    background: #f3f3f3;
}

.page-services .services-market__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-services .services-market__result {
    grid-template-columns: 416px minmax(0, 1fr);
    align-items: start;
    gap: 24px 64px;
}

.page-services .services-market__result > div:nth-of-type(1) {
    grid-column: 2;
}

.page-services .services-market__result > div:nth-of-type(2) {
    grid-column: 2;
}

@media (max-width: 1279px) {
    .page-services .services-market__row {
        grid-template-columns: 1fr;
    }

    .page-services .services-market__result {
        grid-template-columns: 1fr;
    }

    .page-services .services-market__result > div:nth-of-type(1),
    .page-services .services-market__result > div:nth-of-type(2) {
        grid-column: auto;
    }
}




/* Cases page (Figma: cases 723:8199) */
body.page-cases {
    background: linear-gradient(180deg, #2b4e6e 0%, #5a7d9e 50%, #325678 100%);
    color: #ffffff;
}

body.page-cases.cases-filters-open {
    overflow: hidden;
}

.page-cases .site-header {
    padding-top: 16px;
}

.page-cases .site-header.is-floating {
    background: rgba(0, 0, 0, 0.75);
}

.page-cases .site-header__inner {
    min-height: 56px;
    padding-bottom: 16px;
}

.page-cases .site-header__inner::after {
    background: rgba(255, 255, 255, 0.3);
}

.page-cases .site-header__nav a,
.page-cases .site-header__meta,
.page-cases .site-header__meta a,
.page-cases .site-header a {
    color: #ffffff;
}

.page-cases .site-header .button--header {
    color: #1d3042;
}

.page-cases .site-header__nav a.is-active {
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
}

.cases-page {
    padding: 120px 0 120px;
}

.cases-page__inner {
    display: grid;
    grid-template-columns: 356px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.cases-filters {
    color: #ffffff;
}

.cases-filters__intro h1 {
    margin: 0;
    font-family: "Unbounded", sans-serif;
    font-size: 52px;
    font-weight: 500;
    line-height: 76px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cases-filters__intro p {
    margin: 0;
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    color: rgba(255, 255, 255, 0.5);
}

.cases-filter-group {
    display: grid;
    gap: 24px;
}

.cases-filter-group--with-meta {
    margin-top: 0;
    padding: 40px 0;
}

.cases-filter-group:last-child {
    border-bottom: 0;
    padding: 0;
}

.cases-filters__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.cases-filters__meta p {
    margin: 0;
    font-size: 14px;
    line-height: 16px;
    color: rgba(233, 238, 242, 0.9);
}

.cases-filters__reset {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    font-size: 14px;
    line-height: 16px;
    color: #ffda36;
}

.cases-filters__reset::after {
    content: "\21BA";
    font-size: 14px;
    line-height: 1;
}

.cases-filter-group h2 {
    margin: 0;
    font-family: "Unbounded", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
}

.cases-filter-tags {
    display: flex;
    flex-wrap: wrap;
    column-gap: 4px;
    row-gap: 8px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 24px;
    padding: 4px 8px;
    border: 1px solid #a98a00;
    border-radius: 54px;
    background: #ffda36;
    color: #1d3042;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    white-space: nowrap;
}

.filter-chip::before {
    content: "#";
}

.filter-chip.is-active {
    background: #685500;
    color: #ffffff;
    border-color: #685500;
}

.filter-chip.is-active::after {
    content: "\00D7";
    display: inline-block;
    margin-left: 2px;
    font-size: 16px;
    line-height: 1;
    color: #ffffff;
    transform: translateY(-1px);
}

.filter-chip__close {
    display: none;
}

.filter-chip.is-active .filter-chip__close {
    display: inline-block;
}

.cases-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.cases-mobile-tools {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cases-mobile-tools p {
    margin: 0;
    color: rgba(233, 238, 242, 0.9);
    font-size: 14px;
    line-height: 16px;
}

.cases-mobile-tools__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border: 1px solid #a98a00;
    border-radius: 999px;
    padding: 8px 16px;
    background: #ffda36;
    color: #1d3042;
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
    text-transform: uppercase;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.cases-grid__empty {
    grid-column: 1 / -1;
    margin: 0;
    min-height: 220px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: rgba(233, 238, 242, 0.92);
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    padding: 24px;
}

.case-card {
    position: relative;
    min-height: 460px;
    border-radius: 8px;
    background: #ffffff;
    color: #1d3042;
    padding: 32px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.case-card__content {
    display: grid;
    gap: 16px;
}

.case-card__content h3 {
    margin: 0;
    font-family: "Unbounded", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1d3042;
}

.case-card__content p {
    margin: 0;
    color: #1d3042;
    font-size: 16px;
    line-height: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.case-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
    padding-right: 96px;
}

.case-card__tag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    border: 1px solid #a98a00;
    border-radius: 54px;
    background: #ffda36;
    color: #1d3042;
    font-size: 14px;
    line-height: 16px;
}

.case-card__tag::before {
    content: "#";
    margin-right: 4px;
}

.case-card__read {
    position: absolute;
    right: 32px;
    bottom: 36px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    line-height: 16px;
    color: #1d3042;
}

.case-preview > a,
.expertise .case-preview > a,
.page-cases .case-card__read {
    font-family: "Golos Text", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    letter-spacing: 0;
    color: #1d3042;
    text-transform: none;
}

.case-card__read span {
    font-size: 16px;
    line-height: 1;
}

.cases-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.cases-pagination__arrow {
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 2px solid #ffda36;
    border-radius: 54px;
    background: transparent;
    color: #ffda36;
}

.cases-pagination__arrow--prev {
    transform: rotate(180deg);
}

.cases-pagination__arrow[disabled] {
    opacity: 0.25;
    pointer-events: none;
}

.cases-pagination__arrow span {
    display: inline-block;
    width: 15px;
    height: 12px;
    font-size: 0;
    line-height: 0;
    color: transparent;
    background: url("../images/icon-arrow-yellow.svg") center / contain no-repeat;
}

.cases-pagination__pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cases-pagination__pages button {
    min-width: 38px;
    height: 32px;
    border: 2px solid #ffda36;
    border-radius: 8px;
    background: transparent;
    color: #ffda36;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.cases-pagination__pages button.is-active {
    border-color: rgba(255, 218, 54, 0.25);
    color: rgba(255, 218, 54, 0.25);
}

.cases-filters-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    justify-content: flex-end;
    background: rgba(4, 11, 17, 0);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    transition: background-color 0.34s ease, backdrop-filter 0.34s ease, -webkit-backdrop-filter 0.34s ease;
}

.cases-filters-modal.is-open {
    background: rgba(4, 11, 17, 0.46);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cases-filters-modal__panel {
    width: min(366px, 100%);
    min-height: 100dvh;
    max-height: 100dvh;
    overflow: auto;
    padding: 16px 24px;
    display: grid;
    align-content: start;
    gap: 24px;
    background: #ffffff;
    color: #1d3042;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.25);
    transform: translate3d(100%, 0, 0);
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.cases-filters-modal.is-open .cases-filters-modal__panel {
    transform: translate3d(0, 0, 0);
}

.cases-filters-modal__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cases-filters-modal__top h2 {
    margin: 0;
    font-family: "Unbounded", sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.cases-filters-modal__close {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 2px solid #1d3042;
    border-radius: 4px;
    background: transparent;
    color: #1d3042;
}

.cases-filters-modal__lead {
    margin: 0;
    max-width: 250px;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: #1d3042;
}

.cases-filters-modal .cases-filter-group {
    border: 0;
    padding: 0;
    gap: 8px;
}

.cases-filters-modal .cases-filter-group h2 {
    color: rgba(0, 0, 0, 0.5);
    font-size: 16px;
    line-height: 24px;
}

.cases-filters-modal .cases-filters__meta {
    display: none;
}

.cases-filters-modal__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 8px;
}

.cases-filters-modal__apply {
    flex: 1 1 0;
    min-height: 40px;
    border: 0;
    border-radius: 999px;
    justify-content: center;
    padding: 8px 16px;
    background: #ffda36;
    color: #1d3042;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.cases-filters-modal__clear {
    flex: 1 1 0;
    min-height: 40px;
    border: 2px solid #1d3042;
    border-radius: 999px;
    background: #ffffff;
    color: #1d3042;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

@media (max-width: 1279px) {
    .cases-page {
        padding: 104px 0 72px;
    }

    .cases-page__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cases-filters {
        display: none;
    }

    .cases-mobile-tools {
        display: flex;
        align-items: flex-end;
        gap: 24px;
    }

    .cases-mobile-tools p {
        font-family: "Unbounded", sans-serif;
        font-size: 24px;
        font-weight: 500;
        line-height: 32px;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        color: #ffffff;
    }

    .cases-mobile-tools__button {
        min-height: auto;
        border: 0;
        border-radius: 0;
        padding: 4px 0;
        background: transparent;
        color: #ffda36;
        font-family: "Golos Text", sans-serif;
        font-size: 16px;
        font-weight: 600;
        line-height: 22px;
        text-transform: none;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    .cases-mobile-tools__button img {
        width: 16px;
        height: 16px;
        flex: 0 0 16px;
    }

    .cases-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .case-card {
        min-height: 420px;
        padding: 24px;
    }

    .case-card__tags {
        padding-right: 90px;
    }

    .case-card__read {
        right: 24px;
        bottom: 28px;
    }
}

@media (min-width: 1280px) {
    .cases-filters-modal {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .page-cases .site-header {
        padding-top: 0;
    }

    .cases-page {
        padding: 92px 0 56px;
    }

    .cases-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .case-card {
        padding: 20px;
    }

    .case-card__content h3 {
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 0.06em;
    }

    .case-card__tags {
        padding-right: 84px;
    }

    .case-card__read {
        right: 20px;
        bottom: 24px;
    }

    .cases-pagination {
        gap: 10px;
    }

    .cases-filters-modal__panel {
        width: min(366px, 100%);
    }

    .cases-pagination__pages button:nth-child(4) {
        display: none;
    }
}

@media (max-width: 430px) {
    .cases-filters-modal__panel {
        width: 100%;
    }
}


/* About page */
body.page-about {
    background: linear-gradient(180deg, #2b4e6e 0%, #5a7d9e 50%, #325678 100%);
    color: #ffffff;
}

.page-about .site-header {
    padding-top: 16px;
}

.page-about .site-header.is-floating {
    background: rgba(0, 0, 0, 0.75);
}

.page-about .site-header__inner {
    min-height: 56px;
    padding-bottom: 16px;
}

.page-about .site-header__inner::after {
    background: rgba(255, 255, 255, 0.3);
}

.page-about .site-header__nav a,
.page-about .site-header__meta,
.page-about .site-header__meta a,
.page-about .site-header a {
    color: #ffffff;
}

.page-about .site-header__nav a.is-active {
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
}

.page-about .about {
    min-height: 770px;
    padding-block: 120px;
}

@media (max-width: 1279px) {
    .page-about .about {
        padding-block: 104px 72px;
    }
}

@media (max-width: 767px) {
    .page-about .site-header {
        padding-top: 0;
    }

    .page-article .site-header,
    .page-privacy .site-header,
    .page-case .site-header {
        padding-top: 0;
    }

    .page-about .about {
        padding-block: 92px 56px;
    }
}
/* About page 1:1 pass (Figma 723:8733) */
body.page-about {
    background: #000000;
    color: #ffffff;
}

.page-about .site-header {
    padding-top: 16px;
}

.page-about .site-header.is-floating {
    background: rgba(0, 0, 0, 0.75);
}

.page-about .site-header__inner {
    min-height: 56px;
    padding-bottom: 16px;
}

.page-about .site-header__inner::after {
    background: rgba(255, 255, 255, 0.3);
}

.page-about .site-header__nav a,
.page-about .site-header__meta,
.page-about .site-header__meta a,
.page-about .site-header a {
    color: #ffffff;
}

.page-about .site-header__nav a.is-active {
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
}

.about-page {
    position: relative;
    overflow: hidden;
}

.about-hero {
    position: relative;
    height: 876px;
    overflow: hidden;
}

.about-hero__bg {
    position: absolute;
    left: 0;
    right: 0;
    top: -88px;
    height: 964px;
    background: url("../images/hero-bg.webp") center / cover no-repeat;
}

.about-hero__content {
    position: relative;
    z-index: 1;
    padding-top: 243px;
}

.about-hero h1 {
    margin: 0;
    font-family: "Unbounded", sans-serif;
    font-size: 52px;
    font-weight: 500;
    line-height: 76px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-shadow: 0 4px 4px rgba(12, 12, 13, 0.1), 0 4px 4px rgba(12, 12, 13, 0.05);
}

.about-hero__lead {
    margin-top: 24px;
    max-width: 992px;
    display: grid;
    gap: 24px;
}

.about-hero__lead p {
    margin: 0;
    font-family: "Golos Text", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 0.02em;
    text-shadow: 0 4px 4px rgba(12, 12, 13, 0.1), 0 4px 4px rgba(12, 12, 13, 0.05);
}

@media (min-width: 1280px) {
    /* Figma 75:1202: между двумя <p> в лиде стоит <br> + mb-10 ≈ 50px,
       у нас одинарный gap — увеличиваем только на больших экранах. */
    .about-hero__lead {
        gap: 48px;
    }
}

.about-figures {
    position: relative;
    min-height: 1110px;
    padding: 120px 0;
    overflow: hidden;
}

.about-figures__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, #131f2a 0%, #1d3042 50%, #131f2a 100%);
}

.about-figures__portrait {
    position: absolute;
    right: 112px;
    top: 38px;
    width: 792px;
    max-width: 44vw;
    z-index: 1;
    pointer-events: none;
}

.about-figures__intro {
    position: relative;
    z-index: 2;
    max-width: 992px;
}

.about-figures__intro h2 {
    margin: 0;
    font-family: "Unbounded", sans-serif;
    font-size: 38px;
    font-weight: 500;
    line-height: 48px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-shadow: 0 4px 4px rgba(12, 12, 13, 0.1), 0 4px 4px rgba(12, 12, 13, 0.05);
}

.about-figures__subtitle {
    margin: 16px 0 0;
    font-family: "Unbounded", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.about-figures__intro blockquote {
    margin: 64px 0 32px;
    padding-left: 40px;
    border-left: 4px solid rgba(255, 255, 255, 0.1);
    font-family: "Golos Text", sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 40px;
    color: #ffffff;
}

.about-figures__blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Golos Text", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: #6794b8;
}

.about-figures__blog-link img {
    width: 16px;
    height: 16px;
}

.about-figures__blog-note {
    margin: 0;
    font-family: "Golos Text", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.5);
}

.about-figures .shell:last-child {
    position: relative;
    z-index: 3;
    margin-top: 64px;
}

.about-figures__banner {
    padding: 64px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.about-figures__line {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 64px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.about-figures__line:first-child {
    padding-top: 0;
}

.about-figures__line:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.about-figures__line span {
    font-family: "Golos Text", sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: rgba(255, 255, 255, 0.5);
}

.about-figures__line p {
    margin: 0;
    font-family: "Golos Text", sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 40px;
    color: #ffffff;
}

.about-team {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.about-team__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, #2b4e6e 0%, #5a7d9e 50%, #325678 100%);
}

.about-team__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
}

.about-team__intro {
    grid-column: 1;
    grid-row: 1;
    padding: 2px 0 0;
}

.about-team__intro h2 {
    margin: 0 0 24px;
    font-family: "Unbounded", sans-serif;
    font-size: 38px;
    font-weight: 500;
    line-height: 48px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-shadow: 0 4px 4px rgba(12, 12, 13, 0.1), 0 4px 4px rgba(12, 12, 13, 0.05);
}

.about-team__intro p {
    margin: 0;
    max-width: 457px;
    font-family: "Golos Text", sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    color: #ffffff;
    text-shadow: 0 4px 4px rgba(12, 12, 13, 0.1), 0 4px 4px rgba(12, 12, 13, 0.05);
}

.about-team-card {
    display: grid;
    gap: 24px;
    padding: 32px;
    border-radius: 8px;
    background: linear-gradient(180deg, #131f2a 0%, #1d3042 50%, #131f2a 100%);
    overflow: hidden;
}

.about-team-card__avatar {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    overflow: hidden;
    background: #73bafe;
}

.about-team-card__avatar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/about/team-card-overlay.png") center / cover no-repeat;
    z-index: 1;
}

.about-team-card__avatar img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-team-card h3 {
    margin: 0;
    font-family: "Golos Text", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 0.02em;
    color: #ffffff;
    text-shadow: 0 4px 4px rgba(12, 12, 13, 0.1), 0 4px 4px rgba(12, 12, 13, 0.05);
}

.about-team-card__role {
    margin: -16px 0 0;
    font-family: "Golos Text", sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: #ffffff;
}

.about-team-card__meta {
    margin: -16px 0 0;
    font-family: "Golos Text", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: #ffffff;
}

.about-team-card--r1c2 {
    grid-column: 2;
    grid-row: 1;
}

.about-team-card--r1c3 {
    grid-column: 3;
    grid-row: 1;
}

.about-team-card--r2c1 {
    grid-column: 1;
    grid-row: 2;
}

.about-team-card--r2c2 {
    grid-column: 2;
    grid-row: 2;
}

.about-team-card--r2c3 {
    grid-column: 3;
    grid-row: 2;
}

.about-team-card--r3c1 {
    grid-column: 1;
    grid-row: 3;
}

.about-team-card--r3c2 {
    grid-column: 2;
    grid-row: 3;
}

.page-about .contact {
    padding-block: 120px;
    background: url("../images/form-bg.webp") center / cover no-repeat;
}

.page-about .contact::before {
    content: none;
}

@media (max-width: 1279px) {
    .page-about .site-header {
        padding-top: 0;
    }

    .about-hero {
        height: auto;
        min-height: 760px;
        padding-bottom: 72px;
    }

    .about-hero__bg {
        top: 0;
        height: 100%;
    }

    .about-hero__content {
        padding-top: 188px;
    }

    .about-hero h1 {
        font-size: 46px;
        line-height: 64px;
    }

    .about-hero__lead p {
        font-size: 28px;
        line-height: 36px;
    }

    .page-about .about-hero__lead br {
        display: none;
    }

    .about-figures {
        padding: 96px 0;
    }

    .about-figures__portrait {
        right: 24px;
        top: 196px;
        max-width: 42vw;
    }

    .about-figures__intro {
        max-width: 100%;
        padding-right: 28vw;
    }

    .about-figures__intro blockquote {
        margin-top: 44px;
        font-size: 28px;
        line-height: 36px;
    }

    .about-figures__banner {
        padding: 40px;
    }

    .about-figures__line {
        gap: 28px;
    }

    .about-figures__line p {
        font-size: 30px;
        line-height: 38px;
    }

    .about-team {
        padding: 96px 0;
    }

    .about-team__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .about-team__intro {
        grid-column: 1 / -1;
        grid-row: auto;
        padding: 0 0 18px;
    }

    .about-team-card--r1c2,
    .about-team-card--r1c3,
    .about-team-card--r2c1,
    .about-team-card--r2c2,
    .about-team-card--r2c3,
    .about-team-card--r3c1,
    .about-team-card--r3c2 {
        grid-column: auto;
        grid-row: auto;
    }

    .about-team-card {
        padding: 24px;
    }

    .about-team-card h3 {
        font-size: 26px;
        line-height: 34px;
    }

    .about-team-card__role {
        margin-top: -12px;
        font-size: 21px;
        line-height: 28px;
    }
}

@media (max-width: 767px) {
    .about-hero {
        min-height: 640px;
        padding-bottom: 56px;
    }

    .about-hero__content {
        padding-top: 80px;
    }

    .about-hero h1 {
        font-size: 34px;
        line-height: 46px;
    }

    .about-hero__lead {
        margin-top: 16px;
        gap: 16px;
    }

    .about-hero__lead p {
        font-size: 21px;
        line-height: 29px;
        letter-spacing: 0;
    }

    .about-figures {
        padding: 64px 0;
    }

    .about-figures__portrait {
        position: relative;
        top: auto;
        right: auto;
        max-width: none;
        width: min(560px, 100%);
        margin: 24px auto 0;
        display: block;
    }

    .about-figures__intro {
        padding-right: 0;
    }

    .about-figures__intro h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .about-figures__subtitle {
        margin-top: 10px;
        font-size: 14px;
        line-height: 20px;
    }

    .about-figures__intro blockquote {
        margin: 28px 0 18px;
        padding-left: 18px;
        border-left-width: 2px;
        font-size: 24px;
        line-height: 30px;
    }

    .about-figures .shell:last-child {
        margin-top: 32px;
    }

    .about-figures__banner {
        padding: 24px;
        border-radius: 10px;
    }

    .about-figures__line {
        grid-template-columns: 26px minmax(0, 1fr);
        gap: 16px;
        padding: 12px 0;
    }

    .about-figures__line span {
        font-size: 16px;
        line-height: 22px;
    }

    .about-figures__line p {
        font-size: 20px;
        line-height: 26px;
    }

    .about-team {
        padding: 64px 0;
    }

    .about-team__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .about-team__intro h2 {
        margin-bottom: 16px;
        font-size: 28px;
        line-height: 36px;
    }

    .about-team__intro p {
        max-width: 100%;
        font-size: 20px;
        line-height: 28px;
    }

    .about-team-card {
        padding: 18px;
        gap: 16px;
    }

    .about-team-card h3 {
        font-size: 22px;
        line-height: 30px;
        letter-spacing: 0;
    }

    .about-team-card__role {
        margin-top: -10px;
        font-size: 18px;
        line-height: 24px;
    }

    .about-team-card__meta {
        margin-top: -8px;
        font-size: 14px;
        line-height: 18px;
    }

    .page-about .contact {
        padding-block: 72px;
    }
}


/* About page corrections */
.page-about .site-header .button--header,
.page-about .site-header .button--header span {
    color: #1d3042 !important;
}

.about-figures__stage {
    position: relative;
    width: min(var(--shell), calc(100% - (2 * var(--gutter))));
    max-width: min(var(--shell), calc(100% - (2 * var(--gutter))));
    margin-inline: auto;
}

.about-figures__intro {
    max-width: 992px;
}

.about-figures__portrait {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: right 62%;
    transform: translateY(36px);
    filter: none;
    pointer-events: none;
    z-index: 1;
}

.about-figures .shell:last-child {
    margin-top: 56px;
}

.about-team-card {
    position: relative;
    isolation: isolate;
    transition: transform 0.3s ease;
}

.about-team-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: rgba(255, 218, 54, 0.14);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.about-team-card > * {
    position: relative;
    z-index: 1;
}

.about-team-card__avatar img {
    transition: transform 0.3s ease;
}

.about-team-card:hover::after,
.about-team-card:focus-within::after {
    opacity: 1;
}

.about-team-card:hover .about-team-card__avatar img,
.about-team-card:focus-within .about-team-card__avatar img {
    transform: scale(1.06);
}

@media (max-width: 1279px) {
    .about-figures__stage {
        width: min(var(--shell), calc(100% - (2 * var(--gutter))));
        max-width: min(var(--shell), calc(100% - (2 * var(--gutter))));
        margin-inline: auto;
    }

    .about-figures__portrait {
        right: 0;
        top: 0;
        bottom: 0;
        height: 100%;
        width: auto;
        max-width: 48vw;
        transform: translateY(24px);
        filter: none;
    }
}

@media (max-width: 767px) {
    .about-figures {
        display: flex;
        flex-direction: column;
    }

    .about-figures .shell:last-child {
        margin-top: auto;
        margin-bottom: -42px;
    }

    .about-figures__portrait {
        position: relative;
        right: auto;
        top: auto;
        width: min(560px, 100%);
        margin: 24px auto 0;
        transform: none;
        filter: none;
    }
}






/* About figures background layout override */
.about-figures {
    --about-figures-side: max(var(--gutter), calc((100vw - var(--shell)) / 2));
    --about-figures-side-offset: max(0px, calc(var(--about-figures-side) - 100px));
}

.about-figures::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/about/dmitriy.webp");
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: right var(--about-figures-side-offset) bottom 0;
    pointer-events: none;
    z-index: 1;
}

.about-figures__stage {
    position: relative;
    z-index: 2;
    width: min(var(--shell), calc(100% - (2 * var(--gutter))));
    max-width: min(var(--shell), calc(100% - (2 * var(--gutter))));
    margin-inline: auto;
}

.about-figures .shell:last-child {
    position: relative;
    z-index: 3;
}

.about-figures__portrait {
    display: none !important;
}

@media (max-width: 1279px) {
    .about-figures::after {
        background-size: auto 88%;
    }
}

@media (max-width: 767px) {
    .about-figures::after {
        background-size: auto 62%;
        background-position: right -100px bottom 0;
    }
}

/* Main page logo swap without JS: dark logo at top, white logo in floating header */
.brand__image--floating {
    display: none;
}

@media (min-width: 1280px) and (hover: hover) and (pointer: fine) {
    .site-header.is-floating .brand__image--default {
        display: none;
    }

    .site-header.is-floating .brand__image--floating {
        display: block;
    }
}


/* Keep logo baseline identical in regular and floating headers */
.site-header .brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

@media (min-width: 1280px) and (hover: hover) and (pointer: fine) {
    .site-header.is-floating .site-header__inner {
        padding-top: 0 !important;
        padding-bottom: 14px !important;
        align-items: center;
    }
}

/* Main page only: keep floating header slightly below top edge */
@media (min-width: 1280px) and (hover: hover) and (pointer: fine) {
    .page-home .site-header.is-floating {
        padding-top: 16px;
    }
}


/* Blog page */
body.page-blog {
    background:
        linear-gradient(180deg, rgba(124, 157, 184, 0.22) 0%, rgba(73, 108, 138, 0.82) 100%),
        linear-gradient(180deg, #6d8baa 0%, #547694 100%);
}

.page-blog .site-header {
    padding-top: 16px;
}

.page-blog .site-header.is-floating {
    background: rgba(0, 0, 0, 0.75);
}

.page-blog .site-header__inner {
    min-height: 56px;
    padding-bottom: 16px;
}

.page-blog .site-header__inner::after {
    background: rgba(255, 255, 255, 0.3);
}

.page-blog .site-header__nav a,
.page-blog .site-header__meta,
.page-blog .site-header__meta a,
.page-blog .site-header a {
    color: #ffffff;
}

.page-blog .site-header .button--header {
    color: #1d3042;
}

.page-blog .site-header__nav a.is-active {
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
}

.blog-page {
    padding: 120px 0 120px;
}

.blog-page__inner {
    display: grid;
    gap: 48px;
}

.blog-page__head {
    display: grid;
    gap: 40px;
}

.blog-page__head h1 {
    margin: 0;
    font-family: "Unbounded", sans-serif;
    font-size: 52px;
    font-weight: 500;
    line-height: 76px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
}

.blog-page__tabs {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 40px;
}

.blog-page__tabs a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    font-family: "Unbounded", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.blog-page__tabs a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: transparent;
    transition: background-color 0.2s ease;
}

.blog-page__tabs a.is-active {
    color: #ffffff;
}

.blog-page__tabs a.is-active::after {
    background: #ffffff;
}

.page-blog .blog-grid {
    margin-top: 0;
    gap: 60px;
}

.page-blog .blog-card {
    }

.page-blog .blog-card--compact .blog-card__media--small {
    min-height: 226px;
}

.page-blog .blog-card--tall .blog-card__media--small {
    min-height: 261px;
}

.page-blog .blog-card--short .blog-card__media--small {
    min-height: 188px;
}

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.blog-pagination__arrow {
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 2px solid #ffda36;
    border-radius: 54px;
    background: transparent;
    color: #ffda36;
}

.blog-pagination__arrow--prev {
    transform: rotate(180deg);
}

.blog-pagination__arrow[disabled] {
    opacity: 0.25;
    pointer-events: none;
}

.blog-pagination__arrow span {
    display: inline-block;
    width: 15px;
    height: 12px;
    font-size: 0;
    line-height: 0;
    color: transparent;
    background: url("../images/icon-arrow-yellow.svg") center / contain no-repeat;
}

.blog-pagination__pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.blog-pagination__pages button {
    min-width: 38px;
    height: 32px;
    border: 2px solid #ffda36;
    border-radius: 8px;
    background: transparent;
    color: #ffda36;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.blog-pagination__pages button.is-active {
    border-color: rgba(255, 218, 54, 0.25);
    color: rgba(255, 218, 54, 0.25);
}

@media (max-width: 1279px) {
    .blog-page {
        padding: 104px 0 72px;
    }

    .blog-page__inner {
        gap: 36px;
    }

    .blog-page__head {
        gap: 24px;
    }

    .blog-page__head h1 {
        font-size: 44px;
        line-height: 62px;
    }

    .blog-page__tabs {
        gap: 18px;
    }

    .blog-page__tabs a {
        font-size: 18px;
        line-height: 24px;
    }

    .page-blog .blog-grid {
        gap: 28px;
    }
}

@media (max-width: 767px) {
    .page-blog .site-header {
        padding-top: 0;
    }

    .blog-page {
        padding: 92px 0 56px;
    }

    .blog-page__inner {
        gap: 28px;
    }

    .blog-page__head {
        gap: 16px;
    }

    .blog-page__head h1 {
        font-size: 36px;
        line-height: 50px;
    }

    .blog-page__tabs {
        gap: 12px;
        flex-wrap: wrap;
    }

    .blog-page__tabs a {
        font-size: 16px;
        line-height: 22px;
    }

    .blog-pagination {
        gap: 10px;
    }
}

/* Privacy page (based on blog layout) */
body.page-privacy {
    background:
        linear-gradient(180deg, #2e4d6c 0%, #3f6283 42%, #587a9c 100%);
}

.page-privacy .privacy {
    padding: 120px 0;
}

.page-privacy .privacy__inner {
    display: grid;
    gap: 40px;
    min-width: 0;
}

.page-privacy .privacy__head {
    display: grid;
    gap: 24px;
}

.page-privacy .privacy__head h1 {
    margin: 0;
    font-family: "Unbounded", sans-serif;
    font-size: 52px;
    font-weight: 500;
    line-height: 76px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
}

.page-privacy .privacy__head p {
    margin: 0;
    font-size: 20px;
    line-height: 30px;
    color: rgba(255, 255, 255, 0.82);
}

.page-privacy .privacy__content {
    display: grid;
    gap: 20px;
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(20, 32, 43, 0.28);
    color: #ffffff;
    min-width: 0;
    max-width: 100%;
}

.page-privacy .privacy__content h2 {
    margin: 12px 0 0;
    font-family: "Unbounded", sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 34px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.page-privacy .privacy__content p,
.page-privacy .privacy__content li {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.95);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.page-privacy .privacy__content ul {
    margin: 0;
    padding-left: 22px;
    display: grid;
    gap: 8px;
}

.page-privacy .privacy__content a {
    color: #ffda36;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.page-privacy .privacy__updated {
    margin-top: 8px !important;
    color: rgba(255, 255, 255, 0.72) !important;
}

@media (max-width: 1279px) {
    .page-privacy .privacy {
        padding: 104px 0 72px;
    }

    .page-privacy .privacy > .shell {
        width: calc(100% - (2 * clamp(18px, 3vw, 32px)));
        max-width: var(--container-max);
        margin-inline: auto;
    }

    .page-privacy .privacy__inner {
        padding-inline: 0;
    }

    .page-privacy .privacy__head h1 {
        font-size: 42px;
        line-height: 58px;
    }
}

@media (max-width: 767px) {
    .page-privacy .privacy {
        padding: 92px 0 56px;
    }

    .page-privacy .privacy__inner {
        gap: 24px;
    }

    .page-privacy .privacy__head h1 {
        font-size: 18px;
        line-height: 30px;
    }

    .page-privacy .privacy__head p {
        font-size: 16px;
        line-height: 24px;
    }

    .page-privacy .privacy__content {
        padding: 20px;
        gap: 16px;
    }

    .page-privacy .privacy__content h2 {
        font-size: 20px;
        line-height: 28px;
    }

    .page-privacy .privacy__content p,
    .page-privacy .privacy__content li {
        font-size: 14px;
        line-height: 22px;
    }
}

@media (max-width: 430px) {
    .page-privacy .privacy > .shell {
        width: calc(100% - 28px);
    }
}

@media (max-width: 390px) {
    .page-privacy .privacy > .shell {
        width: calc(100% - 24px);
    }
}

/* Blog page: pixel pass */
.page-blog .blog-page__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 32px;
    align-items: start;
}

.page-blog .blog-news {
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: #ffffff;
}

.page-blog .blog-news__media {
    position: relative;
    width: 100%;
    aspect-ratio: 992 / 557;
    border-radius: 0;
    overflow: hidden;
}

.page-blog .blog-news__media > img,
.page-blog .blog-news__media .wp-post-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-width: none;
}

.page-blog .blog-news__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    }

.page-blog .blog-news h3 {
    margin: 0;
    font-family: "Unbounded", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
}

.page-blog .blog-news p {
    margin: 0;
    font-size: 16px;
    line-height: 22px;
    color: #ffffff;
}

.page-blog .blog-news__meta-row {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 38px;
    padding: 8px 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.9);
}

.page-blog .blog-news__date {
    font-size: 16px;
    line-height: 22px;
    color: #ffffff;
}

.page-blog .blog-news__meta-row a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: #ffda36;
}

.page-blog .blog-news__meta-row a img {
    width: 12px;
    height: 10px;
}

.page-blog .blog-news--featured {
    grid-column: 1 / span 3;
    grid-row: 1;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: linear-gradient(180deg, #14202b 0%, #1d3042 100%);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: clamp(24px, 3vw, 64px);
}

.page-blog .blog-news--featured .blog-news__media {
    position: relative;
    height: 281px;
    max-height: 281px;
    aspect-ratio: auto;
    overflow: hidden;
}

.page-blog .blog-news.layout-2 { grid-column: 4; grid-row: 1; }
.page-blog .blog-news.layout-3 { grid-column: 1; grid-row: 2; }
.page-blog .blog-news.layout-4 { grid-column: 2; grid-row: 2; }
.page-blog .blog-news.layout-5 { grid-column: 3; grid-row: 2; }
.page-blog .blog-news.layout-6 { grid-column: 4; grid-row: 2; }
.page-blog .blog-news.layout-7 { grid-column: 1; grid-row: 3; }
.page-blog .blog-news.layout-8 { grid-column: 2; grid-row: 3; }
.page-blog .blog-news.layout-9 { grid-column: 3; grid-row: 3; }
.page-blog .blog-news.layout-10 { grid-column: 4; grid-row: 3; }

.page-blog .blog-news--short {
}

.page-blog .blog-pagination {
    margin-top: 0;
}

@media (max-width: 1279px) {
    .page-blog .blog-page__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .page-blog .blog-news,
    .page-blog .blog-news--image,
    .page-blog .blog-news--short {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .page-blog .blog-news--featured {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 24px;
    }

    .page-blog .blog-news--featured .blog-news__media {
        order: -1;
        height: 240px;
        max-height: 240px;
    }
}

@media (max-width: 767px) {
    .page-blog .blog-page__list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .page-blog .blog-news {
        gap: 16px;
    }

    .page-blog .blog-news--featured {
        padding: 20px;
    }

    .page-blog .blog-news--featured .blog-news__media {
        height: 196px;
        max-height: 196px;
    }

    .page-blog .blog-news h3 {
        font-size: 15px;
        line-height: 22px;
    }

    .page-blog .blog-news p,
    .page-blog .blog-news__date,
    .page-blog .blog-news__meta-row a {
        font-size: 14px;
        line-height: 20px;
    }
}

/* Blog page hover behavior: same logic as main page blog section */
.page-blog .blog-news {
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.page-blog .blog-news__meta-row {
    transition: border-bottom-color 0.25s ease;
}

.page-blog .blog-news:not(.blog-news--featured):hover,
.page-blog .blog-news:not(.blog-news--featured):focus-within {
    background-color: rgba(255, 218, 54, 0.14);
    box-shadow: 0 0 0 10px rgba(255, 218, 54, 0.14);
    border-radius: 8px;
}

.page-blog .blog-news:not(.blog-news--featured):hover .blog-news__meta-row,
.page-blog .blog-news:not(.blog-news--featured):focus-within .blog-news__meta-row {
    border-bottom-color: rgba(255, 218, 54, 0.95);
}

.page-blog .blog-news--featured {
    position: relative;
    overflow: hidden;
}

.page-blog .blog-news--featured::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(255, 218, 54, 0.14);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 0;
}

.page-blog .blog-news--featured .blog-news__text {
    position: relative;
    z-index: 1;
}

.page-blog .blog-news--featured .blog-news__media {
    position: relative;
    z-index: 2;
}

.page-blog .blog-news--featured:hover::after,
.page-blog .blog-news--featured:focus-within::after {
    opacity: 1;
}

.page-blog .blog-news--featured:hover .blog-news__meta-row,
.page-blog .blog-news--featured:focus-within .blog-news__meta-row {
    border-bottom-color: rgba(255, 218, 54, 0.95);
}

/* Blog media page (blog1): no featured card, 12 simple cards */
.page-blog-media .blog-page__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
}

.page-blog-media .blog-news--short {
}

.page-blog-media .blog-news__media {
    position: relative;
    width: 100%;
    aspect-ratio: 992 / 557;
    overflow: hidden;
}

.page-blog-media .blog-news__media > img,
.page-blog-media .blog-news__media .wp-post-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-width: none;
}

.page-blog-media .blog-news__meta-row a img {
    width: 16px;
    height: 16px;
}

@media (max-width: 1279px) {
    .page-blog-media .blog-page__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .page-blog-media .blog-news,
    .page-blog-media .blog-news--short {
    }
}

@media (max-width: 767px) {
    .page-blog-media .blog-page__list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}





























/* Today restore pack: interactions, form/footer geometry, expertise cards */
.clients-slider {
    cursor: grab;
    user-select: none;
}

.clients-slider.is-dragging {
    cursor: grabbing;
}

@media (max-width: 1279px) {
    .clients .clients-slider {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        overflow: hidden;
    }

    .clients .review-grid {
        overflow: visible !important;
    }
}

.case-slider {
    cursor: grab;
    user-select: none;
}

.case-slider.is-dragging {
    cursor: grabbing;
}

.accordion__pane {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition:
        max-height 460ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 280ms ease;
    will-change: max-height, opacity;
}

.accordion__pane.is-open {
    opacity: 1;
}

.case-preview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-auto-rows: min-content;
    gap: 14px 16px;
}

.case-preview h3,
.case-preview p,
.case-preview__eyebrow {
    grid-column: 1 / -1;
}

.case-preview .case-preview__tags {
    grid-column: 1;
    margin-top: auto;
    align-self: end;
}

.case-preview > a {
    grid-column: 2;
    margin-top: auto;
    align-self: end;
    justify-self: end;
}

.site-footer .button--telegram,
.site-footer .button--max,
.page-contacts .contacts-hero__telegram,
.page-contacts .contacts-hero__max {
    width: 160px;
    min-width: 160px;
    height: 40px;
    min-height: 40px;
    padding: 8px 16px;
    gap: 8px;
}

.site-footer .button--telegram .button__plain-icon,
.site-footer .button--max .button__plain-icon,
.page-contacts .contacts-hero__telegram .button__plain-icon,
.page-contacts .contacts-hero__max .button__plain-icon {
    width: 19px;
    height: 17px;
    flex: 0 0 19px;
}

.contact-download .button--download {
    width: 224px;
    min-width: 224px;
    height: 56px;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 20px;
}

.contact-download .button--download .button__plain-icon {
    width: 15px;
    height: 17px;
    flex: 0 0 15px;
    display: grid;
    place-items: center;
}

@media (min-width: 1024px) {
    .contact-form__grid.contact-form__grid--three {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px;
        margin-bottom: 32px;
    }

    .contact-form__grid.contact-form__grid--three .field--wide {
        grid-column: span 2;
    }

    .contact-form__grid.contact-form__grid--three .attach-field {
        grid-column: span 1;
    }

    .contact-form__footer {
        display: flex;
        align-items: center;
        gap: 32px;
    }

    .contact-form__footer .button {
        min-width: 280px;
        margin-top: 0;
    }

    .contact-form__footer .consent-note {
        margin: 0;
    }

    .site-footer__inner {
        display: grid;
        grid-template-columns: minmax(0, 2.12fr) minmax(280px, 1fr);
        align-items: stretch;
        gap: clamp(28px, 3.2vw, 60px);
        min-height: 520px;
    }

    .site-footer__brand {
        display: grid;
        align-content: space-between;
        gap: 32px;
    }

    .site-footer__menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-self: stretch;
        height: 100%;
        padding-left: clamp(24px, 4vw, 64px);
        border-left: 4px solid rgba(255, 255, 255, 0.1);
    }
}

/* Checklist lock: index about/services/blog/partners + global yellow CTA + footer logo */
.about__action,
.about__action .button {
    position: relative;
    z-index: 4;
}

.services .section-action--right {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
}

.button--primary.button--icon-right,
.button--header.button--icon-right {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;
}

.button--primary.button--icon-right > span:first-child,
.button--header.button--icon-right > span:first-child {
    text-align: center;
    width: 100%;
}

@media (min-width: 1280px) {
    .about__action .button,
    .services .section-action .button,
    .blog .section-action .button,
    .partners-cta__aside .button {
        width: 466px;
        max-width: 100%;
    }

    .partners-cta__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
        gap: 36px;
    }

    .partners-cta__copy,
    .partners-cta__aside {
        width: 100%;
        max-width: 100%;
    }

    .partners-cta__aside {
        margin-left: 0;
        justify-items: end;
        text-align: right;
    }

    .partners-cta__aside .button {
        margin-left: auto;
    }
}

/* Index desktop pixel pass against Figma (Р“Р»Р°РІРЅР°СЏ 1921) */
@media (min-width: 1280px) {
    .page-home .hero {
        min-height: 876px;
    }

    .page-home .hero__inner {
        gap: 98px;
    }

    .page-home .hero__summary {
        grid-template-columns: minmax(640px, 992px) minmax(360px, 464px);
        gap: 64px;
    }

    .page-home .about,
    .page-home .services,
    .page-home .expertise,
    .page-home .clients,
    .page-home .blog {
        padding-block: 120px;
    }

    .page-home .about__inner,
    .page-home .expertise__inner {
        grid-template-columns: minmax(420px, 462px) minmax(0, 1fr);
        gap: 64px;
    }

    .page-home .services .section-head,
    .page-home .clients .section-head,
    .page-home .blog .section-head {
        grid-template-columns: 1fr;
        gap: 24px;
        width: 100%;
    }

    .page-home .about .section-action--right,
    .page-home .services .section-action--right,
    .page-home .blog .section-action--centered {
        display: grid;
        grid-template-columns: minmax(420px, 462px) minmax(0, 1fr);
        column-gap: 64px;
        align-items: start;
        width: 100%;
    }

    .page-home .about .section-action--right,
    .page-home .services .section-action--right,
    .page-home .blog .section-action--centered {
        justify-content: flex-start;
    }

    .page-home .about .section-action--right .button,
    .page-home .services .section-action--right .button {
        grid-column: 2;
        justify-self: start;
    }

    .page-home .blog .section-action--centered .button {
        grid-column: 2;
        justify-self: start;
    }

    .page-home .about .section-action .button,
    .page-home .services .section-action .button,
    .page-home .expertise__action .button,
    .page-home .blog .section-action .button {
        width: 466px;
        max-width: 100%;
    }

    .page-home .expertise__action {
        margin-top: 32px;
    }

    .page-home .section-copy__text,
    .page-home .section-head__text {
        font-size: 24px;
        line-height: 32px;
        font-weight: 400;
    }

    .page-home .hero__copy p {
        font-size: 24px;
        line-height: 32px;
        font-weight: 600;
    }
}

@media (min-width: 1700px) {
    .page-home .about__inner,
    .page-home .expertise__inner,
    .page-home .about .section-action--right,
    .page-home .services .section-action--right,
    .page-home .blog .section-action--centered {
        grid-template-columns: 462px 992px;
    }
}

@media (min-width: 768px) and (max-width: 1279px) {
    .page-home .services .section-action--right,
    .page-home .expertise__action {
        justify-content: center;
    }

    .page-home .services .section-action--right .button,
    .page-home .expertise__action .button {
        width: min(466px, 100%);
    }
}

.site-footer__brand-logo {
    width: 459px;
    height: 95px;
    object-fit: contain;
}

/* Expertise final alignment: cards + accordion height behavior */
.expertise {
    min-height: auto;
}

.expertise .accordion__pane {
    overflow: hidden;
}

.expertise .case-preview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: min-content min-content minmax(0, 1fr) min-content;
    gap: 14px 16px;
    min-height: 460px;
}

.expertise .case-preview h3,
.expertise .case-preview p,
.expertise .case-preview__eyebrow {
    grid-column: 1 / -1;
}

.expertise .case-preview .case-preview__tags {
    grid-column: 1;
    grid-row: 4;
    align-self: end;
    margin-top: 0;
}

.expertise .case-preview > a {
    grid-column: 2;
    grid-row: 4;
    align-self: end;
    justify-self: end;
    margin-top: 0;
}

.case-preview__text {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    line-clamp: 5;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Contact section: unified clean background on all pages */
.contact,
.page-services .contact.section--light,
.page-about .contact,
.page-contacts .contact {
    background: url("../images/form-bg.webp") center / cover no-repeat !important;
}

.contact::before,
.page-about .contact::before,
.page-services .contact::before,
.page-contacts .contact::before {
    content: none !important;
    display: none !important;
    background: none !important;
}





/* Telegram / MAX button spacing lock: footer + contacts hero */
.site-footer .button--telegram,
.site-footer .button--max,
.page-contacts .contacts-hero__telegram,
.page-contacts .contacts-hero__max {
    width: 160px !important;
    min-width: 160px !important;
    height: 40px !important;
    min-height: 40px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    box-sizing: border-box;
}

.site-footer .button--telegram .button__plain-icon,
.site-footer .button--max .button__plain-icon,
.page-contacts .contacts-hero__telegram .button__plain-icon,
.page-contacts .contacts-hero__max .button__plain-icon {
    width: 19px;
    height: 17px;
    flex: 0 0 19px;
    margin: 0;
}

@media (min-width: 1280px) {
    .hero {
        padding-top: 184px;
    }

    .hero__inner {
        min-height: calc(100vh - 360px);
        align-content: center;
    }
}

/* Parallax layers: home + secondary hero sections (desktop) */
@media (min-width: 1280px) {
    .hero__background,
    .hero__inner,
    .clients__backdrop,
    .about-hero__bg,
    .services-hero__bg,
    .partners-hero__bg,
    .contacts-hero__bg {
        will-change: transform;
    }

    .hero__background,
    .clients__backdrop,
    .about-hero__bg,
    .services-hero__bg,
    .partners-hero__bg,
    .contacts-hero__bg {
        transition: none;
    }

    .hero__inner {
        transition: none;
    }

    .hero__background {
        transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.04);
    }

    .hero__inner {
        transform: translate3d(0, var(--parallax-y, 0px), 0);
    }

    .clients__backdrop {
        transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.03);
    }

    .about-hero__bg,
    .services-hero__bg,
    .partners-hero__bg,
    .contacts-hero__bg {
        transform: translate3d(0, var(--parallax-secondary-y, 0px), 0) scale(1.05);
        transform-origin: center center;
    }

    .partners-cta {
        background-position: center calc(50% + var(--parallax-bg-y, 0px));
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__background,
    .hero__inner,
    .clients__backdrop,
    .about-hero__bg,
    .services-hero__bg,
    .partners-hero__bg,
    .contacts-hero__bg {
        transform: none !important;
        transition: none !important;
    }

    .partners-cta {
        transition: none !important;
        background-position: center 50% !important;
    }
}





@media (min-width: 1280px) {
    .hero__mark-image {
        width: 992px;
        height: 207px;
        max-width: 100%;
        object-fit: contain;
    }
}

/* Accordion close smoothness: collapse height and padding in one motion */
.accordion__pane {
    padding-top: 0;
    padding-bottom: 0;
    transition:
        max-height 460ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 280ms ease,
        padding-top 460ms cubic-bezier(0.22, 1, 0.36, 1),
        padding-bottom 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

.accordion__pane.is-open {
    padding-top: 24px;
    padding-bottom: 16px;
}

/* Cases cards: align like expertise cards */
.page-cases .case-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: min-content minmax(0, 1fr) min-content;
    gap: 16px 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-cases .case-card__surface-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.page-cases .case-card__content {
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: start;
    pointer-events: none;
}

.page-cases .case-card__tags {
    grid-column: 1;
    grid-row: 3;
    align-self: end;
    justify-self: start;
    margin-top: 0;
    padding-right: 0;
    pointer-events: none;
}

.page-cases .case-card__read {
    position: static;
    grid-column: 2;
    grid-row: 3;
    align-self: end;
    justify-self: end;
    z-index: 2;
    padding-left: 5px;
    pointer-events: auto;
}

.page-cases .case-card:hover,
.page-cases .case-card:focus-within {
    background-color: #FCF5D0;
}

/* About page: disable team card hover effects */
.page-about .about-team-card,
.page-about .about-team-card::after,
.page-about .about-team-card__avatar img {
    transition: none !important;
}

.page-about .about-team-card::after {
    opacity: 0 !important;
}

.page-about .about-team-card:hover .about-team-card__avatar img,
.page-about .about-team-card:focus-within .about-team-card__avatar img {
    transform: none !important;
}


/* Services result alignment fix: keep all list items in right column */
.page-services .services-market__result {
    grid-template-columns: 416px minmax(0, 1fr);
    align-items: start;
    gap: 24px 48px;
}

.page-services .services-market__result h3 {
    grid-column: 1;
    grid-row: 1 / -1;
}

.page-services .services-market__result > div {
    grid-column: 2;
}

@media (max-width: 1279px) {
    .page-services .services-market__result {
        grid-template-columns: 1fr;
    }

    .page-services .services-market__result h3,
    .page-services .services-market__result > div {
        grid-column: auto;
        grid-row: auto;
    }
}



/* Final top-menu active underline alignment override */
.site-header__nav a.is-active {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.page-services .site-header__nav a.is-active,
.page-cases .site-header__nav a.is-active,
.page-about .site-header__nav a.is-active,
.page-privacy .site-header__nav a.is-active,
.page-case .site-header__nav a.is-active,
.page-blog .site-header__nav a.is-active,
.page-partners .site-header__nav a.is-active,
.page-contacts .site-header__nav a.is-active {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
}



@media (min-width: 1280px) {
    .clients .shell {
        overflow: visible;
    }

    .clients .clients-slider {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        overflow: visible;
    }

    .clients .review-grid {
        overflow: visible !important;
    }
}


html {
    scrollbar-gutter: stable;
}

body.modal-open {
    overflow: hidden;
}

.consult-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: grid;
    justify-items: center;
    align-items: start;
    padding: 56px 24px 24px;
    background: rgba(8, 11, 15, 0);
    opacity: 0;
    transition: opacity 0.36s ease, background-color 0.36s ease;
}

.consult-modal-backdrop.is-open {
    opacity: 1;
    background: rgba(8, 11, 15, 0.78);
}

.consult-modal {
    position: relative;
    width: min(526px, calc(100vw - 32px));
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    background: linear-gradient(180deg, #14202b 0%, #1d3042 100%);
    box-shadow: 0 16px 32px rgba(12, 12, 13, 0.4);
    color: #ffffff;
    overflow: hidden;
    transform: translate3d(0, 22px, 0) scale(0.98);
    opacity: 0;
    transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.36s ease, height 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity, height;
}

.consult-modal-backdrop.is-open .consult-modal {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
}

.consult-modal__close {
    position: absolute;
    top: 32px;
    right: 32px;
    z-index: 4;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: grid;
    place-items: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.consult-modal__close img {
    width: 20px;
    height: 20px;
    display: block;
}

.consult-modal__close:hover,
.consult-modal__close:focus-visible {
    transform: scale(1.05);
    opacity: 0.9;
}

.consult-modal__panel {
    padding: 32px;
    opacity: 0;
    transform: translate3d(0, 12px, 0);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.consult-modal__panel.is-active,
.consult-modal__panel.is-entering {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.consult-modal__panel.is-leaving {
    opacity: 0;
    transform: translate3d(0, -8px, 0);
}
.consult-modal.is-switching {
    overflow: hidden;
}

.consult-modal.is-switching .consult-modal__panel {
    position: absolute;
    inset: 0;
    width: 100%;
    pointer-events: none;
}

.consult-modal.is-switching .consult-modal__panel.is-active,
.consult-modal.is-switching .consult-modal__panel.is-switching-out,
.consult-modal.is-switching .consult-modal__panel.is-switching-in {
    display: block;
}

.consult-modal.is-switching .consult-modal__panel.is-switching-out {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    z-index: 1;
    transition: opacity 0.26s ease, transform 0.26s ease;
}

.consult-modal.is-switching .consult-modal__panel.is-switching-out.is-leaving {
    opacity: 0;
    transform: translate3d(0, -10px, 0) scale(0.985);
}

.consult-modal.is-switching .consult-modal__panel.is-switching-in {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.99);
    z-index: 2;
    transition: opacity 0.34s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.consult-modal.is-switching .consult-modal__panel.is-switching-in.is-active {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.consult-modal__head {
    margin-bottom: 24px;
}

.consult-modal__title-main {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
}

.consult-modal__title-sub {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6794b8;
}

.consult-modal__form {
    display: grid;
    gap: 16px;
}

.consult-modal__row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    gap: 8px;
}

.consult-modal__field {
    display: grid;
    gap: 8px;
}

.consult-modal__field span {
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #ffffff;
}

.consult-modal__field input,
.consult-modal__field textarea {
    width: 100%;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #ffffff;
    color: #1d3042;
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.consult-modal__field input {
    min-height: 46px;
    padding: 12px 16px;
}

.consult-modal__field textarea {
    min-height: 102px;
    padding: 12px 16px;
    resize: vertical;
}

.consult-modal__field input::placeholder,
.consult-modal__field textarea::placeholder {
    color: #b3b3b3;
}

.consult-modal__field input:focus,
.consult-modal__field textarea:focus {
    outline: none;
    border-color: #9fb0c0;
    box-shadow: 0 0 0 1px rgba(159, 176, 192, 0.3);
}

.consult-modal__field input.is-invalid,
.consult-modal__field textarea.is-invalid {
    border-color: #ff8585;
    box-shadow: 0 0 0 1px rgba(255, 133, 133, 0.2);
}

.consult-modal__or {
    padding-top: 42px;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.consult-modal__error {
    margin: 0;
    font-family: var(--font-ui);
    font-size: 14px;
    line-height: 18px;
    color: #ff9191;
}

.consult-modal__submit,
.consult-modal__done {
    width: 100%;
    min-height: 64px;
}

.consult-modal__submit .button__icon,
.consult-modal__done .button__icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
}

.consult-modal__done-icon {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

.consult-modal__done-icon img {
    width: 16px;
    height: 16px;
    display: block;
}

.consult-modal__notice {
    margin: 0;
    font-family: var(--font-ui);
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: rgba(255, 255, 255, 0.6);
}

.consult-modal__notice a {
    color: #ffda36;
    text-decoration: none;
    transition: color 0.2s ease;
}

.consult-modal__notice a:hover,
.consult-modal__notice a:focus-visible {
    color: #f6cf2d;
}

.consult-modal__success-check {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    display: grid;
    place-items: center;
}

.consult-modal__success-check img {
    width: 55px;
    height: 44px;
    display: block;
    object-fit: contain;
}

.consult-modal__success-text {
    margin: 0 0 24px;
    font-family: var(--font-ui);
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    color: #ffffff;
}

@media (max-width: 768px) {
    .consult-modal-backdrop {
        padding: 20px 12px 12px;
    }

    .consult-modal {
        width: calc(100vw - 24px);
    }

    .consult-modal__panel {
        padding: 24px 16px 20px;
    }

    .consult-modal__close {
        top: 24px;
        right: 16px;
    }

    .consult-modal__title-main {
        font-size: 22px;
        line-height: 28px;
    }

    .consult-modal__title-sub {
        font-size: 16px;
        line-height: 22px;
    }

    .consult-modal__row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .consult-modal__or {
        padding-top: 0;
    }

    .consult-modal__success-text {
        font-size: 20px;
        line-height: 28px;
    }
}








.contact-form .field input.is-invalid,
.contact-form .field textarea.is-invalid {
    border-color: #ff8585;
    box-shadow: 0 0 0 1px rgba(255, 133, 133, 0.28);
}


/* Blog featured: pin meta row to bottom */
.page-blog .blog-news--featured .blog-news__text {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-blog .blog-news--featured .blog-news__meta-row {
    margin-top: auto;
}


/* Expertise accordion states (Figma: default / hover / press / open) */
#expertise .accordion__trigger {
    transition: color 0.22s ease, border-bottom-color 0.22s ease;
}

#expertise .accordion__trigger > span:first-child {
    transition: color 0.22s ease;
}

#expertise .accordion__trigger:not(.is-active):hover > span:first-child,
#expertise .accordion__trigger:not(.is-active):focus-visible > span:first-child {
    color: #ffda36;
}

#expertise .accordion__trigger:active > span:first-child {
    color: #b89a26;
}

#expertise .accordion__trigger.is-active {
    border-bottom-color: transparent;
}

#expertise .accordion__trigger.is-active > span:first-child {
    color: #f5d24c;
}

#expertise .accordion__trigger.is-active:active > span:first-child {
    color: #b89a26;
}

/* Expertise accordion hover: yellow line + yellow arrow */
#expertise .accordion__trigger:not(.is-active):hover,
#expertise .accordion__trigger:not(.is-active):focus-visible {
    border-bottom-color: rgba(255, 218, 54, 0.95);
}

#expertise .accordion__trigger:not(.is-active):hover .accordion__icon img,
#expertise .accordion__trigger:not(.is-active):focus-visible .accordion__icon img {
    filter: brightness(0) saturate(100%) invert(84%) sepia(55%) saturate(841%) hue-rotate(342deg) brightness(103%) contrast(101%);
}

/* Expertise accordion line animation (menu-like) */
#expertise .accordion__trigger {
    position: relative;
}

#expertise .accordion__trigger::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: #ffda36;
    transform: none;
    opacity: 0;
    transition: width 0.3s ease, opacity 0.3s ease;
}

#expertise .accordion__trigger:not(.is-active):hover,
#expertise .accordion__trigger:not(.is-active):focus-visible {
    border-bottom-color: rgba(255, 255, 255, 0.22);
}

#expertise .accordion__trigger:not(.is-active):hover::after,
#expertise .accordion__trigger:not(.is-active):focus-visible::after {
    width: 100%;
    opacity: 1;
}

#expertise .accordion__trigger.is-active::after {
    width: 0;
    opacity: 0;
}



/* Clients: expandable review card («читать далее» открывает полный текст) */
#clients .review-card--expandable .review-card__quote-wrap {
    position: relative;
}

#clients .review-card--expandable .review-card__quote-wrap > .review-card__quote {
    margin-bottom: 6px;
}

#clients .review-card--expandable .review-card__more {
    border: 0;
    padding: 0;
    background: transparent;
    color: #ffda36;
    font: 600 16px/22px var(--font-ui);
    cursor: pointer;
    text-transform: lowercase;
    text-decoration: none;
}

#clients .review-card--expandable .review-card__more:hover,
#clients .review-card--expandable .review-card__more:focus-visible {
    color: #f2cd32;
}

/* Clients review modal */
.review-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2300;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(8, 11, 15, 0);
    opacity: 0;
    transition: opacity 0.32s ease, background-color 0.32s ease;
}

.review-modal-backdrop.is-open {
    opacity: 1;
    background: rgba(8, 11, 15, 0.78);
}

.review-modal {
    width: min(1160px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    background: linear-gradient(180deg, #14202b 0%, #1d3042 100%);
    box-shadow: 0 16px 32px rgba(12, 12, 13, 0.4);
    color: #ffffff;
    overflow: hidden;
    transform: translate3d(0, 22px, 0) scale(0.985);
    opacity: 0;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
}

.review-modal-backdrop.is-open .review-modal {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
}

.review-modal__top {
    display: flex;
    justify-content: flex-end;
    padding: 24px 24px 0;
}

.review-modal__close {
    width: 32px;
    height: 32px;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.review-modal__close img {
    width: 20px;
    height: 20px;
    display: block;
}

.review-modal__viewport {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 8px 32px 32px;
}

.review-modal__viewport::-webkit-scrollbar {
    width: 8px;
}

.review-modal__viewport::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
}

.review-modal__viewport::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 999px;
}

.review-modal__head {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.review-modal__logo-wrap {
    width: 100px;
    height: 100px;
    border-radius: 999px;
    background: #ffffff;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex: 0 0 100px;
}

.review-modal__logo {
    width: 86px;
    height: 86px;
    object-fit: contain;
}

.review-modal__company {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 500;
    line-height: 34px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.review-modal__text {
    display: grid;
    gap: 32px;
    margin-bottom: 32px;
}

.review-modal__text p {
    margin: 0;
    font: 400 24px/32px var(--font-ui);
    color: #ffffff;
}

.review-modal__footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.review-modal__author {
    width: 304px;
    padding-left: 24px;
    border-left: 4px solid rgba(255, 255, 255, 0.5);
    display: grid;
    gap: 6px;
}

.review-modal__author strong,
.review-modal__author span {
    font: 400 24px/32px var(--font-ui);
}

.review-modal__author strong {
    font-weight: 700;
    letter-spacing: 0.03em;
}

.review-modal__quotes {
    width: 31px;
    height: 34px;
    object-fit: contain;
}

@media (max-width: 1023px) {
    .review-modal-backdrop {
        padding: 0;
    }

    .review-modal {
        width: 100vw;
        max-width: 100vw;
        max-height: 100dvh;
        border-radius: 0;
    }

    .review-modal__viewport {
        max-height: calc(100dvh - 96px);
        padding: 6px 24px 20px;
    }

    .review-modal__head {
        gap: 14px;
        margin-bottom: 16px;
    }

    .review-modal__logo-wrap {
        width: 72px;
        height: 72px;
        flex-basis: 72px;
    }

    .review-modal__logo {
        width: 62px;
        height: 62px;
    }

    .review-modal__company {
        font-size: 20px;
        line-height: 26px;
    }

    .review-modal__text p {
        font-size: 18px;
        line-height: 26px;
    }

    .review-modal__author {
        width: auto;
        flex: 1 1 auto;
    }

    .review-modal__author strong,
    .review-modal__author span {
        font-size: 18px;
        line-height: 26px;
    }
}


/* Cases filter tags hover/press like yellow buttons */
.page-cases .filter-chip {
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.page-cases .filter-chip:not(.is-active):hover,
.page-cases .filter-chip:not(.is-active):focus-visible {
    background: #d3b53a;
    border-color: #d3b53a;
}

.page-cases .filter-chip:not(.is-active):active {
    background: #a28b2b;
    border-color: #a28b2b;
    transform: translateY(1px);
}

/* Mobile polish pass: spacing, typography, form geometry */
@media (max-width: 1023px) {
    .section {
        padding-block: 84px;
    }

    .hero__inner,
    .about__inner,
    .services__inner,
    .expertise__inner,
    .clients__inner,
    .blog__inner,
    .contact__inner {
        gap: 28px;
    }

    .section-copy__title,
    .section-head h2,
    .partners-cta__copy h2 {
        font-size: clamp(30px, 4.8vw, 44px);
        line-height: 1.18;
    }

    .section-copy__text,
    .section-head__text {
        font-size: clamp(18px, 2.4vw, 22px);
        line-height: 1.45;
    }

    .about .metrics-table {
        border: 0 !important;
        gap: 20px;
    }

    .page-home .about .metrics-table__item:nth-child(3) {
        margin-bottom: 15px;
    }

    .about .metrics-table__item,
    .about .metrics-table__item:nth-child(3n),
    .about .metrics-table__item:nth-last-child(-n + 3),
    .about .metrics-table__item:nth-last-child(-n + 2),
    .about .metrics-table__item:last-child {
        border: 0 !important;
        padding: 0 !important;
    }

    .contact-form__grid.contact-form__grid--three {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 20px;
    }

    .contact-form__grid.contact-form__grid--three .field--wide,
    .contact-form__grid.contact-form__grid--three .attach-field {
        grid-column: auto;
    }

    .contact-form__footer {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .contact-form__footer .button {
        width: 100%;
        min-width: 0;
    }

    .consent-note {
        font-size: 13px;
        line-height: 18px;
    }

    .site-footer__inner {
        gap: 32px;
    }

    .site-footer__brand-logo {
        width: min(360px, 100%);
    }

    .site-footer__menu {
        display: grid;
        gap: 12px;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-left: 0;
        padding-top: 20px;
    }

    .site-footer__bottom-links {
        gap: 12px;
    }

    .cases-mobile-tools p {
        font-family: "Unbounded", sans-serif;
        font-size: 24px;
        font-weight: 500;
        line-height: 32px;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        color: #ffffff;
    }
}

@media (max-width: 767px) {
    .section,
    .about-team,
    .about-figures,
    .services-market,
    .partner-block,
    .blog-page,
    .cases-page,
    .contacts-hero {
        padding-block: 56px;
    }

    .hero {
        min-height: auto;
        padding-top: 88px;
        padding-bottom: 56px;
    }

    .hero__inner {
        min-height: 0;
        gap: 22px;
    }

    .hero__heading h1 {
        font-size: clamp(28px, 8.6vw, 36px);
        line-height: 1.18;
    }

    .button {
        min-height: 56px;
        font-size: 16px;
        line-height: 22px;
        letter-spacing: 0.04em;
        padding: 8px 8px 8px 20px;
    }

    .button__icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .section-copy__title,
    .section-head h2,
    .partners-cta__copy h2 {
        font-size: clamp(26px, 8.2vw, 34px);
        line-height: 1.15;
        letter-spacing: 0.03em;
    }

    .section-copy__text,
    .section-head__text,
    .task-row p,
    .review-card__quote {
        font-size: 16px;
        line-height: 1.5;
    }

    .about .metrics-table {
        gap: 16px;
    }

    .case-preview {
        gap: 10px 12px;
    }

    .case-preview h3 {
        font-size: 15px;
        line-height: 22px;
    }

    .page-blog .blog-news__meta-row,
    .page-blog-media .blog-news__meta-row {
        flex-wrap: wrap;
        align-items: flex-start;
        row-gap: 8px;
        min-height: 0;
        padding-block: 8px 10px;
    }

    .page-blog .blog-news__meta-row a,
    .page-blog-media .blog-news__meta-row a {
        margin-left: auto;
    }

    .contact-form__grid.contact-form__grid--three {
        gap: 14px;
        margin-bottom: 16px;
    }

    .attach-field__dropzone {
        min-height: 132px;
        padding: 14px 16px;
    }

    .site-footer {
        padding-top: 52px;
    }

    .site-footer__inner {
        gap: 28px;
    }

    .site-footer__brand-logo {
        width: min(300px, 100%);
    }

    .site-footer__bottom {
        padding-top: 14px;
        padding-bottom: 18px;
    }

    .site-footer .site-footer__messengers {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
    }

    .site-footer .button--telegram,
    .site-footer .button--max {
        width: 100%;
        min-width: 100% !important;
    }

    .page-contacts .contacts-hero__messengers {
        flex-direction: column;
        align-items: stretch;
    }

    .page-contacts .contacts-hero__telegram,
    .page-contacts .contacts-hero__max {
        width: 100%;
        min-width: 100% !important;
    }
}

@media (max-width: 430px) {
    .site-header__inner {
        min-height: 48px;
        gap: 8px;
        padding-bottom: 10px;
    }

    .site-header .brand__image {
        width: min(176px, 46vw);
        height: auto;
    }

    .menu-toggle {
        width: 32px;
        height: 32px;
    }

    .hero {
        padding-top: 82px;
        padding-bottom: 48px;
    }

    .hero__heading h1 {
        font-size: clamp(25px, 8.4vw, 32px);
        line-height: 1.16;
    }

    .hero__summary,
    .hero__copy p {
        font-size: 15px;
        line-height: 22px;
    }

    .section-copy__title,
    .section-head h2,
    .partners-cta__copy h2 {
        font-size: clamp(24px, 8vw, 30px);
        line-height: 1.14;
    }

    .section-copy__text,
    .section-head__text,
    .task-row p,
    .review-card__quote {
        font-size: 15px;
        line-height: 22px;
    }

    .button {
        min-height: 54px;
        padding: 8px 8px 8px 18px;
        font-size: 15px;
        line-height: 21px;
        letter-spacing: 0.03em;
    }

    .button__icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .cases-page {
        padding: 80px 0 56px !important;
    }

    .cases-mobile-tools {
        align-items: flex-end;
        gap: 24px;
    }

    .cases-mobile-tools p {
        font-family: "Unbounded", sans-serif;
        font-size: 24px;
        font-weight: 500;
        line-height: 32px;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        color: #ffffff;
    }

    .cases-mobile-tools__button {
        min-height: auto;
        border: 0;
        border-radius: 0;
        padding: 4px 0;
        background: transparent;
        color: #ffda36;
        font-family: "Golos Text", sans-serif;
        font-size: 16px;
        font-weight: 600;
        line-height: 22px;
        text-transform: none;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    .cases-mobile-tools__button img {
        width: 16px;
        height: 16px;
        flex: 0 0 16px;
    }

    .case-card {
        padding: 18px;
    }

    .case-card__content h3 {
        font-size: 15px;
        line-height: 22px;
    }

    .page-blog .blog-page__head h1,
    .page-blog-media .blog-page__head h1 {
        font-size: 32px;
        line-height: 42px;
    }

    .blog-page {
        padding-top: 80px;
    }

    .page-blog .blog-page__tabs a,
    .page-blog-media .blog-page__tabs a {
        font-size: 14px;
        line-height: 20px;
    }

    .page-blog .blog-page__list,
    .page-blog-media .blog-page__list {
        gap: 48px;
    }

    .page-blog .blog-news--featured,
    .page-blog-media .blog-news--featured {
        width: 100vw;
        max-width: none;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        border-radius: 0;
    }

    .page-blog .blog-news__meta-row {
        margin-top: 0;
    }

    .field input,
    .field textarea {
        min-height: 54px;
        padding: 14px 16px;
        border-radius: 14px;
        font-size: 15px;
        line-height: 21px;
    }

    .contact-form {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        border-radius: 0;
    }

    .field textarea {
        min-height: 136px;
    }

    .attach-field > span:first-child {
        font-size: 15px;
        line-height: 20px;
    }

    .attach-field__dropzone {
        min-height: 124px;
        padding: 12px 14px;
        border-radius: 10px;
    }

    .site-footer__brand-logo {
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: 72px;
        object-fit: contain;
    }

    .site-footer__phone {
        font-size: 22px;
        line-height: 28px;
    }

    .site-footer__mail {
        font-size: 17px;
        line-height: 24px;
    }

    .site-footer__bottom span,
    .site-footer__bottom a {
        font-size: 12px;
        line-height: 16px;
    }

    /* Yellow buttons compact mode */
    .button--primary,
    .button--header {
        height: 40px !important;
        min-height: 40px !important;
        padding: 4px 6px 4px 14px !important;
        font-size: 13px !important;
        line-height: 18px !important;
        letter-spacing: 0.03em !important;
    }

    .button--primary.button--icon-right,
    .button--header.button--icon-right {
        column-gap: 6px;
    }

    .button--primary .button__icon,
    .button--header .button__icon {
        width: 30px !important;
        height: 30px !important;
        flex: 0 0 30px !important;
    }

    .button--primary .button__icon img,
    .button--header .button__icon img {
        width: 11px;
        height: 9px;
    }

    .contact-download .button--download {
        height: 40px !important;
        min-height: 40px !important;
        padding: 4px 14px !important;
        font-size: 13px !important;
        line-height: 18px !important;
        gap: 6px !important;
    }
}

@media (max-width: 390px) {
    .site-header__inner {
        padding-bottom: 8px;
    }

    .site-header .brand__image {
        width: min(162px, 44vw);
    }

    .hero {
        padding-top: 78px;
        padding-bottom: 44px;
    }

    .hero__heading h1 {
        font-size: clamp(23px, 8.1vw, 29px);
    }

    .section-copy__title,
    .section-head h2,
    .partners-cta__copy h2 {
        font-size: clamp(22px, 7.4vw, 27px);
    }

    .button {
        min-height: 52px;
        font-size: 14px;
        line-height: 20px;
        padding-left: 16px;
    }

    .button__icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .page-blog .blog-page__head h1,
    .page-blog-media .blog-page__head h1 {
        font-size: 30px;
        line-height: 38px;
    }
}

/* Clients logo strip: full-bleed from edge to edge */
.clients .logo-strip {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
    overflow: visible !important;
}

.clients .logo-strip__track {
    overflow: visible !important;
}

/* Home page: unify intro spacing (heading -> text) across all sections */
.page-home .section-copy {
    gap: 24px !important;
}

.page-home .section-head.section-head--stacked {
    gap: 24px !important;
}

.page-home .services .section-head__text {
    margin-top: 0 !important;
}

/* Services mobile final override (place last to beat legacy duplicates) */
@media (max-width: 767px) {
    .page-services .services-hero {
        min-height: auto;
        padding: 82px 0 32px;
    }

    .page-services .services-hero__inner {
        gap: 24px;
    }

    .page-services .services-hero__text h1 span:first-child {
        font-size: 24px;
        line-height: 32px;
        letter-spacing: 0.03em;
    }

    .page-services .services-hero__text h1 span:last-child {
        font-size: 20px;
        line-height: 28px;
        letter-spacing: 0.06em;
        color: #6794b8;
    }

    .page-services .services-hero__text p {
        margin-top: 24px;
        font-size: 14px;
        line-height: 20px;
    }

    .page-services .services-hero__chips {
        gap: 8px;
        width: 100%;
    }

    .page-services .services-chip {
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        width: auto;
        max-width: 100%;
        min-height: 40px;
        height: auto;
        margin-right: 0;
        margin-bottom: 0;
        padding: 8px 16px;
        gap: 4px;
        border-width: 2px;
        font-size: 12px;
        line-height: 20px;
        letter-spacing: 0.03em;
        white-space: normal;
    }

    .page-services .services-chip img {
        width: 14px;
        height: 12px;
        flex: 0 0 20px;
    }

    .page-services .services-market {
        padding: 32px 0;
    }

    .page-services main > section.services-market:nth-of-type(even) {
        background: #5a7d9e;
    }

    .page-services main > section.services-market:nth-of-type(odd) {
        background: #1d3042;
    }

    .page-services main > section.services-market:nth-of-type(odd) .services-market__result {
        background: #5a7d9e;
    }

    .page-services .services-market__head h2 {
        font-size: 20px;
        line-height: 28px;
        letter-spacing: 0.06em;
    }

    .page-services .services-market__head p {
        font-size: 18px;
        line-height: 24px;
        letter-spacing: 0.06em;
    }

    .page-services .services-market__table {
        margin-top: 24px;
    }

    .page-services .services-market__row {
        gap: 16px;
        padding: 24px 0;
    }

    .page-services .services-market__row--head {
        padding: 0 0 16px;
    }

    .page-services .services-market__row--head span {
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 0.06em;
    }

    .page-services .services-market__task::before,
    .page-services .services-market__work::before,
    .page-services .services-market__tools::before {
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 0.06em;
    }

    .page-services .services-market__task,
    .page-services .services-market__work {
        font-size: 16px;
        line-height: 20px;
    }

    .page-services .services-market__task {
        letter-spacing: 0.02em;
    }

    .page-services .services-market__tools {
        gap: 8px;
    }

    .page-services .services-market__tools span {
        min-height: 0;
        padding: 6px 8px;
        font-size: 14px;
        line-height: 16px;
        border-radius: 37px;
    }

    .page-services .services-market__result {
        margin-top: 24px;
        padding: 24px;
        gap: 8px;
        border-radius: 8px;
    }

    .page-services .services-market__result h3 {
        font-size: 18px;
        line-height: 24px;
        letter-spacing: 0.06em;
    }

    .page-services .services-market__result > div {
        gap: 8px;
    }

    .page-services .services-market__result > div span,
    .page-services .services-market__result > div p {
        font-size: 16px;
        line-height: 20px;
    }
}

/* Home about metrics: cards without borders on all breakpoints */
.page-home .about .metrics-table {
    border: 0 !important;
}

.page-home .about .metrics-table__item,
.page-home .about .metrics-table__item:nth-child(2n),
.page-home .about .metrics-table__item:nth-child(3n),
.page-home .about .metrics-table__item:nth-last-child(-n + 3),
.page-home .about .metrics-table__item:nth-last-child(-n + 2),
.page-home .about .metrics-table__item:last-child {
    border: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
}

/* Home About medium-range alignment (1024-1439): geometry + metrics typography */
@media (min-width: 1024px) and (max-width: 1439px) {
    .page-home {
        --container-gutter: clamp(32px, 4.2vw, 72px);
        --gutter: var(--container-gutter);
    }

    .page-home .about__inner {
        grid-template-columns: minmax(420px, 380px) minmax(0, 1fr);
        gap: clamp(24px, 2.8vw, 44px);
    }

    .page-home .about__stats {
        gap: clamp(24px, 3vw, 40px);
    }

    .page-home .about .metrics-table {
        grid-template-columns: repeat(3, minmax(160px, 1fr));
        gap: clamp(16px, 2.2vw, 32px) clamp(20px, 3vw, 42px);
    }

    .page-home .about .metrics-table__item {
        padding: 0 !important;
    }

    .page-home .about .metrics-table__item strong {
        font-size: clamp(38px, 3.2vw, 47px);
        line-height: clamp(48px, 4vw, 66px);
        letter-spacing: 0.01em;
        white-space: nowrap;
    }

    .page-home .about .metrics-table__item span {
        font-size: clamp(22px, 1.9vw, 30px);
        line-height: clamp(28px, 2.4vw, 36px);
    }
}

/* Ниже 1599px, но выше диапазона clamp (1024–1439): уменьшаем цифры до 48px.
   Диапазон начинается с 1440px, чтобы не перебивать .metrics-table__item strong на планшетах. */
@media (min-width: 1440px) and (max-width: 1598px) {
    .page-home .about .metrics-table__item strong {
        font-size: 48px;
        line-height: 61px;
        font-weight: 700;
        letter-spacing: 0.01em;
    }
}

/* Global container contract */
:root {
    --container-max: 1520px;
    --container-gutter: clamp(24px, 10.416vw, 200px);
    --shell: var(--container-max);
    --gutter: var(--container-gutter);
}

.shell {
    width: min(var(--shell), calc(100% - (2 * var(--gutter))));
}

@media (min-width: 1920px) {
    :root {
        --container-gutter: 200px;
        --gutter: var(--container-gutter);
    }
}

@media (min-width: 1440px) and (max-width: 1919px) {
    :root {
        --container-gutter: clamp(72px, 6vw, 160px);
        --gutter: var(--container-gutter);
    }
}

@media (min-width: 1024px) and (max-width: 1439px) {
    :root {
        --container-gutter: clamp(32px, 4.2vw, 72px);
        --gutter: var(--container-gutter);
    }
}

@media (max-width: 1023px) {
    :root {
        --container-gutter: clamp(16px, 3.5vw, 24px);
        --gutter: var(--container-gutter);
    }
}

@media (max-width: 767px) {
    :root {
        --container-gutter: 16px;
        --gutter: var(--container-gutter);
    }
}

@media (max-width: 430px) {
    :root {
        --container-gutter: 14px;
        --gutter: var(--container-gutter);
    }
}

@media (max-width: 390px) {
    :root {
        --container-gutter: 12px;
        --gutter: var(--container-gutter);
    }
}

:root {
    --secondary-title-gap: 32px;
}

@media (min-width: 1280px) {
    :root {
        --secondary-title-gap: 64px;
    }
}

/* Secondary pages: consistent top gap from header to first title */
.page-cases .cases-page,
.page-services .services-hero,
.page-blog .blog-page,
.page-privacy .privacy {
    padding-top: calc(var(--site-header-height, 88px) + var(--secondary-title-gap));
}

/* Home medium (1024-1279): center key CTA buttons */
@media (min-width: 1024px) and (max-width: 1279px) {
    .page-home .services .section-action--right,
    .page-home .expertise__action {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .page-home .services .section-action--right .button,
    .page-home .expertise__action .button {
        width: min(466px, 100%);
        margin-inline: auto;
    }
}

@media (max-width: 1279px) {
    .page-home .blog .section-action--centered {
        justify-content: center;
    }

    .page-home .blog .section-action--centered .button {
        width: min(466px, 100%);
        max-width: 100%;
        margin-inline: auto;
    }
}

@media (max-width: 899px) {
    .page-home .services .section-action--right {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .page-home .services .section-action--right .button {
        width: min(466px, 100%);
        max-width: 100%;
        margin-inline: auto;
    }

    .page-home .expertise__action {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .page-home .expertise__action .button {
        width: min(466px, 100%);
        margin-inline: auto;
    }

    .page-home .blog .blog-grid > article:nth-of-type(n + 4) {
        display: none;
    }

    .page-home .blog .section-action--centered {
        justify-content: center;
    }

    .page-home .blog .section-action--centered .button,
    .page-home .partners-cta__aside .button {
        width: min(466px, 100%);
        max-width: 100%;
    }

    .page-home .blog .section-action--centered .button {
        margin-inline: auto;
    }

    .page-home .partners-cta__aside .button {
        justify-self: center;
        margin-inline: auto;
    }
}

@media (max-width: 1023px) {
    .page-home .expertise__action {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .page-home .expertise__action .button {
        width: min(466px, 100%);
        margin-inline: auto;
    }
}


/* ======================================================================
 * IMAR theme overrides (appended by wp-theme/imar).
 * ====================================================================== */

/* Empty-state fallback for the Expertise accordion: if a taxonomy term
 * has no cases yet, we keep the pane inside the .shell flow instead of
 * letting it stretch to 100vw and shift left via the bleed variables.
 * Otherwise a single <p> ends up positioned under a different heading. */
.accordion__pane--empty .accordion__empty-note {
    margin: 0;
    padding: 8px 0 0;
    font-family: 'Golos Text', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.72);
}

@media (min-width: 1280px) {
    .expertise .accordion__pane.accordion__pane--empty.is-open {
        position: static;
        left: auto;
        width: auto;
        margin-right: 0;
    }
}

/* Блог: вторая и далее страница ленты — без жёстких layout-1…10, плитка. */
.page-blog .blog-page__list--subsequent {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 32px;
    align-items: start;
}

.page-blog .blog-page__list--subsequent .blog-news {
    grid-column: auto;
    grid-row: auto;
}

.page-blog .blog-page__empty,
.page-home .blog-section__empty {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    grid-column: 1 / -1;
}

.page-blog .blog-pagination {
    width: 100%;
    margin-top: 32px;
}

.page-blog .blog-pagination ul.page-numbers,
.page-blog .blog-pagination .page-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.page-blog .blog-pagination .page-numbers li {
    display: inline-flex;
    margin: 0;
}

.page-blog .blog-pagination a.page-numbers,
.page-blog .blog-pagination span.page-numbers {
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 16px;
}

.page-blog .blog-pagination a.page-numbers:hover,
.page-blog .blog-pagination a.page-numbers:focus {
    color: #ffda36;
    border-color: #ffda36;
}

.page-blog .blog-pagination span.page-numbers.current {
    color: #1d3042;
    background: #ffda36;
    border-color: #ffda36;
    font-weight: 600;
}

.page-blog .blog-pagination .page-numbers.dots {
    border: none;
    min-width: auto;
    background: none;
}
