:root {
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --text: #334155;
    --text-muted: #64748b;
    --border: #d1d5db;
    --border-mid: #94a3b8;
    --border-strong: #475569;
    --surface: #f1f5f9;
    --surface-hover: #e2e8f0;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --accent: #c9ddfb;
    --ball-bg: radial-gradient(circle at 30% 28%, rgb(255 255 255 / 72%) 0%, rgb(255 255 255 / 20%) 32%, rgb(255 255 255 / 0%) 58%),
        radial-gradient(circle at 70% 78%, rgb(51 65 85 / 16%) 0%, rgb(51 65 85 / 0%) 60%), var(--accent);
    --shadow-card: 0 0 18px rgb(148 163 184 / 40%);
    --shadow-card-hover: 0 0 32px rgb(148 163 184 / 46%);
    --shadow: 0 0 2px rgb(0 0 0 / 10%), 0 0 30px rgb(0 0 0 / 12%);
    --radius: 14px;
}

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

html,
body {
    margin: 0;
    padding: 0;
}

body.page--home {
    background: #f3f4f6;
}


body {
    background: var(--bg);
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    font-size: 19px;
    line-height: 1.55;
    hyphens: none;
}

a {
    color: inherit;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    padding-left: calc(20px + constant(safe-area-inset-left));
    padding-right: calc(20px + constant(safe-area-inset-right));
    padding-left: calc(20px + env(safe-area-inset-left));
    padding-right: calc(20px + env(safe-area-inset-right));
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgb(232 241 255 / 92%);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
    flex-wrap: wrap;
}

.brand {
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.nav__link {
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 1.02rem;
}

.nav__link:hover {
    background: var(--bg-alt);
}

.nav__dropdown {
    position: relative;
}

.nav__summary {
    cursor: pointer;
    list-style: none;
}

.nav__summary::-webkit-details-marker {
    display: none;
}

.nav__dropdown-list {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 10px;
    min-width: 260px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    padding: 8px;
    box-shadow: var(--shadow);
    z-index: 60;
}

.nav__dropdown[open] .nav__dropdown-list {
    display: block;
}

.nav__dropdown-link {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text);
}

.nav__dropdown-link:hover {
    background: var(--bg-alt);
}

.header__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: baseline;
    gap: 6px 14px;
}

.header__contact {
    display: inline-flex;
    align-items: center;
    padding: 6px 0;
    font-weight: 700;
    font-size: 0.92rem;
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--border-strong);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    background: var(--surface);
    color: var(--text);
    transition: background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
    background: var(--surface-hover);
}

.btn--primary {
    background: var(--surface);
    color: var(--text);
}

.btn--secondary {
    background: var(--surface);
    color: var(--text);
}

.btn--ghost {
    background: var(--surface);
    border-color: var(--border-strong);
    color: var(--text);
}

.main {
    padding: 30px 0 56px;
}

.hero {
    padding: 22px 0 12px;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

.hero__title {
    margin: 0 0 12px;
    font-size: 2.3rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    margin: 0 0 16px;
    color: var(--text);
    font-size: 1.05rem;
    max-width: 70ch;
}

.hero__subtitle--lead {
    color: var(--text);
    font-size: 1.2em;
    margin-top: 24px;
    margin-bottom: 0;
    text-align: justify;
    text-align-last: left;
    hyphens: none;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.hero__subtitle--secondary {
    color: var(--text);
    font-size: 1.2em;
    margin-top: 0;
    text-align: left;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.home .hero {
    padding-bottom: 4px;
}

.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 10px 0;
}

.hero__note {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.home .hero__text {
    text-align: center;
}

.home .hero__title {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}

.home .hero__subtitle--lead {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: none;
}


.home .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
}

.home .stack-note {
    margin-left: 0;
    margin-right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: none;
    text-align: justify;
    text-align-last: left;
    max-width: none;
    font-size: 1.15em;
    padding: 16px;
    hyphens: none;
}

.home .hero__actions {
    justify-content: center;
}

.home .hero__note {
    text-align: center;
}

.home .section__title {
    text-align: center;
    font-size: 1.9rem;
}

.home .cta__text {
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: none;
    text-align: justify;
    text-align-last: left;
    hyphens: none;
    padding: 16px;
}

.home .cta__text {
    max-width: none;
}

.home .cta__actions {
    justify-content: center;
}

.home .muted {
    text-align: center;
}

.hero__card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    background: #fff;
    box-shadow: 0 0 2px rgb(0 0 0 / 9%);
}

.hero__card-title {
    font-weight: 800;
    margin-bottom: 10px;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist li {
    position: relative;
    padding-left: 24px;
    margin: 10px 0;
    color: var(--text);
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
    color: #16a34a;
}

.section {
    margin-top: 42px;
}

.home #services.section {
    margin-top: 28px;
}

.home #services .section__title {
    margin-bottom: 24px;
}

.home #services .card {
    border-color: var(--border);
    box-shadow: var(--shadow-card);
}

.home #services .card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-card-hover);
}

.section--alt {
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--bg-alt);
}

.section__title {
    margin: 0 0 14px;
    font-size: 1.45rem;
    letter-spacing: -0.01em;
}

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

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.card:hover {
    border-color: var(--border-strong);
    box-shadow: 0 0 20px rgb(0 0 0 / 12%);
    transform: translateY(-1px);
}

.card__title {
    font-weight: 800;
    margin-bottom: 8px;
    text-align: center;
    font-size: 1.25em;
    line-height: 1.2;
}

.card__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-alt);
    margin-bottom: 12px;
}

.card__text {
    margin-bottom: 12px;
    color: var(--text);
    text-align: justify;
    text-align-last: left;
    hyphens: none;
}

.card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.home .card__meta .pill {
    font-size: 1.15rem;
    border: none;
}

.card__link {
    color: var(--text);
    font-weight: 800;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 800;
}

.pill--muted {
    background: var(--bg-alt);
    border-color: var(--border);
    color: var(--text-muted);
}

.steps {
    margin: 0;
    padding-left: 34px;
    font-size: 1.15em;
}

.steps li {
    margin: 0.2em 0;
}

.home .steps {
    margin: 0;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: none;
    list-style-position: inside;
}

.home .steps li {
    margin: 10px 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.home .steps li:first-child {
    margin-top: 0;
}

.home .steps li:last-child {
    margin-bottom: 0;
}


.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.12em;
    font-weight: 800;
}

.marquee {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--accent);
    padding: 16px 0;
}

.home .marquee {
    border-color: var(--border);
    margin-top: 24px;
    box-shadow: var(--shadow-card);
    background: var(--bg-alt);
}

.home .marquee .tag {
    border: none;
    background: transparent;
    padding: 0;
    font-size: 1.35em;
    color: var(--text);
    transition: transform 1000ms cubic-bezier(0.16, 1, 0.3, 1), color 300ms ease;
    transform: scale(var(--marquee-scale, 1));
    transform-origin: center;
    will-change: transform;
    backface-visibility: hidden;
}

.home .marquee .tag.marquee__tag--active {
    color: #000000;
    font-weight: 900;
    text-shadow: 0 0 0 currentColor;
}

@keyframes marquee-tag-shine {
    from {
        background-position: 0% 50%;
    }
    to {
        background-position: 200% 50%;
    }
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
    .home .marquee .tag.marquee__tag--active {
        background-image: linear-gradient(
            90deg,
            #000000 0%,
            #000000 35%,
            rgb(255 255 255 / 70%) 50%,
            #000000 65%,
            #000000 100%
        );
        background-size: 200% 100%;
        background-position: 0% 50%;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
        text-shadow: 0 0 0 #000000;
        animation: marquee-tag-shine 1600ms linear infinite;
    }
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: marquee 52s linear infinite;
    will-change: transform;
}

.marquee__group {
    display: flex;
    gap: 32px;
    flex-shrink: 0;
    padding: 0 10px;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .marquee__track {
        animation: none;
    }
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

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

.cta {
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--bg-alt);
}

.cta__text {
    margin: 0;
    color: var(--text);
    max-width: 70ch;
    font-size: 1.15em;
}

.cta__actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.service-cta .section__title {
    text-align: center;
    margin-bottom: 24px;
}

.service-cta .cta__text {
    font-size: 1.2em;
    max-width: none;
    text-align: justify;
    text-align-last: left;
    hyphens: none;
    padding-left: 0;
    padding-right: 0;
}

.service-cta .cta__actions {
    justify-content: center;
    margin-top: 24px;
}

.home .home-contacts {
    justify-content: center;
    align-items: center;
    column-gap: clamp(48px, 8vw, 220px);
    row-gap: 10px;
    width: 100%;
    background: transparent;
    border-radius: 0;
    padding: 0;
    font-size: 1.2em;
    font-weight: 800;
}

.home .home-contacts__label {
    white-space: nowrap;
    flex-basis: 100%;
    text-align: center;
}

.home .home-contacts .contact-link,
.home .home-contacts .contact-link:hover {
    text-decoration: none;
}

.about-page .service-cta .cta__actions,
.cases-page .service-cta .cta__actions,
.faq-page .service-cta .cta__actions {
    justify-content: center;
    align-items: center;
    column-gap: clamp(48px, 8vw, 220px);
    row-gap: 10px;
    width: 100%;
    font-size: 1.2em;
}

.about-page .service-cta .contact-link,
.about-page .service-cta .contact-link:hover,
.cases-page .service-cta .contact-link,
.cases-page .service-cta .contact-link:hover,
.faq-page .service-cta .contact-link,
.faq-page .service-cta .contact-link:hover {
    text-decoration: none;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: transform 160ms ease, color 160ms ease;
    will-change: transform;
}

.contact-link:hover,
.contact-link:focus-visible {
    transform: scale(1.2);
    color: #000000;
}

.copy-toast {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.98);
    opacity: 0;
    pointer-events: none;
    z-index: 1000;
    background: rgb(15 23 42 / 94%);
    color: #ffffff;
    border: 1px solid rgb(255 255 255 / 14%);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: var(--shadow);
    transition: opacity 160ms ease, transform 160ms ease;
}

.copy-toast--visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.page-header {
    margin: 12px 0 22px;
}

.page-image {
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-alt);
    margin-bottom: 14px;
}

.page-image__img {
    display: block;
    width: 100%;
    height: auto;
}

.page-title {
    margin: 0 0 10px;
    font-size: 2.05rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.page-lead {
    margin: 0;
    color: var(--text);
    font-size: 1.05rem;
    max-width: none;
    text-align: justify;
    text-align-last: left;
    hyphens: none;
}

.page-meta {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.stack-note {
    text-align: justify;
    text-align-last: left;
    max-width: none;
    font-size: 1.15em;
    color: var(--text);
    hyphens: none;
}

.about-page .page-header {
    margin-top: 22px;
    text-align: center;
}

.about-page .page-lead {
    max-width: none;
    font-size: 1.2em;
    text-align: justify;
    text-align-last: left;
    margin-top: 24px;
}

.about-page .section__title {
    text-align: center;
    font-size: 1.9rem;
}

.about-page .tags--about {
    --about-tags-gap: 40px;
    --about-tag-size: clamp(112px, 17vw, 142px);
    display: flex;
    flex-direction: column;
    gap: calc(var(--about-tags-gap) / 2);
    margin-top: 24px;
    align-items: center;
    max-width: 100%;
}

.about-page .tags--about .tags__row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--about-tags-gap);
    max-width: 100%;
}

.about-page .tags--about .tag {
    background: var(--ball-bg);
    border-color: var(--border);
    box-shadow: var(--shadow-card);
    text-shadow: 0 1px 0 rgb(255 255 255 / 45%), 0 2px 10px rgb(15 23 42 / 12%);
    text-wrap: balance;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: var(--about-tag-size);
    height: var(--about-tag-size);
    padding: 0 14px;
    border-radius: 50%;
    line-height: 1.15;
    white-space: normal;
    min-width: var(--about-tag-size);
    max-width: 100%;
    flex: 0 0 var(--about-tag-size);
    will-change: transform;
    animation: aboutBallRollIn 1400ms cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--roll-index, 0) * 260ms);
}

.about-page .tags--about .tag__text {
    display: block;
    transform: perspective(520px) rotateX(10deg);
    transform-origin: center;
}

@keyframes aboutBallRollIn {
    0% {
        opacity: 0;
        transform: translateX(-70px) rotate(-220deg);
    }
    18% {
        opacity: 1;
    }
    70% {
        transform: translateX(0) rotate(0deg);
    }
    85% {
        transform: translateX(6px) rotate(12deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-page .tags--about .tag {
        animation: none;
    }
}

.about-page .tags--about .tag--wide {
    padding: 0 14px;
}

.about-page .tags--about .tag--wider {
    padding: 0 14px;
}

.about-page .list {
    margin: 0;
    counter-reset: about-list;
    padding-left: 0;
    font-size: 1.2em;
    list-style: none;
}

.about-page .steps {
    font-size: 1.2em;
    padding-left: 0;
    list-style-position: inside;
}

.about-page .stack-note {
    font-size: 1.2em;
}

.about-page .list li {
    position: relative;
    padding-left: 30px;
    margin: 0.2em 0;
}

.about-page .list li::before {
    counter-increment: about-list;
    content: counter(about-list);
    position: absolute;
    left: 0;
    top: 0.05em;
    color: var(--border-strong);
    font-weight: 900;
    font-size: 1.2em;
    line-height: 1;
}

.about-page .cta__text {
    max-width: none;
    text-align: justify;
    text-align-last: left;
    font-size: 1.2em;
}

.about-page .cta__actions {
    justify-content: center;
}

.about-page .about-legal {
    margin-left: auto;
    margin-right: auto;
}

.faq-page .page-header,
.cases-page .page-header,
.contacts {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.faq-page .page-lead,
.contacts-page .page-lead {
    max-width: none;
    font-size: 1.2em;
    margin-top: 24px;
    text-align: left;
}

.contacts-page .section__title {
    text-align: center;
    font-size: 1.9rem;
}

.cases-page .page-lead {
    margin: 24px 0 0.2em;
    color: var(--text);
    font-size: 1.2em;
    max-width: none;
    text-align: justify;
    text-align-last: left;
    hyphens: none;
}

.cases-page .cases__note {
    margin: 0.2em 0 0;
    color: var(--text);
    font-size: 1.2em;
    max-width: none;
    text-align: justify;
    text-align-last: left;
    hyphens: none;
}

.faq-page .faq__q {
    font-size: 1.25em;
    color: var(--text);
}

.faq-page .faq__a {
    font-size: 1em;
    text-align: justify;
    text-align-last: left;
    padding-right: 44px;
}

.faq-page .service-cta .section__title,
.cases-page .service-cta .section__title {
    font-size: 2.05rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.service-page .page-header {
    margin-top: 22px;
    text-align: center;
}

.service-page {
    padding-left: 0;
    padding-right: 0;
    overflow-wrap: anywhere;
}

.service-page .page-title {
    margin-bottom: 24px;
}

.service-page .page-lead {
    font-size: 1.2em;
    max-width: none;
    text-align: justify;
    text-align-last: left;
    hyphens: none;
}

.service-page .page-meta {
    justify-content: center;
    margin-top: 24px;
    gap: 18px;
}

.service-page--new-project .page-meta,
.service-page--emergency .page-meta,
.service-page--security .page-meta,
.service-page--support .page-meta {
    margin-top: 16px;
}

.service-page .section {
    text-align: left;
}

.service-page .section__title {
    text-align: center;
    font-size: 1.9rem;
}

.service-page .pill--muted {
    background: transparent;
    border-color: transparent;
    padding: 0;
    text-decoration: none;
    color: var(--text);
    font-size: 1.05em;
}

.service-page .page-meta .pill {
    font-size: 1.05em;
    border: none;
}

.service-page .page-meta .pill:not(.pill--muted) {
    box-shadow: none;
}

.service-page .page-meta .pill--muted {
    font-size: 1.2em;
    border-color: transparent;
}

.service-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.service-table th,
.service-table td {
    padding: 8px 10px;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.service-table th {
    background: var(--accent);
    font-weight: 800;
    text-align: center;
    color: var(--text);
    font-size: 1.25em;
    line-height: 1.2;
}

.service-table td {
    border-top: 1px solid var(--border);
    text-align: justify;
    text-align-last: left;
    hyphens: none;
}

.service-table th + th,
.service-table td + td {
    border-left: 1px solid var(--border);
}

.service-page .steps {
    padding-left: 0;
    list-style-position: inside;
}

.service-note {
    margin: 12px 0 0;
    color: var(--text);
    font-size: 1.15em;
    text-align: justify;
    text-align-last: left;
    hyphens: none;
}

.service-page .cta__text {
    font-size: 1.2em;
    text-align: justify;
    text-align-last: left;
    hyphens: none;
    max-width: none;
}

.service-page .cta__actions {
    justify-content: center;
    margin-top: 14px;
    gap: 18px;
}

.service-page .service-cta .section__title {
    margin-bottom: 24px;
}

.service-page .service-cta .cta__actions {
    margin-top: 24px;
    align-items: center;
    gap: 10px clamp(48px, 8vw, 220px);
    width: 100%;
    font-size: 1.2em;
}

.service-page .service-cta .contact-link,
.service-page .service-cta .contact-link:hover {
    text-decoration: none;
}

.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.list {
    margin: 0;
    padding-left: 18px;
}

.list li {
    margin: 8px 0;
}

.contacts {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.contacts__item {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: clamp(24px, 6vw, 120px);
    padding: 12px 0;
    text-align: left;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    box-shadow: none;
    max-width: 100%;
}

.contacts__item:first-child {
    border-top: 1px solid var(--border);
}

.contacts-page .contacts__item > * {
    position: relative;
    z-index: 1;
}

.contacts__label {
    font-size: 1.2em;
    min-width: 12ch;
    font-weight: 800;
    color: var(--text);
}

.contacts__value {
    display: inline-flex;
    align-items: center;
    font-size: 1.2em;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    transition: transform 160ms ease, color 160ms ease;
    will-change: transform;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.contacts__value:hover,
.contacts__value:focus-visible {
    text-decoration: none;
    transform: scale(1.35);
    color: #000000;
}

.contacts-page .stack-note {
    font-size: 1.2em;
}

.contacts-page .steps {
    font-size: 1.2em;
    padding-left: 0;
    list-style-position: inside;
}

.faq {
    border-top: 1px solid var(--border-strong);
}

.faq__item {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--border-strong);
    border-radius: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    text-align: left;
}

.faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 14px 0;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
    text-align: left;
}

.faq__q::marker {
    content: '';
}

.faq__q::-webkit-details-marker {
    display: none;
}

.faq__q::after {
    content: '+';
    flex: 0 0 auto;
    color: var(--border-strong);
    font-weight: 900;
    font-size: 1.4em;
    line-height: 1;
}

.faq__item > .faq__a {
    display: block;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    transform: translateY(18px);
    color: var(--text);
    text-align: left;
    transition: max-height 1400ms cubic-bezier(0.16, 1, 0.3, 1), opacity 900ms ease,
        padding-top 900ms ease, padding-bottom 900ms ease, transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: max-height, transform;
}

.faq__item[open] > .faq__a {
    max-height: 600px;
    opacity: 1;
    padding-top: 14px;
    padding-bottom: 14px;
    transform: translateY(0);
}

.box {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    padding: 16px;
}

.footer {
    border-top: 1px solid #111827;
    padding: 24px 0;
    background: #000;
    color: #d1d5db;
    font-size: 0.85em;
    line-height: 1.45;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 24px;
    flex-wrap: wrap;
}

.footer__left {
    flex: 1 1 260px;
    min-width: 240px;
    display: flex;
    flex-direction: column;
}

.footer__contacts {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer__name {
    font-weight: 800;
}

.footer__contact {
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer__note {
    margin-top: 14px;
    line-height: 1.4;
}

.footer__copyright {
    margin-top: auto;
    padding-top: 12px;
    color: #9ca3af;
    font-size: 0.9em;
}

.footer__center {
    flex: 1 1 260px;
    min-width: 240px;
    text-align: left;
    padding-left: 12px;
}

.footer__dot {
    color: #9ca3af;
}

.footer__legal {
    margin-top: 0;
}

.footer__legal-title {
    font-weight: 800;
    margin-bottom: 4px;
}

.footer__legal-text {
    color: inherit;
    font-size: 1em;
    line-height: 1.4;
}

.footer__right {
    flex: 0 0 200px;
    min-width: 180px;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-end;
}

.footer__nav a {
    text-decoration: none;
    font-weight: 700;
    color: inherit;
}

.footer__nav a:hover {
    text-decoration: underline;
}

.footer__small {
    margin-top: 4px;
    text-align: right;
    color: #9ca3af;
    font-size: 0.9em;
}

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

    .cards {
        grid-template-columns: 1fr;
    }

    .two-cols {
        grid-template-columns: 1fr;
    }

    .contacts {
        grid-template-columns: 1fr;
    }

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

    .header__cta {
        width: 100%;
    }

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

    .footer__small {
        text-align: left;
    }

    .nav__dropdown-list {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0;
        margin-top: 8px;
        min-width: auto;
    }

    .nav__dropdown-link {
        padding: 8px 0;
    }

    .nav__link {
        padding: 8px 0;
    }
}
