:root {
    --color-bg: #FFFFFF;
    --color-bg-alt: #F7F6F4;
    --color-bg-card: #F7F6F4;
    --color-bg-soft: #F7F6F4;
    --color-dark: #1C2226;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-text: #161616;
    --color-green: #50BD4E;
    --color-green-btn-text: #FFFFFF;
    --color-muted: #9395A0;
    --color-muted-light: #CAD2CE;
    --color-muted-dark: #AAB6B2;
    --color-trust-logo: #C3C5C4;
    --color-text-secondary: #3A4D3D;
    --color-text-alt: #3A3C4D;
    --color-border: #E9E9E9;
    --color-border-alt: #C5C5C5;
    --color-border-soft: #D8DDD8;
    --color-border-dark: #3B464B;
    --color-border-input: #C5C5C5;
    --color-gray-mid: #6B6B6B;
    --color-anchor: #A3A3A3;
    --font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

    /* Type scale — use these instead of one-off px */
    --text-xs: 12px;   /* labels, captions, badges */
    --text-sm: 14px;   /* secondary, meta, tables */
    --text-md: 16px;   /* body, UI, nav, buttons */
    --text-lg: 20px;   /* leads, card titles, subtitles */
    --text-xl: 24px;   /* small headings */
    --text-2xl: 32px;  /* subsection headings */
    --text-3xl: 40px;  /* large metrics */
    --text-4xl: 48px;  /* stats */

    --text-h2: clamp(28px, 4vw, 48px);        /* section titles */
    --text-h1: clamp(32px, 5vw, 56px);        /* inner-page H1 */
    --text-display: clamp(40px, 5.5vw, 72px); /* marketing H1 */

    --page-max-width: 1440px;
    --page-padding-x: 38px;
    --header-height: 72px;
    --header-logo-height: 22px;
    --header-icon-size: 18px;
    --header-cta-height: 36px;
    --radius-card: 5px;
    --radius-btn: 0;
    --radius-btn-lg: 0;
    --radius-pill: 100px;
    --color-hero-muted: #999999;
    --color-nav-active: #737373;
    --color-section-desc: #525252;
    --color-text-on-dark: #D4D4D4;
    --color-hero-glow: #234022;
    --color-bg-form: #F8F8F8;
    --color-green-soft: #E6F5E6;
    --color-heading: #171717;
    --color-placeholder: #9CA3AF;
    --color-badge-bg: #DCFCE7;
    --color-border-neutral: #E5E5E5;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-tile: 5px;
    --radius-icon: 18px;
    --radius-review: 5px;
    --radius-table: 5px;
    --bullet-size: 6px;
    --bullet-radius: 1px;

    /* aliases for existing components */
    --color-brand: var(--color-green);
    --color-brand-dark: #3fa83d;
    --color-brand-light: rgba(80, 189, 78, 0.1);
    --color-text-main: var(--color-text);
    --color-text-muted: var(--color-muted);
    --color-bg-page: var(--color-bg);
    --color-bg-subtle: var(--color-bg-card);
    --color-border-light: var(--color-border);
    --font-main: var(--font-family);
    --font-alt: var(--font-family);
    --container-width: var(--page-max-width);
    --container-padding-x: var(--page-padding-x);
    --section-padding-y: 80px;
    --section-padding-compact: 32px;
    --content-max-width: 1296px;
}

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

html {
    scroll-behavior: smooth;
}

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

body {
    margin: 0;
    font-family: var(--font-main);
    font-size: var(--text-md);
    line-height: 1.5;
    background-color: var(--color-bg-page);
    color: var(--color-text-main);
}

.site-dark-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: var(--color-black);
}

.site-dark-bg__glow {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(
        50% 50% at 50% 50%,
        var(--color-hero-glow) 0%,
        transparent 100%
    );
}

.site-dark-bg__glow--left {
    width: 1227px;
    height: 782px;
    left: -40%;
    top: -20%;
}

.site-dark-bg__glow--right {
    width: 900px;
    height: 700px;
    right: -20%;
    bottom: -30%;
}

.site-dark-bg__pattern {
    position: absolute;
    right: -8%;
    top: 50%;
    width: min(80vw, 1100px);
    height: auto;
    opacity: 0.16;
    transform: translateY(-50%) rotate(-20deg);
}

.site-dark-bg__field {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

main {
    position: relative;
    z-index: 1;
    min-height: 50vh;
    background: transparent;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding-left: var(--container-padding-x);
    padding-right: var(--container-padding-x);
}

h1, h2, h3 {
    margin: 0;
    font-weight: 500;
}

p {
    margin: 0 0 1rem;
    line-height: 1.6;
}

a {
    color: inherit;
}

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    padding: 12px 24px;
    border-radius: var(--radius-btn);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: var(--text-md);
    line-height: 22px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn--primary:hover {
    background: var(--color-brand-dark);
}

.btn--dark {
    background: var(--color-black);
    color: var(--color-white);
    border-radius: var(--radius-btn);
}

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

.btn--wide {
    display: flex;
    width: 100%;
    max-width: 500px;
    min-height: 68px;
    padding: 20px 32px;
    border-radius: var(--radius-btn);
    background: var(--color-black);
    color: var(--color-white);
    font-size: var(--text-lg);
    line-height: 28px;
    font-weight: 500;
    text-align: center;
}

.btn--wide:hover {
    background: var(--color-dark);
}

.btn--soft {
    background: var(--color-bg-soft);
    color: var(--color-text);
}

.btn--soft:hover {
    background: var(--color-border);
}

.btn--ghost {
    background: transparent;
    color: var(--color-brand);
    border: 1px solid var(--color-brand);
}

.btn--ghost:hover {
    background: var(--color-brand-light);
}

.btn--small {
    padding: 8px 14px;
    font-size: var(--text-md);
    line-height: 22px;
}

.btn--hero {
    min-width: 240px;
    min-height: 54px;
    padding: 15px 30px;
    border-radius: var(--radius-pill);
    background: var(--color-green);
    color: var(--color-white);
    font-size: var(--text-md);
    line-height: 1;
    font-weight: 500;
}

.btn--hero:hover {
    background: var(--color-brand-dark);
}

.btn--hero-ghost {
    min-width: 192px;
    min-height: 54px;
    padding: 15px 30px;
    border-radius: var(--radius-pill);
    background: var(--color-white);
    color: var(--color-black);
    font-size: var(--text-md);
    line-height: 1;
    font-weight: 500;
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.13);
}

.btn--hero-ghost:hover {
    background: var(--color-bg-alt);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: var(--text-lg);
    line-height: 1;
    font-weight: 500;
    color: var(--color-black);
    text-decoration: none;
    white-space: nowrap;
}

.link-arrow__icon {
    display: inline-block;
    width: 13px;
    height: 12px;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
    flex-shrink: 0;
}

.link-arrow--light {
    color: var(--color-white);
}

/* Site header */
.site-header {
    position: relative;
    z-index: 10;
    height: var(--header-height);
    overflow: visible;
    background: var(--color-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.site-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    height: 100%;
}

.site-header__logo a {
    display: inline-flex;
    align-items: center;
    font-size: var(--text-sm);
    line-height: 1;
    font-weight: 700;
    color: var(--color-black);
    text-decoration: none;
}

.site-header__logo img {
    display: block;
    width: auto;
    max-width: 160px;
    height: var(--header-logo-height);
}

.site-header__burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--color-black);
    cursor: pointer;
}

.site-header__burger-icon {
    position: relative;
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: background 0.2s ease;
}

.site-header__burger-icon::before,
.site-header__burger-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s ease;
}

.site-header__burger-icon::before {
    top: -7px;
}

.site-header__burger-icon::after {
    top: 7px;
}

.site-header.is-open .site-header__burger-icon {
    background: transparent;
}

.site-header.is-open .site-header__burger-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.site-header.is-open .site-header__burger-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.site-header__panel {
    display: flex;
    align-items: stretch;
    align-self: stretch;
    flex: 1;
    gap: 32px;
    min-width: 0;
}

.site-header__nav {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex: 1;
    gap: 24px;
    padding: 0;
}

.site-header__item {
    position: relative;
    display: flex;
    align-items: center;
}

.site-header__item-row {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 100%;
}

.site-header__nav-link {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: var(--text-sm);
    line-height: 1.25;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-header__nav-link:hover,
.site-header__item--dropdown:hover > .site-header__item-row .site-header__nav-link,
.site-header__item.is-open > .site-header__item-row .site-header__nav-link {
    color: var(--color-green);
}

.site-header__nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.site-header__nav-chevron {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.site-header__item.is-open .site-header__nav-chevron {
    transform: rotate(225deg) translateY(-1px);
}

.site-header__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 20;
    min-width: 280px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.site-header__dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -16px;
    height: 16px;
}

.site-header__item.is-open .site-header__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

@media (min-width: 1280px) {
    .site-header__item--dropdown:hover .site-header__nav-chevron,
    .site-header__item--dropdown:focus-within .site-header__nav-chevron {
        transform: rotate(225deg) translateY(-1px);
    }

    .site-header__item--dropdown:hover .site-header__dropdown,
    .site-header__item--dropdown:focus-within .site-header__dropdown {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}

.site-header__dropdown-link {
    display: block;
    padding: 10px 16px;
    font-size: var(--text-sm);
    line-height: 1.25;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.site-header__dropdown-link:hover {
    color: var(--color-green);
    background: var(--color-bg-alt);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.site-header__phone {
    font-size: var(--text-sm);
    line-height: 1.25;
    font-weight: 500;
    color: var(--color-black);
    text-decoration: none;
    white-space: nowrap;
    text-align: right;
    transition: color 0.2s ease;
}

.site-header__phone:hover {
    color: var(--color-green);
}

.site-header__socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-header__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--header-icon-size);
    height: var(--header-icon-size);
    color: var(--color-black);
    text-decoration: none;
}

.site-header__social svg {
    display: block;
    width: var(--header-icon-size);
    height: var(--header-icon-size);
}

.site-header__social .icon-max__mark {
    fill: var(--color-white);
}

.site-header__social:hover {
    color: var(--color-green);
}

.btn.site-header__cta {
    flex-shrink: 0;
    width: auto;
    min-height: var(--header-cta-height);
    padding: 0 16px;
    font-size: var(--text-sm);
    line-height: 1;
    font-weight: 500;
    border-radius: var(--radius-pill);
}

/* Site footer */
.site-footer {
    position: relative;
    z-index: 1;
    padding: 72px 0 56px;
    margin-top: 0;
    background: transparent;
    color: var(--color-white);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(240px, 340px) minmax(0, 1fr) auto;
    column-gap: 72px;
    align-items: stretch;
    min-height: 320px;
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 380px;
}

.site-footer__logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 28px;
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-green);
    text-decoration: none;
}

.site-footer__logo img {
    display: block;
    width: auto;
    max-width: 160px;
    height: var(--header-logo-height);
}

.site-footer__contact {
    display: block;
    margin-bottom: 4px;
    font-size: var(--text-2xl);
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--color-white);
    text-decoration: none;
}

.site-footer__contact:hover {
    color: var(--color-green);
}

.site-footer__contact--email {
    margin-bottom: 20px;
}

.site-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: var(--color-white);
    text-decoration: none;
}

.site-footer__social:hover {
    color: var(--color-green);
}

.site-footer__social svg {
    display: block;
    width: 22px;
    height: 22px;
}

.site-footer__social .icon-max__mark {
    fill: var(--color-black);
}

.site-footer__social-icon {
    display: inline-flex;
}

.site-footer__address {
    margin: auto 0 0;
    padding-top: 64px;
    font-size: var(--text-sm);
    line-height: 22px;
    color: var(--color-muted);
}

.site-footer__navs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, max-content));
    column-gap: 48px;
    row-gap: 24px;
    width: fit-content;
    max-width: 100%;
}

.site-footer__nav-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.site-footer__nav-title {
    margin: 0 0 16px;
    font-size: var(--text-sm);
    line-height: 22px;
    font-weight: 600;
    color: var(--color-white);
}

.site-footer__navs a {
    display: block;
    margin: 0 0 16px;
    font-size: var(--text-sm);
    line-height: 22px;
    color: var(--color-muted);
    text-decoration: none;
}

.site-footer__nav-col a:last-child,
.site-footer__navs > a:last-child {
    margin-bottom: 0;
}

.site-footer__navs a:hover {
    color: var(--color-white);
}

.site-footer__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    justify-self: end;
}

.site-footer__cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 220px;
    min-height: 52px;
    padding: 14px 28px;
    font-size: var(--text-md);
    line-height: 1;
    font-weight: 500;
    border-radius: var(--radius-pill);
}

.site-footer__requisites {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.site-footer__meta {
    margin: 0;
    font-size: var(--text-xs);
    line-height: 18px;
    color: var(--color-muted);
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid color-mix(in srgb, var(--color-white) 12%, transparent);
}

.site-footer__copy {
    margin: 0;
    font-size: var(--text-sm);
    line-height: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.site-footer__legal a {
    font-size: var(--text-sm);
    line-height: 20px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

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

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    padding: 16px 0;
    background: var(--color-dark);
    border-top: 1px solid var(--color-border-dark);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.2);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-banner__text {
    margin: 0;
    max-width: 820px;
    font-size: var(--text-sm);
    line-height: 1.5;
    color: var(--color-white);
}

.cookie-banner__text a {
    color: var(--color-green);
}

.cookie-banner__btn {
    flex-shrink: 0;
    min-width: 140px;
}

/* Hero */
.hero {
    position: relative;
}

.hero__bg--gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        178.7deg,
        rgba(80, 189, 78, 0.15) 1.11%,
        rgba(234, 240, 255, 0) 103.22%
    );
    z-index: -1;
}

.hero__inner {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
}

.hero__column--left {
    flex: 1;
    max-width: 700px;
}

.hero__badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 7px 12px 8px;
    background: var(--color-bg-subtle);
    border-radius: 10px;
    font-weight: 600;
    font-size: var(--text-sm);
    line-height: 28px;
    color: var(--color-brand);
    opacity: 0.85;
}

.hero__title {
    margin-top: 24px;
    font-weight: 600;
    font-size: var(--text-h1);
    line-height: 1.15;
    color: var(--color-text-main);
}

.hero__subtitle {
    margin-top: 24px;
    font-size: var(--text-md);
    line-height: 2;
    color: var(--color-text-muted);
    opacity: 0.85;
}

.hero__cta {
    margin-top: 24px;
}

.hero__column--right {
    flex: 1;
    max-width: 541px;
    min-height: 400px;
}

/* Hero dashboard card */
.hero-dashboard {
    box-sizing: border-box;
    width: 100%;
    min-height: 510px;
    padding: 32px 35px;
    background: var(--color-white);
    border: 1px solid var(--color-border-dark);
    border-radius: var(--radius-card);
}

.hero-dashboard__label {
    font-weight: 700;
    font-size: var(--text-xs);
    line-height: 15px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-green);
}

.hero-dashboard__metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 45px;
    margin-top: 41px;
}

.hero-dashboard__metric-label {
    font-weight: 600;
    font-size: var(--text-xs);
    line-height: 15px;
    color: var(--color-text-secondary);
}

.hero-dashboard__metric-value {
    margin-top: 8px;
    font-weight: 700;
    font-size: var(--text-3xl);
    line-height: 46px;
    color: var(--color-black);
}

.hero-dashboard__banner {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 48px;
    min-height: 86px;
    padding: 24px 32px;
    background: var(--color-green);
    border-radius: var(--radius-btn);
    font-weight: 700;
    font-size: var(--text-lg);
    line-height: 27px;
    color: var(--color-white);
    text-align: center;
}

.hero__illustration {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 40px;
    background: #D6D6D6 url("https://picsum.photos/seed/onecta-home/658/480") center/cover no-repeat;
}

.hero--service {
    position: relative;
    width: 100%;
    background: var(--color-white);
    color: var(--color-text);
    padding: 36px 0 80px;
}

.hero--service .hero__inner {
    padding-top: 32px;
    padding-bottom: 0;
}

.hero--service .hero__badge {
    display: inline-block;
    font-weight: 400;
    font-size: var(--text-md);
    line-height: 22px;
    letter-spacing: 0;
    text-transform: none;
    color: var(--color-muted);
    background: none;
    padding: 0;
    border-radius: 0;
    opacity: 1;
}

.hero--service .hero__content {
    align-items: stretch;
}

.hero--service .hero__column--left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
}

.hero--service .hero__head {
    width: 100%;
}

.hero--service .hero__bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero__title--service {
    margin-top: 24px;
    color: var(--color-text);
}

.hero__subtitle--service {
    margin-top: 24px;
    max-width: 480px;
    font-size: var(--text-md);
    line-height: 25px;
    font-weight: 400;
    color: var(--color-muted);
    opacity: 1;
}

.hero__answer-first {
    margin-top: 20px;
    max-width: 520px;
    font-size: var(--text-md);
    line-height: 1.5;
    color: var(--color-muted);
}

.hero__answer-first p {
    margin: 0 0 0.75rem;
}

.hero__answer-first p:last-child {
    margin-bottom: 0;
}

.hero--service .hero__cta {
    margin-top: 40px;
}

.hero__column--service {
    display: flex;
    justify-content: flex-end;
}

@media (min-width: 768px) {
    .hero--service .hero__column--left {
        min-height: 400px;
    }
}

.hero-media {
    width: 100%;
    max-width: 541px;
    min-height: 360px;
    border-radius: var(--radius-card);
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
    overflow: hidden;
}

.hero-media__img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.hero-media__placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    min-height: 360px;
    padding: 40px;
    background: var(--color-white);
}

.hero-media__placeholder-label {
    font-size: var(--text-xs);
    line-height: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-green);
}

.hero-media__placeholder-value {
    font-size: var(--text-2xl);
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-black);
}

/* Sections */
.section {
    padding: var(--section-padding-y) 0;
}

.section--compact,
.section--trust,
.section--logos,
.company-ticker-wrap {
    padding: var(--section-padding-compact) 0;
}

.section--on-dark,
.section--path-dark,
.section--services-home,
.section--dark-cta,
.section--path,
.section--page-hero,
.section--page-hero-dark,
.catalog-about,
.company-principles,
.company-certs,
.infra-diffs,
.vacancies-university {
    background: transparent;
}

.section--on-muted,
.section--lead-form,
.section--seo-text,
.service-tech {
    background: var(--color-bg-alt);
}

:is(
    .section--on-dark,
    .section--path-dark,
    .section--services-home,
    .section--dark-cta,
    .section--path,
    .section--page-hero,
    .section--page-hero-dark,
    .catalog-about,
    .company-principles,
    .company-certs,
    .infra-diffs,
    .vacancies-university
) + :is(
    .section--on-dark,
    .section--path-dark,
    .section--services-home,
    .section--dark-cta,
    .section--path,
    .section--page-hero,
    .section--page-hero-dark,
    .catalog-about,
    .company-principles,
    .company-certs,
    .infra-diffs,
    .vacancies-university
),
:is(
    .section--on-muted,
    .section--lead-form,
    .section--seo-text,
    .service-tech
) + :is(
    .section--on-muted,
    .section--lead-form,
    .section--seo-text,
    .service-tech
),
.section:not(:is(
    .section--on-dark,
    .section--on-muted,
    .section--compact,
    .section--trust,
    .section--logos,
    .company-ticker-wrap,
    .section--path-dark,
    .section--services-home,
    .section--dark-cta,
    .section--path,
    .section--page-hero,
    .section--page-hero-dark,
    .catalog-about,
    .company-principles,
    .company-certs,
    .infra-diffs,
    .vacancies-university,
    .section--lead-form,
    .section--seo-text,
    .service-tech
)) + .section:not(:is(
    .section--on-dark,
    .section--on-muted,
    .section--compact,
    .section--trust,
    .section--logos,
    .company-ticker-wrap,
    .section--path-dark,
    .section--services-home,
    .section--dark-cta,
    .section--path,
    .section--page-hero,
    .section--page-hero-dark,
    .catalog-about,
    .company-principles,
    .company-certs,
    .infra-diffs,
    .vacancies-university,
    .section--lead-form,
    .section--seo-text,
    .service-tech
)) {
    padding-top: 0;
}

.section--about {
    background: var(--color-bg-page);
}

.section--cases {
    background: var(--color-white);
}

.section--path {
    color: var(--color-text);
}

.section--cards {
    background: var(--color-white);
}

.section--logos {
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.section__inner {
    width: 100%;
}

.section__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
}

.section__title {
    font-size: var(--text-h2);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--color-text);
}

.section__lead {
    font-size: var(--text-md);
    line-height: 1.4;
    font-weight: 400;
    color: var(--color-muted);
    max-width: 1057px;
}

.section__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    margin-bottom: 48px;
}

.section__header .section__title {
    margin-bottom: 0;
    flex-shrink: 0;
}

.section__controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.carousel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--color-muted);
    cursor: pointer;
}

.carousel-btn:hover {
    color: var(--color-text);
}

.carousel-divider {
    width: 1px;
    height: 16px;
    background: #E7E5EF;
    border-radius: 2px;
}

.section__title--light {
    color: var(--color-white);
}

.section__subtitle {
    font-size: var(--text-md);
    line-height: 23px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 640px;
}

/* Pain cards */
.pain-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.pain-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 135px;
    padding: 22px 20px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-tile);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pain-card:hover {
    border-color: var(--color-green);
    box-shadow: 0 4px 16px rgba(17, 20, 23, 0.06);
}

.pain-card__num {
    font-size: var(--text-xs);
    line-height: 15px;
    font-weight: 700;
    color: var(--color-muted);
}

.pain-card__title {
    font-size: var(--text-md);
    line-height: 21px;
    font-weight: 600;
    color: var(--color-black);
}

.pain-card__arrow {
    margin-top: auto;
    align-self: flex-end;
    font-size: var(--text-lg);
    line-height: 24px;
    font-weight: 700;
    color: var(--color-black);
}

/* Case cards */
.case-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.case-card {
    min-height: 320px;
    padding: 35px 54px;
    border-radius: var(--radius-tile);
}

.case-card--light {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
}

.case-card--dark {
    background: var(--color-dark);
    color: var(--color-white);
}

.case-card__industry {
    font-size: var(--text-xs);
    line-height: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.case-card--light .case-card__industry {
    color: var(--color-muted);
}

.case-card--dark .case-card__industry {
    color: var(--color-green);
}

.case-card__metric {
    margin-top: 17px;
    font-size: var(--text-4xl);
    line-height: 63px;
    font-weight: 700;
}

.case-card--light .case-card__metric {
    color: var(--color-black);
}

.case-card--dark .case-card__metric {
    color: var(--color-white);
}

.case-card__desc {
    margin: 25px 0 0;
    font-size: var(--text-sm);
    line-height: 18px;
    font-weight: 400;
}

.case-card--light .case-card__desc {
    color: var(--color-muted);
}

.case-card--dark .case-card__desc {
    color: var(--color-text-alt);
}

.case-card__stats {
    margin: 42px 0 0;
    font-size: var(--text-sm);
    line-height: 18px;
    font-weight: 600;
}

.case-card--light .case-card__stats {
    color: var(--color-black);
}

.case-card--dark .case-card__stats {
    color: var(--color-white);
}

/* Compare table */
.compare-table-wrapper {
    overflow-x: auto;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-table);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
    line-height: 17px;
}

.compare-table th,
.compare-table td {
    padding: 18px 28px;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
}

.compare-table thead th {
    font-weight: 600;
    color: var(--color-muted);
}

.compare-table thead th:nth-child(2),
.compare-table thead th:nth-child(3) {
    color: var(--color-black);
}

.compare-table tbody td:first-child {
    color: var(--color-muted);
    font-weight: 400;
}

.compare-table tbody td:nth-child(2) {
    color: var(--color-black);
    font-weight: 400;
}

.compare-table__highlight {
    font-weight: 600;
    color: var(--color-black);
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

/* Path steps */
.path-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    margin-top: 42px;
}

.path-step__num {
    font-size: var(--text-xs);
    line-height: 16px;
    font-weight: 700;
    color: var(--color-green);
}

.path-step__title {
    margin-top: 7px;
    font-size: var(--text-lg);
    line-height: 29px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.path-step__time {
    margin-top: 12px;
    font-size: var(--text-xs);
    line-height: 16px;
    font-weight: 400;
    color: var(--color-muted);
}

.path__cta {
    margin-top: 48px;
}

/* About block */
.about__text {
    flex: 1;
    max-width: 480px;
}

.about__badge {
    display: inline-flex;
    padding: 6px 12px;
    background: var(--color-brand-light);
    border-radius: 8px;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-brand);
    margin-bottom: 16px;
}

.about__title {
    font-size: var(--text-2xl);
    line-height: 1.4;
    margin-bottom: 20px;
}

.about__body {
    font-size: var(--text-md);
    line-height: 1.75;
    color: var(--color-text-muted);
}

.about__media {
    flex: 1;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about__image {
    width: 100%;
    height: 280px;
    border-radius: 24px;
    background: #D6D6D6;
}

.about__box {
    padding: 28px;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.about__box-title {
    font-size: var(--text-lg);
    margin-bottom: 12px;
}

.about__box-text {
    font-size: var(--text-sm);
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

/* Cards */
.cards {
    display: grid;
    gap: 24px;
}

.cards--3col {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    padding: 32px 28px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--color-brand-light);
}

.card__title {
    font-size: var(--text-lg);
    line-height: 1.3;
}

.card__text {
    font-size: var(--text-sm);
    line-height: 1.6;
    color: var(--color-text-muted);
    flex-grow: 1;
    margin-bottom: 8px;
}

.card__link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-brand);
    text-decoration: none;
    transition: color 0.2s ease;
}

.card__link:hover {
    color: var(--color-brand-dark);
    text-decoration: underline;
}

.card--case {
    padding: 0;
    overflow: hidden;
}

.card--case .card__image {
    margin: 0;
}

.card--case .card__img {
    display: block;
    width: 100%;
    height: auto;
}

.card--case .card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 28px 28px;
}

.card__client {
    font-size: var(--text-xs);
    line-height: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.card__results,
.hero__results {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
}

.card__result,
.hero__result {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 88px;
}

.card__result-value,
.hero__result-value {
    font-size: var(--text-2xl);
    line-height: 1.15;
    font-weight: 700;
    color: var(--color-black);
}

.hero__result-value {
    font-size: var(--text-3xl);
    color: var(--color-text);
}

.card__result-label,
.hero__result-label {
    font-size: var(--text-xs);
    line-height: 1.35;
    color: var(--color-muted);
}

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

.hero__results {
    margin-top: 8px;
}

/* Services index */
.page--services-index .hero__content {
    justify-content: flex-start;
}

.section--services-index {
    background: var(--color-white);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 200px;
    padding: 28px 24px;
    background: var(--color-bg-card);
    border: 1px solid transparent;
    border-radius: var(--radius-card);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    border-color: var(--color-green);
    box-shadow: 0 4px 16px rgba(17, 20, 23, 0.06);
}

.service-card__num {
    font-size: var(--text-xs);
    line-height: 15px;
    font-weight: 700;
    color: var(--color-muted);
}

.service-card__title {
    margin: 0;
    font-size: var(--text-xl);
    line-height: 29px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.service-card__text {
    margin: 0;
    font-size: var(--text-sm);
    line-height: 1.5;
    color: var(--color-muted);
    flex-grow: 1;
}

.service-card__arrow {
    align-self: flex-end;
    margin-top: auto;
    font-size: var(--text-lg);
    line-height: 24px;
    font-weight: 700;
    color: var(--color-black);
}

.services-index__empty {
    max-width: 520px;
    margin: 0 auto;
    padding: 48px 32px;
    text-align: center;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
}

.services-index__empty p {
    margin-bottom: 24px;
    font-size: var(--text-md);
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* Logos */
.logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px 48px;
}

.logos__item {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-muted);
    padding: 16px 24px;
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    background: #FFFFFF;
}

/* Forms */
.form {
    max-width: 100%;
}

.form--lead {
    margin-top: 8px;
}

.form--discuss {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
    grid-template-areas:
        "task attach"
        "fields submit"
        "consent .";
    gap: 16px 40px;
    align-items: stretch;
}

.form--discuss > input[type="hidden"] {
    display: none;
}

.form--discuss .form__main,
.form--discuss .form__aside {
    display: contents;
}

.form--discuss .form__task {
    grid-area: task;
}

.form--discuss .form__fields {
    grid-area: fields;
}

.form--discuss .form__attach {
    grid-area: attach;
    align-self: center;
}

.form--discuss .form__submit {
    grid-area: submit;
}

.form--discuss .form__consent-row {
    grid-area: consent;
}

.form__task {
    position: relative;
    display: flex;
    background: var(--color-white);
    border-radius: var(--radius-md);
    min-height: 110px;
    padding: 16px 20px 36px;
}

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

.form__row {
    margin-bottom: 0;
    min-width: 0;
}

.form__label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-text-main);
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 16px 20px;
    font-family: var(--font-main);
    font-size: var(--text-md);
    line-height: 1.4;
    color: var(--color-text-main);
    background: var(--color-white);
    border: none;
    border-radius: var(--radius-md);
    transition: box-shadow 0.2s ease;
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: var(--color-muted);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-brand);
}

.form--discuss .form__textarea {
    flex: 1;
    width: 100%;
    min-height: 70px;
    resize: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.form__counter {
    position: absolute;
    right: 20px;
    bottom: 12px;
    font-size: var(--text-sm);
    line-height: 20px;
    font-variant-numeric: tabular-nums;
    color: var(--color-muted);
    pointer-events: none;
    white-space: nowrap;
}

.form__attach {
    display: flex;
    align-items: center;
    gap: 16px;
}

.form__attach-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-muted);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.form__attach-text {
    min-width: 0;
}

.form__attach-title {
    margin: 0;
    font-size: var(--text-md);
    line-height: 1.3;
    font-weight: 500;
    color: var(--color-text);
}

.form__attach-hint {
    margin: 4px 0 0;
    font-size: var(--text-sm);
    line-height: 1.3;
    color: var(--color-muted);
}

.form--discuss .form__submit {
    width: 100%;
    min-height: 56px;
    padding: 0 24px;
    font-size: var(--text-md);
    line-height: 1;
    font-weight: 500;
    border-radius: var(--radius-pill);
}

.form--discuss .form__input {
    min-height: 56px;
    padding: 16px 20px;
}

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

.form--discuss .form__consent-row {
    margin-top: 4px;
}

.form__consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: var(--text-sm);
    line-height: 1.4;
    color: var(--color-muted);
}

.form__consent input {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    flex-shrink: 0;
    border: 1.5px solid var(--color-border-alt);
    border-radius: 4px;
    background: var(--color-white);
    cursor: pointer;
}

.form__consent input:checked {
    background: var(--color-green);
    border-color: var(--color-green);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M2.5 6.2 5 8.7 9.5 3.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.form__consent a {
    color: var(--color-green);
    text-decoration: none;
}

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

.site-messages {
    width: min(100% - 2 * var(--page-padding-x), var(--content-max-width));
    margin: 16px auto 0;
}

.site-message {
    margin: 0;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    line-height: 22px;
}

.site-message--success {
    background: var(--color-green-soft);
    color: var(--color-text);
}

.site-message--error {
    background: var(--color-bg-alt);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

/* Service page */
.page--service {
    padding-bottom: 0;
}

.breadcrumbs,
.service-hero__breadcrumbs,
.catalog-hero__crumbs,
.cases-hero__crumbs,
.article-hero__crumbs,
.vacancy-hero__crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
    padding: 0;
    font-size: var(--text-sm);
    line-height: 17px;
    font-weight: 500;
    color: var(--color-muted);
}

.service-hero__title,
.catalog-hero__title,
.cases-hero__title,
.company-hero__title,
.vacancies-hero__title,
.page-hero__title,
.landing-hero__title,
.article-hero__title,
.hero__title--service,
.vacancy-hero__title {
    margin: 0;
    font-size: var(--text-display);
    line-height: 0.95;
    font-weight: 500;
    letter-spacing: -2px;
}

.hero__title--service {
    margin-top: 24px;
}

.vacancy-hero__title {
    margin-bottom: 20px;
}

.breadcrumbs--dark {
    color: var(--color-text-on-dark);
}

.breadcrumbs--dark a {
    color: var(--color-text-on-dark);
}

.breadcrumbs--dark a:hover {
    color: var(--color-white);
}

.breadcrumbs--dark .breadcrumbs__current {
    color: var(--color-white);
}

.breadcrumbs a {
    color: var(--color-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: var(--color-green);
}

.breadcrumbs__sep {
    color: inherit;
    user-select: none;
}

.breadcrumbs__current {
    color: var(--color-black);
}

.richtext {
    font-size: var(--text-md);
    line-height: 1.75;
    color: var(--color-text-main);
}

.richtext h2 {
    margin: 1.5em 0 0.6em;
    font-size: var(--text-2xl);
    line-height: 1.25;
    font-weight: 600;
}

.richtext h3 {
    margin: 1.25em 0 0.5em;
    font-size: var(--text-xl);
    line-height: 1.3;
    font-weight: 600;
}

.richtext p:last-child {
    margin-bottom: 0;
}

.richtext ul,
.landing-body__list,
.service-body__list,
.service-acc__list,
.vacancies-cta__points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.richtext ul,
.landing-body__list,
.service-body__list {
    margin: 16px 0 32px;
    max-width: 760px;
}

.richtext ul li,
.landing-body__list li,
.service-body__list li,
.service-acc__list li,
.vacancies-cta__points li {
    position: relative;
    margin: 0;
    padding: 18px 0 18px 18px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-heading);
    font-size: var(--text-sm);
    line-height: 1.4;
    font-weight: 500;
}

.richtext ul > li:first-child,
.landing-body__list > li:first-child,
.service-body__list > li:first-child,
.service-acc__list > li:first-child,
.vacancies-cta__points > li:first-child {
    border-top: 1px solid var(--color-border);
}

.richtext ul li::before,
.landing-body__list li::before,
.service-body__list li::before,
.service-acc__list li::before,
.vacancies-cta__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 26px;
    width: var(--bullet-size, 6px);
    height: var(--bullet-size, 6px);
    border-radius: var(--bullet-radius, 1px);
    background: var(--color-green);
}

.richtext ul ul {
    margin: 8px 0 0;
    max-width: none;
}

.section--body {
    background: var(--color-white);
}

.service-body {
    display: flex;
    flex-wrap: wrap;
    row-gap: 28px;
    column-gap: 24px;
    max-width: var(--content-max-width);
}

/* Остальной контент на всю ширину; KPI-карточки идут в ряд */
.service-body > :not(.service-body__kpi) {
    flex: 1 1 100%;
    width: 100%;
}

.service-body__heading {
    margin: 16px 0 0;
    font-size: var(--text-h2);
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.service-body__paragraph {
    margin: 0;
    font-size: var(--text-md);
    line-height: 1.55;
    color: var(--color-black);
}

.service-body__quote {
    margin: 0;
    padding: 24px 28px;
    border-left: 4px solid var(--color-green);
    background: var(--color-white);
    border-radius: 0 var(--radius-card) var(--radius-card) 0;
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-green);
}

.service-body__quote p {
    margin: 0;
    font-size: var(--text-md);
    line-height: 1.45;
    font-weight: 600;
    color: var(--color-black);
}

.service-body__quote-author {
    display: block;
    margin-top: 12px;
    font-size: var(--text-sm);
    font-style: normal;
    font-weight: 400;
    color: var(--color-muted);
}


.service-body__image {
    margin: 0;
}

.service-body__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-card);
    border: 1px solid var(--color-border);
}

.service-body__kpi {
    flex: 1 1 280px;
    min-width: min(100%, 280px);
    box-sizing: border-box;
    padding: 28px 32px;
    background: var(--color-white);
    border-radius: var(--radius-card);
    border: 1px solid var(--color-border);
}

.service-body__kpi-value {
    font-size: var(--text-4xl);
    line-height: 1.1;
    font-weight: 700;
    color: var(--color-black);
}

.service-body__kpi-label {
    margin-top: 8px;
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--color-black);
}

.service-body__kpi-description {
    margin: 8px 0 0;
    font-size: var(--text-sm);
    line-height: 1.5;
    color: var(--color-muted);
}

.service-body__pricing {
    margin-top: 8px;
    padding: 32px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
}

.service-body__pricing-intro {
    margin: 0;
    font-size: var(--text-md);
    line-height: 1.6;
    color: var(--color-muted);
}

.pricing-table-wrapper {
    margin-top: 20px;
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
}

.pricing-table th,
.pricing-table td {
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    text-align: left;
}

.pricing-table th {
    background: var(--color-bg-alt);
    font-weight: 600;
    color: var(--color-muted);
}

.pricing-table td:nth-child(3) {
    white-space: nowrap;
    font-weight: 600;
    color: var(--color-black);
}

.pricing__disclaimer {
    margin: 14px 0 0;
    font-size: var(--text-xs);
    line-height: 1.5;
    color: var(--color-muted);
}

.service-cta__text {
    margin: 0;
    max-width: 560px;
    font-size: var(--text-md);
    line-height: 23px;
    color: var(--color-muted);
}

/* Responsive */
@media (max-width: 1279px) {
    .site-header {
        position: sticky;
        top: 0;
    }

    .site-header__inner {
        gap: 16px;
    }

    .site-header__logo {
        min-width: 0;
    }

    .site-header__burger {
        display: inline-flex;
        flex-shrink: 0;
        z-index: 2;
    }

    .site-header__panel {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px var(--page-padding-x) 24px;
        background: var(--color-white);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    }

    .site-header.is-open .site-header__panel {
        display: flex;
    }

    .site-header__nav {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        flex: none;
        gap: 0;
        padding: 0;
    }

    .site-header__item {
        flex-direction: column;
        align-items: stretch;
    }

    .site-header__item-row {
        width: 100%;
    }

    .site-header__nav-link {
        flex: 1;
        padding: 12px 0;
    }

    .site-header__nav-toggle {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        margin-right: -12px;
    }

    .site-header__dropdown {
        position: static;
        left: auto;
        min-width: 0;
        padding: 0 0 8px 12px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        display: none;
    }

    .site-header__dropdown::before {
        display: none;
    }

    .site-header__item.is-open .site-header__dropdown {
        display: block;
        transform: none;
    }

    .site-header__item--dropdown:hover .site-header__dropdown,
    .site-header__item--dropdown:focus-within .site-header__dropdown {
        display: none;
        transform: none;
    }

    .site-header__item.is-open:hover .site-header__dropdown,
    .site-header__item.is-open:focus-within .site-header__dropdown {
        display: block;
    }

    .site-header__dropdown-link {
        padding: 10px 0;
    }

    .site-header__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 8px;
        padding-top: 16px;
        border-top: 1px solid var(--color-border);
    }

    .site-header__phone {
        padding: 12px 0;
        font-size: var(--text-sm);
        line-height: 1.25;
        text-align: left;
        white-space: normal;
    }

    .site-header__socials {
        display: none;
    }

    .btn.site-header__cta {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }

    body.is-menu-open {
        overflow: hidden;
    }
}

@media (max-width: 1024px) {
    :root {
        --section-padding-y: 64px;
        --page-padding-x: 40px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        min-height: 0;
        column-gap: 40px;
        row-gap: 40px;
    }

    .site-footer__navs {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-top: 0;
        column-gap: 40px;
        width: 100%;
    }

    .site-footer__aside {
        padding-top: 0;
        justify-self: start;
    }

    .site-footer__address {
        padding-top: 32px;
    }

    .cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .form--discuss {
        grid-template-columns: 1fr;
        grid-template-areas:
            "task"
            "attach"
            "fields"
            "submit"
            "consent";
        gap: 16px;
    }

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

    .section__header {
        flex-direction: column;
        gap: 24px;
    }

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

    .pain-cards {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .path-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .page--error .section--page-hero {
        min-height: 50vh;
        padding-bottom: 48px;
    }

    .hero__inner {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .hero__content,
    .section__content {
        flex-direction: column;
        gap: 40px;
    }

    .hero__column--left,
    .hero__column--right,
    .about__text,
    .about__media {
        max-width: 100%;
        width: 100%;
    }

    .hero__column--right {
        min-height: auto;
    }

    .hero-dashboard {
        min-height: auto;
    }

    .hero__illustration {
        min-height: 320px;
    }

    .cards--3col {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__column--service {
        justify-content: flex-start;
    }

    .hero-media {
        max-width: 100%;
        min-height: 280px;
    }

    .hero-media__img,
    .hero-media__placeholder {
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    :root {
        --page-padding-x: 24px;
        --section-padding-y: 48px;
        --header-height: auto;
    }

    .site-header {
        height: auto;
        min-height: 72px;
        padding: 12px 0;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
        min-height: 0;
    }

    .site-footer__navs {
        padding-top: 0;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .site-footer__aside {
        padding-top: 0;
    }

    .site-footer__cta {
        width: 100%;
        max-width: 220px;
    }

    .site-header__inner {
        height: auto;
    }

    .service-body__kpi {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .service-body__pricing {
        padding: 20px;
    }

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

    .path-steps {
        grid-template-columns: 1fr;
    }

    .hero-dashboard__metrics {
        gap: 24px;
    }

    .hero-dashboard__metric-value {
        font-size: var(--text-2xl);
        line-height: 1.2;
    }

    .case-card {
        padding: 28px 24px;
    }

    .case-card__metric {
        font-size: var(--text-3xl);
        line-height: 1.2;
    }

    .page--error .section--page-hero {
        padding-bottom: 40px;
    }

    .hero__inner {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero--service {
        padding: 36px 0 48px;
    }

    .about__title {
        font-size: var(--text-xl);
    }

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

    .logos {
        gap: 16px 24px;
    }
}

@media (max-width: 480px) {
    :root {
        --page-padding-x: 16px;
    }

    .site-header__inner {
        gap: 10px;
    }

    .site-header__logo img {
        height: 20px;
        max-width: 144px;
    }

    .error-page__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .error-page__actions .btn {
        width: 100%;
    }

    .hero__subtitle {
        font-size: var(--text-sm);
        line-height: 1.7;
    }

    .card {
        padding: 24px 20px;
    }

    .about__image {
        height: 200px;
    }



    .compare-table th,
    .compare-table td {
        padding: 12px 16px;
        font-size: var(--text-xs);
    }
}

/* Error pages — dark page-hero layout */
.page--error .section--page-hero {
    min-height: calc(100vh - var(--header-height, 72px) - 280px);
    min-height: 52vh;
    padding-bottom: 64px;
}

.error-page__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
}

.error-page__actions .btn {
    min-width: 160px;
}

@media (min-width: 1280px) {
    .page--error .section--page-hero {
        min-height: 570px;
        padding-bottom: 88px;
    }
}

.section--faq {
    background: var(--color-white);
}

.section--seo-text {
    background: var(--color-bg-alt);
}

.faq {
    display: flex;
    flex-direction: column;
    max-width: var(--content-max-width);
}

.section--seo-text .richtext {
    max-width: var(--content-max-width);
}

.faq__item {
    border-top: 1px solid var(--color-border);
    background: transparent;
}

.faq__item:last-child {
    border-bottom: 1px solid var(--color-border);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    min-height: 100px;
    padding: 24px 0;
    border: none;
    background: transparent;
    font-family: var(--font-family);
    font-size: var(--text-lg);
    line-height: 25px;
    font-weight: 400;
    color: var(--color-black);
    text-align: left;
    cursor: pointer;
}

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

.faq__icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-right: 4px;
    border-right: 2px solid var(--color-green);
    border-bottom: 2px solid var(--color-green);
    transform: rotate(-45deg);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    border-radius: 0;
    font-size: 0;
    color: transparent;
}

.faq__item[open]:not(.is-closing) .faq__icon,
.faq__item.is-open .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    overflow: hidden;
    padding: 0 40px 28px 0;
    font-size: var(--text-md);
    line-height: 1.6;
    color: var(--color-muted);
}

.faq__item.is-closing .faq__answer {
    pointer-events: none;
}

.faq__answer p:last-child {
    margin-bottom: 0;
}

.faq details .faq__question {
    list-style: none;
}

@media (prefers-reduced-motion: reduce) {
    .faq__icon {
        transition: none;
    }
}