/* ============================================================
   Квиз «Проверка товарного знака» — стили
   Зависит от tokens.css
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--zh-cream);
    font-family: var(--font-body);
    color: var(--zh-ink);
}

input,
button {
    font-family: inherit;
}

/* ---------- шапка ---------- */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    background: var(--zh-white);
    padding: 6px 28px 20px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.header__logo {
    width: 170px;
    height: 67px;
    overflow: hidden;
    position: relative;
    flex: none;
}

.header__logo img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.header__contacts {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.header__link {
    font-size: 13px;
    font-weight: 500;
    color: var(--zh-warm-grey);
    text-decoration: none;
}

.header__phone {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    color: var(--zh-warm-grey);
    text-decoration: none;
}

.header__link:hover,
.header__phone:hover {
    color: var(--zh-blue-primary);
}

/* ---------- каркас ---------- */

.layout {
    flex: 1;
    display: flex;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.side {
    flex: 0 0 42%;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 48px;
}

.side__inner {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
}

.side__head {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.side__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(22px, 2vw, 32px);
    line-height: 1.1;
    color: var(--zh-ink);
}

.side__lead {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--zh-warm-grey);
    max-width: 46ch;
}

.stages {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stage {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border-radius: 16px;
    padding: 16px 18px;
    background: var(--zh-white);
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: var(--shadow-ambient);
}

.stage__badge {
    flex: none;
    border-radius: var(--radius-pill);
    padding: 6px 13px;
    background: var(--zh-blue-primary);
    color: var(--zh-white);
    font-family: var(--font-label);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
    margin-top: 1px;
}

.stage__body {
    min-width: 0;
}

.stage__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
    margin-bottom: 6px;
}

.stage__text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--zh-ink);
}

.stage__list {
    margin: 6px 0 0;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.5;
}

.facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.fact {
    border-radius: 14px;
    padding: 14px 12px;
    background: var(--zh-white);
    border: 1px solid rgba(0, 0, 0, .06);
}

.fact__value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 24px;
    line-height: 1;
    color: var(--zh-blue-primary);
}

.fact__label {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.35;
    color: var(--zh-warm-grey);
}

/* ---------- карточка квиза ---------- */

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 22px 16px 34px;
}

.card {
    width: 100%;
    max-width: 580px;
    background: var(--zh-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 30px 30px 34px;
    animation: qfade .5s ease;
}

.screen {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.screen[hidden] {
    display: none;
}

/* ---------- прогресс ---------- */

.progress {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}

.progress[hidden] {
    display: none;
}

.progress__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.progress__step {
    font-family: var(--font-label);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--zh-warm-grey);
}

.progress__note {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    color: var(--zh-blue-primary);
    max-width: 55%;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.progress__bar {
    display: flex;
    gap: 6px;
}

.progress__seg {
    flex: 1;
    height: 6px;
    border-radius: 99px;
    background: var(--zh-blue-pale);
    transition: background .35s ease;
}

.progress__seg--current {
    background: var(--zh-blue-bright);
}

.progress__seg--done {
    background: var(--zh-blue-primary);
}

.progress__labels {
    display: flex;
    justify-content: space-between;
    gap: 4px;
}

.progress__label {
    flex: 1;
    font-size: 10px;
    line-height: 1.2;
    text-align: center;
    font-family: var(--font-label);
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--zh-warm-grey);
}

.progress__label--active {
    color: var(--zh-blue-primary);
}

.unlock {
    align-self: flex-start;
    margin-top: 2px;
    border-radius: var(--radius-pill);
    padding: 6px 12px;
    font-size: 11px;
    font-family: var(--font-label);
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    background: var(--zh-grey-paper);
    color: var(--zh-ink);
    animation: unlockIn .35s ease;
}

.unlock[hidden] {
    display: none;
}

/* ---------- интро ---------- */

.eyebrow {
    align-self: flex-start;
    border-radius: var(--radius-pill);
    padding: 7px 14px;
    background: var(--zh-green-olive);
    color: var(--zh-white);
    font-family: var(--font-label);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.intro__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(24px, 4.8vw, 32px);
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--zh-blue-primary);
    text-wrap: pretty;
}

.intro__lead {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checklist__item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.4;
}

.checklist__mark {
    flex: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--zh-blue-paler);
    color: var(--zh-blue-primary);
    font-weight: 700;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.intro__hint {
    font-size: 13px;
    color: var(--zh-warm-grey);
    text-align: center;
}

/* мобильный блок доверия — виден вместо левой колонки */
.mobile-trust {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 16px;
    background: var(--zh-grey-paper);
    border: 1px solid rgba(0, 0, 0, .04);
}

.mobile-trust__title {
    font-family: var(--font-label);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--zh-blue-primary);
}

.mobile-trust__row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 9px 11px;
    border-radius: 12px;
    background: var(--zh-white);
    font-size: 12px;
    line-height: 1.35;
}

.mobile-trust__badge {
    flex: none;
    border-radius: var(--radius-pill);
    padding: 4px 9px;
    background: var(--zh-blue-primary);
    color: var(--zh-white);
    font-family: var(--font-label);
    font-weight: 800;
    font-size: 9px;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.mobile-trust__facts {
    display: flex;
    gap: 8px;
}

.mobile-trust__fact {
    flex: 1;
    padding: 8px 10px;
    border-radius: 12px;
    background: var(--zh-white);
}

.mobile-trust__fact strong {
    display: block;
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--zh-blue-primary);
}

.mobile-trust__fact span {
    font-size: 9px;
    line-height: 1.25;
    color: var(--zh-warm-grey);
}

/* ---------- поля и кнопки ---------- */

.field {
    border: 2px solid var(--zh-grey-fog);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 16px;
    outline: none;
    transition: border-color .15s;
    width: 100%;
}

.field:focus {
    border-color: var(--zh-blue-bright);
}

.field--brand {
    border-color: var(--zh-blue-sky);
}

.btn-primary {
    border: none;
    cursor: pointer;
    background: var(--zh-blue-primary);
    color: var(--zh-white);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-pill);
    padding: 17px 40px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: .02em;
    transition: background .15s;
}

.btn-primary:hover {
    background: var(--zh-blue-bright);
}

.btn-next {
    align-self: flex-end;
    border: 2px solid var(--zh-blue-primary);
    cursor: pointer;
    background: var(--zh-white);
    color: var(--zh-blue-primary);
    border-radius: var(--radius-pill);
    padding: 13px 32px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    transition: background .15s, color .15s;
}

.btn-next:hover {
    background: var(--zh-blue-paler);
}

.btn-next[hidden] {
    display: none;
}

.btn-back {
    align-self: flex-start;
    border: none;
    background: none;
    color: var(--zh-warm-grey);
    cursor: pointer;
    font-size: 14px;
    padding: 0;
}

.btn-back:hover {
    color: var(--zh-blue-primary);
}

.btn-link {
    align-self: flex-start;
    border: none;
    background: none;
    color: var(--zh-blue-primary);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    padding: 0;
}

.btn-link:hover {
    color: var(--zh-blue-bright);
}

.btn-link[hidden] {
    display: none;
}

/* ---------- экран вопроса ---------- */

.question__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding: 13px 16px;
    border-radius: 16px;
    border: 2px solid var(--zh-grey-fog);
    background: var(--zh-white);
    color: var(--zh-ink);
    cursor: pointer;
    font-size: 16px;
    line-height: 1.3;
    transition: border-color .15s, background .15s;
}

.option:hover {
    border-color: var(--zh-blue-bright);
}

.option__dot {
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #C9C9C9;
    background: var(--zh-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    transition: background .15s;
}

.option--selected {
    border-color: var(--zh-blue-primary);
    background: var(--zh-blue-paler);
}

.option--selected .option__dot {
    border-color: var(--zh-blue-primary);
    background: var(--zh-blue-primary);
}

/* сравнение Google / ФИПС */

.fips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.fips[hidden] {
    display: none;
}

.fips__col {
    border-radius: 14px;
    padding: 12px;
    background: var(--zh-grey-paper);
    border: 1px solid rgba(0, 0, 0, .04);
}

.fips__col--good {
    background: var(--zh-blue-paler);
    border-color: var(--zh-blue-stroke);
}

.fips__label {
    font-family: var(--font-label);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--zh-warm-grey);
    margin-bottom: 6px;
}

.fips__col--good .fips__label {
    color: var(--zh-blue-primary);
}

.fips__text {
    font-size: 13px;
    line-height: 1.4;
    color: var(--zh-rust);
}

.fips__col--good .fips__text {
    color: var(--zh-ink);
}

/* реплика эксперта */

.bubble {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--zh-blue-paler);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    animation: bubbleIn .35s ease;
}

.bubble[hidden] {
    display: none;
}

.bubble__avatar {
    position: relative;
    flex: none;
}

.bubble__avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 10%;
    background: var(--zh-blue-pale);
    display: block;
}

.bubble__status {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--zh-green-olive);
    border: 2px solid var(--zh-white);
    animation: checkPop .35s ease;
}

.bubble__body {
    font-size: 14px;
    line-height: 1.45;
}

.bubble__title {
    display: block;
    font-family: var(--font-label);
    font-weight: 800;
    font-size: 11px;
    color: var(--zh-blue-primary);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 2px;
}

.bubble__author {
    display: block;
    font-size: 12px;
    color: var(--zh-warm-grey);
    margin-bottom: 4px;
}

/* кейс из практики */

.case {
    border-radius: 16px;
    padding: 14px;
    background: var(--zh-grey-paper);
    border: 1px solid rgba(0, 0, 0, .05);
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: bubbleIn .4s ease;
}

.case[hidden] {
    display: none;
}

.case__head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.case__eyebrow {
    font-family: var(--font-label);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--zh-green-olive);
}

.case__highlight {
    border-radius: 10px;
    padding: 4px 10px;
    background: var(--zh-green-olive);
    color: var(--zh-white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
}

.case__image {
    width: 100%;
    max-height: 160px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    background: var(--zh-grey-fog);
}

.case__image[hidden] {
    display: none;
}

.case__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 500;
}

.case__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 12px;
    line-height: 1.35;
}

.case__cell {
    padding: 8px 10px;
    border-radius: 10px;
}

.case__cell strong {
    display: block;
    margin-bottom: 3px;
}

.case__cell--bad {
    background: rgba(194, 57, 0, .08);
    color: var(--zh-rust);
}

.case__cell--good {
    background: rgba(148, 188, 38, .16);
    color: var(--zh-ink);
}

.case__cell--good strong {
    color: var(--zh-green-olive);
}

/* ---------- экран «сначала сервис» ---------- */

.service__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
}

.service__sub {
    font-family: var(--font-label);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .04em;
    color: var(--zh-blue-primary);
}

.service__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.service__cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px;
    border-radius: 16px;
    background: var(--zh-blue-primary);
    color: var(--zh-white);
    text-decoration: none;
    box-shadow: var(--shadow-pill);
}

.service__cta strong {
    font-family: var(--font-display);
    font-size: 16px;
    text-transform: uppercase;
}

.service__cta span {
    font-size: 13px;
    line-height: 1.4;
    opacity: .92;
}

.service__alt {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 2px solid var(--zh-blue-primary);
    background: var(--zh-white);
    color: var(--zh-ink);
    cursor: pointer;
    text-align: left;
}

.service__alt strong {
    font-family: var(--font-display);
    font-size: 14px;
    text-transform: uppercase;
    color: var(--zh-blue-primary);
}

.service__alt span {
    font-size: 13px;
    line-height: 1.4;
    color: var(--zh-warm-grey);
}

/* ---------- контактная форма ---------- */

.contact__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
}

.bonuses {
    background: var(--zh-blue-paler);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.bonuses strong {
    font-family: var(--font-label);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--zh-blue-primary);
}

.bonuses div {
    font-size: 14px;
    line-height: 1.4;
}

.contact__lead {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.channels {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.channels__label {
    font-family: var(--font-label);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--zh-warm-grey);
}

.channels__row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.channel {
    border: 2px solid var(--zh-grey-fog);
    background: var(--zh-white);
    color: var(--zh-ink);
    border-radius: var(--radius-pill);
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
}

.channel:hover {
    border-color: var(--zh-blue-bright);
}

.channel--selected {
    border-color: var(--zh-blue-primary);
    background: var(--zh-blue-primary);
    color: var(--zh-white);
}

.consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    text-align: left;
}

.consent__box {
    flex: none;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid #C9C9C9;
    background: var(--zh-white);
    color: var(--zh-white);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    transition: background .15s;
}

.consent--on .consent__box {
    border-color: var(--zh-blue-primary);
    background: var(--zh-blue-primary);
}

.consent__text {
    font-size: 12px;
    line-height: 1.45;
    color: var(--zh-warm-grey);
}

.error {
    color: var(--zh-rust);
    font-size: 14px;
}

.error[hidden] {
    display: none;
}

.contact__promo,
.contact__legal {
    font-size: 13px;
    color: var(--zh-warm-grey);
    text-align: center;
}

.contact__legal {
    font-size: 12px;
    line-height: 1.4;
}

.contact__promo[hidden] {
    display: none;
}

/* ---------- благодарность ---------- */

.thanks {
    align-items: flex-start;
}

.thanks__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--zh-blue-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thanks__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 26px;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--zh-blue-primary);
}

.thanks__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.docs {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.docs__title {
    font-family: var(--font-label);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--zh-blue-primary);
}

.docs__lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--zh-warm-grey);
}

.docs__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.doc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 14px;
    border: 2px solid var(--zh-blue-pale);
    background: var(--zh-white);
    color: var(--zh-ink);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 500;
    transition: border-color .15s;
}

.doc:hover {
    border-color: var(--zh-blue-bright);
}

.doc__action {
    flex: none;
    font-family: var(--font-label);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--zh-blue-primary);
}

.docs__note,
.thanks__ask {
    font-size: 12px;
    line-height: 1.4;
    color: var(--zh-warm-grey);
}

.thanks__ask {
    font-size: 14px;
}

.thanks__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.thanks__links a {
    border: 2px solid var(--zh-blue-pale);
    border-radius: var(--radius-pill);
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--zh-ink);
    text-decoration: none;
}

.thanks__links a:hover {
    border-color: var(--zh-blue-bright);
}

.btn-restart {
    border: none;
    background: none;
    color: var(--zh-warm-grey);
    cursor: pointer;
    font-size: 13px;
    padding: 0;
}

.btn-restart:hover {
    color: var(--zh-blue-primary);
}

/* ---------- подвал ---------- */

.footer {
    background: var(--zh-charcoal);
    color: var(--zh-white);
    padding: 28px 28px 24px;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
}

.footer__col--about {
    gap: 6px;
    line-height: 1.5;
    color: #BDBDBD;
    max-width: 340px;
}

.footer__col--about strong {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--zh-white);
}

.footer a {
    color: #BDBDBD;
    text-decoration: none;
}

.footer a:hover {
    color: var(--zh-white);
}

.footer__phone {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    color: var(--zh-white) !important;
}

.footer__phone:hover {
    color: var(--zh-blue-sky) !important;
}

.footer__social {
    display: flex;
    gap: 10px;
}

.footer__social a {
    color: var(--zh-blue-sky);
    font-weight: 500;
}

/* ---------- анимации ---------- */

@keyframes qfade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes bubbleIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes checkPop {
    0% {
        transform: scale(.6);
        opacity: 0;
    }

    70% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes unlockIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ---------- адаптив ---------- */

@media (max-width: 1080px) {

    /* Перестраиваем layout в колонку */
    .layout {
        flex-direction: column;
        align-items: center;
    }

    .side {
        display: flex;
        flex: none;
        max-width: 100%;
        width: 100%;
        padding: 20px 20px 0;
        margin-bottom: 0;
        order: 1;
        /* side__head первым */
    }

    .side__inner {
        gap: 12px;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    /* Скрываем всё кроме side__head на мобильных */
    .side__inner>*:not(.side__head) {
        display: none;
    }

    /* Адаптация side__head для мобильных */
    .side__head {
        text-align: center;
        padding: 0 10px;
        align-items: center;
    }

    .side__title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .side__lead {
        font-size: 14px;
        line-height: 1.4;
    }

    /* Карточка квиза */
    .main {
        width: 100%;
        order: 2;
        /* карточка второй */
    }

    .card {
        max-width: 600px;
        margin: 0 auto;
    }

    /* Скрываем mobile-trust, так как есть side__head */
    .mobile-trust {
        display: none;
    }
}

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

    .header__logo {
        width: 150px;
    }

    .header__contacts {
        justify-content: flex-end;
        row-gap: 10px;
        padding-right: 20px;
    }

    .header {
        flex-wrap: nowrap;
        align-items: flex-end;
    }

    .card {
        padding: 22px 18px 26px;
    }

    .header {
        padding: 6px 16px 20px;
        align-items: center;
        justify-content: center;
    }

    /* Дополнительная адаптация side__head для маленьких экранов */
    .side {
        padding: 16px 16px 0;
    }

    .side__inner {
        max-width: 100%;
    }

    .side__title {
        font-size: 22px;
    }

    .side__lead {
        display: none;
        font-size: 13px;
    }

    .card {
        max-width: 100%;
    }

    .fips,
    .case__grid {
        grid-template-columns: 1fr;
    }
}