/* ========================================
   Design tokens
======================================== */
@font-face {
    font-family: 'Onest';
    src: url('/fonts/onest-latin-wght-normal.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: block;
    unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}

@font-face {
    font-family: 'Onest';
    src: url('/fonts/onest-cyrillic-wght-normal.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: block;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
    --container: 1240px;

    --text: #17191d;
    --muted: #626872;

    --background: #fff;
    --background-light: #f5f6f7;
    --border: #e7e8ea;

    --accent: #1769e0;
    --accent-hover: #1258bd;

    --blue-soft: #eaf3ff;
    --blue-soft-border: #d5e6fb;

    --dark: #18212e;
    --dark-card: #222d3b;

    --warm: #fff7ed;
    --warm-border: #efd9bf;
    --warm-accent: #b6672d;
}


/* ========================================
   Base
======================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--background);
    font-family: "Onest", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
}

a {
    color: var(--accent);
}

a:hover {
    color: var(--accent-hover);
}

h1,
h2,
h3,
p,
ul,
ol {
    margin-top: 0;
}

h1 {
    max-width: 980px;
    margin-bottom: 24px;
    font-size: clamp(44px, 4.4vw, 64px);
    line-height: 1.05;
    letter-spacing: -.04em;
    font-weight: 600;
}

h2 {
    max-width: 900px;
    margin-bottom: 24px;
    font-size: clamp(32px, 3vw, 44px);
    line-height: 1.12;
    letter-spacing: -.03em;
    font-weight: 600;
}

h3 {
    margin-bottom: 12px;
    font-size: 23px;
    line-height: 1.25;
    font-weight: 600;
}

p {
    max-width: 820px;
    margin-bottom: 20px;
}

ul,
ol {
    max-width: 900px;
    margin-bottom: 0;
    padding-left: 28px;
}

li + li {
    margin-top: 12px;
}


/* ========================================
   Shared UI
======================================== */

.section-heading {
    max-width: 820px;
    margin-bottom: 42px;
}

.section-heading > p {
    color: var(--muted);
    font-size: 19px;
}

.section-label {
    display: block;
    margin-bottom: 16px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .085em;
    text-transform: uppercase;
}

.button {
    display: inline-block;
    padding: 14px 22px;
    color: #fff;
    background: var(--accent);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

.button:hover {
    color: #fff;
    background: var(--accent-hover);
}

.message {
    margin-bottom: 24px;
    padding: 14px 16px;
    border-radius: 7px;
}

.message.success {
    color: #155724;
    background: #d4edda;
}

.message.error {
    color: #721c24;
    background: #f8d7da;
}


/* ========================================
   Header
======================================== */

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 36px;
    width: min(calc(100% - 48px), var(--container));
    min-height: 82px;
    margin: 0 auto;
}

.site-header__logo {
    display: flex;
    align-items: baseline;
    gap: 7px;
    flex: 0 0 auto;
    color: var(--text);
    text-decoration: none;
}

.site-header__logo span {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.04em;
}

.site-header__logo small {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.site-nav a {
    position: relative;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.site-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 1px;
    background: transparent;
    transition: background-color .2s ease;
}

.site-nav a.is-active::after {
    background: var(--text);
}

.site-nav a:hover {
    color: var(--text);
}

.site-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.site-header__action {
    flex: 0 0 auto;
    padding: 12px 20px;
    color: #fff;
    background: var(--accent);
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.site-header__action:hover {
    color: #fff;
    background: var(--accent-hover);
}

@media (max-width: 1000px) {
    .site-header__inner {
        flex-wrap: wrap;
        gap: 12px 24px;
        padding: 14px 0;
    }

    .site-nav {
        order: 3;
        width: 100%;
        margin-left: 0;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .site-header__action {
        margin-left: auto;
    }
}

@media (max-width: 700px) {
    .site-header__inner {
        width: calc(100% - 32px);
        padding: 12px 0 10px;
    }

    .site-nav {
        width: calc(100vw - 32px);
        gap: 22px;
        padding: 4px 0 8px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }

    .site-nav a {
        flex: 0 0 auto;
        font-size: 14px;
    }

    .site-header__logo {
        gap: 0;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .site-header__logo small {
        display: none;
    }

    .site-header__action {
        padding: 10px 14px;
        font-size: 14px;
    }
}


/* ========================================
   Landing layout and rhythm
======================================== */

.landing > section {
    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto;
    padding: 96px 0;
    scroll-margin-top: 72px;
}

.landing > section:first-child {
    padding-top: 120px;
    padding-bottom: 120px;
}

.landing > section:first-child > p {
    max-width: 760px;
    color: var(--muted);
    font-size: 22px;
    line-height: 1.6;
}

.landing section > p:first-of-type:not(:last-child) {
    color: var(--muted);
}

.landing section .button {
    display: inline-block;
}

#cases,
#services,
#about {
    border-top: 1px solid var(--border);
}

#cases {
    padding-top: 88px;
    padding-bottom: 112px;
}

#problems {
    padding-top: 34px;
    padding-bottom: 84px;
    border-top: 0;
}

#services {
    padding-top: 96px;
    padding-bottom: 72px;
}

#process {
    padding-top: 64px;
    padding-bottom: 88px;
}

#price {
    padding-top: 44px;
    padding-bottom: 108px;
}

#about {
    padding-top: 88px;
    padding-bottom: 112px;
}

#visor {
    padding-top: 42px;
    padding-bottom: 70px;
}

#contact {
    padding-top: 42px;
    padding-bottom: 92px;
}

#cases h2,
#services h2,
#price h2,
#visor h2,
#contact h2 {
    line-height: 1.08;
    letter-spacing: -.035em;
}

@media (max-width: 700px) {
    .landing > section {
        padding: 52px 0;
    }

    .landing > section:first-child {
        padding-top: 56px;
        padding-bottom: 56px;
    }
}


/* ========================================
   Hero
======================================== */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(320px, .8fr);
    gap: 72px;
    align-items: center;
}

.hero__main h1 {
    max-width: 900px;
}

.hero__eyebrow {
    margin-bottom: 22px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .085em;
    text-transform: uppercase;
}

.hero__text {
    max-width: 500px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 34px;
}

.hero__actions .button {
    padding: 14px 22px;
    color: #fff;
    background: var(--accent);
    border-radius: 9px;
    font-weight: 600;
    text-decoration: none;
}

.hero__actions .button:hover {
    color: #fff;
    background: var(--accent-hover);
}

.hero__cases {
    color: var(--text);
    font-weight: 500;
    text-decoration: none;
    text-underline-offset: 4px;
}

.hero__cases:hover {
    color: var(--text);
    text-decoration: underline;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 14px;
}

.hero__trust li {
    margin: 0;
}

.hero__trust li::before {
    content: "✓";
    margin-right: 8px;
    color: var(--accent);
    font-weight: 700;
}

.hero__side {
    align-self: center;
    padding: 30px;
    background: var(--background-light);
    border: 1px solid var(--border);
    border-radius: 18px;
    position: relative;
}

.hero__side-label {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.hero__facts {
    display: flex;
    flex-direction: column;
}

.hero__fact {
    padding: 18px 0;
    border-top: 1px solid var(--border);
}

.hero__fact strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text);
    font-size: 27px;
    line-height: 1;
    letter-spacing: -.04em;
}

.hero__fact span {
    display: block;
    max-width: 260px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.hero__side-note {
    display: block;
    padding-top: 18px;
    color: var(--accent);
    border-top: 1px solid var(--border);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
}

.hero {
    position: relative;
}

.hero__main,
.hero__side {
    position: relative;
    z-index: 2;
}

.hero__visual {
    position: absolute;
    right: -130px;
    bottom: 22px;
    width: 440px;
    opacity: .82;
    pointer-events: none;
}

.hero__visual img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 1050px) {
    .hero__visual {
        display: none;
    }
}

@media (max-width: 900px) {
    #hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero__side {
        max-width: 600px;
    }
}

@media (max-width: 700px) {
    .hero__actions {
        align-items: flex-start;
        flex-direction: column;
    }

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


/* ========================================
   Cases — landing showcase
======================================== */

.cases-showcase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.case-preview {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
}

.case-preview__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;
    padding: 34px;
}

.case-preview--tdsk36 .case-preview__visual {
    background: #f4e5d1;
}

.case-preview--kzmk .case-preview__visual {
    background: #e6eef7;
}

.case-preview--spotvi .case-preview__visual {
    background: #e2f1ea;
}

.case-preview__logo {
    display: block;
    max-width: 72%;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.case-preview__tag {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 6px 9px;
    color: #59636f;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 999px;
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
}

.case-preview__body {
    padding: 28px;
}

.case-preview__type {
    display: block;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.case-preview h3 {
    margin: 0 0 14px;
    font-size: 23px;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.case-preview__body > p {
    min-height: 76px;
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.case-preview__metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.case-preview__metrics strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text);
    font-size: 24px;
    line-height: 1;
    letter-spacing: -.03em;
}

.case-preview__metrics span {
    display: block;
    max-width: 130px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
}

.case-preview a {
    display: inline-block;
    margin-top: 22px;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.case-preview a:hover {
    color: var(--accent);
}

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

    .case-preview {
        display: grid;
        grid-template-columns: .85fr 1.15fr;
    }

    .case-preview__visual {
        height: auto;
        min-height: 310px;
    }

    .case-preview__body > p {
        min-height: 0;
    }
}

@media (max-width: 600px) {
    .case-preview {
        display: block;
    }

    .case-preview__visual {
        min-height: 210px;
    }
}


/* ========================================
   Problems
======================================== */

.problems-panel {
    padding: 56px;
    color: #fff;
    background: var(--dark);
    border-radius: 24px;
}

.problems-panel__head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
    gap: 60px;
    align-items: end;
    margin-bottom: 48px;
}

.problems-panel__label {
    grid-column: 1 / -1;
    margin-bottom: -32px;
    color: #8f969f;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.problems-panel h2 {
    margin: 0;
    color: #fff;
}

.problems-panel__head p {
    margin: 0;
    color: #aeb4bc;
    font-size: 17px;
    line-height: 1.6;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.problem-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
    padding: 24px;
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 16px;
}

.problem-card__number {
    color: #747b85;
    font-size: 12px;
    font-weight: 600;
}

.problem-card strong {
    max-width: 440px;
    margin-top: 28px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;
}

@media (max-width: 800px) {
    .problems-panel {
        padding: 36px;
    }

    .problems-panel__head,
    .problems-grid {
        grid-template-columns: 1fr;
    }

    .problems-panel__head {
        gap: 20px;
    }

    .problems-panel__label {
        margin-bottom: 0;
    }
}

@media (max-width: 600px) {
    .problems-panel {
        padding: 28px;
        border-radius: 18px;
    }

    .problem-card {
        min-height: 130px;
    }
}


/* ========================================
   Services
======================================== */

.services-head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 72px;
    align-items: end;
    margin-bottom: 42px;
}

.services-head h2 {
    margin-bottom: 0;
}

.services-head > p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 190px;
    padding: 28px;
    background: var(--background-light);
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: #d6d9de;
    box-shadow: 0 14px 34px rgba(23,25,29,.06);
}

.service-card--1 {
    grid-column: span 7;
    min-height: 240px;
    background: var(--blue-soft);
    border-color: var(--blue-soft-border);
}

.service-card--2 {
    grid-column: span 5;
    min-height: 240px;
}

.service-card--3,
.service-card--4,
.service-card--5 {
    grid-column: span 4;
}

.service-card__number {
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}

.service-card p {
    max-width: 500px;
    margin: 38px 0 0;
    color: var(--text);
    font-size: 18px;
    line-height: 1.45;
    font-weight: 600;
}

@media (max-width: 800px) {
    .services-head {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-card--1,
    .service-card--2,
    .service-card--3,
    .service-card--4,
    .service-card--5 {
        grid-column: span 12;
        min-height: 150px;
    }
}

@media (max-width: 700px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   Process
======================================== */

.process-layout {
    display: grid;
    grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
    gap: 72px;
    align-items: start;
}

.process-head {
    max-width: 440px;
}

.process-head h2 {
    margin-bottom: 24px;
    font-size: clamp(30px, 2.6vw, 38px);
    line-height: 1.12;
}

.process-head > p {
    max-width: 460px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.process-head__note {
    display: inline-block;
    margin-top: 24px;
    padding: 9px 13px;
    color: var(--muted);
    background: var(--background-light);
    border-radius: 20px;
    font-size: 13px;
}

.process-list {
    border-top: 1px solid var(--border);
}

.process-step {
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr) 32px;
    gap: 24px;
    align-items: start;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
}

.process-step__number {
    padding-top: 3px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}

.process-step p {
    max-width: 650px;
    margin: 0;
    color: var(--text);
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
}

.process-step__arrow {
    color: #b1b5ba;
    font-size: 20px;
    transition: transform .2s ease, color .2s ease;
}

.process-step:hover .process-step__arrow {
    color: var(--accent);
    transform: translate(3px, 3px);
}

@media (max-width: 800px) {
    .process-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-head {
        max-width: 650px;
    }
}

@media (max-width: 600px) {
    .process-step {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 14px;
    }

    .process-step__arrow {
        display: none;
    }

    .process-step p {
        font-size: 17px;
    }
}


/* ========================================
   Price
======================================== */

.price-card {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(270px, .6fr);
    gap: 64px;
    align-items: center;
    padding: 52px;
    background: var(--background-light);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.price-card h2 {
    margin-bottom: 18px;
}

.price-card__content > p {
    color: var(--muted);
}

.price-card__note {
    margin-top: 26px;
    font-size: 16px;
}

.price-card .button {
    margin-top: 14px;
}

.price-card__value {
    padding-left: 40px;
    border-left: 1px solid var(--border);
}

.price-card__value span {
    display: block;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 14px;
}

.price-card__value strong {
    display: block;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -.03em;
    font-weight: 650;
}

@media (max-width: 800px) {
    .price-card {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 34px;
    }

    .price-card__value {
        padding-top: 30px;
        padding-left: 0;
        border-top: 1px solid var(--border);
        border-left: 0;
    }
}

@media (max-width: 600px) {
    .price-card {
        padding: 28px;
    }
}


/* ========================================
   About
======================================== */

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 100px;
    align-items: start;
}

.about-main {
    max-width: 500px;
}

.about-main h2 {
    margin-bottom: 26px;
    font-size: clamp(34px, 3vw, 44px);
    line-height: 1.1;
}

.about-text {
    max-width: 460px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.about-points {
    border-top: 1px solid var(--border);
}

.about-point {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
}

.about-point > span {
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}

.about-point strong {
    max-width: 560px;
    font-size: 21px;
    line-height: 1.45;
    font-weight: 500;
    letter-spacing: -.015em;
}

@media (max-width: 800px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .about-main {
        max-width: 650px;
    }
}

@media (max-width: 600px) {
    .about-point {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 14px;
        padding: 24px 0;
    }

    .about-point strong {
        font-size: 18px;
    }
}


/* ========================================
   Visor
======================================== */

.visor-panel {
    display: grid;
    grid-template-columns: minmax(300px, .75fr) minmax(0, 1.25fr);
    gap: 64px;
    padding: 56px;
    background: var(--blue-soft);
    border: 1px solid var(--blue-soft-border);
    border-radius: 24px;
}

.visor-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.visor-label {
    margin-bottom: 22px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .085em;
    text-transform: uppercase;
}

.visor-main h2 {
    margin-bottom: 22px;
    font-size: clamp(34px, 3.4vw, 48px);
}

.visor-main > p {
    margin-bottom: 36px;
    color: #536275;
    font-size: 17px;
    line-height: 1.65;
}

.visor-brand {
    margin-top: auto;
}

.visor-brand strong {
    display: block;
    margin-bottom: 4px;
    font-size: 26px;
    letter-spacing: -.035em;
}

.visor-brand span {
    color: #69788b;
    font-size: 13px;
}

.visor-preview {
    overflow: hidden;
    min-height: 390px;
    background: #15191f;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 18px;
    box-shadow: 0 28px 70px rgba(28,63,105,.18);
}

.visor-preview__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 42px;
    padding: 0 16px;
    background: #20252c;
}

.visor-preview__bar > span {
    width: 8px;
    height: 8px;
    background: #59616c;
    border-radius: 50%;
}

.visor-preview__bar small {
    margin-left: 8px;
    color: #8d96a2;
    font-size: 11px;
}

.visor-preview img {
    display: block;
    width: 100%;
    height: auto;
}

.visor-preview__empty {
    display: grid;
    place-items: center;
    min-height: 348px;
    color: #737d89;
    font-size: 14px;
}

.visor-points {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 8px;
    border-top: 1px solid #cbddee;
}

.visor-point {
    padding: 28px 28px 0 0;
}

.visor-point + .visor-point {
    padding-left: 28px;
    border-left: 1px solid #cbddee;
}

.visor-point span {
    display: block;
    margin-bottom: 16px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
}

.visor-point strong {
    display: block;
    max-width: 310px;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 600;
}

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

    .visor-main > p {
        max-width: 650px;
    }
}

@media (max-width: 700px) {
    .visor-panel {
        gap: 38px;
        padding: 28px;
    }

    .visor-points {
        grid-template-columns: 1fr;
    }

    .visor-point,
    .visor-point + .visor-point {
        padding: 22px 0;
        border-left: 0;
        border-bottom: 1px solid #cbddee;
    }

    .visor-preview {
        min-height: 260px;
    }
}


/* ========================================
   Contact
======================================== */

.contact-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    gap: 72px;
    padding: 56px;
    color: var(--text);
    background: var(--warm);
    border: 1px solid var(--warm-border);
    border-radius: 24px;
}

.contact-card__label,
.contact-card__side-label {
    display: block;
    margin-bottom: 18px;
    color: var(--warm-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .085em;
    text-transform: uppercase;
}

.contact-card h2 {
    max-width: 650px;
    margin-bottom: 22px;
    color: var(--text);
}

.contact-card__content > p {
    max-width: 650px;
    margin-bottom: 36px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.contact-trust {
    border-top: 1px solid var(--warm-border);
}

.contact-trust > div {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 4px 16px;
    padding: 19px 0;
    border-bottom: 1px solid var(--warm-border);
}

.contact-trust span {
    grid-row: 1 / 3;
    color: var(--warm-accent);
    font-size: 12px;
    font-weight: 700;
}

.contact-trust strong {
    color: var(--text);
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
}

.contact-trust p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.contact-card__side {
    padding-top: 4px;
}

.contact-card__links {
    display: flex;
    flex-direction: column;
}

.contact-card__links a {
    display: block;
    padding: 20px 0;
    color: var(--text);
    border-bottom: 1px solid var(--warm-border);
    text-decoration: none;
}

.contact-card__links a:first-of-type {
    border-top: 1px solid var(--warm-border);
}

.contact-card__links span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
}

.contact-card__links strong {
    font-size: 18px;
    font-weight: 600;
}

.contact-card__links a:hover strong {
    color: var(--accent);
}

.contact-card__personal {
    max-width: 340px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.contact-form-wrap {
    grid-column: 1 / -1;
    margin-top: 4px;
    padding: 34px;
    background: #fff;
    border: 1px solid var(--warm-border);
    border-radius: 18px;
}

.contact-form-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 26px;
}

.contact-form-head h3 {
    margin-bottom: 5px;
    color: var(--text);
}

.contact-form-head p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.contact-form-head > span {
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.contact-form .input {
    margin: 0;
}

.contact-form label {
    display: block;
    margin-bottom: 7px;
    color: #59616b;
    font-size: 13px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 15px;
    color: var(--text);
    background: #fff;
    border: 1px solid #d9dde3;
    border-radius: 9px;
    outline: 0;
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9ba1a9;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #8ebcff;
    box-shadow: 0 0 0 3px rgba(23,105,224,.10);
}

.contact-form textarea {
    min-height: 115px;
    resize: vertical;
}

.contact-form .textarea {
    grid-column: 1 / -1;
}

.contact-form button {
    grid-column: 1 / -1;
    justify-self: start;
    min-width: 190px;
    border: 0;
    cursor: pointer;
}

.contact-form button:disabled {
    opacity: .65;
    cursor: wait;
}

.contact-form__privacy {
    grid-column: 1 / -1;
    max-width: 760px;
    margin: -4px 0 0;
    color: #8a9098;
    font-size: 12px;
    line-height: 1.5;
}

.contact-form__privacy a {
    color: var(--accent);
}

.contact-form__privacy a:hover {
    color: var(--accent-hover);
}

.contact-form__trap {
    position: absolute;
    left: -10000px;
}

.contact-form .has-error input,
.contact-form .has-error textarea {
    border-color: #dd5c5c;
    box-shadow: 0 0 0 3px rgba(221,92,92,.08);
}

.contact-form .has-error input:focus,
.contact-form .has-error textarea:focus {
    border-color: #dd5c5c;
    box-shadow: 0 0 0 3px rgba(221,92,92,.12);
}

.contact-form__error {
    margin-top: 6px;
    color: #c64040;
    font-size: 12px;
    line-height: 1.35;
}

.contact-form__status {
    margin-bottom: 20px;
    padding: 12px 14px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.45;
}

.contact-form__status--success {
    color: #17633b;
    background: #edf9f2;
    border: 1px solid #c9ead7;
}

.contact-form__status--error {
    color: #8b2633;
    background: #fff0f2;
    border: 1px solid #f1cbd0;
}

.contact-card .message {
    margin-bottom: 24px;
    padding: 14px 16px;
    border-radius: 9px;
}

.contact-card .message.success {
    color: #17633b;
    background: #edf9f2;
    border: 1px solid #c9ead7;
}

.contact-card .message.error {
    color: #8b2633;
    background: #fff0f2;
    border: 1px solid #f1cbd0;
}

.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0;
    font-size: 12px;
    line-height: 1.5;
    color: #64748b;
    cursor: pointer;
}

.contact-consent input {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 0 5px 0 0;
    accent-color: #2563eb;
    cursor: pointer;
}

.contact-consent a {
    color: #2563eb;
    text-decoration: underline;
}

@media (max-width: 800px) {
    .contact-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 36px;
    }

    .contact-card__side {
        padding-top: 0;
    }

    .contact-card__personal {
        max-width: none;
    }

    .contact-form-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .contact-form-head > span {
        white-space: normal;
    }
}

@media (max-width: 600px) {
    .contact-card {
        gap: 32px;
        padding: 24px;
        border-radius: 18px;
    }

    .contact-card__content > p {
        font-size: 16px;
    }

    .contact-trust > div {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 4px 12px;
    }

    .contact-form-wrap {
        padding: 22px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form .textarea,
    .contact-form button,
    .contact-form__privacy {
        grid-column: auto;
    }

    .contact-form button {
        width: 100%;
    }
}


/* ========================================
   Footer
======================================== */

.site-footer {
    margin-top: 80px;
    border-top: 1px solid var(--border);
}

.site-footer__inner,
.site-footer__bottom {
    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 64px;
    padding: 56px 0;
}

.site-footer__brand strong {
    font-size: 20px;
}

.site-footer__brand p {
    max-width: 360px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 15px;
}

.site-footer__nav,
.site-footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer a {
    color: var(--text);
    font-size: 15px;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--accent);
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0 28px;
    color: var(--muted);
    border-top: 1px solid var(--border);
    font-size: 13px;
}

.footer__legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.site-footer .footer__legal a {
    color: var(--muted);
    font-size: 13px;
    text-decoration: none;
}

.site-footer .footer__legal a:hover {
    color: var(--accent);
}

@media (max-width: 700px) {
    .site-footer {
        margin-top: 52px;
    }

    .site-footer__inner,
    .site-footer__bottom {
        width: calc(100% - 32px);
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 42px 0;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .footer__legal {
        justify-content: flex-start;
        gap: 8px 18px;
    }
}


/* ========================================
   Inner pages
======================================== */

.page__inner {
    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto;
    padding: 80px 0 100px;
}

@media (max-width: 700px) {
    .page__inner {
        width: calc(100% - 32px);
        padding: 52px 0 70px;
    }
}


/* ========================================
   Cases index page
======================================== */

.cases-page__header {
    max-width: 820px;
    margin-bottom: 52px;
}

.cases-page__header > p {
    color: var(--muted);
    font-size: 20px;
}

.cases-page__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.case-card--page {
    display: flex;
    flex-direction: column;
    min-height: 430px;
    padding: 32px;
    background: var(--background-light);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.case-card--page .case-card__label {
    margin-bottom: 42px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.case-card--page h2 {
    margin-bottom: 16px;
    font-size: 24px;
}

.case-card--page > p {
    color: var(--muted);
    font-size: 16px;
}

.case-card__result {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.case-card__result span {
    display: block;
    margin-bottom: 6px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.case-card__result strong {
    display: block;
    font-size: 16px;
    line-height: 1.5;
}

.case-card--page > a {
    margin-top: auto;
    padding-top: 28px;
    font-weight: 600;
    text-decoration: none;
    text-underline-offset: 4px;
}

.cases-page__cta {
    margin-top: 72px;
    padding: 48px;
    background: var(--background-light);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.cases-page__cta p {
    color: var(--muted);
}

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

    .case-card--page {
        min-height: auto;
    }
}

@media (max-width: 700px) {
    .cases-page__cta {
        margin-top: 48px;
        padding: 28px;
    }
}


/**
 ПЕРЕБРАТЬ
 */

/* Case page */

.case-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 74px 24px 110px;
}

.case-kicker {
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.case-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, .7fr);
    gap: 90px;
    align-items: start;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--border);
}

.case-hero h1 {
    max-width: 780px;
    margin: 0 0 28px;
    font-size: clamp(42px, 4.6vw, 68px);
    line-height: .98;
    letter-spacing: -.045em;
}

.case-hero__intro {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.case-hero__project {
    display: flex;
    gap: 14px;
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.case-hero__project span {
    color: var(--muted);
}

.case-hero__result {
    padding: 30px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.case-hero__result p {
    margin: 0;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 600;
}

.case-section {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 90px;
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.case-section h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -.025em;
}

.case-section__content p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.7;
}

.case-works__list {
    border-top: 1px solid var(--border);
}

.case-work {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 24px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border);
}

.case-work__number {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
}

.case-work p {
    max-width: 720px;
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
}

.case-next {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    align-items: flex-end;
    margin-top: 90px;
    padding: 42px;
    background: var(--warm, #fff7ed);
    border: 1px solid var(--warm-border, #fed7aa);
    border-radius: 18px;
}

.case-next h2 {
    margin: 0 0 12px;
    font-size: 32px;
}

.case-next p {
    max-width: 600px;
    margin: 0;
    color: var(--muted);
}

@media (max-width: 900px) {
    .case-page {
        padding-top: 45px;
    }

    .case-hero,
    .case-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .case-hero {
        padding-bottom: 55px;
    }

    .case-section {
        padding: 55px 0;
    }

    .case-hero h1 {
        font-size: 42px;
    }

    .case-next {
        display: block;
    }

    .case-next .btn {
        margin-top: 26px;
    }
}


/* ========================================
   Case analytics
======================================== */

.case-analytics {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.case-analytics__head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(420px, .8fr);
    gap: 80px;
    align-items: end;
    margin-bottom: 46px;
}

.case-analytics__head h2 {
    margin: 0 0 18px;
    font-size: 38px;
    line-height: 1.05;
    letter-spacing: -.03em;
}

.case-analytics__head p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.case-analytics__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.case-analytics__metrics > div {
    padding: 20px 18px;
}

.case-analytics__metrics > div + div {
    border-left: 1px solid var(--border);
}

.case-analytics__metrics strong {
    display: block;
    margin-bottom: 8px;
    font-size: 27px;
    line-height: 1;
    letter-spacing: -.04em;
    white-space: nowrap;
}

.case-analytics__metrics span {
    color: var(--muted);
    font-size: 12px;
    display: block;
    line-height: 1.45;
}

.case-chart {
    width: 100%;
    height: 330px;
    padding: 20px 16px 4px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.case-chart svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.case-chart__grid {
    stroke: var(--border);
    stroke-width: 1;
}

.case-chart__line {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.case-chart__area {
    fill: var(--accent-soft, #eaf2ff);
    opacity: .55;
}

.case-chart__label {
    fill: var(--muted);
    font-size: 20px;
}

.case-chart__footer {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 13px;
}

.case-chart__footer strong {
    color: var(--text);
}

.case-chart__footer small {
    margin-left: auto;
    color: var(--muted);
}

@media (max-width: 900px) {
    .case-analytics__head {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .case-analytics__metrics {
        grid-template-columns: 1fr;
    }

    .case-analytics__metrics > div + div {
        border-left: 0;
        border-top: 1px solid var(--border);
    }

    .case-chart {
        height: 250px;
    }

    .case-chart__footer {
        flex-wrap: wrap;
    }

    .case-chart__footer small {
        width: 100%;
        margin-left: 0;
    }
}

/* ========================================
   Case catalog / evolution
======================================== */

.case-catalog {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.case-catalog__head {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 90px;
    margin-bottom: 42px;
}

.case-catalog__head h2 {
    margin: 0;
    font-size: 38px;
    line-height: 1.08;
    letter-spacing: -.03em;
}

.case-catalog__head > p {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.case-catalog__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 48px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.case-catalog__metrics > div {
    padding: 24px 26px;
}

.case-catalog__metrics > div + div {
    border-left: 1px solid var(--border);
}

.case-catalog__metrics strong {
    display: block;
    margin-bottom: 7px;
    font-size: 27px;
    line-height: 1.05;
    letter-spacing: -.035em;
}

.case-catalog__metrics span {
    display: block;
    max-width: 260px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}


/* Screens */

.case-catalog__screens {
    display: grid;
    grid-template-columns: .72fr 1.14fr 1.14fr;
    gap: 18px;
    align-items: start;
}

.case-screen {
    min-width: 0;
    margin: 0;
}

.case-screen__image {
    height: 280px;
    overflow: hidden;
    background: #f4f5f6;
    border: 1px solid var(--border);
    border-radius: 16px;
}

.case-screen__image img {
    display: block;
    width: 100%;
    height: auto;
}

.case-screen--category .case-screen__image {
    height: 430px;
}


/* Product */

.case-screen--product {
    margin-top: 42px;
}

.case-screen--product .case-screen__image {
    height: 430px;
}


.case-screen--product .case-screen__image img {
    object-position: top center;
}


/* Captions */

.case-screen figcaption {
    display: block;
    padding-top: 12px;
}

.case-screen figcaption strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.3;
}

.case-screen figcaption span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

/* Catalog note */

.case-catalog__note {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 50px;
    margin-top: 52px;
    padding: 30px 0 0;
    border-top: 1px solid var(--border);
}

.case-catalog__note strong {
    font-size: 18px;
    line-height: 1.35;
}

.case-catalog__note p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}


/* Responsive */

@media (max-width: 900px) {
    .case-catalog {
        padding: 55px 0;
    }

    .case-catalog__head,
    .case-catalog__screens,
    .case-catalog__note {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .case-catalog__metrics {
        grid-template-columns: 1fr;
    }

    .case-catalog__metrics > div + div {
        border-left: 0;
        border-top: 1px solid var(--border);
    }

    .case-screen__image,
    .case-screen--old .case-screen__image,
    .case-screen--category .case-screen__image,
    .case-screen--product .case-screen__image {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .case-screen figcaption {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .case-screen--product {
        margin-top: 32px;
    }
}


@media (max-width: 800px) {
    .case-catalog__screens {
        grid-template-columns: 1fr;
    }

    .case-screen__image {
        height: 300px;
    }
}


@media (max-width: 800px) {
    .case-catalog__screens {
        display: block;
    }

    .case-screen,
    .case-screen--old,
    .case-screen--category,
    .case-screen--product {
        width: 100%;
        max-width: none;
        margin: 0 0 28px !important;
    }

    .case-screen__image,
    .case-screen--old .case-screen__image,
    .case-screen--category .case-screen__image,
    .case-screen--product .case-screen__image {
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        overflow: hidden;
    }

    .case-screen__image img,
    .case-screen--old .case-screen__image img,
    .case-screen--category .case-screen__image img,
    .case-screen--product .case-screen__image img {
        display: block;
        width: 100%;
        height: auto;
        max-width: none;
        object-fit: unset;
    }

    .case-screen figcaption {
        width: 100%;
    }
}


/* ========================================
   Case proof
======================================== */

.case-proof {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.case-proof__head,
.case-review__head {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 90px;
    margin-bottom: 42px;
}

.case-proof__head h2,
.case-review__head h2 {
    margin: 0;
    font-size: 38px;
    line-height: 1.08;
    letter-spacing: -.03em;
}

.case-proof__head > p,
.case-review__head > p {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.case-proof__screens {
    display: grid;
    gap: 18px;
    align-items: start;
}

.case-proof__screens--two {
    grid-template-columns: repeat(2, 1fr);
}

.case-proof__screens--three {
    grid-template-columns: repeat(3, 1fr);
}

.case-proof .case-screen__image {
    display: block;
    height: 300px;
    overflow: hidden;
    background: #f4f5f6;
    border: 1px solid var(--border);
    border-radius: 16px;
}

.case-proof .case-screen__image img {
    display: block;
    width: 100%;
    height: auto;
}

.case-proof__note {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 50px;
    margin-top: 46px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.case-proof__note strong {
    font-size: 17px;
    line-height: 1.35;
}

.case-proof__note p {
    max-width: 740px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}


/* ========================================
   Case review
======================================== */

.case-review {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.case-review__body {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 70px;
    align-items: center;
}

.case-review__document {
    display: block;
    height: 330px;
    overflow: hidden;
    background: #f4f5f6;
    border: 1px solid var(--border);
    border-radius: 16px;
}

.case-review__document img {
    display: block;
    width: 100%;
    height: auto;
}

.case-review__text {
    max-width: 680px;
}

.case-review__text blockquote {
    margin: 0 0 22px;
    font-size: 25px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: -.02em;
}

.case-review__text p {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.case-review__link {
    font-size: 13px;
    font-weight: 600;
}


/* Mobile */

@media (max-width: 800px) {
    .case-proof,
    .case-review {
        padding: 55px 0;
    }

    .case-proof__head,
    .case-review__head,
    .case-proof__note,
    .case-review__body {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .case-proof__screens--two,
    .case-proof__screens--three {
        grid-template-columns: 1fr;
    }

    .case-proof .case-screen__image {
        width: 100%;
        height: auto;
    }

    .case-proof .case-screen__image img {
        width: 100%;
        height: auto;
    }

    .case-review__document {
        width: 100%;
        height: 260px;
    }

    .case-review__text blockquote {
        font-size: 21px;
    }
}


/* ========================================
   Case system
======================================== */

.case-system {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.case-system__head {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 90px;
    margin-bottom: 42px;
}

.case-system__head h2 {
    margin: 0;
    font-size: 38px;
    line-height: 1.08;
    letter-spacing: -.03em;
}

.case-system__head > p {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.case-system__items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--border);
}

.case-system__items > div {
    display: grid;
    grid-template-columns: 45px 190px minmax(0, 1fr);
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.case-system__items > div:nth-child(odd) {
    padding-right: 32px;
}

.case-system__items > div:nth-child(even) {
    padding-left: 32px;
    border-left: 1px solid var(--border);
}

.case-system__items span {
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
}

.case-system__items strong {
    font-size: 15px;
    line-height: 1.4;
}

.case-system__items p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

@media (max-width: 800px) {
    .case-system {
        padding: 55px 0;
    }

    .case-system__head {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .case-system__items {
        grid-template-columns: 1fr;
    }

    .case-system__items > div,
    .case-system__items > div:nth-child(odd),
    .case-system__items > div:nth-child(even) {
        grid-template-columns: 32px minmax(0, 1fr);
        padding: 20px 0;
        border-left: 0;
    }

    .case-system__items p {
        grid-column: 2;
    }
}



/* 404 page */

.error-page { display: flex; align-items: center; min-height: 60vh; text-align: center; }
.error-page .page__inner { padding: 70px 0 90px; }
.error-page__code { color: var(--accent); font-size: clamp(100px, 13vw, 160px); font-weight: 700; line-height: 1; letter-spacing: -.07em; }
.error-page h1 { max-width: none; margin: 20px 0 16px; font-size: clamp(32px, 4vw, 48px); line-height: 1.2; }
.error-page__description { color: var(--muted); font-size: 18px; }
.error-page__description p { margin: 0 auto; }
.error-page .button { margin-top: 32px; }

@media (max-width: 700px) {
    .error-page .page__inner { padding: 60px 0 70px; }
    .error-page__description { font-size: 16px; }
}
