/* Цифровые структуры — стили публичной части сайта.
   Порядок: шрифты, токены, база, компоненты, секции, адаптив. */

@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/static/site/fonts/inter-400-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/static/site/fonts/inter-400-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/static/site/fonts/inter-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/static/site/fonts/inter-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('/static/site/fonts/inter-500-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('/static/site/fonts/inter-500-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('/static/site/fonts/inter-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('/static/site/fonts/inter-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/static/site/fonts/inter-600-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/static/site/fonts/inter-600-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/static/site/fonts/inter-600-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/static/site/fonts/inter-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('/static/site/fonts/inter-700-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('/static/site/fonts/inter-700-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('/static/site/fonts/inter-700-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('/static/site/fonts/inter-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:900;font-display:swap;src:url('/static/site/fonts/inter-900-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Inter';font-style:normal;font-weight:900;font-display:swap;src:url('/static/site/fonts/inter-900-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:900;font-display:swap;src:url('/static/site/fonts/inter-900-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:900;font-display:swap;src:url('/static/site/fonts/inter-900-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Lato';font-style:normal;font-weight:400;font-display:swap;src:url('/static/site/fonts/lato-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Lato';font-style:normal;font-weight:400;font-display:swap;src:url('/static/site/fonts/lato-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Lato';font-style:normal;font-weight:700;font-display:swap;src:url('/static/site/fonts/lato-700-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Lato';font-style:normal;font-weight:700;font-display:swap;src:url('/static/site/fonts/lato-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Lato';font-style:normal;font-weight:900;font-display:swap;src:url('/static/site/fonts/lato-900-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Lato';font-style:normal;font-weight:900;font-display:swap;src:url('/static/site/fonts/lato-900-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Palanquin';font-style:normal;font-weight:400;font-display:swap;src:url('/static/site/fonts/palanquin-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Palanquin';font-style:normal;font-weight:400;font-display:swap;src:url('/static/site/fonts/palanquin-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Palanquin';font-style:normal;font-weight:500;font-display:swap;src:url('/static/site/fonts/palanquin-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Palanquin';font-style:normal;font-weight:500;font-display:swap;src:url('/static/site/fonts/palanquin-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Palanquin';font-style:normal;font-weight:600;font-display:swap;src:url('/static/site/fonts/palanquin-600-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Palanquin';font-style:normal;font-weight:600;font-display:swap;src:url('/static/site/fonts/palanquin-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* --- Токены --- */
:root {
	--color-accent: #05CAB6;
	--color-accent-dark: #04a795;
	--color-dark: #303030;
	--color-gray: #595959;
	--color-muted: #7D8894;
	--color-light: #F8F9FC;
	--color-border: #D0D0D0;
	--color-blog: #D05A39;
	--color-black: #000;
	--color-white: #fff;
	--container: 1170px;
	--header-height: 80px;
	--font-base: 'Inter', 'Helvetica Neue', Arial, sans-serif;
	--font-display: 'Lato', 'Inter', Arial, sans-serif;
	--font-article: 'Palanquin', 'Inter', Arial, sans-serif;
	--radius: 10px;
	--shadow: 0 12px 40px rgba(48, 48, 48, .08);
}

/* --- База --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-base);
	font-size: 16px;
	line-height: 1.6;
	font-weight: 500;
	color: var(--color-muted);
	background: var(--color-white);
	/* Оригинал переносит длинные слова по слогам — без этого абзацы ломаются иначе. */
	-webkit-hyphens: auto;
	hyphens: auto;
}
img, picture, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-accent); }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 16px; }
h1, h2, h3, h4 { margin: 0 0 16px; color: var(--color-dark); font-weight: 700; line-height: 1.3; }
h1 { font-size: 84px; line-height: 100.8px; }
h2 { font-size: 40px; line-height: 52px; }
h3 { font-size: 24px; line-height: 36px; font-weight: 600; }
h4 { font-size: 22px; line-height: 33px; font-weight: 600; }
strong { color: var(--color-dark); font-weight: 700; }
button { font: inherit; cursor: pointer; }

/* Основная сетка 1170 px: секции с «широким» контейнером выравнивают заголовок
   по краю сетки, а внутренние блоки добавляют собственные отступы. */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 15px; }
.container--wide { padding: 0; }
.section-title { margin: 0 0 24px; font-size: 40px; line-height: 52px; font-weight: 700; color: var(--color-black); text-align: left; }
.section-title--light { color: var(--color-white); }
.section-subtitle { margin: 0 0 45px; color: var(--color-muted); font-size: 16px; line-height: 30.4px; }
.icon { width: 18px; height: 18px; flex: none; }
.icon-arrow { width: 16px; height: 16px; flex: none; }
.icon-check { width: 24px; height: 24px; flex: none; color: var(--color-accent); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Кнопки: элементы идут в порядке разметки, между ними — отступ 10px, как в оригинале. */
.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 8px 24px; border: 0; border-radius: 4px;
	font-size: 16px; line-height: 24px; font-weight: 500; text-align: center; transition: background-color .2s, color .2s, border-color .2s;
}
.button--primary { background: var(--color-accent); color: var(--color-white); }
.button--primary:hover { background: var(--color-accent-dark); color: var(--color-white); }
.button--outline { background: var(--color-white); color: var(--color-black); border: 2px solid #030303; }
.button--outline:hover { background: var(--color-black); color: var(--color-white); }
.button--hero { padding: 14px 24px; }
.button--light { background: var(--color-white); color: var(--color-dark); }
.button--light:hover { background: var(--color-light); color: var(--color-dark); }

.link-more { display: inline-flex; align-items: center; gap: 8px; color: var(--color-accent); font-weight: 600; font-size: 15px; }
.link-more:hover { color: var(--color-accent-dark); }

.rich-list { display: grid; gap: 20px; margin: 0; }
.rich-list li { display: flex; gap: 20px; align-items: flex-start; }
.rich-list span { color: var(--color-black); font-size: 16px; line-height: 24px; font-weight: 400; }
.rich-list strong { color: var(--color-black); }

/* Поток строк одной высоты: пропуски заданы отступом в одну строку. */
.flow { --flow-line: 27px; }
.flow--loose { --flow-line: 28.8px; }
.flow__line, .flow__item { margin: 0; color: var(--color-black); font-size: 18px; line-height: var(--flow-line); font-weight: 400; }
.flow__line--bold { font-weight: 700; }
.flow__line--gap { margin-top: var(--flow-line); }
.flow__line--short { margin-top: 24px; }
.flow__list { margin: 0; padding-left: 34px; list-style: disc; }
.flow__link { color: var(--color-dark); font-weight: 700; }

/* --- Шапка --- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--color-white); }
.site-header__inner { display: flex; align-items: center; gap: 68px; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 29px 0 15px; min-height: var(--header-height); }
.site-header__logo img { width: 156px; height: 60px; object-fit: contain; }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: 30px; }
.site-nav__link { color: var(--color-muted); font-weight: 600; font-size: 15px; line-height: 22.5px; }
.site-nav__link.is-active, .site-nav__link:hover { color: var(--color-accent); }
.site-header__contacts { display: flex; align-items: center; gap: 31px; }
.site-header__phone { display: inline-flex; align-items: center; gap: 10px; color: var(--color-accent); font-weight: 500; font-size: 16px; line-height: 16px; white-space: nowrap; }
.site-header__phone .icon { width: 13px; height: 13px; }
.site-header__socials { display: flex; gap: 16px; }
.site-header__social { color: var(--color-accent); }
.site-burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; padding: 10px; background: none; border: 0; }
.site-burger__bar { display: block; height: 2px; background: var(--color-dark); border-radius: 2px; transition: transform .2s, opacity .2s; }
.site-burger[aria-expanded="true"] .site-burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-burger[aria-expanded="true"] .site-burger__bar:nth-child(2) { opacity: 0; }
.site-burger[aria-expanded="true"] .site-burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-mobile-nav { padding: 16px 20px 28px; border-top: 1px solid var(--color-border); }
.site-mobile-nav[hidden] { display: none; }
.site-mobile-nav__list { display: grid; gap: 14px; margin-bottom: 18px; }
.site-mobile-nav__list a { color: var(--color-dark); font-weight: 600; }
.site-mobile-nav__phone { color: var(--color-accent); font-weight: 600; }

/* --- Подвал --- */
.site-footer { padding: 30px 0 96px; background: var(--color-white); color: var(--color-muted); }
.site-footer a { color: var(--color-muted); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer__inner { display: grid; grid-template-columns: 388px minmax(0, 1fr); }
.site-footer__logo { width: 158px; height: 153px; margin: 0 0 20px; object-fit: contain; }
.site-footer__label { color: var(--color-muted); font-weight: 400; }
.site-footer__address, .site-footer__contact { margin: 0; font-size: 16px; line-height: 30.4px; }
.site-footer__address { margin-bottom: 10px; }
.site-footer__contact { margin-bottom: 6px; }
.site-footer__address strong, .site-footer__contact strong { color: #242526; }
.site-footer__address strong.site-footer__colon, .site-footer__contact strong.site-footer__colon { color: var(--color-muted); }
.site-footer__street { display: block; }
.site-footer__contact a { color: var(--color-accent); }
.site-footer__socials { display: flex; gap: 16px; margin-top: 6.8px; }
.site-footer__social { display: flex; color: var(--color-accent); }
.site-footer__columns { display: grid; grid-template-columns: 394px minmax(0, 1fr); margin-top: 4.4px; }
.site-footer__column-title { margin: 0 0 10px; color: var(--color-dark); font-size: 18px; line-height: 34.2px; }
.site-footer__links { font-size: 18px; line-height: 34.2px; }
.site-footer__policy { display: inline-block; margin-top: 30.4px; font-size: 16px; line-height: 30.4px; }
.site-footer__notes { margin-top: 19.4px; }
.site-footer__note { max-width: 741px; margin: 0; font-size: 16px; line-height: 25.6px; text-align: justify; }
.site-footer__note:first-child { margin-bottom: 19.9px; text-align: left; }
.site-footer__note strong { color: var(--color-black); font-weight: 500; }
.site-footer__copyright { margin: 0; font-size: 16px; line-height: 25.6px; }

/* --- Первый экран --- */
.hero { background-size: cover; background-position: center; color: var(--color-black); }
/* Во внутренних страницах шапка накрывает верх обложки на 10px. */
.hero--inner { margin-top: -10px; }
.hero__inner { padding: 79px 0 90px; text-align: center; }
.hero__title { margin: 0 0 26px; color: var(--color-black); font-weight: 700; }
.hero__title-line { display: block; font-size: 84px; line-height: 100.8px; }
.hero__title-sub { display: block; font-size: 60px; line-height: 72px; }
.hero__lead { margin: 0 0 70px; font-size: 30px; line-height: 48px; }
.hero__lead strong { color: var(--color-dark); font-weight: 700; }
.hero--inner .hero__inner { padding: 24px 0 75px; }
.hero--inner .hero__title { margin-bottom: 43px; font-size: 84px; line-height: 100.8px; }
.page--solutions .hero { background-position: 47% 0%; }
.page--solutions .hero__inner { padding: 24px 0 42px; }
.page--solutions .hero__title { margin-bottom: 0; }
.page--solutions .ai-section { padding-top: 115px; }
.hero__stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; margin-top: 64px; }
.hero__stat { display: flex; align-items: center; gap: 10px; color: var(--color-muted); font-size: 16px; line-height: 28.8px; }
.hero__stat .icon-check { width: 19px; height: 19px; }

.page-hero { padding: 96px 0; background: var(--color-light); background-size: cover; background-position: center; }
.page-hero--plain { background-image: none; }
.page-hero__title { margin-bottom: 16px; font-size: 56px; line-height: 1.2; }
.page-hero__subtitle { max-width: 720px; margin: 0; color: var(--color-muted); font-size: 18px; }

/* --- Клиенты и счётчики --- */
.clients-section { padding: 48px 0; }
.clients__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.clients__item img { max-height: 44px; width: auto; filter: grayscale(1); opacity: .65; transition: filter .2s, opacity .2s; }
.clients__item img:hover { filter: none; opacity: 1; }
.counters { padding: 54px 0 70px; }
.counters__grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; text-align: center; }
.counters__item { display: flex; flex-direction: column; align-items: center; }
.counters__icon { display: flex; align-items: center; justify-content: center; color: var(--color-accent); }
.counters__icon svg { width: 64px; height: 64px; }
.counters__value { display: block; margin-top: 25px; color: var(--color-accent); font-family: var(--font-display); font-size: 40px; line-height: 52px; font-weight: 900; }
.counters__label { display: block; margin-top: 15px; color: var(--color-gray); font-size: 22px; line-height: 24.2px; font-weight: 900; text-transform: uppercase; }

/* --- Услуги --- */
.services-section { padding: 80px 0 105px; }
.services-section .section-title { margin-bottom: 20px; color: var(--color-dark); }
.services-section__inner { display: grid; grid-template-columns: 687px 372px; column-gap: 91px; align-items: start; }
/* Иллюстрация в оригинале растянута до 372×702, поэтому пропорции обрезаются. */
.services-section__image { width: 372px; height: 702px; object-fit: cover; transform: perspective(1100px) rotateX(var(--image-rotate-x, 0deg)) rotateY(var(--image-rotate-y, 0deg)); transform-origin: center; transition: transform .18s ease-out; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .services-section__image { transition: none; transform: none; } }
.service-cards { display: grid; grid-template-columns: repeat(2, 324px); column-gap: 38px; row-gap: 76px; }
.service-cards--detailed { grid-template-columns: repeat(2, 490px); column-gap: 50px; row-gap: 55px; }
.page--services .section-subtitle { max-width: 560px; }
.page--services .services-section { padding: 95px 0 90px; }
.service-card { display: flex; flex-direction: column; align-items: flex-start; padding: 0; background: none; }
.service-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 49px; height: 49px; padding: 13px; border-radius: 8px; }
.service-card__icon svg { width: 23px; height: 23px; }
.service-card--mint .service-card__icon { background: #C0FAEA; color: #6CC0A9; }
.service-card--pink .service-card__icon { background: #FBC8F7; color: #C684C0; }
.service-card--amber .service-card__icon { background: #F9EDC4; color: #EEC22C; }
.service-card--violet .service-card__icon { background: #C4CAE8; color: #6A61AE; }
.service-card__title { margin: 20px 0 0; color: var(--color-black); font-size: 22px; line-height: 33px; font-weight: 600; }
.service-card__text { margin: 10px 0 0; color: var(--color-muted); font-size: 16px; line-height: 25.6px; }
.service-card__details-title { margin: 31px 0 0; color: var(--color-black); font-size: 14px; line-height: 26.6px; }
.service-card__details-text { margin: 0; color: var(--color-muted); font-size: 16px; line-height: 25.6px; }
.service-card__details-text strong { color: var(--color-black); }
.service-card .button { margin-top: 14px; }

/* --- Решения --- */
.solutions-section { padding: 86px 0 80px; background-size: cover; background-position: center; color: var(--color-black); }
.solutions-section .section-title { margin-left: -15px; }
.solutions-section__grid { display: grid; grid-template-columns: 668px minmax(0, 407px); column-gap: 65px; margin-top: 51px; }
.solution { display: flex; flex-direction: column; }
.solution__title { margin: 0 0 20px; color: var(--color-dark); font-size: 24px; line-height: 36px; font-weight: 600; }
.solution__title--large { margin-bottom: 25px; font-size: 40px; line-height: 52px; font-weight: 700; }
.solution__registry, .solution__link { color: var(--color-black); }
.solution__more { margin: 48px 0 0 auto; }
.solutions-detail { padding: 41px 0 105px; }
.solutions-detail__images { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; gap: 30px; margin-top: 114px; }
.solutions-detail__images img { width: 100%; height: auto; }
.solutions-custom { padding: 94px 0 95px; background-image: url('/static/site/assets/solutions-bg.webp'); background-size: cover; background-position: 70% 67%; }
.solutions-custom .section-title { margin-bottom: 40px; }
.solutions-custom__intro { margin-bottom: 34.4px; }
.solutions-custom__paragraph { margin: 0; color: var(--color-black); font-size: 16px; line-height: 30.4px; font-weight: 500; }
.solutions-custom__paragraph + .solutions-custom__paragraph { margin-top: 31.2px; }
.solutions-group { display: flex; align-items: flex-start; gap: 20px; }
.solutions-group + .solutions-group { margin-top: 44px; }
.solutions-group__icon { flex: none; line-height: 0; }
.solutions-group__icon .icon-check { width: 24px; height: 24px; }
.solutions-group__body { flex: 1; min-width: 0; }
.solutions-bitrix { padding: 89px 0 127px; background-image: url('/static/site/assets/solutions-bg.webp'); background-size: cover; background-position: 70% 67%; }
.solutions-bitrix .solution__title { color: var(--color-black); }
.solutions-assistants { padding: 85px 0; background: var(--color-light); }

/* --- Технологии --- */
.technologies { padding: 90px 0; }
.technologies__inner { display: grid; grid-template-columns: minmax(0, 585px) minmax(0, 555px); align-items: start; }
.technologies--mirrored .technologies__logos { order: 2; justify-content: end; padding: 15px 25px 0 0; }
.technologies__logos { display: grid; grid-template-columns: repeat(3, max-content); column-gap: 30px; row-gap: 50px; align-items: center; justify-items: center; max-width: 555px; padding: 15px 0 0 25px; }
.technologies__logos img { height: auto; object-fit: contain; }
.technologies__text .section-title { margin-bottom: 20px; color: var(--color-dark); }
.technologies__list { list-style: disc; padding-left: 46px; }
.technologies__list li { color: var(--color-gray); font-size: 30px; line-height: 48px; font-weight: 400; }

/* --- ИИ и карусели --- */
.ai-section { padding: 70px 0 60px; }
.ai-section__inner { display: grid; grid-template-columns: minmax(0, 585px) 555px; align-items: center; }
.ai-section .section-title { margin-bottom: 40px; }
.ai-section__text p { max-width: 468px; margin: 0 0 20px; color: var(--color-muted); font-size: 16px; line-height: 25.6px; }
.ai-section__text strong { color: var(--color-black); font-weight: 700; }
.ai-section .button { margin-top: 21px; padding: 11px 26px; border-radius: 6px; }
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; }
.carousel__track { display: flex; transition: transform .45s ease; }
.carousel__slide { flex: 0 0 100%; }
.carousel__slide img { width: 100%; }
.carousel--ai .carousel__viewport { width: 555px; max-width: 100%; }
.carousel--ai .carousel__slide { flex: 0 0 278px; padding: 0 15px; }
.carousel--ai .carousel__slide img { width: 248px; height: 434px; object-fit: cover; }
.carousel__dots { display: flex; justify-content: center; gap: 10px; margin-top: 55px; }
.carousel__dot { width: 10px; height: 10px; padding: 0; border: 2px solid var(--color-dark); border-radius: 10px; background: none; font-size: 0; color: transparent; }
.carousel__dot.is-active { background: var(--color-dark); }
.carousel__arrow { position: absolute; width: 30px; height: 30px; padding: 0; border: 0; background: none; color: rgba(0, 0, 0, .7); cursor: pointer; }
.icon-chevron { display: block; width: 100%; height: 100%; }
.carousel__arrow--prev { transform: scaleX(-1); }
/* Слайд отзывов — две карточки в ряд; отступы повторяют колонки оригинала.
   Карусель не создаёт систему координат: стрелки и точки позиционируются
   относительно всей светлой полосы, как в оригинале. */
.carousel--testimonials { position: static; }
.carousel--testimonials .carousel__slide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.testimonial { display: flex; align-items: flex-start; margin: 0; padding: 10px 50px 10px 15px; background: none; }
.testimonial + .testimonial { padding: 10px 15px 10px 50px; }
.carousel--testimonials .testimonial__avatar { flex: none; width: 89px; height: auto; margin: 10px 40px 10px 15px; }
.testimonial__body { flex: 1; min-width: 0; padding-right: 15px; }
.testimonial__quote { margin: 10px 0 0; color: var(--color-black); font-size: 18px; line-height: 32.4px; font-weight: 600; font-style: normal; }
.testimonial__author { margin: 20px 0 10px; color: var(--color-black); font-size: 14px; line-height: 21px; font-weight: 600; }
.testimonial__company { margin-left: 6px; color: var(--color-muted); }

/* Отзывы на странице услуг: кавычки в правом верхнем углу карточки, под ними
   фото, текст отзыва, имя и компания. */
.carousel--reviews .carousel__slide { flex: 0 0 390px; padding: 0 66px 0 36px; }
.carousel--reviews .carousel__dots { margin-top: 82px; }
.review { display: flex; flex-direction: column; margin: 0; padding: 0; }
.review__mark { align-self: flex-end; line-height: 0; color: #E8F6F1; }
.icon-quote { display: block; width: 48px; height: 48px; }
.carousel--reviews .review__avatar { width: 58px; height: 58px; margin-top: 15px; object-fit: cover; }
.review__quote { margin: 18px 0 0; color: var(--color-muted); font-size: 16px; line-height: 25.6px; }
.review__author { display: flex; flex-direction: column; margin-top: 41px; }
.review__name { color: var(--color-black); font-size: 18px; line-height: 32.4px; font-weight: 700; }
.review__company { color: var(--color-muted); font-size: 12px; line-height: 22.8px; font-weight: 500; }
.page--services .reviews-section { padding: 25px 0 99px; }
.page--services .reviews-section .section-title { margin: 0 0 18px -15px; }
.reviews-section { padding: 60px 0 90px; }
.reviews-section .section-title { margin-bottom: 45px; }

/* --- Проекты --- */
/* Шахматная сетка 3×2: фотографии и белые карточки чередуются без отступов. */
.projects-section { padding: 115px 0 99px; background: var(--color-light); }
.projects-section .section-title { margin-bottom: 50px; margin-left: -15px; }
/* Сетка проектов шире контейнера на его горизонтальные отступы: в оригинале
   фотографии доходят до края колонки 1170px. */
.projects { display: grid; grid-template-columns: 398px minmax(0, 386px) minmax(0, 386px); margin: 0 -15px; }
.projects__cell { min-height: 404px; }
.projects__cell--image { position: relative; background-size: cover; background-position: center; }
.projects__cell--shaded::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .13); }
.projects__cell--card { display: flex; flex-direction: column; justify-content: center; padding: 15px 35px; background: var(--color-white); }
.project-card__title { margin: 0 0 20px; color: var(--color-black); font-size: 24px; line-height: 36px; font-weight: 700; }
.project-card__text { margin: 0; color: var(--color-muted); font-size: 16px; line-height: 25.6px; }

/* --- О компании --- */
.about-section { padding: 97px 0 95px; }
.about-section__title { margin-bottom: 72px; padding-left: 35px; }
.about-section__inner { display: grid; grid-template-columns: 450px 570px; column-gap: 100px; margin: 0 -15px 0 35px; align-items: start; }
.about-section__amount { display: flex; align-items: baseline; margin: 0 0 27px; color: var(--color-black); font-family: var(--font-display); font-size: 82px; line-height: 98.4px; font-weight: 900; }
.about-section__currency { display: inline-block; width: 64px; text-align: center; }
.about-section__note { margin: 0; color: var(--color-muted); font-size: 16px; line-height: 25.6px; }
.about-section__subtitle { margin: 0 0 19px; color: var(--color-muted); font-size: 22px; line-height: 33px; font-weight: 600; }
.about-section__text p { max-width: 510px; margin: 0; color: var(--color-muted); font-size: 16px; line-height: 25.6px; }

/* --- Страница «О компании» --- */
/* Верхние блоки страницы сдвинуты внутрь контейнера на 10px слева и 25px
   справа — так колонки текста и фотографии совпадают с оригиналом. */
.container--about { padding: 0 25px 0 10px; }
.about-hero { padding: 52px 0 0; }
.about-hero__title { display: flex; flex-direction: column; margin: 0; color: var(--color-black); font-size: 45px; line-height: 54px; font-weight: 700; }
.about-intro { padding: 45px 0 0; }
.about-intro__inner { display: grid; grid-template-columns: 577px 534px; justify-content: space-between; align-items: start; }
.about-intro__text { padding-top: 4px; }
.about-intro__paragraph { margin: 0 0 20px; color: var(--color-muted); font-family: var(--font-article); font-size: 18px; line-height: 25.2px; font-weight: 400; }
.about-intro__paragraph strong { color: inherit; }
.about-intro__advantages-title { margin: 0; color: var(--color-muted); font-family: var(--font-article); font-size: 18px; line-height: 27px; }
.about-intro__advantages-title strong { color: inherit; }
.about-intro__advantages { margin: 0; padding-left: 34px; list-style: disc; }
.about-intro__advantages li { color: var(--color-muted); font-family: var(--font-article); font-size: 18px; line-height: 27px; }
.about-intro__image { width: 534px; height: 534px; object-fit: cover; }
.about-clients { padding: 35px 0 30px; }
.about-clients__paragraph { margin: 0 0 20px; color: var(--color-muted); font-size: 18px; line-height: 25.2px; }
.about-clients__paragraph:last-child { margin-bottom: 0; }

/* --- Генеральный директор --- */
.director { padding: 91px 0 105px; background-size: cover; background-position: center; }
/* На странице «О компании» блок уже: фотография 335x487, текст — в колонке 705px. */
.page--about .director { padding: 91px 0 82px; }
.page--about .director__inner { grid-template-columns: 335px 705px; column-gap: 115px; align-items: start; padding: 0 0 0 15px; }
.page--about .director__title { margin-bottom: 10px; }
.page--about .director__name { margin: 0; }
.page--about .director__photo { width: 335px; height: 487px; margin-top: 32px; }
.page--about .director__text { padding-top: 128px; }
.page--about .director__intro { margin-bottom: 46px; }
.director__inner { display: grid; grid-template-columns: 470px minmax(0, 570px); column-gap: 115px; align-items: center; }
.director__title { margin-bottom: 12px; white-space: nowrap; }
.director__name { margin: 0 0 27px; color: var(--color-black); font-size: 24px; line-height: 36px; font-weight: 600; }
.director__photo { width: 470px; height: 683px; object-fit: cover; }
.director__intro { margin: 0 0 43px; color: var(--color-black); font-size: 17px; line-height: 25.5px; font-weight: 600; }
.director__skills-title { margin: 0; color: var(--color-dark); font-size: 24px; line-height: 36px; font-weight: 600; }
.director__skills { list-style: disc; padding-left: 32px; }
.director__skills li { color: var(--color-dark); font-size: 16px; line-height: 25.6px; }
.director__principle { margin: 26px 0 0; color: var(--color-black); font-size: 16px; line-height: 25.6px; }

/* --- Призыв к действию на странице «О компании» --- */
/* Крупный заголовок по центру, под ним кнопка, а телефон и почта стоят
   в двух колонках: левая прижата к середине справа, правая — слева. */
.about-cta { padding: 69px 0 104px; text-align: center; }
.about-cta__title { margin: 0; color: var(--color-black); font-size: 45px; line-height: 54px; font-weight: 700; }
.about-cta__button { margin-top: 36px; padding: 14px 42px; font-size: 20px; line-height: 30px; font-weight: 700; }
.about-cta__contacts { display: grid; grid-template-columns: 1fr 1fr; margin-top: 34px; }
.about-cta__contact { margin: 0; font-size: 18px; line-height: 34.2px; }
.about-cta__contact:first-child { padding-right: 21px; text-align: right; }
.about-cta__contact:last-child { padding-left: 30px; text-align: left; }
.about-cta__contact strong { color: var(--color-dark); }
.about-cta__contact a { color: var(--color-accent); font-weight: 500; }

/* --- Призыв к действию --- */
.cta-band { padding: 85px 0; background: var(--color-light); color: var(--color-black); }
.cta-band__inner { display: grid; grid-template-columns: 759px minmax(0, 411px); align-items: center; }
.cta-band__inner > * { padding: 0 15px; }
.cta-band__action { display: flex; justify-content: center; }
.cta-band__button { padding: 14px 42px; }
.cta-band__button .icon { width: 16px; height: 16px; }
.cta-band__text { margin: 0; font-size: 30px; line-height: 48px; font-weight: 400; }
.cta-band__subtext { margin: 4px 0 0; color: rgba(255, 255, 255, .85); }
.cta-band__contacts { display: grid; gap: 6px; font-weight: 600; }

/* --- Новости на главной --- */
.news-section { padding: 71px 0 115px; }
.news-section .section-title { margin-bottom: 91px; margin-left: -15px; }
.news { display: grid; grid-template-columns: repeat(3, 340px); column-gap: 50px; }
.news-card { display: flex; flex-direction: column; padding: 0; background: none; }
.news-card__title { margin: 0 0 19px; color: var(--color-black); font-size: 22px; line-height: 33px; font-weight: 600; }
.news-card__text { flex: 1 1 auto; margin: 0; color: var(--color-muted); font-size: 16px; line-height: 25.6px; }
.news-card .button { align-self: flex-start; margin-top: 46px; }

/* --- Истории успеха --- */
/* Заголовок и сетка кейсов в одной секции: карточка — картинка и подпись без
   подложки, отступы колонок оригинала (15px по бокам, 20px между рядами). */
.cases-section { padding: 50px 0; }
.cases-section__title { margin: 10px 0 30px; color: var(--color-black); font-size: 84px; line-height: 100.8px; font-weight: 700; }
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 20px; padding: 0; list-style: none; }
.case-card { padding: 15px 15px 35px; }
.case-card__image { display: block; width: 100%; height: auto; }
.case-card__title { margin: 10px 7px 0; color: var(--color-black); font-size: 22px; line-height: 30.8px; font-weight: 600; }
.case-card__title a { color: inherit; }
.case-card__text { margin: 10px 7px 0; color: var(--color-muted); font-size: 16px; line-height: 25.6px; }
.cases__empty { grid-column: 1 / -1; color: var(--color-muted); text-align: center; }

/* Отзывы: заголовок и слайдер лежат в одной светлой полосе. */
.testimonials { position: relative; padding: 85px 0 150px; background: var(--color-light); }
.testimonials__title { margin: 0 0 28px; color: var(--color-black); font-size: 40px; line-height: 52px; font-weight: 700; text-align: center; }
/* Стрелки выровнены по центру полосы слайдера, точки — над нижним краем. */
.testimonials .carousel__arrow { top: 264px; }
.testimonials .carousel__arrow--prev { left: 30px; }
.testimonials .carousel__arrow--next { right: 30px; }
.testimonials .carousel__dots { position: absolute; right: 0; bottom: 50px; left: 0; margin: 0; }

/* --- Блог --- */
.blog-hero { padding: 50px 0 34px; }
/* Колонка, а не поток блоков: так внешние отступы заголовка и подзаголовка
   не схлопываются друг с другом, как в оригинале. */
.blog-hero__inner { display: flex; flex-direction: column; }
.blog-hero__title { max-width: 889px; margin: 10px auto; color: var(--color-black); font-size: 46px; line-height: 55.2px; font-weight: 700; text-align: center; }
.blog-hero__subtitle { max-width: 702px; margin: 10px auto; color: var(--color-muted); font-size: 26px; line-height: 41.6px; font-weight: 400; text-align: center; }
.blog-filters { padding: 7px 0 8px; background: var(--color-white); }
.blog-filters__rule { margin: 0; border: 0; border-top: 1px solid var(--color-border); }
.blog-filters__menu { display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 21px 0; list-style: none; }
.blog-filters__item { margin: 0 15px; }
.blog-filters__link { display: block; padding: 0 4px; color: var(--color-accent); font-size: 16px; line-height: 24px; font-weight: 500; }
.blog-filters__link.is-active { color: var(--color-black); font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }
.blog-list { padding: 0 0 30px; }
.posts { display: flex; flex-wrap: wrap; margin: 0 -15px; padding: 10px 0; list-style: none; }
.post-card { width: 50%; padding: 15px 15px 30px; }
.post-card__image { display: block; }
.post-card__image img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-card__meta { margin: 25px 0 0; font-size: 14px; line-height: 21px; font-weight: 600; }
.post-card__category { color: var(--color-blog); }
.post-card__dot { margin: 0 4px 0 8px; color: var(--color-border); }
.post-card__date { color: var(--color-muted); }
.post-card__title { margin: 5px 0 0; color: var(--color-black); font-size: 22px; line-height: 33px; font-weight: 600; }
.posts__empty { width: 100%; padding: 15px; color: var(--color-muted); text-align: center; }

/* --- Страница записи --- */
/* Шапка: текст слева, обложка справа; заголовок тёмный на белом, а не поверх картинки. */
.page--post .container--wide { padding-top: 48px; padding-bottom: 40px; }
.post-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 56px; }
.post-hero--no-image { grid-template-columns: 1fr; }
.post-hero__meta { margin: 0 0 14px; font-size: 15px; line-height: 24px; font-weight: 600; color: var(--color-muted); }
.post-hero__category { color: var(--color-blog); }
.post-hero__dot { padding: 0 8px; color: var(--color-border); }
.post-hero__title { margin: 0; color: var(--color-black); font-size: 44px; line-height: 1.18; font-weight: 700; }
.post-hero__excerpt { margin: 20px 0 0; color: var(--color-gray); font-size: 20px; line-height: 1.6; font-weight: 400; }
.post-hero__media { margin: 0; }
.post-hero__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 18px 40px rgba(30, 60, 140, .12); }

/* Текст статьи занимает всю ширину шапки: от края заголовка до края обложки. */
.post-body, .post-author { max-width: none; }
.post-body { margin-top: 64px; color: var(--color-dark); font-size: 17px; line-height: 1.7; font-weight: 500; }
.post-body p { margin: 0 0 18px; font-size: inherit; line-height: inherit; font-weight: inherit; }
.post-body h2 { margin: 56px 0 20px; color: var(--color-black); font-size: 32px; line-height: 1.25; font-weight: 700; }
.post-body h3 { margin: 32px 0 12px; color: var(--color-black); font-size: 22px; line-height: 1.35; font-weight: 700; }
.post-body ul, .post-body ol { margin: 0 0 24px; padding-inline-start: 24px; list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { margin: 0 0 10px; }
.post-body li::marker { color: var(--color-accent); }
.post-body a { color: var(--color-accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.post-body img { display: block; width: 100%; height: auto; }
/* Первый список после вступления вида «<strong>цифра</strong><br>подпись» — «ключевые цифры»: карточки в ряд. */
.post-body > p:first-child + ul:has(> li > br) { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 28px 0 8px; padding: 0; list-style: none; }
.post-body > p:first-child + ul:has(> li > br) li { margin: 0; padding: 18px 18px 16px; border-radius: var(--radius); background: var(--color-light); color: var(--color-gray); font-size: 14px; line-height: 1.45; }
.post-body > p:first-child + ul:has(> li > br) strong { display: block; margin-bottom: 4px; color: var(--color-accent-dark); font-size: 22px; line-height: 1.25; }
.post-body > p:first-child + ul:has(> li > br) br { display: none; }
/* Цитата-вывод: акцентная полоса, светлый фон, подпись «Вывод» берётся из <strong> в начале. */
.post-body blockquote { margin: 32px 0; padding: 22px 28px; border-inline-start: 4px solid var(--color-accent); border-radius: 0 var(--radius) var(--radius) 0; background: #eefaf8; color: var(--color-black); font-size: 19px; line-height: 1.6; font-weight: 600; }
[dir="rtl"] .post-body blockquote { border-radius: var(--radius) 0 0 var(--radius); }
.post-body blockquote p { margin: 0; }
.post-body blockquote p + p { margin-top: 10px; }
.post-body blockquote strong:first-child { display: block; margin-bottom: 6px; color: var(--color-accent-dark); font-size: 13px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; }
/* Иллюстрации внутри текста: небольшие, по центру, с подписью. */
.post-body figure { max-width: 760px; margin: 40px auto; }
.post-body figure img { border-radius: var(--radius); }
.post-body figcaption { margin-top: 10px; color: var(--color-muted); font-size: 14px; line-height: 1.5; text-align: center; }
/* Частые вопросы: раскрывающиеся блоки <details>. */
.post-body details { margin: 0 0 12px; border: 1px solid #e4e8f0; border-radius: var(--radius); background: var(--color-white); }
.post-body summary { padding: 16px 20px; color: var(--color-black); font-weight: 700; cursor: pointer; }
.post-body details[open] summary { border-bottom: 1px solid #e4e8f0; }
.post-body details > :not(summary) { margin: 14px 20px 16px; }
/* Блок «картинка + текст» из редактора: половина ширины под изображение, отступы 8 %. */
.content-media { display: grid; grid-template-columns: 50% 1fr; align-items: center; }
.content-media__media { margin: 0; }
.content-media__content { padding: 8%; }
.content-media__content p { margin-bottom: 14.4px; }
.post-author { display: flex; align-items: center; margin-top: 48px; margin-bottom: 0; padding-top: 32px; border-top: 1px solid #e4e8f0; }
.post-author__avatar { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.post-author__info { padding-inline-start: 20px; }
.post-author__label { margin: 0; color: var(--color-muted); font-size: 15px; line-height: 24px; font-weight: 500; }
.post-author__name { margin: 0; color: var(--color-black); font-size: 22px; line-height: 32px; font-weight: 600; }
.post-author__name a { color: inherit; text-decoration: underline; text-decoration-color: #05cab6; text-underline-offset: 4px; }
.post-author__name a:hover { color: #5f6c9f; }
/* Под статьёй: другие записи и рубрики блога. */
.post-more { margin-top: 88px; }
.post-more__title { margin: 0 0 8px; color: var(--color-black); font-size: 30px; line-height: 1.3; font-weight: 700; }
.posts--related .post-card { width: 33.333%; }
.posts--related .post-card__title { font-size: 19px; line-height: 1.45; }
.post-sidebar { margin-top: 56px; }
.post-sidebar .post-more__title { margin-bottom: 20px; }
.post-sidebar__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.post-sidebar__item { padding: 20px 22px; border-radius: var(--radius); background: var(--color-light); }
.post-sidebar__link { display: flex; align-items: center; color: var(--color-black); font-size: 16px; line-height: 24px; font-weight: 700; }
.post-sidebar__name { flex: 1; }
.icon-external { width: 18px; height: 18px; flex: none; margin-left: 10px; }
.post-sidebar__text { margin: 8px 0 0; color: var(--color-muted); font-size: 15px; line-height: 1.5; font-weight: 500; }

/* --- Контакты и форма --- */
/* В оригинале страница занимает ровно одну «карту»: реквизиты стоят в левой
   половине, а виджет Яндекс.Карт растянут на правую половину во всю высоту. */
.contacts { position: relative; min-height: 906px; padding: 308.5px 0 40px; }
.contacts__body { max-width: 585px; }
.contacts__title { margin: 0; color: var(--color-black); font-size: 40px; line-height: 52px; font-weight: 700; }
.contacts__columns { display: grid; grid-template-columns: 263px 263px; margin-top: 71.5px; }
.contacts__column { padding-right: 15px; }
/* Колонка с почтой и телефоном в оригинале смещена на 7px ниже адреса. */
.contacts__column--links { padding: 7px 15px 0; }
.contacts__label { margin: 0; color: var(--color-black); font-size: 18px; line-height: 32.4px; font-weight: 600; }
.contacts__label--address { color: var(--color-dark); }
.contacts__label--phone { margin-top: 19.6px; }
.contacts__address, .contacts__street, .contacts__line { margin: 0; color: var(--color-muted); font-size: 16px; line-height: 30.4px; font-weight: 400; }
.contacts__address { margin-top: 11px; }
.contacts__address strong { color: #242526; font-weight: 700; }
.contacts__line { font-weight: 500; }
.contacts__line a { color: var(--color-accent); }
.contacts__map { position: absolute; top: 0; right: 0; width: 50%; height: 100%; }
.contacts__map iframe { display: block; width: 100%; height: 100%; border: 0; }
.contact-form { margin-top: 48px; padding: 40px; border-radius: var(--radius); background: var(--color-light); box-shadow: var(--shadow); }
.contact-form__title { font-size: 24px; margin-bottom: 8px; }
.contact-form__subtitle { color: var(--color-muted); font-size: 15px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field__label { color: var(--color-dark); font-size: 14px; font-weight: 600; }
.field__required { margin-left: 4px; color: var(--color-blog); }
.field__input { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-white); color: var(--color-dark); font: inherit; }
.field__input:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; border-color: var(--color-accent); }
.field__input--textarea { min-height: 130px; resize: vertical; }
.field__error { color: var(--color-blog); font-size: 13px; }
.field__error:empty { display: none; }
.field--checkbox { grid-template-columns: auto 1fr; align-items: start; gap: 10px; font-size: 14px; }
.field--checkbox a { color: var(--color-accent); text-decoration: underline; }
.field--honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__status { margin: 16px 0 0; font-size: 15px; }
.contact-form__status.is-success { color: var(--color-accent-dark); }
.contact-form__status.is-error { color: var(--color-blog); }
.field__input[aria-invalid="true"] { border-color: var(--color-blog); }

/* --- Правовые разделы --- */
/* «Официальная информация» на странице «О компании» свёрстана сплошным
   потоком строк 16px/25.6px: пустая строка между группами задаётся
   модификатором --gap, а полужирные строки — модификатором --strong. */
.page--about .legal { padding: 49px 0 30px; }
.legal__heading { margin: 0; color: var(--color-dark); font-size: 24px; line-height: 38.4px; font-weight: 700; }
.legal__line { margin: 0; color: var(--color-muted); font-size: 16px; line-height: 25.6px; font-weight: 500; }
.legal__line--gap { margin-top: 25.6px; }
.legal__line--gap-double { margin-top: 51.2px; }
.legal__line--gap-short { margin-top: 17.4px; }
.legal__line--strong { font-weight: 700; }
.page--about .legal__intro { margin: 25px 0 0; font-size: 16px; line-height: 25.6px; font-weight: 500; }

.legal { padding: 64px 0 88px; }
.legal__intro { color: var(--color-muted); }

/* --- Политика конфиденциальности --- */
/* Страница целиком набрана одним потоком строк 16px/25.6px, заголовок вынесен
   на 10px внутрь колонки — так же, как в оригинале. */
.legal-page { padding: 51px 0 81px; }
.legal-page__title { margin: 0 10px 41px; color: var(--color-gray); font-size: 40px; line-height: 52px; font-weight: 700; }

/* --- Адаптив --- */
@media (max-width: 1220px) {
	.site-header__inner { gap: 32px; }
	.solutions-section__grid, .technologies__inner, .ai-section__inner, .director__inner { grid-template-columns: 1fr; row-gap: 50px; }
	.carousel--ai .carousel__viewport { width: 100%; }
	.projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.about-section__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.director__photo, .services-section__image { width: 100%; height: auto; }
	.services-section__inner { grid-template-columns: minmax(0, 1fr) 300px; column-gap: 50px; }
	.service-cards, .service-cards--detailed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.news { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.about-section__inner { margin-right: 0; }
	.projects { margin: 0; }
	.technologies__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
	.site-nav, .site-header__contacts { display: none; }
	.site-burger { display: flex; margin-left: auto; }
	.hero__title-line, .hero--inner .hero__title { font-size: 52px; line-height: 1.15; }
	.hero__title-sub { font-size: 40px; line-height: 1.2; }
	.hero__lead { font-size: 22px; line-height: 1.5; }
	.services-section__inner, .about-intro__inner, .about-section__inner { grid-template-columns: 1fr; row-gap: 40px; }
	.about-section__title { padding-left: 0; }
	.about-section__inner { margin-left: 0; }
	.solutions-section .section-title, .projects-section .section-title, .news-section .section-title { margin-left: 0; }
	.post-hero { grid-template-columns: 1fr; gap: 32px; }
	.posts--related .post-card { width: 50%; }
	.news, .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.counters__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
	.site-footer__inner, .site-footer__columns { grid-template-columns: 1fr 1fr; }
	.site-footer__inner { row-gap: 40px; }
	.technologies__list li { font-size: 22px; line-height: 36px; margin-bottom: 12px; }
	.director__inner { row-gap: 40px; }
}

@media (max-width: 680px) {
	h1, .hero__title-line, .hero--inner .hero__title { font-size: 32px; line-height: 1.2; }
	.hero__title-sub { font-size: 26px; }
	.hero__lead { font-size: 18px; line-height: 1.5; }
	.section-title, h2 { font-size: 26px; line-height: 1.3; }
	.page-hero__title, .blog-hero__title, .post-hero__title { font-size: 30px; line-height: 1.2; }
	.blog-hero__subtitle { font-size: 18px; line-height: 1.5; }
	.post-card { width: 100%; }
	.page--post .container--wide { padding-top: 28px; }
	.post-hero__excerpt { font-size: 18px; line-height: 1.55; }
	.post-body { margin-top: 40px; font-size: 16px; }
	.post-body h2 { margin-top: 44px; font-size: 26px; line-height: 1.3; }
	.post-body blockquote { padding: 18px 20px; font-size: 17px; }
	.posts--related .post-card { width: 100%; }
	.content-media { grid-template-columns: 1fr; }
	.hero__inner { padding: 40px 0 48px; }
	.service-cards, .projects, .news, .cases, .solutions-detail__images, .counters__grid, .site-footer__inner, .site-footer__columns, .technologies__logos { grid-template-columns: 1fr; }
	.projects__cell { min-height: 260px; }
	.about-section__amount { font-size: 52px; line-height: 1.2; }
	.counters__label { font-size: 18px; }
	.clients__list { justify-content: center; gap: 24px; }
	.contact-form { padding: 24px; }
	.carousel--ai .carousel__slide, .carousel--testimonials .carousel__slide { flex-basis: 100%; }
	.carousel--ai .carousel__slide img { width: 100%; height: auto; }
	.solution__more { margin-left: 0; }
}

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

/* Вводные тексты на тонких страницах */
.contacts__intro { max-width: 760px; margin: 0 0 32px; font-size: 18px; line-height: 1.65; }
.contacts__more { max-width: 760px; margin-top: 36px; }
.contacts__more p { margin: 0 0 18px; font-size: 17px; line-height: 1.65; }
.contacts__more a, .cases-section__intro a, .blog-about a { color: #5f6c9f; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cases-section__intro { max-width: 760px; margin: 0 0 32px; font-size: 18px; line-height: 1.65; }
.blog-about { max-width: 760px; margin: 48px 0 0; font-size: 17px; line-height: 1.65; }
.team-about { max-width: 820px; margin-top: 56px; }
.team-about a { color: #5f6c9f; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Переключатель языка */
.site-lang { display: flex; gap: 4px; margin: 0 12px 0 0; padding: 0; list-style: none; }
.site-lang__link { display: inline-block; padding: 4px 8px; border-radius: 6px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: #5f6c9f; }
.site-lang__link:hover { color: #05cab6; }
.site-lang__link.is-current { background: #5f6c9f; color: #fff; }

/* Шапка: логотип не сжимается, отступы меньше; на средних экранах меню уходит в бургер, чтобы всё помещалось */
.site-header__logo { flex: 0 0 auto; }
.site-header__inner { gap: 32px; }
.site-header__contacts { gap: 16px; }
.site-mobile-nav .site-lang { margin: 8px 0 0; }
@media (min-width: 1025px) and (max-width: 1120px) {
	.site-nav, .site-header__contacts { display: none; }
	.site-burger { display: flex; margin-left: auto; }
}
