@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('fonts/manrope-cyrillic-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('fonts/manrope-latin-ext-wght-normal.woff2') format('woff2-variations');
    /* здесь знак рубля и другие валюты */
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('fonts/manrope-latin-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    color-scheme: light;
    --ink: #15171c;
    --text: #2c3038;
    --muted: #646b76;
    --line: #e6e8ec;
    --bg: #ffffff;
    --soft: #f5f5f6;
    --accent: #1fb2e8;
    --accent-hover: #12a0d4;
    --accent-ink: #0a6f9c;
    --accent-soft: #e6f6fd;
    --on-accent: #06293a;
    --dark: #000000;
    --font: 'Manrope', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    --gutter: 24px;
    --header-h: 72px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 16px/1.55 var(--font);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

h1,
h2,
h3,
h4 {
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

a {
    color: var(--accent-ink);
    text-underline-offset: 3px;
}

img,
svg {
    display: block;
    max-width: 100%;
}

code {
    font: 700 0.95em/1 var(--font);
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    white-space: nowrap;
}

:focus-visible {
    outline: 3px solid rgba(31, 178, 232, 0.55);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--ink);
    color: #fff;
}
.skip:focus {
    top: 12px;
}

.muted {
    color: var(--muted);
}

.container {
    width: 100%;
    max-width: calc(1140px + 2 * var(--gutter));
    margin: 0 auto;
    padding: 0 var(--gutter);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 12px;
    font: 600 16px/1.2 var(--font);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s, transform 0.15s;
}
.btn:active {
    transform: translateY(1px);
}
.btn--accent {
    background: var(--accent);
    color: var(--on-accent);
}
.btn--accent:hover {
    background: var(--accent-hover);
}
.btn--soft {
    background: var(--soft);
    color: var(--ink);
}
.btn--soft:hover {
    background: #ebecee;
}
.btn--light {
    background: #fff;
    color: var(--ink);
}
.btn--light:hover {
    background: #e9f7fd;
}
.btn--caps {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 15px;
}
.btn--block {
    width: 100%;
    min-height: 54px;
}
.btn[disabled] {
    opacity: 0.65;
    cursor: progress;
}

/* ---------- логотип ---------- */

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    flex: none;
}
.logo__mark {
    width: 40px;
    height: 40px;
}
.logo__word {
    font-weight: 800;
    font-size: 21px;
    letter-spacing: -0.03em;
    line-height: 1;
}
.logo__word span {
    font-weight: 600;
    color: var(--accent-ink);
}
.logo--inverse {
    color: #fff;
}
.logo--inverse .logo__word span {
    color: var(--accent);
}

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

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(1.4) blur(10px);
    box-shadow: 0 1px 0 rgba(17, 20, 26, 0.06), 0 6px 18px rgba(17, 20, 26, 0.05);
}
.header__inner {
    max-width: 1320px;
    height: var(--header-h);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    gap: 40px;
}
.header__nav {
    display: flex;
    gap: 30px;
    flex: 1;
    min-width: 0;
}
.header__nav a,
.header__home {
    color: #4a4f58;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s;
}
.header__nav a:hover,
.header__home:hover,
.header__nav a[aria-current='page'],
.header__home[aria-current='page'] {
    color: var(--ink);
}
.header__nav a[aria-current='page'] {
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}
.header__side {
    display: flex;
    align-items: center;
    gap: 28px;
}
.header__side .btn {
    min-height: 52px;
}
.header__burger {
    display: none;
    margin-left: auto;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: var(--soft);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.header__burger span {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.2s, opacity 0.2s;
}
.header__burger[aria-expanded='true'] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.header__burger[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
}
.header__burger[aria-expanded='true'] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
.mobile-menu {
    display: grid;
    gap: 4px;
    padding: 8px var(--gutter) 20px;
    border-top: 1px solid var(--line);
}
.mobile-menu[hidden] {
    display: none;
}
.mobile-menu a:not(.btn) {
    padding: 12px 0;
    color: var(--ink);
    text-decoration: none;
    font-size: 18px;
    border-bottom: 1px solid var(--line);
}
.mobile-menu .btn {
    margin-top: 12px;
}

/* ---------- лента баннеров ---------- */

.hero {
    --h: clamp(250px, 29vw, 420px);
    --gap: 16px;
    height: calc(var(--h) + 2 * var(--gap));
    padding: var(--gap) 0;
    overflow: hidden;
}
.hero__track {
    display: flex;
    width: max-content;
    height: 100%;
    animation: marquee 70s linear infinite;
}
.hero:hover .hero__track {
    animation-play-state: paused;
}
@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}
.strip {
    display: flex;
    gap: var(--gap);
    padding-right: var(--gap);
    height: 100%;
}
.strip__col {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    height: 100%;
}
.strip__col--narrow {
    width: calc(var(--h) * 0.56);
}
.strip__col--mid {
    width: calc(var(--h) * 0.66);
}
.strip__col--wide {
    width: calc(var(--h) * 1.08);
}
.tile {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    border-radius: 20px;
    display: grid;
    place-items: center;
}

.tile--who {
    background: #fff;
    padding: 0 0 calc(var(--h) * 0.06);
}
.tile--who span {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: #c4ebfc;
    color: #111;
    font-size: calc(var(--h) * 0.2);
    font-weight: 600;
    letter-spacing: -0.03em;
}
.tile--who span::after {
    content: '';
    position: absolute;
    left: 14%;
    bottom: calc(var(--h) * -0.05);
    border-width: calc(var(--h) * 0.055) calc(var(--h) * 0.03) 0 calc(var(--h) * 0.045);
    border-style: solid;
    border-color: #c4ebfc transparent transparent;
}

.tile--cork {
    background-color: #c79d6b;
    background-image: radial-gradient(rgba(92, 56, 20, 0.35) 1px, transparent 1.7px),
        radial-gradient(rgba(255, 238, 205, 0.4) 1px, transparent 1.7px);
    background-size: 7px 7px, 11px 11px;
    background-position: 0 0, 3px 5px;
}
.ransom {
    display: flex;
    gap: 3px;
    margin-top: calc(var(--h) * 0.05);
}
.ransom b {
    display: grid;
    place-items: center;
    width: calc(var(--h) * 0.1);
    height: calc(var(--h) * 0.15);
    font-size: calc(var(--h) * 0.1);
    line-height: 1;
    box-shadow: 0 3px 6px rgba(60, 35, 10, 0.35);
}
.ransom b:nth-child(1) {
    background: #fff;
    color: #111;
    font-family: Georgia, 'Times New Roman', serif;
    transform: rotate(-7deg);
}
.ransom b:nth-child(2) {
    background: #e43d2b;
    color: #fff;
    transform: rotate(5deg) translateY(4px);
}
.ransom b:nth-child(3) {
    background: #15171c;
    color: #ffd45c;
    transform: rotate(-3deg);
}
.ransom b:nth-child(4) {
    background: #fff;
    color: #1d63d8;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    transform: rotate(6deg) translateY(-3px);
}
.pin {
    position: absolute;
    top: 26%;
    width: calc(var(--h) * 0.045);
    height: calc(var(--h) * 0.045);
    border-radius: 50%;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.35);
    z-index: 1;
}
.pin--red {
    left: 18%;
    background: radial-gradient(circle at 35% 30%, #ff9b8f, #e0301e 60%);
}
.pin--green {
    left: 46%;
    top: 22%;
    background: radial-gradient(circle at 35% 30%, #8ff0a8, #1ba34a 60%);
}
.pin--yellow {
    left: 72%;
    top: 28%;
    background: radial-gradient(circle at 35% 30%, #fff3a6, #f1c21b 60%);
}

.tile--promise {
    background: #ececec;
    padding: calc(var(--h) * 0.08);
    place-items: stretch;
    align-content: center;
    gap: calc(var(--h) * 0.035);
}
.tile--promise p {
    margin: 0;
}
.promise__kicker {
    justify-self: start;
    padding: 4px 12px;
    border-radius: 8px;
    background: #f5a3b7;
    color: #6b0f27;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: calc(var(--h) * 0.04);
}
.promise__title {
    color: var(--ink);
    font-weight: 800;
    font-size: calc(var(--h) * 0.105);
    line-height: 1.02;
    letter-spacing: -0.035em;
}
.promise__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.promise__tags span {
    padding: 5px 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    font-weight: 600;
    font-size: calc(var(--h) * 0.036);
}

.tile--chat {
    background: #ffe7d9;
    padding: calc(var(--h) * 0.04);
    align-content: center;
    gap: calc(var(--h) * 0.02);
}
.bubble {
    max-width: 92%;
    padding: 7px 11px;
    border-radius: 14px;
    font-size: max(11px, calc(var(--h) * 0.033));
    line-height: 1.3;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(120, 60, 20, 0.12);
}
.bubble--in {
    justify-self: start;
    background: #fff;
    color: var(--ink);
    border-bottom-left-radius: 4px;
}
.bubble--out {
    justify-self: end;
    background: var(--accent);
    color: var(--on-accent);
    border-bottom-right-radius: 4px;
}

.tile--bot {
    background: linear-gradient(160deg, #55c0f0, #2b8fd2);
}
.tile--bot svg {
    width: 62%;
}
.tile__q {
    position: absolute;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 800;
    font-size: calc(var(--h) * 0.09);
}
.tile__q--1 {
    top: 8%;
    right: 12%;
}
.tile__q--2 {
    bottom: 10%;
    left: 10%;
    font-size: calc(var(--h) * 0.06);
}

.tile--letter {
    background: #ffd45c;
    align-content: center;
    gap: 6px;
}
.tile--letter svg {
    width: 72%;
    filter: drop-shadow(0 8px 12px rgba(150, 100, 0, 0.25));
}
.tile--letter p {
    margin: 0;
    color: #4a3300;
    font-weight: 800;
    font-size: calc(var(--h) * 0.06);
}

.tile--ask {
    background: #d6f2fc;
    padding: calc(var(--h) * 0.08);
    place-items: stretch;
    align-content: center;
}
.tile--ask p {
    margin: 0;
    color: var(--ink);
    font-weight: 800;
    font-size: calc(var(--h) * 0.092);
    line-height: 1.05;
    letter-spacing: -0.03em;
}
.ask__quote {
    color: var(--accent);
    font-weight: 800;
    font-size: calc(var(--h) * 0.26);
    line-height: 0.6;
    height: calc(var(--h) * 0.1);
}
.ask__sign {
    margin-top: calc(var(--h) * 0.04);
    color: var(--accent-ink);
    font-weight: 600;
    font-size: calc(var(--h) * 0.04);
}

/* ---------- секции главной ---------- */

.section {
    padding-top: 88px;
}
.section:last-of-type {
    padding-bottom: 96px;
}
.section__title {
    margin: 0 0 52px;
    text-align: center;
    font-weight: 600;
    font-size: clamp(28px, 3.3vw, 44px);
}

.service {
    display: grid;
    grid-template-columns: 1fr 1.12fr;
    gap: 32px 48px;
    align-items: center;
    padding: 56px;
    border-radius: 44px;
    background: var(--soft);
}
.service__text h3 {
    margin: 0 0 14px;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
}
.service__text p {
    margin: 0 0 26px;
    max-width: 440px;
    color: var(--muted);
}
.service__art {
    padding: 40px;
    border-radius: 22px;
    background: #fff;
}

.phone {
    max-width: 420px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(17, 40, 60, 0.14), 0 0 0 1px rgba(17, 40, 60, 0.05);
}
.phone__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.phone__bar b,
.phone__bar small {
    display: block;
    line-height: 1.25;
}
.phone__bar b {
    color: var(--ink);
    font-size: 15px;
}
.phone__bar small {
    color: var(--muted);
    font-size: 13px;
}
.phone__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M12.5 11h15a4.5 4.5 0 0 1 4.5 4.5v8a4.5 4.5 0 0 1-4.5 4.5H20l-5.6 4.2a.6.6 0 0 1-.96-.48V28h-.94A4.5 4.5 0 0 1 8 23.5v-8a4.5 4.5 0 0 1 4.5-4.5Z' fill='%23fff'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.phone__chat {
    display: grid;
    gap: 10px;
    padding: 18px 16px 22px;
    background-color: #d5e6ef;
    background-image: radial-gradient(rgba(255, 255, 255, 0.55) 1.2px, transparent 1.6px);
    background-size: 16px 16px;
}
.msg {
    max-width: 86%;
    padding: 9px 13px 10px;
    border-radius: 16px;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}
.msg small {
    display: block;
    margin-bottom: 2px;
    color: var(--accent-ink);
    font-weight: 700;
    font-size: 12px;
}
.msg--bot {
    justify-self: start;
    background: #fff;
    border-bottom-left-radius: 5px;
}
.msg--me {
    justify-self: end;
    background: #dcf8c6;
    border-bottom-right-radius: 5px;
}

.features {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 8px 0 0;
    padding: 28px 0 0;
    list-style: none;
    border-top: 1px solid #e3e4e7;
}
.features li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 2px 14px;
    align-items: start;
}
.features svg {
    grid-row: span 2;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 12px;
    background: #fff;
    fill: var(--accent);
}
.features b {
    color: var(--ink);
}
.features span {
    color: var(--muted);
    font-size: 14px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.cards li {
    display: grid;
    place-items: center;
    aspect-ratio: 1.27;
    border-radius: 28px;
    background: var(--soft);
}
.cards li:nth-child(1) svg {
    width: 70%;
}
.cards li:nth-child(2) svg {
    width: 72%;
}
.cards li:nth-child(3) svg {
    width: 52%;
}
.cards text {
    font-family: var(--font);
}

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

.footer {
    background: var(--dark);
    color: #fff;
    text-align: center;
}
.footer__inner {
    display: grid;
    justify-items: center;
    gap: 22px;
    padding: 52px var(--gutter) 34px;
}
.footer__copy {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
}
.footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
}
.footer__nav a {
    color: #b5b8bd;
    font-size: 15px;
    text-decoration: none;
}
.footer__nav a:hover {
    color: #fff;
}
.footer__legal {
    padding: 22px var(--gutter);
    border-top: 1px solid #222;
    color: #9a9da3;
    font-size: 14px;
}

/* ---------- внутренние страницы ---------- */

.page {
    padding-top: 56px;
    padding-bottom: 96px;
}
.page__title {
    margin: 0 0 40px;
    text-align: center;
    font-weight: 600;
    font-size: clamp(30px, 3.6vw, 46px);
}
.page__lead {
    max-width: 640px;
    margin: 0 auto 24px;
    text-align: center;
}
.page--center {
    text-align: center;
}
.big-code {
    margin: 0;
    color: var(--accent);
    font-weight: 800;
    font-size: clamp(88px, 14vw, 140px);
    line-height: 1;
    letter-spacing: -0.05em;
}

/* юридические документы */

.doc-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.doc-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px;
    border-radius: 24px;
    background: var(--soft);
}
.doc-card b {
    color: var(--ink);
    font-size: 18px;
    line-height: 1.3;
}
.doc-card span {
    color: var(--muted);
    font-size: 14px;
}
.doc-card .btn {
    margin-top: auto;
    align-self: flex-start;
    background: #fff;
}
.doc-card .btn:hover {
    background: var(--accent-soft);
}

.doc {
    max-width: 860px;
    margin: 88px auto 0;
    overflow-wrap: anywhere;
}
.doc h2 {
    margin: 0 0 32px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
    text-align: center;
    font-weight: 600;
    font-size: clamp(26px, 2.8vw, 36px);
    overflow-wrap: normal;
}
.doc h3 {
    margin: 34px 0 12px;
    font-size: 20px;
}
.doc h4 {
    margin: 22px 0 10px;
    font-size: 17px;
}
.doc p {
    margin: 0 0 12px;
    line-height: 1.65;
}
.doc__p--3 {
    padding-left: 24px;
}
.doc__caption {
    color: var(--accent-ink);
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 14px;
}
.doc__list {
    display: grid;
    gap: 6px;
    margin: 0 0 20px;
    padding: 16px 20px 16px 40px;
    border-radius: 16px;
    background: var(--soft);
    color: var(--ink);
    font-weight: 600;
}
.doc__list li::marker {
    color: var(--accent);
}
.doc__top {
    display: inline-block;
    margin-top: 16px;
    font-weight: 600;
    text-decoration: none;
}
.doc__top:hover {
    text-decoration: underline;
}

/* отмена подписки */

.cancel {
    position: relative;
    overflow: hidden;
    padding: 72px 24px 64px;
    border-radius: 28px;
    color: #fff;
    background: radial-gradient(120% 90% at 100% 0%, rgba(31, 178, 232, 0.45), transparent 60%),
        radial-gradient(90% 70% at 0% 100%, rgba(240, 109, 140, 0.28), transparent 60%),
        linear-gradient(160deg, #101d29 0%, #12324a 60%, #154e6f 100%);
}
.cancel__decor span {
    position: absolute;
    border-radius: 22px 22px 22px 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.cancel__decor span:nth-child(1) {
    width: 220px;
    height: 84px;
    left: 5%;
    top: 12%;
}
.cancel__decor span:nth-child(2) {
    width: 150px;
    height: 64px;
    left: 9%;
    top: calc(12% + 100px);
    border-radius: 22px 22px 6px 22px;
}
.cancel__decor span:nth-child(3) {
    width: 240px;
    height: 92px;
    right: 3%;
    bottom: 7%;
}
.cancel__decor span:nth-child(4) {
    width: 120px;
    height: 56px;
    right: 9%;
    bottom: calc(7% + 108px);
    border-radius: 22px 22px 6px 22px;
}
.cancel__body {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
}
.cancel h1 {
    margin: 0 0 22px;
    color: #fff;
    text-align: center;
    font-weight: 600;
    font-size: clamp(24px, 2.6vw, 32px);
}
.cancel__intro {
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
}
.cancel__intro p {
    margin: 0 0 10px;
}
.cancel code {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}
.cancel__or {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0 14px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 13px;
    font-weight: 700;
}
.cancel__or::before,
.cancel__or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}
.cancel__lead {
    margin: 0 0 22px;
    text-align: center;
    color: #fff;
    font-weight: 600;
}
.cancel__form {
    position: relative;
    display: grid;
    gap: 14px;
}
.field label {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    font-weight: 600;
}
.field label i {
    margin-left: 2px;
    color: #7fd8f7;
    font-style: normal;
}
.field label small {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
    font-size: 13px;
}
.field input {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font: 500 16px/1.2 var(--font);
    color-scheme: dark;
    transition: border-color 0.15s, background-color 0.15s;
}
.field input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.field input:hover {
    border-color: rgba(255, 255, 255, 0.32);
}
.field input:focus {
    outline: 0;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(31, 178, 232, 0.35);
}
.field--error input {
    border-color: #ff8f8f;
}
.field__error {
    margin: 6px 0 0;
    color: #ffb8b8;
    font-size: 13px;
}
.field__error:empty {
    display: none;
}
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.cancel__fail {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 130, 130, 0.45);
    background: rgba(255, 90, 90, 0.16);
    font-size: 14px;
}
.cancel__fail[hidden] {
    display: none;
}
.cancel__form .btn {
    margin-top: 6px;
}
.cancel__note {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    text-align: center;
}
.cancel__note a {
    color: #fff;
}
.cancel__done {
    display: grid;
    justify-items: center;
    gap: 8px;
    text-align: center;
    outline: 0;
}
.cancel__done svg {
    width: 72px;
    height: 72px;
    margin-bottom: 6px;
}
.cancel__done h2 {
    margin: 0;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
}
.cancel__done p {
    margin: 0;
    max-width: 440px;
    color: rgba(255, 255, 255, 0.78);
}

/* контакты */

.contacts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.contact-card {
    padding: 32px;
    border-radius: 24px;
    background: var(--soft);
}
.contact-card--wide {
    grid-column: 1 / -1;
}
.contact-card h2 {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 700;
}
.contact-card p {
    margin: 0 0 18px;
}
.contact-card dl {
    margin: 0 0 4px;
}
.contact-row {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e3e4e7;
}
.contact-row:last-child {
    border-bottom: 0;
}
.contact-row dt {
    color: var(--muted);
}
.contact-row dd {
    margin: 0;
    color: var(--ink);
    font-weight: 600;
    overflow-wrap: anywhere;
}

/* боты */

.bots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
    margin: 0 0 40px;
    padding: 0;
    list-style: none;
}
.bots a {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--soft);
    color: var(--ink);
    text-decoration: none;
    transition: background-color 0.15s;
}
.bots a:hover {
    background: var(--accent-soft);
}
.bots__icon {
    grid-row: span 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.7 4.3 3.4 11c-1 .4-1 1.8 0 2.1l4.2 1.4 1.6 5c.3.9 1.4 1.1 2 .4l2.3-2.5 4.2 3.1c.7.5 1.7.1 1.9-.7l2.9-13.9c.2-1-.8-1.9-1.8-1.6Z' fill='%23fff'/%3E%3C/svg%3E") 45% 55% / 55% no-repeat;
}
.bots b {
    overflow-wrap: anywhere;
}
.bots__go {
    color: var(--muted);
    font-size: 13px;
}

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

@media (max-width: 1100px) {
    .header__inner {
        gap: 28px;
    }
    .header__nav {
        gap: 22px;
    }
    .service {
        grid-template-columns: 1fr;
    }
    .service__text p {
        max-width: none;
    }
}

@media (max-width: 960px) {
    .header__nav,
    .header__side {
        display: none;
    }
    .header__burger {
        display: flex;
    }
    .doc-cards {
        grid-template-columns: 1fr;
    }
    .doc-card .btn {
        margin-top: 6px;
    }
}

@media (max-width: 720px) {
    :root {
        --gutter: 16px;
        --header-h: 64px;
    }
    .logo__mark {
        width: 36px;
        height: 36px;
    }
    .logo__word {
        font-size: 19px;
    }
    .hero {
        --h: 240px;
        --gap: 10px;
    }
    .tile,
    .tile--who span {
        border-radius: 16px;
    }
    .section {
        padding-top: 56px;
    }
    .section:last-of-type {
        padding-bottom: 64px;
    }
    .section__title {
        margin-bottom: 28px;
    }
    .service {
        padding: 28px 18px;
        border-radius: 28px;
    }
    .service__art {
        padding: 14px;
    }
    .features {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .cards {
        gap: 10px;
    }
    .cards li {
        border-radius: 16px;
        aspect-ratio: 1;
    }
    .page {
        padding-top: 36px;
        padding-bottom: 64px;
    }
    .page__title {
        margin-bottom: 28px;
    }
    .doc {
        margin-top: 56px;
    }
    .doc__p--3 {
        padding-left: 12px;
    }
    .cancel {
        margin: 0 calc(var(--gutter) * -1);
        padding: 44px 18px 40px;
        border-radius: 0;
    }
    .cancel__decor {
        display: none;
    }
    .contacts {
        grid-template-columns: 1fr;
    }
    .contact-card {
        padding: 24px 20px;
    }
    .contact-row {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .hero__track {
        animation: none;
    }
}
