/* Главная в стиле презентации MPS (29.10.2026, этап 3 редизайна): разметка — index.php, общие элементы — op-ui.css.
   Прежние классы блоков (.section--popular-services, .section--most-popular, .section--faq, .services-item, карусели owl)
   оставлены — на них держатся вкладки цен, «Показать ещё», вопросы и карусели; их прежнее оформление (style.css, home.css,
   slider_partners.css) здесь перекрыто через .oh. */

.oh { background: #fff; overflow: hidden; }
.oh img { flex: none; }
.oh ul, .oh ol { margin: 0 !important; padding: 0; list-style: none; }

/* ---------- первый экран ---------- */
.oh-hero { position: relative; overflow: hidden; background: var(--op-dark); }
.oh-hero__bg,
.oh-dark__bg,
.oh-sec__hex {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}
.oh .oh-hero__in { /* .oh — встроенное в страницу правило .container обнуляет отступы сверху и снизу */
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 32px;
	padding-top: 64px;
	padding-bottom: 150px;
}
.oh-hero__text { flex: 1 1 520px; min-width: 0; }
.oh-hero__title {
	margin: 18px 0 0;
	font-family: var(--op-font);
	font-weight: 700;
	font-size: 48px;
	line-height: 1.12;
	letter-spacing: -.01em;
	color: #fff;
}
.oh-hero__lead { max-width: 580px; margin: 22px 0 0; font-family: var(--op-body); font-size: 19px; line-height: 1.55; color: #dcdcf7; }
.oh-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* цифры — строкой на всю ширину под заголовком и иллюстрацией */
.oh .oh-facts { flex: 1 1 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 28px; margin-top: 4px !important; }
.oh-facts__item { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .22); }
.oh-facts__num { white-space: nowrap; }
.oh-facts__num,
.oh-law__num {
	display: block;
	font-family: var(--op-font);
	font-weight: 800;
	font-size: 30px;
	line-height: 1.05;
	background: var(--op-num);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.oh-facts__text { display: block; margin-top: 8px; font-family: var(--op-body); font-size: 14.5px; line-height: 1.35; color: #cfd0f2; }
.oh-hero__art { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.oh-hero__art img { width: 100%; max-width: 580px; height: auto; }

/* ---------- форма под первым экраном и в блоке «Заявка» ---------- */
.oh-form-sec { position: relative; z-index: 2; margin-top: -96px; }
.oh .oh-form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 18px 20px;
	width: auto;
	padding: 28px 32px;
	background: #fff;
	border: 0;
	border-radius: 22px;
	box-shadow: 0 24px 60px rgba(26, 20, 88, .16);
}
.oh-form__head { flex: 1 1 360px; display: flex; align-items: center; gap: 16px; min-width: 0; align-self: center; }
.oh-form__title { font-family: var(--op-font); font-weight: 700; font-size: 20px; line-height: 1.25; color: var(--op-ink); }
.oh-form__sub { margin-top: 4px; font-family: var(--op-body); font-size: 15px; color: var(--op-text); }
.oh-form__field { flex: 0 1 210px; display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; }
.oh-form__label { font-family: var(--op-body); font-weight: 700; font-size: 14px; color: var(--op-text); }
.oh-form__field input {
	width: 100%;
	height: 50px;
	padding: 0 16px;
	border: 1.5px solid #d9d5f5;
	border-radius: 12px;
	background: #fbfaff;
	font-family: var(--op-body);
	font-size: 16px;
	color: var(--op-ink);
	box-sizing: border-box;
}
.oh-form__field input:focus { border-color: var(--op-violet2); background: #fff; box-shadow: 0 0 0 4px rgba(91, 63, 214, .14); }
.oh .oh-form__btn { flex: 0 0 auto; min-height: 50px; border-radius: 12px; }
.oh-form__agree { flex: 1 1 100%; }
.oh .oh-form .form-privacy { margin-top: 0; }
.oh .oh-form .form-privacy label span,
.oh .oh-form .form-privacy label span a { font-size: 13.5px; color: var(--op-text); }
.oh .oh-form .form-privacy label span a { color: var(--op-link); }
.oh .oh-form .form-privacy label:before { border-color: #b9b2ef; border-radius: 6px; }
.oh .oh-form--card { flex-direction: column; align-items: stretch; padding: 28px; }
.oh .oh-form--card .oh-form__field { flex: 0 0 auto; }

/* ---------- акция (картинка) ---------- */

/* ---------- разделы ---------- */
.oh-sec { position: relative; padding: 88px 0; }
.oh-sec--soft { background: var(--op-soft); }
.oh-sec__hex { top: auto; height: 70%; object-position: right bottom; }
.oh-sec__in { position: relative; }
.oh-form-sec + .oh-sec { margin-top: 64px; } /* до 29.10.2026 между ними был баннер акции */

/* карточки с фото — «Услуги компании» и «Самые популярные услуги» */
.oh .oh-photo-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin: 0; }
.oh .section--services .services-item { width: auto; margin: 0; }
.oh .oh-photo-card,
.oh .oh-photo-card:hover {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: 0;
	background: #fff;
	border: 1px solid var(--op-line);
	border-radius: 18px;
	box-shadow: var(--op-shadow);
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
}
.oh .oh-photo-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(38, 28, 120, .14); }
.oh .oh-photo-card__img { display: block; width: auto; flex: none; height: 180px; margin: 0; overflow: hidden; border-radius: 0; }
.oh .oh-photo-card__img img { width: 100%; height: 100%; object-fit: cover; }
.oh .oh-photo-card__title { display: block; padding: 16px 20px 20px; font-family: var(--op-font); font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--op-ink); }
.oh .oh-photo-card:hover .oh-photo-card__title { color: var(--op-violet); }
.oh .show-more { display: flex; width: max-content; margin: 28px auto 0; padding: 0 26px; }
.oh .show-more:before { display: none; }

/* цены: вкладки — переключатель, таблица — тёмная шапка */
.oh .section--popular-services { margin: 0; padding: 88px 0; z-index: auto; }
.oh .section--popular-services .price-table--wrap { margin-top: 0; }
.oh .section--popular-services .price-table-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-bottom: 16px; padding: 4px; border-radius: 14px; background: #e9e6fb; }
.oh .section--popular-services .tab,
.oh .section--popular-services .tab:first-child,
.oh .section--popular-services .tab:last-child {
	width: auto;
	padding: 10px 22px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	font-family: var(--op-font);
	font-weight: 700;
	font-size: 15px;
	color: var(--op-text);
	text-align: center;
}
.oh .section--popular-services .tab.active { background: #fff; color: var(--op-violet); box-shadow: 0 2px 8px rgba(38, 28, 120, .12); }
.oh .section--popular-services .tab:not(.active):hover { background: rgba(255, 255, 255, .6); color: var(--op-violet); }
.oh .section--popular-services .price-table--inner { border: 1px solid var(--op-line); border-radius: 18px; box-shadow: var(--op-shadow); }
.oh .section--popular-services table { width: 100%; border-collapse: collapse; }
.oh .section--popular-services table th {
	padding: 15px 0;
	border: 0;
	background: #2a1c7a;
	font-family: var(--op-font);
	font-weight: 700;
	font-size: 14.5px;
	color: #fff;
}
.oh .section--popular-services table tr:first-child { background: linear-gradient(90deg, #1a1458, #2f1c86 60%, #1d3ba8); }
.oh .section--popular-services table tr:first-child th { background: transparent; }
.oh .section--popular-services table td,
.oh .section--popular-services table tr:nth-child(2) td,
.oh .section--popular-services table tr:last-child td {
	padding: 14px 0;
	border-bottom: 1px solid #f0eefb;
	background: #fff;
	font-family: var(--op-body);
	font-size: 16px;
	color: var(--op-ink);
}
.oh .section--popular-services table tr:last-child td { border-bottom: 0; }
.oh .section--popular-services table td:nth-child(3) { font-weight: 700; }
.oh .section--popular-services table tr:nth-child(odd) td { background: #fbfaff; }
.oh .op-prices__note { margin: 16px 0 0; font-family: var(--op-body); font-size: 15px; line-height: 1.5; color: var(--op-text); }
.oh .op-prices__note a { color: var(--op-link); }
.oh .op-vat { display: inline-flex; gap: 0; margin: 0; padding: 4px; border: 0; border-radius: 12px; background: var(--op-soft2); } /* в prices.css — по центру (margin: 0 auto) */
.oh .op-vat button,
.oh .op-vat button.active {
	height: 40px;
	margin: 0;
	padding: 0 18px;
	border: 0;
	border-radius: 9px;
	background: transparent;
	font-family: var(--op-body);
	font-weight: 700;
	font-size: 15px;
	color: var(--op-text);
	box-shadow: none;
	cursor: pointer;
}
.oh .op-vat button.active { background: #fff; color: var(--op-violet); box-shadow: 0 2px 8px rgba(38, 28, 120, .12); }

/* тёмные разделы: «Госзаказчикам», «Заявка» */
.oh-dark { overflow: hidden; background: var(--op-dark); }
.oh-dark__bg { opacity: .8; }
.oh-dark .op-h2 { color: #fff; }
.oh-dark .op-lead { color: #dcdcf7; }
.oh-laws { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.oh-law { padding: 30px 28px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; background: rgba(255, 255, 255, .07); }
.oh-law__num { font-size: 34px; }
.oh-law__title { margin-top: 14px; font-family: var(--op-font); font-weight: 700; font-size: 18px; color: #fff; }
.oh-law__text { margin-top: 8px; font-family: var(--op-body); font-size: 16px; line-height: 1.5; color: #cfd0f2; }

/* «Самые популярные услуги» — карусель на светлом фоне */
.oh .section--most-popular { margin: 0; padding: 88px 0; background: #fff; }
.oh .section--most-popular .op-h2 { color: var(--op-ink); }
.oh .section--most-popular .swiper--wrap { margin-top: 0; }
.oh .section--most-popular .owl-stage-outer { padding: 6px 4px 24px; margin: -6px -4px -24px; }
.oh .section--most-popular .most-popular--item { display: flex; flex-direction: column; padding: 0; border-radius: 18px; }
.oh .section--most-popular .most-popular--item .img { width: auto; flex: none; height: 180px; margin: 0; border-radius: 0; }
.oh .most-popular-next { right: -24px; width: 48px; height: 48px; top: calc(50% - 24px); border-color: var(--op-line); }

/* преимущества */
/* 9 пунктов — сетка 3 × 3, значок слева */
.oh .oh-adv__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 20px; }
.oh-adv__item {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 20px 22px;
	background: #fff;
	border: 1px solid var(--op-line);
	border-radius: 18px;
	box-shadow: var(--op-shadow);
}
.oh-adv__img { width: 76px; height: 76px; display: flex; align-items: center; justify-content: center; border-radius: 18px; background: var(--op-soft2); }
.oh-adv__img img { max-width: 60px; max-height: 60px; }
.oh-adv__text, .oh-adv__text * { font-family: var(--op-font); font-weight: 700; font-size: 16px; line-height: 1.4; color: var(--op-ink); }
.oh-adv__text p { margin: 0; }

/* как мы работаем */
.oh .oh-steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.oh-steps__item { display: flex; flex-direction: column; gap: 14px; }
.oh-steps__title { font-family: var(--op-font); font-weight: 700; font-size: 19px; color: var(--op-ink); }
.oh-steps__text { font-family: var(--op-body); font-size: 16px; line-height: 1.5; color: var(--op-text); }

/* о компании */
.oh .section--about { padding: 88px 0; }
.oh-about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.oh-about__body { margin: 18px 0 22px; }
.oh-about__body, .oh-about__body p, .oh-about__body li, .oh-about__body span { font-family: var(--op-body); font-size: 17px; line-height: 1.6; color: var(--op-text2); }
.oh-about__body strong, .oh-about__body b { font-weight: 700; color: var(--op-ink); }
.oh-about__body p { margin: 0 0 14px; }
/* вместо фото — карточка с главным о компании ($oh_about в index.php) */
.oh .oh-about__points { list-style: none; margin: 0 !important; padding: 26px 28px; display: grid; gap: 20px; background: #fff; border: 1px solid var(--op-line); border-radius: 22px; box-shadow: var(--op-shadow); }
.oh-about__point { display: flex; align-items: center; gap: 18px; }
.oh-about__point > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.oh-about__pt { font-family: var(--op-font); font-weight: 800; font-size: 20px; line-height: 1.25; color: var(--op-ink); }
.oh-about__pd { font-family: var(--op-body); font-size: 15.5px; line-height: 1.45; color: var(--op-text); }

/* заявка */
.oh-cta__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 40px; align-items: center; }

/* нам доверяют */
.oh .oh-trust { padding: 88px 0 72px; }
.oh-trust__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px 40px; align-items: end; margin-bottom: 36px; }
.oh-trust__text, .oh-trust__text p, .oh-trust__text span { font-family: var(--op-body); font-size: 17px; line-height: 1.6; color: var(--op-text2); }
.oh-trust__text p { margin: 0; }
.oh-trust__text strong, .oh-trust__text b { font-weight: 700; color: var(--op-ink); }
.oh .oh-partners { margin: 0; padding: 22px 56px; border: 1px solid var(--op-line); border-radius: 18px; background: #fff; box-shadow: var(--op-shadow); }
.oh .partners_owl .owl-prev svg { left: -38px; }
.oh .partners_owl .owl-next svg { right: -38px; }

/* отзывы */
.oh .main__review { margin: 0; padding: 88px 0; background: var(--op-soft); background-image: none; }
.oh-review {
	width: 100%;
	padding: 28px;
	background: #fff;
	border: 1px solid var(--op-line);
	border-radius: 18px;
	box-shadow: var(--op-shadow);
}
.oh-review__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.oh-review__logo { flex: 0 0 auto; width: 64px; height: 64px; border: 1px solid var(--op-line); border-radius: 16px; background: #fff center / 80% no-repeat; }
.oh-review__title { font-family: var(--op-font); font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--op-ink); }
.oh-review__author { margin-top: 3px; font-family: var(--op-body); font-size: 14.5px; color: var(--op-text); }
.oh-review__text, .oh-review__text p, .oh-review__text span { font-family: var(--op-body); font-size: 15.5px; line-height: 1.55; color: var(--op-text2); }
.oh-review__text p { margin: 0 0 10px; }
/* отзывы — до 6 строк, полностью — на странице «Отзывы»; поле под тень карточек (owl обрезает выступающее) */
.oh-review__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
.oh .reviews_owl-carousel .owl-stage-outer { padding: 4px 4px 32px; margin: -4px -4px -32px; }
.oh .reviews_owl-carousel .owl-dots { position: static; display: flex; justify-content: center; gap: 4px; width: auto; margin-top: 20px; transform: none; }
.oh .reviews_owl-carousel .owl-dot { display: inline-flex; padding: 6px; border: 0; background: none; cursor: pointer; }
.oh .reviews_owl-carousel .owl-dot span { display: block; width: 10px; height: 10px; border-radius: 50%; background: #d9d5f5; }
.oh .reviews_owl-carousel .owl-dot.active span { background: var(--op-violet2); }

/* вопросы и ответы */
.oh .section--faq { padding: 88px 0; background: #fff; }
.oh .section--faq .faq--wrap { display: grid; gap: 10px; margin-top: 0; }
.oh .section--faq .faq-item,
.oh .section--faq .faq-item:not(:last-child) { padding: 0; border: 1px solid var(--op-line); border-radius: 14px; background: #fff; }
.oh .section--faq .faq-item:before { display: none; }
.oh .section--faq .faq-question {
	position: relative;
	padding: 17px 56px 17px 22px;
	font-family: var(--op-font);
	font-weight: 700;
	font-size: 16.5px;
	line-height: 1.35;
	color: var(--op-ink);
}
.oh .section--faq .faq-question:after {
	content: '';
	position: absolute;
	right: 24px;
	top: 50%;
	width: 10px;
	height: 10px;
	margin-top: -8px;
	border-right: 2.2px solid var(--op-violet2);
	border-bottom: 2.2px solid var(--op-violet2);
	transform: rotate(45deg);
	transition: transform .2s ease;
}
.oh .section--faq .faq-item.active .faq-question:after { transform: rotate(-135deg); margin-top: -3px; }
.oh .section--faq .faq-question:hover { color: var(--op-violet); }
.oh .section--faq .faq-answer { margin: 0; padding: 0 22px 18px; }
.oh .section--faq .faq-answer, .oh .section--faq .faq-answer p, .oh .section--faq .faq-answer li { font-family: var(--op-body); font-size: 16px; line-height: 1.6; color: var(--op-text2); }

/* ---------- планшет и телефон ---------- */
@media (max-width: 1199.98px) {
	.oh-hero__title { font-size: 42px; }
	.oh .oh-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.oh .oh-adv__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.oh-facts__num { white-space: normal; } /* 11.11.2026: «Любые марки» обрезалась при ширине ~930 px — в две строки и здесь */
}
@media (max-width: 991.98px) {
	.oh .oh-hero__in { padding-top: 36px; padding-bottom: 120px; }
	.oh-hero__art { order: 2; flex-basis: 100%; }
	.oh-hero__art img { max-width: 400px; }
	.oh-about, .oh-cta__in, .oh-trust__head { grid-template-columns: 1fr; }
	.oh-sec, .oh .section--popular-services, .oh .section--most-popular, .oh .section--about, .oh .main__review, .oh .section--faq { padding: 64px 0; }
	.oh .most-popular-next { right: 8px; }
}
@media (max-width: 767.98px) {
	.oh .oh-hero__in { padding-top: 28px; padding-bottom: 104px; }
	.oh-hero__title { font-size: 30px; line-height: 1.15; }
	.oh-hero__lead { font-size: 16.5px; }
	.oh-hero__btns { margin-top: 22px; }
	.oh-hero__btns .op-btn { flex: 1 1 100%; }
	.oh .oh-facts { order: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; margin-top: 10px !important; }
	.oh-hero__art { order: 3; }
	.oh-facts__num { font-size: 24px; white-space: normal; } /* 05.11.2026: «Любые марки» — в две строки, иначе обрезается */
	.oh-facts__text { font-size: 14px; }
	.oh-hero__art img { max-width: 320px; }
	.oh .oh-form { padding: 22px 18px; gap: 14px; }
	.oh-form__head { flex-basis: 100%; }
	.oh-form__title { font-size: 18px; }
	.oh-form__field, .oh .oh-form__btn { flex: 1 1 100%; }
	.oh-form-sec + .oh-sec { margin-top: 40px; }
	.oh-sec, .oh .section--popular-services, .oh .section--most-popular, .oh .section--about, .oh .main__review, .oh .section--faq, .oh .oh-trust { padding: 52px 0; }
	.oh .oh-photo-cards { grid-template-columns: 1fr; }
	.oh .oh-adv__grid { grid-template-columns: 1fr; gap: 10px; }
	.oh-adv__item { padding: 14px 16px; gap: 14px; }
	.oh-adv__item .op-hex { width: 48px; height: 55px; }
	.oh-adv__text, .oh-adv__text * { font-size: 14.5px; }
	.oh .oh-about__points { padding: 20px 18px; gap: 16px; }
	.oh-about__point { gap: 14px; }
	.oh-about__pt { font-size: 17px; }
	.oh-about__pd { font-size: 14.5px; }
	.oh .oh-steps__list { grid-template-columns: 1fr; gap: 18px; }
	.oh-steps__item { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; align-items: start; }
	.oh-steps__item .op-hex { grid-row: span 2; width: 52px; height: 60px; font-size: 17px; }
	.oh-steps__title { font-size: 17px; }
	.oh-steps__text { font-size: 15px; }
	.oh-law { padding: 24px 20px; }
	.oh .section--popular-services .tab,
	.oh .section--popular-services .tab:first-child,
	.oh .section--popular-services .tab:last-child { padding: 9px 14px; font-size: 14px; }
	.oh .section--popular-services table td, .oh .section--popular-services table th { font-size: 14.5px; }
	.oh .oh-partners { padding: 16px 40px; }
	.oh .partners_owl .owl-prev svg { left: -26px; }
	.oh .partners_owl .owl-next svg { right: -26px; }
	.oh-review { padding: 22px 18px; }
	.oh .section--faq .faq-question { padding: 15px 48px 15px 16px; font-size: 15.5px; }
	.oh .section--faq .faq-answer { padding: 0 16px 16px; }
}
