:root {
    --ink: #12161a;
    --paper: #fefefe;
    --sand: #e8e6e3;
    --muted: #6d6b6b;
    --grad: linear-gradient(137deg, #12161a 0%, #1f2225 100%);
    --grad-btn: linear-gradient(137deg, #12161a 0%, #31363b 86%);
    --shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    --font: "Nunito", sans-serif;
    --display: "Rubik", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: #d8d6d3;
    font-family: var(--font);
    font-size: 18px;
    line-height: 1.45;
}
.site-frame {
    width: min(1920px, 100%);
    margin: 0 auto;
    position: relative;
    background: var(--paper);
    min-height: 100vh;
    min-height: 100dvh;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
button, input { font: inherit; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.hp { position: absolute; left: -9999px; }

.container {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
}
.is-front .container {
    width: auto;
    max-width: none;
    margin-left: 80px;
    margin-right: 40px;
}
.section { padding: 36px 0; }
.section__title {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.15;
}
.section__title span { font-weight: 300; font-family: var(--font); }
.section__lead {
    margin-top: 8px;
    font-size: 22px;
    font-weight: 300;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 18px;
    border: 0;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: var(--shadow);
    cursor: pointer;
    white-space: nowrap;
}
.btn--dark { color: #fefefe; background: var(--grad-btn); }
.btn--light { color: var(--ink); background: #fefefe; }
.btn--small { min-height: 32px; width: 100%; }
.btn--icon { width: 44px; padding: 0; }
.btn__arrow { width: 18px; height: 18px; flex: 0 0 auto; }
.btn__brand { width: 22px; height: 22px; flex: 0 0 auto; object-fit: contain; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    color: #fefefe;
    background: var(--grad);
}
.is-front .site-header {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: transparent;
}
.header__row {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 92px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fefefe;
    text-decoration: none;
    flex: 0 0 auto;
}
.logo img { width: 42px; height: auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
    font-family: Inter, sans-serif;
    font-weight: 800;
    font-size: 28px;
    letter-spacing: 0.04em;
}
.logo__tag { margin-top: -2px; font-weight: 300; font-size: 13px; line-height: 1.15; }
.nav {
    display: flex;
    justify-content: center;
    flex: 1;
}
.menu {
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 10px 22px;
    border-radius: 8px;
    background: rgba(56, 56, 56, 0.34);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.menu a { text-decoration: none; font-family: var(--display); font-size: 18px; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__glyph {
    display: none;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: currentColor;
    stroke: none;
}
.header__brand { width: 20px; height: 20px; flex: 0 0 auto; object-fit: contain; }
.burger {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 0;
    background: transparent;
    color: #fff;
}
.burger span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #fff;
}

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    color: #fefefe;
    padding: 120px 0 72px;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(18, 22, 26, 0.55), rgba(18, 22, 26, 0.12) 70%);
}
.hero__content { position: relative; z-index: 1; max-width: 680px; }
.hero h1 {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(34px, 4.2vw, 60px);
    line-height: 1.08;
}
.hero__lead { margin: 16px 0 22px; font-weight: 300; font-size: 22px; }
.promo {
    width: min(220px, 100%);
    padding: 10px;
    border-radius: 6px;
    background: rgba(56, 56, 56, 0.34);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.promo img { width: 100%; height: 150px; object-fit: cover; border-radius: 6px; }
.promo p { margin: 10px 0; font-size: 16px; font-weight: 300; }
.hero__down {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fdfdfd;
    text-decoration: none;
    background: rgba(18, 22, 26, 0.35);
}

.tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.tab {
    min-width: 150px;
    min-height: 36px;
    padding: 6px 14px;
    border: 0;
    border-radius: 8px;
    background: var(--sand);
    color: var(--ink);
    box-shadow: var(--shadow);
    cursor: pointer;
}
.tab.is-active { color: #fff; background: var(--grad-btn); }

.tech {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 36px;
    align-items: center;
}
.tech h2, .quality h2, .finance h2, .contact h2, .faq {
    font-family: var(--display);
    font-weight: 500;
}
.tech h2 { font-size: clamp(28px, 3vw, 40px); }
.tech__copy p { margin: 12px 0 16px; font-weight: 300; }
.tech__copy li { position: relative; padding-left: 16px; }
.tech__copy li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.ba {
    position: relative;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    background: #d9d9d9;
    user-select: none;
}
.ba__img { width: 100%; height: 100%; object-fit: cover; }
.ba__img--after { position: absolute; inset: 0; }
.ba__clip { position: absolute; inset: 0 auto 0 0; width: 50%; overflow: hidden; }
.ba__img--before {
    position: absolute;
    top: 0;
    left: 0;
    max-width: none;
    object-fit: cover;
}
.ba__tag {
    position: absolute;
    top: 14px;
    z-index: 2;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(18, 22, 26, 0.55);
    color: #fff;
    font-size: 13px;
}
.ba__tag--before { left: 14px; }
.ba__tag--after { right: 14px; }
.ba__range {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
}
.ba__clip::after {
    content: "";
    position: absolute;
    top: 0;
    right: -1px;
    width: 2px;
    height: 100%;
    background: #fff;
}

.quality { position: relative; min-height: 320px; border-radius: 20px; overflow: hidden; color: #fefefe; background: var(--grad); }
.quality__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 24px;
    align-items: center;
    min-height: 320px;
    padding: 48px;
    background: linear-gradient(90deg, rgba(18, 22, 26, 0.62), rgba(18, 22, 26, 0.28));
}
.quality h2 { font-size: clamp(32px, 3vw, 42px); line-height: 1.1; }
.faq-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 60px;
    align-items: center;
}
.faq-band > div { justify-self: end; width: min(640px, 100%); }
.faq-band > .features { justify-self: start; width: min(460px, 100%); }
.faq-band .section__title { margin-bottom: 16px; }
.plot-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 8px;
}
.plot-head__sub {
    font-weight: 300;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.15;
}
.features { display: grid; grid-template-columns: 1fr; gap: 22px; align-content: center; }
.features li { display: grid; grid-template-columns: 86px 1fr; gap: 16px; align-items: center; }
.features__icon {
    width: 86px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: var(--sand);
    flex: 0 0 auto;
}
.features__icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    object-position: center;
}
.features__text strong, .features__text span { display: block; }
.features__text strong { font-family: var(--display); font-weight: 400; font-size: 20px; }
.features__text span { font-size: 16px; font-weight: 300; }

.projects__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.project {
    position: relative;
    grid-column: span 2;
    min-height: 268px;
    border-radius: 10px;
    overflow: hidden;
    color: #fefefe;
    text-decoration: none;
}
.project--wide { grid-column: span 4; grid-row: span 2; min-height: 552px; }
.project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project__meta {
    position: absolute;
    z-index: 1;
    left: 16px;
    bottom: 16px;
    display: grid;
    gap: 4px;
    max-width: calc(100% - 32px);
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(56, 56, 56, 0.34);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.project__meta strong { font-family: var(--display); font-size: 28px; font-weight: 500; }
.projects__more { margin-top: 22px; }

.kit { position: relative; min-height: 560px; border-radius: 20px; overflow: hidden; }
.kit__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kit__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 22, 26, 0.2), rgba(18, 22, 26, 0.05)); }
.kit__content { position: relative; z-index: 1; padding: 36px; }
.kit__card {
    width: min(460px, 100%);
    margin-top: 180px;
    padding: 22px;
    border-radius: 8px;
    color: #fefefe;
    background: rgba(56, 56, 56, 0.28);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.kit__card li { margin: 6px 0; }

.slider { position: relative; }
.slider--pair { padding: 0 52px; }
.slider__viewport { overflow: hidden; }
.slider--pair .slider__track { gap: 28px; }
.slider--pair .slider__track > * { flex: 0 0 calc((100% - 28px) / 2); min-width: 0; }
.slider--pair .slider__arrow--prev { left: 0; }
.slider--pair .slider__arrow--next { right: 0; }
.slider__track { display: flex; gap: 16px; transition: transform 0.35s ease; }
.slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 26px;
    height: 20px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    transform: translateY(-50%);
    color: #12161a;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
}
.slider__arrow svg { width: 26px; height: 20px; display: block; }
.slider__arrow:disabled { opacity: 0.35; cursor: default; }
.slider__arrow--prev { left: -8px; }
.slider__arrow--next { right: -8px; }
.plot-card {
    display: flex;
    min-height: 260px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--sand);
    box-shadow: var(--shadow);
}
.plot-card__photo { flex: 0 0 46%; }
.plot-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.plot-card__body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 28px 18px;
}
.plot-card h3 {
    font-family: var(--display);
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.plot-card li { font-size: 18px; line-height: 1.5; }

.finance { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 24px; }
.finance__legal, .finance__pay { border-radius: 20px; padding: 36px; }
.finance__legal { color: #fefefe; background: var(--grad); }
.finance__pay { background: var(--sand); }
.finance h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
.finance h3 { margin-top: 28px; font-family: var(--display); font-size: 28px; font-weight: 500; }
.finance p { margin-top: 12px; }
.finance__pay li {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    color: #fff;
    background: var(--grad-btn);
    box-shadow: var(--shadow);
}
.finance .btn { margin-top: 28px; }
.finance__logos { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 28px; }
.finance__logos img { height: 28px; width: auto; object-fit: contain; }
.pills { font-size: 16px; }

.video-card h3 {
    margin-top: 10px;
    font-family: var(--font);
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.video-card__frame {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 20px;
    background: #111;
}
.video-card__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card__play {
    position: absolute;
    inset: 0;
    padding: 0;
    border: 0;
    background: #111;
    cursor: pointer;
}
.video-card__poster { width: 100%; height: 100%; object-fit: cover; }
.video-card__glyph {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 48px;
    height: 54px;
    transform: translate(-50%, -50%);
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; border-radius: 20px; overflow: hidden; background: var(--sand); }
.contact__intro, .contact__card { padding: 36px; }
.contact__intro { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.contact h2 { font-size: clamp(28px, 3vw, 40px); }
.contact__slogan { font-weight: 300; }
.contact__card { color: #fefefe; background: var(--grad-btn); }
.messengers {
    display: grid;
    grid-template-columns: 200px 200px;
    gap: 10px;
    justify-content: center;
    margin: 18px 0;
}
.messengers a {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 200px;
    height: 36px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    color: var(--ink);
    background: var(--sand);
    text-decoration: none;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.messengers img { width: 22px; height: 22px; flex: 0 0 auto; }
.lead { margin-top: 16px; display: grid; gap: 10px; }
.lead__row { display: flex; gap: 12px; align-items: center; }
.field { flex: 1; }
.field input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: var(--sand);
    color: var(--ink);
}
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.35; }
.check a { color: #fff; }
.form-note { margin: 12px 0; padding: 10px 12px; border-radius: 8px; }
.form-note--ok { background: #e7f6ea; color: #14532d; }
.form-note--bad { background: #fde8e8; color: #7f1d1d; }

.faq { width: min(748px, 100%); display: grid; gap: 8px; }
.faq__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 46px;
    padding: 8px 16px;
    border: 0;
    border-radius: 10px;
    color: #fefefe;
    text-align: left;
    background: var(--grad);
    cursor: pointer;
}
.faq__icon { width: 12px; height: 12px; position: relative; flex: 0 0 auto; }
.faq__icon::before, .faq__icon::after {
    content: "";
    position: absolute;
    background: #fff;
}
.faq__icon::before { left: 0; right: 0; top: 5px; height: 2px; }
.faq__icon::after { left: 5px; top: 0; bottom: 0; width: 2px; }
.faq__item.is-open .faq__icon::after { display: none; }
.faq__a { display: none; padding: 14px 16px 16px; border-radius: 0 0 10px 10px; background: var(--sand); font-weight: 300; }
.faq__a p { font-weight: 300; }
.faq__item.is-open .faq__q { border-radius: 10px 10px 0 0; }
.faq__item.is-open .faq__a { display: block; }

.page-plain {
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 16px;
}
.page-plain__inner { width: min(860px, 100%); text-align: center; }
.page-plain h1,
.project-page h1 {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(32px, 4vw, 48px);
}
.project-page { padding: 48px 0 72px; }
.project-page__hero {
    position: relative;
    min-height: 520px;
    border-radius: 20px;
    overflow: hidden;
}
.project-page__hero img { width: 100%; height: 520px; object-fit: cover; }
.project-page .project__meta { position: absolute; }
.page-plain__content { margin-top: 24px; text-align: left; }

.modal[hidden] { display: none !important; }
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(18, 22, 26, 0.55); }
.modal__dialog {
    position: relative;
    width: min(480px, 100%);
    padding: 32px 28px;
    border-radius: 20px;
    color: #fefefe;
    background: var(--grad-btn);
    box-shadow: var(--shadow);
}
.modal__dialog h2 { font-family: var(--display); font-weight: 500; font-size: 32px; }
.modal__dialog > p { margin: 12px 0 18px; font-weight: 300; }
.modal__dialog .lead { display: grid; gap: 12px; }
.modal__dialog .btn { justify-self: start; }
.modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    color: var(--ink);
    background: var(--sand);
    cursor: pointer;
}
body.modal-open { overflow: hidden; }

.site-footer { color: #fefefe; padding: 0 0 0; }
.footer__panel {
    padding: 36px 36px 28px;
    border-radius: 20px 20px 0 0;
    background: var(--grad);
}
.footer__top {
    display: grid;
    grid-template-columns: 1.3fr repeat(4, 1fr);
    gap: 24px;
}
.footer__brand p { margin-top: 16px; max-width: 340px; font-weight: 300; }
.footer__label { font-family: var(--display); font-weight: 500; margin-bottom: 10px; }
.footer__top a { text-decoration: none; }
.footer__top li { margin: 6px 0; font-weight: 300; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 0;
    padding: 0;
    text-decoration: none;
}
.socials img { width: 28px; height: 28px; object-fit: contain; }
.footer__bottom, .footer__note { margin-top: 18px; font-size: 15px; font-weight: 300; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.45); }
.footer__age { margin-left: auto; padding: 4px 8px; border: 1px solid #fff; border-radius: 4px; }
.footer-m { display: none; }

@media (max-width: 1100px) {
    .menu { gap: 16px; padding: 8px 12px; }
    .tech,
    .quality__inner,
    .finance,
    .contact,
    .footer__top { grid-template-columns: 1fr; }
    .project { grid-column: span 3; }
    .project--wide { grid-column: span 6; min-height: 360px; }
}

@media (max-width: 800px) {
    body.nav-open { overflow: hidden; }
    .burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 32px;
        height: 32px;
        padding: 6px 3px;
    }
    .burger span { margin: 0; height: 2px; }
    .nav {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 1;
        width: 100%;
        height: 100%;
        padding: 108px 24px 32px;
        border-radius: 0;
        background: var(--grad-btn);
        box-shadow: none;
        overflow: auto;
    }
    .nav.is-open { display: flex; align-items: stretch; }
    body.nav-open .site-header,
    body.nav-open.is-front .site-header { background: transparent; }
    .header__row { position: relative; z-index: 2; }
    .menu {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 22px;
        width: 100%;
        margin: 0;
        padding: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .menu a { color: #fefefe; font-size: 22px; }
    .header__actions { gap: 18px; margin-left: auto; align-items: center; }
    .header__actions .btn {
        width: 32px;
        min-width: 32px;
        height: 32px;
        min-height: 32px;
        padding: 0;
        font-size: 0;
        gap: 0;
        background: transparent;
        box-shadow: none;
        color: #fefefe;
    }
    .header__brand { display: none; }
    .header__glyph { display: block; width: 32px; height: 32px; }
    .header__row { min-height: 72px; }
    .logo__name { font-size: 22px; }
    .is-front .site-header { top: 30px; }
    .is-front .container { margin-left: 16px; margin-right: 16px; }
    .tabs { flex-wrap: nowrap; gap: 6px; }
    .tab {
        min-width: 0;
        flex: 1 1 0;
        padding: 4px 6px;
        font-size: 11px;
        line-height: 1.15;
        white-space: nowrap;
    }
    #projects .projects__more,
    #plot .projects__more {
        display: flex;
        box-sizing: border-box;
    }
    #projects .projects__more {
        width: calc(100% - 32px);
        margin-left: 16px;
        margin-right: 16px;
    }
    #plot .projects__more { width: 100%; margin-left: 0; margin-right: 0; }
    .faq-band > .features { margin-top: 20px; }
    .lead__row { flex-wrap: nowrap; gap: 6px; }
    .field { flex: 1 1 0; min-width: 0; }
    .field input { height: 32px; padding: 0 8px; font-size: 12px; }
    .lead__row .btn--icon {
        width: 32px;
        min-width: 32px;
        height: 32px;
        min-height: 32px;
        flex: 0 0 32px;
    }
    .hero { min-height: 100dvh; padding-top: 96px; }
    .messengers {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
        justify-content: stretch;
    }
    .messengers a {
        width: 100%;
        max-width: none;
        height: 36px;
        min-height: 36px;
        padding: 0 8px;
        gap: 6px;
        font-size: 11px;
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
    }
    .messengers img { width: 16px; height: 16px; }
    .contact__card, .contact__intro { padding: 16px; }
    #projects .container { margin-left: 0; margin-right: 0; width: 100%; }
    #projects .projects__more { margin-left: 16px; margin-right: 16px; }
    .projects__grid { gap: 8px; }
    .project, .project--wide { border-radius: 0; min-height: 230px; }
    .slider--pair { padding: 0 40px; }
    .slider--pair .slider__track > * { flex-basis: 100%; }
    .ba { height: 240px; }
    .projects__grid { grid-template-columns: 1fr; }
    .project, .project--wide { grid-column: auto; grid-row: auto; min-height: 230px; border-radius: 0; }
    .kit { min-height: 460px; }
    .kit__card { margin-top: 120px; }
    .slider--pair .slider__track > * { flex-basis: 100%; }
    .plot-card { flex-direction: column; min-height: 0; }
    .plot-card__photo { height: 190px; }
    .lead__row { flex-wrap: nowrap; }
    .faq-band { display: block; }
    .faq-band > div,
    .faq-band > .features { width: auto; justify-self: stretch; }
    .plot-head { display: block; }
    .plot-head .section__title:last-child { margin-top: 18px; }
    .footer__panel { display: none; }
    .footer-m {
        display: block;
        position: relative;
        padding: 20px 16px 18px;
        border-radius: 4px 4px 0 0;
        background: var(--grad);
        color: #fefefe;
    }
    .footer-m__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
    .footer-m .logo img { width: 54px; height: 56px; }
    .footer-m .socials { gap: 16px; margin: 4px 0 0; }
    .footer-m .socials a,
    .footer-m .socials img { width: 30px; height: 30px; }
    .footer-m__lead {
        width: 179px;
        margin-top: 10px;
        font-family: "Nunito Sans", Nunito, sans-serif;
        font-size: 10px;
        font-weight: 400;
        line-height: 14px;
    }
    .footer-m__nav {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 20px;
        font-weight: 500;
        font-size: 14px;
        line-height: 19px;
    }
    .footer-m__nav a { text-decoration: none; }
    .footer-m .dot {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: #fefefe;
        flex: 0 0 auto;
    }
    .footer-m__req .dot { width: 4px; height: 4px; }
    .footer-m__cols {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 12px;
        margin-top: 20px;
    }
    .footer-m__label {
        margin: 0 0 3px;
        font-family: var(--display);
        font-weight: 500;
        font-size: 16px;
        line-height: 16px;
    }
    .footer-m__cols a {
        display: block;
        margin-top: 12px;
        font-size: 10px;
        font-weight: 300;
        line-height: 12px;
        text-decoration: none;
    }
    .footer-m__contacts p { margin-top: 6px; font-size: 12px; font-weight: 300; line-height: 16px; }
    .footer-m__contacts a { display: inline; margin: 0; font-size: 12px; line-height: 16px; }
    .footer-m__line { margin: 27px 0 7px; border: 0; border-top: 1px solid #fefefe; }
    .footer-m__copy { display: flex; justify-content: space-between; align-items: center; font-weight: 300; }
    .footer-m__copy p:first-child { font-size: 14px; line-height: 16px; }
    .footer-m__copy p:last-child { font-size: 10px; line-height: 16px; }
    .footer-m__req {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 8px;
        font-size: 10px;
        font-weight: 300;
        line-height: 16px;
    }
    .footer-m__note {
        max-width: 266px;
        margin-top: 8px;
        font-size: 8px;
        font-weight: 300;
        line-height: 10px;
    }
    .footer-m__age {
        position: absolute;
        right: 15px;
        bottom: 14px;
        width: 20px;
        height: 20px;
        display: grid;
        place-items: center;
        border: 1px solid #fefefe;
        border-radius: 4px;
        font-size: 10px;
        font-weight: 300;
        line-height: 16px;
    }
    .quality__inner { padding: 24px; }
    .footer__age { margin-left: 0; }
    .slider__arrow--prev { left: 4px; }
    .slider__arrow--next { right: 4px; }
}

@media (min-width: 801px) {
    .btn,
    .tab,
    .menu,
    .messengers a,
    .field input,
    .finance__pay li,
    .faq__q,
    .form-note,
    .modal__close,
    .ba__tag {
        border-radius: 6px;
    }
    .faq__item.is-open .faq__q { border-radius: 6px 6px 0 0; }
    .faq__a,
    .faq__item.is-open .faq__a { border-radius: 0 0 6px 6px; }
    .promo,
    .promo img,
    .ba,
    .features__icon,
    .project,
    .project__meta,
    .plot-card,
    .finance__legal,
    .finance__pay,
    .video-card__frame,
    .contact,
    .kit,
    .kit__card,
    .quality,
    .project-page__hero,
    .modal__dialog {
        border-radius: 4px;
    }
    .footer__panel { border-radius: 4px 4px 0 0; }
}
