:root {
    --font-sans: "Artegra Sans Extended", "Segoe UI", Tahoma, Arial, sans-serif;
    --blue: #0453f0;
    --blue-rgb: 4, 83, 240;
    --hero-header-gradient: linear-gradient(180deg, rgba(var(--blue-rgb), 0.92) 0%, rgba(var(--blue-rgb), 1) 100%);
    --dark-blue: #00194b;
    --light: #f5f5f5;
    --text: #101010;
    --white: #ffffff;
    --radius: 18px;
    --shadow: 0 4px 6px rgba(24, 39, 75, 0.12), 0 8px 8px rgba(24, 39, 75, 0.08);
    --hero-header-height: 87px;
    --layout-max-width: 1440px;
    --hero-content-width: var(--layout-max-width);
    --hero-content-height: 781px;
}

* { box-sizing: border-box; }

html {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    font-family: inherit;
    color: var(--text);
    line-height: 1.4;
    overflow-x: hidden;
}

button,
input,
textarea,
select,
optgroup {
    font-family: inherit;
}

.wpcf7-form,
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select,
.wpcf7-form button {
    font-family: inherit;
}
body.digitol-sticky-footer {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}
body.digitol-sticky-footer > main {
    flex: 1 0 auto;
}
body.digitol-sticky-footer > .footer-main {
    flex-shrink: 0;
    margin-top: auto;
}
.digitol-homepage {
    margin: 0;
    padding: 0;
}
.digitol-homepage > :first-child {
    margin-top: 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
    width: min(var(--layout-max-width), calc(100% - 32px));
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 999px;
    background: var(--blue);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-weight: 600;
    box-shadow: var(--shadow);
}
.btn--white { background: var(--white); color: var(--text); }

h1,h2,h3 { margin: 0 0 16px; text-transform: uppercase; }
h2 {
    font-family: "Artegra Sans Extended", 'Segoe UI', Tahoma, Arial, sans-serif;
    font-size: 35px;
    line-height: 1.1;
    font-weight: 700;
}
.section-intro { margin: 0 0 28px; color: #404040; }

.hero {
    position: relative;
    color: var(--white);
    overflow: hidden;
    margin-top: 0;
}
.hero__header, .hero__content { position: relative; z-index: 2; }
.hero__header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 186px 1fr 193px;
    gap: 24px;
    align-items: center;
    min-height: 87px;
    padding: 14px 120px;
    width: min(var(--layout-max-width), calc(100% - 32px));
    z-index: 30;
    isolation: isolate;
}
.hero__header::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100vw, var(--layout-max-width));
    background: transparent;
    backdrop-filter: none;
    transition: background 0.22s ease, backdrop-filter 0.22s ease;
    z-index: -1;
}
.hero__header.hero__header--scrolled::before {
    background: rgba(var(--blue-rgb), 0.28);
    backdrop-filter: blur(6px);
}
.hero__header.hero__header--solid::before,
.hero__header--internal::before {
    background: var(--hero-header-gradient);
    backdrop-filter: blur(2px);
}
.hero__header::after {
    content: '';
    position: absolute;
    left: -50vw;
    right: -50vw;
    bottom: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    transition: opacity 0.22s ease;
}
.hero__header.hero__header--solid::after {
    opacity: 1;
}
.hero__header--internal {
    position: relative;
    top: 0;
    left: auto;
    transform: none;
    width: min(var(--layout-max-width), calc(100% - 32px));
    margin: 0 auto;
    z-index: 10;
    color: var(--white);
}
.hero__header--internal .hero__nav-link.is-active::after {
    display: none;
}
.hero__logo img {
    width: 186px;
    height: 47px;
    max-width: none;
    object-fit: fill;
}
.hero__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    font-family: "Artegra Sans Extended", 'Segoe UI', Tahoma, Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    line-height: normal;
    font-weight: 400;
}
.hero__nav-link {
    font-family: "Artegra Sans Extended", 'Segoe UI', Tahoma, Arial, sans-serif !important;
    font-weight: 400 !important;
}
.hero__nav-link {
    position: relative;
    opacity: 1;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}
.hero__nav-link:hover { opacity: 0.75; }
.hero__nav-link.is-active::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -32px;
    width: 121px;
    height: 3px;
    background: #0453f0;
}
.hero__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    font-size: 16px;
    line-height: 27px;
    text-align: right;
    width: 193px;
}
.hero__contacts-link {
    text-decoration: none;
}
.hero__contacts-link--email { text-decoration: underline; text-underline-offset: 2px; }
.hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    box-sizing: border-box;
    width: min(var(--hero-content-width), calc(100% - 32px));
    max-width: var(--hero-content-width);
    height: var(--hero-content-height);
    min-height: var(--hero-content-height);
    margin: 0 auto;
    padding: calc(var(--hero-header-height) + 32px) 0 40px;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    color: var(--white);
}

.hero__content-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex: 1;
    min-height: 0;
}

.hero__left {
    padding-top: 200px;
    padding-left: 120px;
}

.hero__left h1 {
    font-size: 51px;
    line-height: 67px;
    letter-spacing: 0;
    max-width: 780px;
    margin-bottom: 14px;
}
.hero__left p {
    font-size: 20px;
    line-height: 30px;
    max-width: 750px;
    margin-bottom: 28px;
}
.hero .btn {
    min-width: 189px;
    min-height: 40px;
    padding: 5px 26px;
    font-size: 16px;
    font-weight: 400;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(24, 39, 75, 0.12), 0 8px 8px rgba(24, 39, 75, 0.08);
}

.about { background: #fff; }
.about > .container {
    padding: 80px 110px 80px 122px;
    box-sizing: border-box;
}
.about h2 { margin-bottom: 56px; font-size: 35px; line-height: 1.1; }
.about__grid {
    display: grid;
    grid-template-columns: 616px minmax(0, 1fr);
    justify-content: start;
    gap: 101px;
    align-items: start;
}
.about__image {
    display: block;
    width: 616px;
    height: 245px;
    overflow: hidden;
    border-radius: 20px;
    line-height: 0;
}
.about__image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}
.about__text {
    position: relative;
    display: grid;
    grid-template-columns: 9px 1fr;
    grid-template-rows: auto 32px auto 25px auto;
    column-gap: 33px;
    row-gap: 0;
    align-content: start;
    align-items: start;
    font-size: 16px;
    line-height: 1.5;
}
.about__badge { width: 255px; margin: 0; display: block; padding: 10px 0; }
.about__accent {
    display: block;
    width: 9px;
    border-radius: 6px;
    background: #f5f5f5;
    grid-column: 1;
    align-self: stretch;
}
.about__accent--primary { background: var(--blue); grid-row: 1; }
.about__accent--secondary { grid-row: 3; }
.about__accent--tertiary { grid-row: 5; }

.about__badge { grid-column: 2; grid-row: 1; }
.about__lead { grid-column: 2; grid-row: 3; }
.about__description { grid-column: 2; grid-row: 5; }
.about__lead { margin: 0; max-width: none; }
.about__description { margin: 0; max-width: none; }
.about__stats {
    margin-top: 0;
    background: var(--blue);
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
    min-height: 150px;
    padding: 30px 120px 20px;
    gap: 28px;
    width: min(var(--layout-max-width), 100%);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
.about__stat { position: relative; }
.about__stat { display: grid; grid-template-columns: auto 1fr; column-gap: 22px; align-items: start; }
.about__stat img { margin: 0; object-fit: contain; }
.about__stat strong,
.about__stat span { grid-column: 2; }
.about__stat img { grid-row: 1 / span 2; }
.about__stat strong { margin-top: 4px; }
.about__stat strong {
    display: block;
    font-size: 35px;
    line-height: 1.15;
    margin-bottom: 7px;
}
.about__stat span {
    display: block;
    font-size: 16px;
    line-height: 1.2;
    max-width: 245px;
}

.about__stat--years img { width: 71.2px; height: 83.79px; }
.about__stat--projects img { width: 94px; height: 78.62px; }
.about__stat--clients img { width: 92px; height: 74px; }

.solutions {
    position: relative;
    padding: 80px 0;
    background: transparent;
}
.solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, var(--layout-max-width));
    bottom: 0;
    background: #f7f7f7;
    z-index: 0;
}
.solutions > .container { position: relative; z-index: 1; }
.solutions > .container {
    padding-left: 120px;
    padding-right: 120px;
    box-sizing: border-box;
}
.solutions h2 {
    max-width: 1100px;
    margin-bottom: 12px;
}
.solutions .section-intro {
    color: #0452F0;
    font-family: "Artegra Sans Extended", 'Segoe UI', Tahoma, Arial, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    text-transform: uppercase;
    margin-bottom: 34px;
}
.solutions__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    row-gap: 14px;
    align-items: start;
}
.solutions__col {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}
.solution {
    background: #fff;
    border-radius: 20px;
    padding: 0;
    min-height: 98px;
    overflow: hidden;
    border: 0;
    box-shadow: 0 4px 6px -4px rgba(24, 39, 75, 0.12), 0 8px 8px -4px rgba(24, 39, 75, 0.08);
    cursor: pointer;
}
.solution[open] { min-height: 0; }
.solution[open] {
    background: var(--blue);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 16px 32px rgba(0,0,0,0.10);
}
.solution__summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    user-select: none;
    min-height: 98px;
    padding: 22px 24px;
}
.solution__summary::-webkit-details-marker { display: none; }
.solution__title {
    display: block;
    font-family: "Artegra Sans Extended", 'Segoe UI', Tahoma, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 600;
    text-transform: none;
}
.solution__body {
    height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: height 0.14s ease, padding-bottom 0.14s ease;
}
.solution__body-inner {
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.12s ease, transform 0.12s ease;
}
.solution__body p { margin: 0 0 12px; font-size: 16px; line-height: 1.45; }
/* solutions now uses details/summary; keep titles in .solution__title */
.solution .btn {
    min-width: 121px;
    min-height: 40px;
    padding: 5px 18px;
    font-size: 16px;
}
.solution[open] .solution__body p { max-width: 430px; margin-bottom: 16px; }

.demo {
    position: relative;
    background: transparent;
    padding: 80px 0;
}
.demo::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, var(--layout-max-width));
    background: #fff;
    z-index: 0;
}
.demo > .container { position: relative; z-index: 1; }
.demo > .container {
    padding-left: 120px;
    padding-right: 120px;
    box-sizing: border-box;
}
.demo h2 {
    color: #000;
    font-family: "Artegra Sans Extended", 'Segoe UI', Tahoma, Arial, sans-serif;
    font-size: 35px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 74px;
    width: 1028px;
    max-width: 100%;
}
.demo__grid {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 30px;
    align-items: start;
}
.demo__info {
    background: #0452F0;
    color: #fff;
    border-radius: 20px;
    width: 100%;
    height: 306px;
    padding: 55px 34px 59px 27px;
    box-shadow: 0 4px 6px -4px rgba(24, 39, 75, 0.12), 0 8px 8px -4px rgba(24, 39, 75, 0.08);
    overflow: hidden;
    box-sizing: border-box;
}
.demo__info p {
    margin: 0;
    color: #fff;
    font-family: "Artegra Sans Extended", 'Segoe UI', Tahoma, Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}
.demo__info p + p { margin-top: 27px; }
.demo__form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 21px;
    row-gap: 24px;
}
.demo__field--full { grid-column: 1 / -1; }
/* CF7 — убираем из потока grid лишние элементы */
.demo__form > .wpcf7-form-control-wrap { display: contents; }
.demo__form fieldset.hidden-fields-container { display: none; }
.demo__form .akismet-fields-container { display: none !important; }
.demo__form .wpcf7-response-output { grid-column: 1 / -1; }
.demo__form input,
.demo__form textarea {
    width: 100%;
    min-height: 61px;
    padding: 0 20px;
    border-radius: 10px;
    border: 0;
    background: #f5f5f5;
    font: inherit;
    box-sizing: border-box;
    box-shadow: none;
}
.demo__form textarea {
    min-height: 190px;
    padding: 18px 20px;
    resize: vertical;
}
.demo__form input::placeholder,
.demo__form textarea::placeholder {
    color: #000;
    font-family: "Artegra Sans Extended", 'Segoe UI', Tahoma, Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 18.918px;
    opacity: 1;
}
/* CF7: spinner убираем из grid-потока, крепим к кнопке */
.demo__actions {
    position: relative;
}
.demo__actions .wpcf7-spinner {
    position: absolute;
    top: 50%;
    left: calc(189px + 10px);
    transform: translateY(-50%);
    margin: 0;
}
/* CF7 submit — такой же как demo__actions .btn */
.demo__actions input.wpcf7-submit.btn {
    min-width: 189px;
    min-height: 40px;
    border-radius: 20px;
    padding: 5px 26px;
    justify-self: start;
    background: #0452F0;
    color: #fff;
    font-family: "Artegra Sans Extended", 'Segoe UI', Tahoma, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    box-shadow: 0 4px 6px -4px rgba(24, 39, 75, 0.12), 0 8px 8px -4px rgba(24, 39, 75, 0.08);
    border: 0;
    margin: 0;
}
/* CF7 статусы */
.demo__form .wpcf7-response-output {
    grid-column: 1 / -1;
    margin: 8px 0 0;
    padding: 12px;
    border-radius: 8px;
    border: none;
}
.demo__form .wpcf7-mail-sent-ok { background: #e6f6ea; color: #12682b; }
.demo__form .wpcf7-mail-sent-ng,
.demo__form .wpcf7-validation-errors { background: #fdecea; color: #c62828; }
.demo__form .wpcf7-not-valid-tip { font-size: 12px; color: #c62828; margin-top: 4px; }
.demo__actions {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 28px;
    align-items: center;
    grid-column: 1 / -1;
    margin-top: 6px;
}
.demo__actions .btn {
    min-width: 189px;
    min-height: 40px;
    border-radius: 20px;
    padding: 5px 26px;
    justify-self: start;
    background: #0452F0;
    color: #fff;
    font-family: "Artegra Sans Extended", 'Segoe UI', Tahoma, Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    box-shadow: 0 4px 6px -4px rgba(24, 39, 75, 0.12), 0 8px 8px -4px rgba(24, 39, 75, 0.08);
}
.demo__policy {
    margin: 0;
    font-size: 12px;
    line-height: 84.312%;
    color: #000;
    max-width: 520px;
    font-family: "Artegra Sans Extended", 'Segoe UI', Tahoma, Arial, sans-serif;
    font-style: normal;
    font-weight: 400;
}
.demo__policy-accent { font-weight: 700; }

.projects {
    position: relative;
    padding: 80px 0;
    background: transparent;
}
.projects::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, var(--layout-max-width));
    background: #f7f7f7;
    z-index: 0;
}
.projects > .container { position: relative; z-index: 1; }
.projects > .container {
    padding-left: 120px;
    padding-right: 120px;
    box-sizing: border-box;
}
.news {
    position: relative;
    padding: 80px 0;
    background: transparent;
}
.news::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, var(--layout-max-width));
    background: #f7f7f7;
    z-index: 0;
}
.news > .container { position: relative; z-index: 1; }
.news > .container {
    padding-left: 120px;
    padding-right: 120px;
    box-sizing: border-box;
}
.projects h2,
.news h2 {
    font-size: 35px;
    line-height: 1.1;
    margin-bottom: 50px;
}
.section-intro--highlight {
    color: var(--blue);
    text-transform: uppercase;
    font-size: 18px;
    line-height: 26px;
    max-width: 978px;
    margin-bottom: 42px;
}
.projects .section-intro--highlight { margin-bottom: 55px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.cards--projects {
    display: flex;
    gap: 20px;
    overflow-x: hidden;
    overflow-y: visible;
    padding-bottom: 16px;
    scroll-behavior: smooth;
    flex-wrap: nowrap;
    cursor: grab;
}
.cards--news {
    display: flex;
    gap: 20px;
    overflow-x: hidden;
    overflow-y: visible;
    padding-bottom: 16px;
    scroll-behavior: smooth;
    cursor: grab;
    flex-wrap: nowrap;
}
.card--news-item { flex: 0 0 379px; }
.project-card {
    position: relative;
    width: 379px;
    height: 379px;
    flex: 0 0 379px;
    border-radius: 20px;
    overflow: hidden;
}
.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/project_card.png') center / cover no-repeat;
    z-index: 0;
}
.project-card__content {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 24px;
    color: #fff;
    z-index: 1;
}
.project-card__content h3 {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.25;
    text-transform: none;
    color: #fff;
    min-height: 60px;
}
.project-card__content .btn {
    min-width: 189px;
    min-height: 40px;
    padding: 5px 40px 5px 18px;
    border-radius: 20px;
    color: #000;
    font-size: 16px;
    font-weight: 400;
    position: relative;
}
.project-card__content .btn::after {
    content: '›';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    line-height: 1;
}

.card {
    background: #fff;
    border-radius: 20px;
    position: relative;
    padding: 0 0 88px;
    box-shadow: 0 4px 6px -4px rgba(24, 39, 75, 0.12), 0 8px 8px -4px rgba(24, 39, 75, 0.08);
}
.card img { width: 100%; height: 288px; object-fit: cover; border-radius: 20px 20px 0 0; }
.card h3 {
    margin: 22px 32px 22px;
    font-size: 18px;
    line-height: 1.3;
    text-transform: none;
    min-height: 72px;
}
.card .btn {
    min-width: 189px;
    min-height: 40px;
    padding: 5px 40px 5px 18px;
    border-radius: 20px;
    background: var(--blue);
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    position: absolute;
    left: 32px;
    bottom: 24px;
}
.card .btn::after {
    content: '›';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    line-height: 1;
}
.cards__controls {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    height: 40px;
}
.projects__controls {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}
.news__controls {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}
.news__controls .cards__controls { margin-top: 0; }
.news__all { justify-self: start; }
.news__spacer { width: 189px; height: 40px; justify-self: end; }
.news__all {
    min-width: 189px;
    min-height: 40px;
    padding: 5px 26px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 400;
    box-shadow: 0 4px 6px -4px rgba(24, 39, 75, 0.12), 0 8px 8px -4px rgba(24, 39, 75, 0.08);
}
.projects__controls .cards__controls { margin-top: 0; }
.projects__all { justify-self: start; }
.projects__spacer { justify-self: end; }
.projects__spacer { width: 189px; height: 40px; }
.projects__all {
    min-width: 189px;
    min-height: 40px;
    padding: 5px 26px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 400;
    box-shadow: 0 4px 6px -4px rgba(24, 39, 75, 0.12), 0 8px 8px -4px rgba(24, 39, 75, 0.08);
}
.cards__arrow {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.cards__arrow img {
    width: 25px;
    height: 25px;
}
.cards__dots { display: flex; align-items: center; gap: 10px; }
.cards__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(4, 82, 240, 0.25);
    cursor: pointer;
    transition: width 0.16s ease, border-radius 0.16s ease, background 0.16s ease;
}
.cards__dot.is-active {
    width: 30px;
    border-radius: 9px;
    background: #0452F0;
}

.contact { padding: 80px 0; background: #fff; }
.contact > .container { box-sizing: border-box; }
.contact h2 {
    margin-bottom: 14px;
}
.contact > .container > p {
    font-size: 16px;
    line-height: 1.2;
    max-width: 734px;
}
.contact__grid {
    width: min(var(--layout-max-width), 100%);
    margin: 0 auto;
    padding-left: 120px;
    padding-right: 0;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 687px 1fr;
    gap: 42px;
    align-items: start;
}
/* Контактная форма — grid идентичен demo__form */
.contact__form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 21px;
    row-gap: 24px;
    margin-top: 24px;
}
/* CF7 оборачивает поля в span — делаем span прозрачным для grid */
.contact__form > .wpcf7-form-control-wrap {
    display: contents;
}
.contact__form > input[type='hidden'] { display: none; }
.contact__image {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    min-height: 708px;
}
.contact__image img {
    width: min(669px, 100%);
    max-width: 669px;
    height: auto;
}
.form-msg { margin: 16px 0; padding: 12px; border-radius: 8px; }
.form-msg--success { background: #e6f6ea; color: #12682b; }

/* Contact Form 7 — статусы */
.contact .wpcf7-response-output {
    grid-column: 1 / -1;
    margin: 8px 0 0;
    padding: 12px;
    border-radius: 8px;
    border: none;
}
.contact .wpcf7-mail-sent-ok { background: #e6f6ea; color: #12682b; }
.contact .wpcf7-mail-sent-ng,
.contact .wpcf7-validation-errors { background: #fdecea; color: #c62828; }
.contact .wpcf7-not-valid-tip { font-size: 12px; color: #c62828; margin-top: 4px; }
.contact .wpcf7-spinner { margin-left: 12px; }

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

.clients { padding: 72px 0 76px; background: #fff; overflow: hidden; }
.clients h2 {
    font-size: 35px;
    line-height: 1.1;
    margin-bottom: 44px;
}
.clients__row {
    display: flex;
    gap: 11px;
    justify-content: center;
    flex-wrap: nowrap;
    background: #f7f7f7;
}
.clients__box {
    flex: 0 0 230px;
    width: 230px;
    height: 194px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.clients__logo--square { width: 74px; height: 74px; object-fit: contain; }
.clients__logo--wide   { width: 150px; height: 42.857px; object-fit: contain; }
.clients__logo--nb     { width: 107px; height: 37px; object-fit: contain; }
.clients__logo--rivts  { position: relative; width: 164px; height: 31.447px; }
.clients__rivts-part   { position: absolute; display: block; }
.clients__rivts-part--icon1 { left: 12.34px;  top: 4.51px; width: 12.992px; height: 21.711px; }
.clients__rivts-part--icon2 { left: 0;        top: 0;      width: 36.546px; height: 31.447px; }
.clients__rivts-part--r     { left: 41.95px;  top: 3.67px; width: 31.433px; height: 24.166px; }
.clients__rivts-part--i     { left: 71.22px;  top: 3.67px; width: 32.631px; height: 24.166px; }
.clients__rivts-part--v     { left: 101.42px; top: 3.67px; width: 31.362px; height: 24.166px; }
.clients__rivts-part--c     { left: 131.37px; top: 3.67px; width: 32.631px; height: 24.166px; }

.clients__row--marquee {
    display: block;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: 11px;
    background: #f7f7f7;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.clients__row--marquee::-webkit-scrollbar { display: none; }
.clients__row--marquee.is-grabbing { cursor: grabbing; user-select: none; }
.cards--projects.is-grabbing,
.cards--news.is-grabbing { cursor: grabbing; user-select: none; }
.clients__track {
    display: flex;
    width: max-content;
    will-change: scroll-position;
}
.clients__row--marquee .clients__box {
    margin-right: 10px;
    flex: 0 0 230px;
    user-select: none;
}
.clients__row--marquee .clients__box img,
.clients__row--marquee .clients__box .clients__logo {
    pointer-events: none;
    -webkit-user-drag: none;
}

.clients__logo--siltech       { width: 152px; height: 25.442px; object-fit: contain; }
.clients__logo--komos         { width: 63px;  height: 91px;     object-fit: contain; }
.clients__logo--smp           { width: 126px; height: 74px;     object-fit: contain; }
.clients__logo--agrotransport { width: 129.87px; height: 184.275px; object-fit: contain; }
.clients__logo--vamin         { width: 107px; height: 48px;     object-fit: contain; }

.footer-main {
    width: min(100%, var(--layout-max-width));
    margin: 0 auto;
    background: var(--blue);
    color: #fff;
    padding-top: 80px;
    min-height: 620px;
}
.footer-main,
.footer-main a,
.footer-main p {
    color: #fff;
    font-family: "Artegra Sans Extended", 'Segoe UI', Tahoma, Arial, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
    letter-spacing: 0.18px;
}
.footer-main .container {
    width: min(var(--layout-max-width), calc(100% - 240px));
}
.footer-main__top {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}
.footer-main__right {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 644px;
}
.footer-main__menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    margin-bottom: 38px;
    white-space: normal;
}
.footer-main__menu a {
    text-decoration: none;
    color: #fff;
    font-family: "Artegra Sans Extended", 'Segoe UI', Tahoma, Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}
.footer-main__logo {
    display: inline-block;
    margin-bottom: 64px;
}
.footer-main__logo svg {
    display: block;
    width: 276px;
    height: 26px;
}
.footer-main__contacts {
    display: flex;
    flex-direction: column;
}
.footer-main__contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 41px;
    text-decoration: none;
}
.footer-main__contact-icon {
    width: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.footer-main__contact-icon svg {
    display: block;
}
.footer-main__contact--address {
    align-items: flex-start;
    margin-bottom: 72px;
}
.footer-main__contact--address .footer-main__contact-icon {
    padding-top: 8px;
}
.footer-main__social {
    display: flex;
    gap: 38px;
    margin-top: 0;
}
.footer-main__social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.footer-main__social a[aria-label='Дзен'] {
    background: transparent;
}
.footer-main__social svg { display: block; }
.footer-main__company-details {
    margin: 28px 0 0;
    max-width: 420px;
    font-family: "Artegra Sans Extended", 'Segoe UI', Tahoma, Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: 1%;
    color: rgba(255, 255, 255, 0.88);
}
.footer-main__map img {
    width: 100%;
    max-width: 644px;
    border-radius: 0;
    height: 322.524px;
    object-fit: cover;
}
.footer-main__bottom {
    position: relative;
    margin-top: 65px;
    padding: 27px 0 0;
}
.footer-main__bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100vw, var(--layout-max-width));
    border-top: 1px solid rgba(255,255,255,0.35);
}
.footer-main__bottom a { display: block; }

/* Articles pages */
.articles-page,
.article-single-page {
    background: #fff;
    padding-top: 0;
}
.articles-hero,
.article-single__hero {
    position: relative;
    padding: 80px 0 48px;
}
.articles-hero::before,
.article-single__hero::before {
    content: '';
    position: absolute;
    inset: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, var(--layout-max-width));
    background: #f7f7f7;
    z-index: 0;
}
.articles-hero .container,
.article-single__hero .container {
    position: relative;
    z-index: 1;
    padding-left: 120px;
    padding-right: 120px;
    box-sizing: border-box;
}
.articles-hero h1,
.article-single__hero h1 {
    margin: 0 0 16px;
    font-size: 35px;
    line-height: 1.1;
    text-transform: uppercase;
}
.articles-hero p {
    margin: 0;
    max-width: 860px;
    color: #404040;
    font-size: 18px;
    line-height: 1.45;
}
.articles-listing {
    padding: 60px 0 80px;
}
.articles-listing .container {
    padding-left: 120px;
    padding-right: 120px;
    box-sizing: border-box;
}
.articles-page--news .articles-listing {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Архив рубрики «Решения» — отступы как на лендингах */
.articles-page--solutions {
    --archive-pad-x: clamp(16px, 4.5vw, 120px);
}
.articles-page--solutions .articles-hero {
    padding: clamp(56px, 10vw, 80px) 0 clamp(24px, 5vw, 40px);
}
.articles-page--solutions .articles-hero .container,
.articles-page--solutions .articles-listing .container {
    padding-left: var(--archive-pad-x);
    padding-right: var(--archive-pad-x);
}
.articles-page--solutions .articles-listing {
    padding: clamp(32px, 5vw, 56px) 0 clamp(48px, 8vw, 80px);
}
.articles-page--solutions .articles-grid {
    gap: clamp(20px, 3vw, 24px);
}
.articles-page--solutions .article-card h3 {
    margin: 0 clamp(20px, 3vw, 32px) 12px;
    min-height: 0;
}
.articles-page--solutions .article-card__meta {
    margin: clamp(14px, 2.5vw, 18px) clamp(20px, 3vw, 32px) 8px;
}
.articles-page--solutions .article-card__excerpt {
    margin: 0 clamp(20px, 3vw, 32px) clamp(16px, 3vw, 22px);
    min-height: 0;
}
.articles-page--solutions .article-card .btn {
    left: clamp(20px, 3vw, 32px);
    bottom: clamp(20px, 3vw, 24px);
}
.articles-page--solutions .articles-pagination {
    margin-top: clamp(28px, 5vw, 40px);
}
.articles-page--news .article-card h3 {
    margin-bottom: 22px;
}
.articles-grid {
    margin: 0;
}
.article-card {
    position: relative;
}
.article-card__image img {
    border-radius: 20px 20px 0 0;
}
.article-card__meta {
    margin: 18px 32px 8px;
    color: #666;
    font-size: 14px;
    line-height: 1.2;
    text-transform: uppercase;
}
.article-card h3 {
    margin: 0 32px 14px;
    min-height: 0;
    line-height: 1.28;
}
.article-card__excerpt {
    margin: 0 32px 22px;
    color: #2f2f2f;
    font-size: 16px;
    line-height: 1.45;
    min-height: 66px;
}
.articles-pagination {
    margin-top: 40px;
}
.articles-pagination ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
.articles-pagination a,
.articles-pagination span {
    display: inline-flex;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 4px 6px -4px rgba(24, 39, 75, 0.12), 0 8px 8px -4px rgba(24, 39, 75, 0.08);
}
.articles-pagination .current {
    background: var(--blue);
    color: #fff;
}
.articles-empty {
    margin: 16px 0 0;
    font-size: 18px;
    line-height: 1.4;
}
.article-single__meta {
    margin: 0 0 10px;
    color: #666;
    font-size: 14px;
    line-height: 1.2;
    text-transform: uppercase;
}
.article-single__content-wrap {
    padding-left: 120px;
    padding-right: 120px;
    box-sizing: border-box;
}
.article-single__thumb {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 36px;
}
.article-single__thumb img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
}
.article-single__content {
    max-width: 980px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.55;
}
.article-single__content h1 {
    text-transform: none;
}
.article-single__content h2,
.article-single__content h3 {
    margin-top: 34px;
    text-transform: none;
}
.article-single__content p {
    margin: 0 0 18px;
}
.article-single__footer {
    margin-top: 36px;
    display: flex;
    justify-content: center;
}
.article-single-page .news--related {
    margin-top: 0;
}

/* ── Архив рубрики «Проекты» ── */
.projects-archive-page {
    background: #fff;
}

.projects-archive-listing {
    padding: 60px 0 80px;
}

.cards--projects-archive {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.cards--projects-archive .project-card {
    width: 100%;
    flex: none;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
}
