/* ==========================================================================
   Тема РПО
   Цвета собраны в переменные ниже — это единственное место, где их надо
   править. Тёмно-синий и градиент иконок сняты пипеткой прямо из макета,
   красный и синий кнопок выставлены на глаз и правятся здесь одной строкой.
   ========================================================================== */

:root {
	--rpo-navy: #102c47;
	--rpo-navy-lite: #2d60a1;
	--rpo-blue: #1449b8;
	--rpo-blue-dark: #0f3a95;
	--rpo-red: #e63329;
	--rpo-red-dark: #c72a21;

	--rpo-ink: #17171b;
	--rpo-muted: #5c6070;
	--rpo-line: #e2e2e8;
	--rpo-surface: #f1f1f4;
	--rpo-bg: #fff;

	--rpo-container: 1200px;
	--rpo-gap: 24px;
	--rpo-radius: 10px;
	--rpo-radius-sm: 6px;

	--rpo-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		"Helvetica Neue", Arial, sans-serif;
}

/* --- Основа ------------------------------------------------------------- */

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

body {
	margin: 0;
	background: var(--rpo-bg);
	color: var(--rpo-ink);
	font-family: var(--rpo-font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

.rpo-container {
	width: 100%;
	max-width: var(--rpo-container);
	margin: 0 auto;
	padding: 0 24px;
}

.rpo-section {
	padding: 48px 0;
}

.rpo-section--cards {
	padding-top: 40px;
}

.rpo-section__action {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}

.screen-reader-text,
.rpo-hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}

.rpo-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--rpo-navy);
	color: #fff;
	padding: 12px 20px;
}

.rpo-skip:focus {
	left: 0;
}

/* --- Типографика --------------------------------------------------------- */

.rpo-h1 {
	font-size: clamp(28px, 3.2vw, 40px);
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 24px;
}

.rpo-h2 {
	font-size: clamp(22px, 2.2vw, 28px);
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin: 0 0 24px;
}

.rpo-lead {
	background: var(--rpo-surface);
	border-left: 4px solid var(--rpo-blue);
	border-radius: 0 var(--rpo-radius-sm) var(--rpo-radius-sm) 0;
	padding: 16px 20px;
	margin: 0 0 20px;
	font-size: 17px;
}

.rpo-prose {
	max-width: 760px;
	color: var(--rpo-muted);
	font-size: 15px;
	line-height: 1.65;
}

.rpo-prose p {
	margin: 0 0 14px;
}

.rpo-empty {
	color: var(--rpo-muted);
	background: #fffbe6;
	border: 1px dashed #e0c862;
	border-radius: var(--rpo-radius-sm);
	padding: 14px 16px;
	font-size: 14px;
}

.rpo-empty--inline {
	background: none;
	border: 0;
	padding: 0;
}

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

.rpo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 28px;
	border: 0;
	border-radius: var(--rpo-radius-sm);
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	color: #fff;
	cursor: pointer;
	text-align: center;
	transition: background-color 0.15s ease;
}

.rpo-btn--red {
	background: var(--rpo-red);
}

.rpo-btn--red:hover,
.rpo-btn--red:focus-visible {
	background: var(--rpo-red-dark);
}

.rpo-btn--blue {
	background: var(--rpo-blue);
}

.rpo-btn--blue:hover,
.rpo-btn--blue:focus-visible {
	background: var(--rpo-blue-dark);
}

.rpo-btn--sm {
	padding: 10px 20px;
	font-size: 13px;
}

.rpo-btn--wide {
	width: 100%;
}

/* --- Шапка --------------------------------------------------------------- */

.rpo-header {
	border-bottom: 1px solid var(--rpo-line);
	background: #fff;
}

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

.rpo-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.rpo-brand__logo img {
	width: 44px;
	height: 44px;
	object-fit: contain;
}

.rpo-brand__text {
	max-width: 150px;
	font-size: 11px;
	line-height: 1.3;
	font-weight: 500;
	color: var(--rpo-ink);
}

.rpo-header__contacts {
	display: flex;
	align-items: center;
	gap: 20px;
	font-size: 13px;
}

.rpo-header__email,
.rpo-header__phone {
	color: var(--rpo-ink);
	white-space: nowrap;
}

.rpo-header__email:hover,
.rpo-header__phone:hover {
	color: var(--rpo-blue);
}

.rpo-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--rpo-line);
	border-radius: var(--rpo-radius-sm);
	background: #fff;
	cursor: pointer;
}

.rpo-burger span {
	display: block;
	width: 18px;
	height: 2px;
	margin: 0 auto;
	background: var(--rpo-ink);
}

/* --- Меню ---------------------------------------------------------------- */

.rpo-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--rpo-gap);
	padding-top: 10px;
	padding-bottom: 10px;
}

.rpo-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 12.5px;
}

.rpo-menu a {
	color: var(--rpo-ink);
	white-space: nowrap;
}

.rpo-menu a:hover,
.rpo-menu .current-menu-item > a {
	color: var(--rpo-blue);
}

.rpo-search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--rpo-blue);
	cursor: pointer;
}

.rpo-search-toggle:hover {
	background: var(--rpo-surface);
}

.rpo-search {
	border-top: 1px solid var(--rpo-line);
	padding: 14px 0;
	background: var(--rpo-surface);
}

.rpo-search form {
	display: flex;
	gap: 8px;
}

.rpo-search input[type="search"] {
	flex: 1;
	padding: 10px 14px;
	border: 1px solid var(--rpo-line);
	border-radius: var(--rpo-radius-sm);
	font: inherit;
	font-size: 14px;
}

.rpo-search input[type="submit"] {
	padding: 10px 20px;
	border: 0;
	border-radius: var(--rpo-radius-sm);
	background: var(--rpo-blue);
	color: #fff;
	font: inherit;
	font-size: 14px;
	cursor: pointer;
}

/* --- Карточки ------------------------------------------------------------ */

.rpo-cards {
	display: grid;
	grid-template-columns: repeat(var(--rpo-cards-count, 2), 1fr);
	gap: var(--rpo-gap);
}

.rpo-card {
	display: flex;
	flex-direction: column;
	background: var(--rpo-surface);
	border-radius: var(--rpo-radius);
	overflow: hidden;
}

a.rpo-card:hover {
	background: #e8e8ee;
}

.rpo-card__media img {
	width: 100%;
	aspect-ratio: 2.2 / 1;
	object-fit: cover;
}

.rpo-card__body {
	padding: 20px 24px 24px;
}

.rpo-card__title {
	margin: 0 0 10px;
	font-size: 17px;
	line-height: 1.35;
	font-weight: 700;
}

.rpo-card__text {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--rpo-muted);
}

/* --- Слайдер ------------------------------------------------------------- */

.rpo-slider {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
}

.rpo-slider__media img {
	width: 100%;
	aspect-ratio: 2.2 / 1;
	object-fit: cover;
	border-radius: var(--rpo-radius);
}

.rpo-slider__body {
	padding-top: 4px;
}

.rpo-slide-media,
.rpo-slide {
	display: none;
}

.rpo-slide-media.is-active,
.rpo-slide.is-active {
	display: block;
}

.rpo-slide__title {
	margin: 0 0 20px;
	font-size: clamp(20px, 2vw, 26px);
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.rpo-slide__title--second {
	margin-top: 24px;
}

.rpo-slider__action {
	margin-top: 24px;
}

.rpo-dots {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 16px;
}

.rpo-dot {
	width: 7px;
	height: 7px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #c9c9d2;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.rpo-dot.is-active {
	background: var(--rpo-blue);
}

/* --- Отрасли ------------------------------------------------------------- */

.rpo-industries {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rpo-industry__inner {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: flex-start;
}

.rpo-industry__icon img {
	width: 44px;
	height: 44px;
	border-radius: var(--rpo-radius-sm);
	object-fit: cover;
}

.rpo-industry__title {
	font-size: 12.5px;
	line-height: 1.35;
	color: var(--rpo-ink);
}

a.rpo-industry__inner:hover .rpo-industry__title {
	color: var(--rpo-blue);
}

/* --- Работы -------------------------------------------------------------- */

.rpo-works {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--rpo-gap);
}

.rpo-works--archive {
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.rpo-work {
	background: var(--rpo-surface);
	border-radius: var(--rpo-radius);
	overflow: hidden;
}

.rpo-work__link {
	display: block;
	padding: 20px;
	height: 100%;
}

.rpo-work:hover {
	background: #e8e8ee;
}

.rpo-work__logo {
	margin-bottom: 14px;
}

.rpo-work__logo img {
	max-height: 34px;
	width: auto;
	object-fit: contain;
}

.rpo-work__customer {
	margin: 0 0 2px;
	font-size: 11.5px;
	color: var(--rpo-muted);
}

.rpo-work__date {
	margin: 0 0 12px;
	font-size: 11.5px;
	color: var(--rpo-muted);
}

.rpo-work__title {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.45;
	font-weight: 400;
	color: var(--rpo-ink);
}

.rpo-work__media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--rpo-radius-sm);
}

/* --- Галерея ------------------------------------------------------------- */

.rpo-gallery {
	display: grid;
	grid-template-columns: repeat(var(--rpo-gallery-cols, 5), 1fr);
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rpo-gallery__link img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--rpo-radius-sm);
	transition: opacity 0.15s ease;
}

.rpo-gallery__link:hover img {
	opacity: 0.85;
}

/* --- Форма --------------------------------------------------------------- */

.rpo-form-layout {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: 40px;
	align-items: start;
}

.rpo-form-aside__subtitle {
	margin: -12px 0 32px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
}

.rpo-checks {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.rpo-checks__item {
	position: relative;
	background: var(--rpo-surface);
	border-radius: var(--rpo-radius-sm);
	padding: 13px 16px 13px 40px;
	font-size: 13px;
	color: var(--rpo-ink);
}

.rpo-checks__item::before {
	content: "";
	position: absolute;
	left: 16px;
	top: 50%;
	width: 11px;
	height: 6px;
	margin-top: -4px;
	border-left: 2px solid var(--rpo-navy);
	border-bottom: 2px solid var(--rpo-navy);
	transform: rotate(-45deg);
}

.rpo-form-card {
	background: var(--rpo-surface);
	border-radius: var(--rpo-radius);
	padding: 28px;
}

.rpo-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.rpo-field {
	margin-bottom: 16px;
}

.rpo-label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	color: var(--rpo-muted);
}

.rpo-input {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid transparent;
	border-radius: var(--rpo-radius-sm);
	background: #fff;
	font: inherit;
	font-size: 14px;
	color: var(--rpo-ink);
}

.rpo-input:focus {
	outline: 0;
	border-color: var(--rpo-blue);
}

.rpo-input--area {
	resize: vertical;
	min-height: 96px;
}

.rpo-drop {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 22px 16px;
	border: 1px dashed #b9b9c4;
	border-radius: var(--rpo-radius-sm);
	background: #fff;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.rpo-drop:hover,
.rpo-drop.is-over {
	border-color: var(--rpo-blue);
	background: #f6f9ff;
}

.rpo-drop__input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.rpo-drop__icon {
	font-size: 16px;
	color: var(--rpo-muted);
}

.rpo-drop__text {
	font-size: 13px;
	color: var(--rpo-muted);
}

.rpo-drop__hint {
	font-size: 11px;
	color: #8a8d9c;
}

.rpo-drop__list {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 12px;
	color: var(--rpo-muted);
}

.rpo-drop__list li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	background: #fff;
	border-radius: var(--rpo-radius-sm);
	padding: 7px 12px;
}

.rpo-drop__list .is-bad {
	color: var(--rpo-red);
}

.rpo-field--consent {
	margin: 18px 0;
}

.rpo-consent {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 12px;
	color: var(--rpo-muted);
	cursor: pointer;
}

.rpo-consent input {
	margin: 1px 0 0;
	flex-shrink: 0;
}

.rpo-form__footnote {
	margin: 14px 0 0;
	font-size: 11px;
	line-height: 1.5;
	color: #8a8d9c;
}

.rpo-notice {
	margin: 0 0 18px;
	padding: 12px 16px;
	border-radius: var(--rpo-radius-sm);
	font-size: 13.5px;
}

.rpo-notice--ok {
	background: #e6f6ea;
	color: #1c6b32;
}

.rpo-notice--error {
	background: #fdeceb;
	color: #a3211a;
}

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

.rpo-footer {
	border-top: 1px solid var(--rpo-line);
	padding: 40px 0 24px;
	margin-top: 32px;
}

.rpo-footer__top {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
	gap: var(--rpo-gap);
	align-items: start;
}

.rpo-footer__logo img {
	width: 44px;
	height: 44px;
	object-fit: contain;
	margin-bottom: 12px;
}

.rpo-footer__city {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 500;
}

.rpo-footer__address,
.rpo-footer__contact {
	margin: 0 0 3px;
	font-size: 13px;
	color: var(--rpo-muted);
}

.rpo-footer__contact a:hover {
	color: var(--rpo-blue);
}

.rpo-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 12.5px;
}

.rpo-footer__menu a {
	color: var(--rpo-ink);
}

.rpo-footer__menu a:hover {
	color: var(--rpo-blue);
}

.rpo-footer__action {
	justify-self: end;
	align-self: end;
}

.rpo-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--rpo-gap);
	margin-top: 32px;
	padding-top: 18px;
	border-top: 1px solid var(--rpo-line);
	font-size: 11.5px;
	color: var(--rpo-muted);
}

.rpo-socials {
	display: flex;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rpo-socials__link img {
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.rpo-footer__copy {
	margin: 0;
}

.rpo-footer__policy:hover {
	color: var(--rpo-blue);
}

/* --- Прочее -------------------------------------------------------------- */

.rpo-back {
	margin: 0 0 20px;
	font-size: 13px;
	color: var(--rpo-muted);
}

.rpo-back a:hover {
	color: var(--rpo-blue);
}

.rpo-single-work__head {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	margin-bottom: 24px;
}

.rpo-single-work__logo img {
	max-height: 44px;
	width: auto;
	object-fit: contain;
}

.rpo-single-work__cover {
	margin-bottom: 24px;
}

.rpo-single-work__cover img {
	width: 100%;
	border-radius: var(--rpo-radius);
}

.rpo-single-work .rpo-gallery {
	margin-top: 28px;
}

.rpo-list__item {
	padding: 18px 0;
	border-bottom: 1px solid var(--rpo-line);
}

.rpo-list__title {
	margin: 0 0 6px;
	font-size: 18px;
}

.rpo-list__title a:hover {
	color: var(--rpo-blue);
}

.rpo-list__excerpt {
	margin: 0;
	font-size: 14px;
	color: var(--rpo-muted);
}

/* --- Хлебные крошки + заголовок внутренней страницы --------------------- */

.rpo-page-head {
	padding: 28px 0 8px;
}

.rpo-breadcrumbs {
	margin: 0 0 10px;
	font-size: 12.5px;
	color: var(--rpo-muted);
}

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

.rpo-breadcrumbs__sep {
	margin: 0 8px;
	color: #b9b9c4;
}

/* --- Текст с картинкой -------------------------------------------------- */

.rpo-text-media {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}

.rpo-text-media--flip .rpo-text-media__body {
	order: 2;
}

.rpo-text-media__media img {
	width: 100%;
	aspect-ratio: 2.2 / 1;
	object-fit: cover;
	border-radius: var(--rpo-radius);
}

.rpo-text-media__action {
	margin: 20px 0 0;
}

/* --- Список / шаги ------------------------------------------------------- */

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

.rpo-list-block__title {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 700;
}

.rpo-list-block__text {
	font-size: 14px;
	line-height: 1.6;
	color: var(--rpo-muted);
}

.rpo-list-block__text p {
	margin: 0 0 8px;
}

/* карточки */
.rpo-list-block--cards {
	display: grid;
	grid-template-columns: repeat(var(--rpo-list-cols, 3), 1fr);
	gap: var(--rpo-gap);
}

.rpo-list-block--cards .rpo-list-block__item {
	background: var(--rpo-surface);
	border-radius: var(--rpo-radius);
	padding: 24px;
}

/* пронумерованные шаги */
.rpo-list-block--numbered {
	display: grid;
	gap: 16px;
	counter-reset: rpo-step;
}

.rpo-list-block--numbered .rpo-list-block__item {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	background: var(--rpo-surface);
	border-radius: var(--rpo-radius);
	padding: 20px 24px;
}

.rpo-list-block__num {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--rpo-navy);
	color: #fff;
	font-size: 17px;
	font-weight: 700;
}

/* простой список */
.rpo-list-block--plain {
	display: grid;
	gap: 12px;
}

.rpo-list-block--plain .rpo-list-block__item {
	position: relative;
	padding-left: 26px;
}

.rpo-list-block--plain .rpo-list-block__item::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 7px;
	width: 10px;
	height: 6px;
	border-left: 2px solid var(--rpo-blue);
	border-bottom: 2px solid var(--rpo-blue);
	transform: rotate(-45deg);
}

/* --- Отзывы ------------------------------------------------------------- */

.rpo-reviews {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--rpo-gap);
}

.rpo-review {
	margin: 0;
	background: var(--rpo-surface);
	border-radius: var(--rpo-radius);
	padding: 28px;
}

.rpo-review__text {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.6;
	quotes: "\00ab" "\00bb";
}

.rpo-review__text::before {
	content: open-quote;
}

.rpo-review__text::after {
	content: close-quote;
}

.rpo-review__author {
	display: flex;
	align-items: center;
	gap: 14px;
}

.rpo-review__logo img {
	max-height: 40px;
	width: auto;
	object-fit: contain;
}

.rpo-review__meta {
	display: flex;
	flex-direction: column;
}

.rpo-review__name {
	font-size: 14px;
	font-weight: 700;
}

.rpo-review__company {
	font-size: 12.5px;
	color: var(--rpo-muted);
}

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

.rpo-contacts--with-map {
	display: grid;
	grid-template-columns: 1fr 1.3fr;
	gap: 40px;
	align-items: start;
}

.rpo-contacts__row {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px 0;
	border-bottom: 1px solid var(--rpo-line);
}

.rpo-contacts__row:first-child {
	padding-top: 0;
}

.rpo-contacts__label {
	font-size: 12px;
	color: var(--rpo-muted);
}

.rpo-contacts__value {
	font-size: 16px;
}

.rpo-contacts__value--big {
	font-size: 22px;
	font-weight: 700;
}

.rpo-contacts__value--big a:hover {
	color: var(--rpo-blue);
}

.rpo-contacts__sub {
	font-size: 12.5px;
	color: var(--rpo-muted);
}

.rpo-contacts__note {
	margin: 16px 0 0;
	font-size: 13px;
	color: var(--rpo-muted);
}

.rpo-contacts__map iframe {
	display: block;
	width: 100%;
}

/* --- Призыв (CTA) ------------------------------------------------------- */

.rpo-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	background: var(--rpo-navy);
	color: #fff;
	border-radius: var(--rpo-radius);
	padding: 32px 40px;
}

.rpo-cta__title {
	margin: 0 0 6px;
	font-size: clamp(20px, 2.2vw, 26px);
	font-weight: 700;
}

.rpo-cta__text {
	margin: 0;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
}

.rpo-cta .rpo-btn {
	flex-shrink: 0;
}

/* --- Модалка «Заказать звонок» ----------------------------------------- */

.rpo-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.rpo-modal[hidden] {
	display: none;
}

.rpo-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(16, 20, 30, 0.55);
}

.rpo-modal__box {
	position: relative;
	width: 100%;
	max-width: 420px;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	background: #fff;
	border-radius: var(--rpo-radius);
	padding: 32px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.rpo-modal__close {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 32px;
	height: 32px;
	border: 0;
	background: none;
	font-size: 26px;
	line-height: 1;
	color: var(--rpo-muted);
	cursor: pointer;
}

.rpo-modal__close:hover {
	color: var(--rpo-ink);
}

.rpo-modal__title {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 700;
}

.rpo-modal__subtitle {
	margin: 0 0 20px;
	font-size: 14px;
	color: var(--rpo-muted);
}

.rpo-form--callback .rpo-input {
	background: var(--rpo-surface);
}

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

@media (max-width: 1024px) {
	.rpo-industries {
		grid-template-columns: repeat(3, 1fr);
	}

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

	.rpo-footer__top {
		grid-template-columns: 1fr 1fr 1fr;
	}

	.rpo-footer__action {
		grid-column: 1 / -1;
		justify-self: start;
	}

	.rpo-gallery {
		--rpo-gallery-cols: 3 !important;
	}
}

@media (max-width: 860px) {
	.rpo-section {
		padding: 32px 0;
	}

	.rpo-header__contacts {
		display: none;
	}

	.rpo-burger {
		display: flex;
	}

	.rpo-nav {
		display: none;
	}

	.rpo-nav.is-open {
		display: block;
		border-top: 1px solid var(--rpo-line);
	}

	.rpo-nav__inner {
		align-items: stretch;
		flex-direction: column;
	}

	.rpo-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		font-size: 14px;
	}

	.rpo-menu li {
		border-bottom: 1px solid var(--rpo-line);
	}

	.rpo-menu a {
		display: block;
		padding: 12px 0;
	}

	.rpo-cards,
	.rpo-slider,
	.rpo-form-layout,
	.rpo-form__row,
	.rpo-text-media,
	.rpo-reviews,
	.rpo-contacts--with-map {
		grid-template-columns: 1fr;
	}

	.rpo-list-block--cards {
		grid-template-columns: 1fr !important;
	}

	.rpo-text-media--flip .rpo-text-media__body {
		order: 0;
	}

	.rpo-cta {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
		padding: 24px;
	}

	.rpo-cards {
		--rpo-cards-count: 1 !important;
	}

	.rpo-slider {
		gap: 24px;
	}

	.rpo-dots {
		justify-content: flex-start;
		margin-top: 0;
	}

	.rpo-works {
		grid-template-columns: 1fr;
	}

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

	.rpo-footer__top {
		grid-template-columns: 1fr 1fr;
	}

	.rpo-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.rpo-single-work__head {
		flex-direction: column;
		gap: 12px;
	}
}

@media (max-width: 520px) {
	.rpo-gallery {
		--rpo-gallery-cols: 2 !important;
	}

	.rpo-footer__top {
		grid-template-columns: 1fr;
	}

	.rpo-form-card {
		padding: 20px;
	}
}
