/* =========================================================
   SEO-страницы MILITON
   ========================================================= */

.seo-page {
	background-color: #f4f9fc;
	color: #242424;
	font-family: RobotoRegular, sans-serif;
	font-size: 16px;
	line-height: 1.6;
}

.seo-page h1,
.seo-page h2,
.seo-page h3,
.seo-page h4 {
	font-family: ProximaNovaBlack, sans-serif;
	color: #242424;
}

.seo-page h1 {
	font-size: 44px;
	line-height: 1.15;
	margin: 0 0 20px;
}

.seo-page h2 {
	font-size: 32px;
	line-height: 1.2;
	margin: 40px 0 16px;
}

.seo-page h3 {
	font-family: RobotoBold, sans-serif;
	font-size: 22px;
	line-height: 1.3;
	margin: 28px 0 12px;
}

.seo-page p {
	margin: 0 0 14px;
}

.seo-page ul,
.seo-page ol {
	margin: 0 0 16px;
	padding-left: 22px;
}

.seo-page li {
	margin-bottom: 6px;
}

.seo-page a {
	color: #e07b00;
}

.seo-page a:hover {
	color: #cd851f;
}

/* Шапка */
.seo-header {
	background: #fff;
	border-bottom: 1px solid #e3edf3;
	padding: 15px 0;
	height: auto;
}

.seo-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	padding: 0 20px;
}

.seo-logo img {
	width: 128px;
	display: block;
}

.seo-nav {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
}

.seo-nav a {
	color: #242424;
	font-size: 15px;
	opacity: 0.8;
}

.seo-nav a:hover {
	opacity: 1;
	color: #e07b00;
}

.seo-header-contacts {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.seo-phone {
	font-family: GothamProBlack, sans-serif;
	font-size: 18px;
	color: #242424 !important;
	white-space: nowrap;
}

.seo-btn {
	display: inline-block;
	background: #ff9700;
	color: #242424 !important;
	font-family: RobotoBold, sans-serif;
	font-size: 15px;
	padding: 11px 22px;
	white-space: nowrap;
}

.seo-btn:hover {
	background: #cd851f;
}

/* Хлебные крошки */
.seo-breadcrumbs {
	background: #eef4f8;
	border-bottom: 1px solid #e3edf3;
	padding: 10px 0;
	font-size: 14px;
}

.seo-breadcrumbs .main-container {
	padding: 0 20px;
}

.seo-breadcrumb-link {
	color: #5a6b78 !important;
}

.seo-breadcrumb-link:hover {
	color: #e07b00 !important;
}

.seo-breadcrumb-sep {
	color: #a9b7c2;
	margin: 0 8px;
}

.seo-breadcrumb-current {
	color: #242424;
}

/* Основной контент */
.seo-main {
	padding: 40px 0 60px;
	min-height: 50vh;
}

.seo-main .main-container {
	padding: 0 20px;
}

.seo-content {
	max-width: 920px;
}

.seo-intro {
	font-size: 18px;
	color: #3d4f5c;
}

.seo-section {
	margin-top: 34px;
}

/* CTA-блок */
.seo-cta {
	background: #ff9700;
	padding: 32px 34px;
	margin-top: 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.seo-cta h2,
.seo-cta p {
	color: #242424;
}

.seo-cta h2 {
	margin: 0 0 6px;
	font-size: 26px;
}

.seo-cta p {
	margin: 0;
	font-size: 16px;
}

.seo-cta .seo-btn {
	background: #242424;
	color: #fff !important;
	flex-shrink: 0;
}

.seo-cta .seo-btn:hover {
	background: #3a3a3a;
}

/* Карточки услуг */
.seo-services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 18px;
	margin-top: 20px;
}

.seo-service-card {
	display: block;
	background: #fff;
	border: 1px solid #e3edf3;
	padding: 20px 22px;
	color: #242424 !important;
	transition: box-shadow 0.2s, border-color 0.2s;
}

.seo-service-card:hover {
	border-color: #ff9700;
	box-shadow: 0 8px 24px rgba(36, 36, 36, 0.08);
}

.seo-service-card-name {
	font-family: RobotoBold, sans-serif;
	font-size: 18px;
	margin-bottom: 6px;
}

.seo-service-card-text {
	font-size: 14px;
	color: #5a6b78;
}

/* Посты блога */
.seo-posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 18px;
	margin-top: 20px;
}

.seo-post-card {
	display: block;
	background: #fff;
	border: 1px solid #e3edf3;
	padding: 20px 22px;
	color: #242424 !important;
	transition: box-shadow 0.2s, border-color 0.2s;
}

.seo-post-card:hover {
	border-color: #ff9700;
	box-shadow: 0 8px 24px rgba(36, 36, 36, 0.08);
}

.seo-post-card-title {
	font-family: RobotoBold, sans-serif;
	font-size: 17px;
	margin-bottom: 6px;
}

.seo-post-card-date {
	font-size: 13px;
	color: #8a99a5;
	margin-bottom: 8px;
}

.seo-post-card-text {
	font-size: 14px;
	color: #5a6b78;
}

.seo-post-date {
	color: #8a99a5;
	font-size: 14px;
}

/* Отзывы */
.seo-reviews-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.seo-review {
	background: #fff;
	border: 1px solid #e3edf3;
	padding: 24px 26px;
	display: flex;
	flex-direction: column;
}

.seo-review-text {
	font-size: 15px;
	flex-grow: 1;
}

.seo-review-person {
	margin-top: 16px;
	font-family: RobotoBold, sans-serif;
}

.seo-review-meta {
	font-size: 13px;
	color: #5a6b78;
	margin-top: 4px;
}

/* Скриншоты переписок */
.seo-screenshots-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
	margin-top: 20px;
}

.seo-screenshot {
	display: block;
	background: #fff;
	border: 1px solid #e3edf3;
	padding: 8px;
	transition: box-shadow 0.2s, border-color 0.2s;
}

.seo-screenshot:hover {
	border-color: #ff9700;
	box-shadow: 0 8px 24px rgba(36, 36, 36, 0.08);
}

.seo-screenshot img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 2px;
}

/* Галерея «О компании» */
.seo-about-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
	margin-top: 20px;
}

.seo-about-gallery-item {
	display: block;
	background: #fff;
	border: 1px solid #e3edf3;
	padding: 8px;
	transition: box-shadow 0.2s, border-color 0.2s;
}

.seo-about-gallery-item:hover {
	border-color: #ff9700;
	box-shadow: 0 8px 24px rgba(36, 36, 36, 0.08);
}

.seo-about-gallery-item img {
	display: block;
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 2px;
}

@media (max-width: 600px) {
	.seo-about-gallery {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.seo-about-gallery-item img {
		height: 140px;
	}
}

/* FAQ */
.seo-faq-item {
	background: #fff;
	border: 1px solid #e3edf3;
	margin-bottom: 12px;
}

.seo-faq-q {
	padding: 18px 22px;
	font-family: RobotoBold, sans-serif;
	font-size: 17px;
	cursor: pointer;
	position: relative;
	padding-right: 44px;
}

.seo-faq-q:after {
	content: '+';
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 24px;
	color: #ff9700;
}

.seo-faq-item.open .seo-faq-q:after {
	content: '–';
}

.seo-faq-a {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.35s ease;
	font-size: 15px;
}

/* Внутренняя обёртка: именно её содержимое скрывается/показывается
   через grid-template-rows 0fr → 1fr. Без overflow:hidden текст
   частично виден в закрытом состоянии. */
.seo-faq-a-inner {
	overflow: hidden;
	min-height: 0;
}

.seo-faq-a p {
	margin: 0;
	padding: 0 22px 18px;
}

.seo-faq-item.open .seo-faq-a {
	grid-template-rows: 1fr;
}

/* Форма расчёта */
.seo-form {
	background: #fff;
	border: 1px solid #e3edf3;
	padding: 28px 30px;
	margin-top: 30px;
}

.seo-form .seo-form-row {
	margin-bottom: 16px;
}

.seo-form label {
	display: block;
	font-family: RobotoBold, sans-serif;
	font-size: 14px;
	margin-bottom: 6px;
}

.seo-form input[type="text"],
.seo-form input[type="tel"],
.seo-form input[type="email"],
.seo-form textarea,
.seo-form select {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #d5e0e8;
	border-radius: 3px;
	font-family: RobotoRegular, sans-serif;
	font-size: 15px;
	color: #242424;
	background: #fff;
	box-sizing: border-box;
	outline: none;
}

.seo-form textarea {
	min-height: 100px;
	resize: vertical;
}

.seo-form .seo-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.seo-form .seo-form-full {
	grid-column: 1 / -1;
}

.seo-form button {
	background: #ff9700;
	border: 0;
	border-radius: 3px;
	color: #242424;
	font-family: RobotoBold, sans-serif;
	font-size: 17px;
	padding: 14px 36px;
	cursor: pointer;
}

.seo-form button:hover {
	background: #cd851f;
}

.seo-form-politic {
	font-size: 13px;
	color: #5a6b78;
	margin-bottom: 14px;
}

.seo-form-politic a {
	color: #e07b00;
	text-decoration: underline;
}

/* Блок «…или позвоните нам» на странице расчёта */
.seo-call-phone {
	margin-top: 26px;
	padding: 22px 28px;
	background: #fff;
	border: 1px solid #e3edf3;
	text-align: center;
}

.seo-call-phone p {
	margin: 0 0 8px;
	font-size: 15px;
	color: #5a6b78;
}

.seo-call-phone-number {
	display: inline-block;
	font-family: GothamProBlack, sans-serif;
	font-size: 24px;
	color: #242424 !important;
	white-space: nowrap;
}

.seo-call-phone-number:hover {
	color: #e07b00 !important;
}

/* Иконка WhatsApp в плавающей кнопке SEO-раздела — белая */
.seo-page .whatsapp-button i.fa-whatsapp {
	color: #fff;
}

/* Мобильное меню (как на главной: #menu + .icon-menu) */
/* Бургер по умолчанию скрыт на ПК — показываем только в media-запросе. */
.seo-page .seo-burger {
	display: none !important;
	position: relative;
	z-index: 3200;
	cursor: pointer;
	width: 35px !important;
	height: 29px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

.seo-page .seo-burger .line-menu {
	position: absolute;
	left: 0;
	display: block;
	width: 35px !important;
	height: 6px !important;
	background: #ff9700 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.seo-page .seo-burger .line-menu:nth-child(1) {
	top: 0;
}

.seo-page .seo-burger .line-menu:nth-child(2) {
	top: 11.5px;
}

.seo-page .seo-burger .line-menu:nth-child(3) {
	top: 23px;
}

/* Анимация бургера в крестик при открытом меню */
.seo-page .seo-burger.is-active .line-menu:nth-child(1) {
	transform: translateY(11.5px) rotate(45deg);
}

.seo-page .seo-burger.is-active .line-menu:nth-child(2) {
	opacity: 0;
}

.seo-page .seo-burger.is-active .line-menu:nth-child(3) {
	transform: translateY(-11.5px) rotate(-45deg);
}

.seo-mobile-menu {
	opacity: 0 !important;
	visibility: hidden !important;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.seo-mobile-menu.open {
	opacity: 1 !important;
	visibility: visible !important;
}

/* Переиспользуем стили #menu с главной страницы,
   но ограничиваем их SEO-страницами */
.seo-page #menu.seo-mobile-menu {
	background: right 0 no-repeat #fff;
	height: 100%;
	left: 0;
	overflow-y: auto;
	position: fixed;
	text-align: center;
	top: 0;
	width: 100%;
	/* Выше бургера (.seo-burger, z-index 3200), чтобы открытое меню
	   полностью перекрывало бургер */
	z-index: 99999;
	padding-right: 20px;
	padding-left: 20px;
	box-sizing: border-box;
}

/* Запрещаем прокрутку фона при открытом меню */
.seo-page.seo-menu-open {
	overflow: hidden;
}

.seo-page #menu.seo-mobile-menu .menu-header {
	padding-top: 20px;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
}

.seo-page #menu.seo-mobile-menu .mobile-logo {
	width: 105px;
}

.seo-page #menu.seo-mobile-menu .mobile-logo-close {
	width: 30px;
	height: 30px;
}

.seo-page #menu.seo-mobile-menu .main-nav {
	position: relative;
	margin-top: 40px;
}

.seo-page #menu.seo-mobile-menu .main-nav ul {
	list-style: none;
	margin: 0;
	padding: 0 0 0 10px;
}

.seo-page #menu.seo-mobile-menu .main-nav a {
	display: block;
	font-size: 18px;
	text-align: center !important;
	padding: 15px 0 !important;
	text-decoration: none;
	color: #000;
}

.seo-page #menu.seo-mobile-menu .main-nav a:hover {
	background: #ededed;
}

@media (max-width: 960px) {
	.seo-page .seo-burger {
		display: flex !important;
		flex-direction: column;
		justify-content: space-between;
	}

	.seo-btn-desktop {
		display: none;
	}

	.seo-nav {
		display: none;
	}

	.seo-header-inner {
		justify-content: space-between;
	}

	.seo-phone {
		font-size: 16px;
	}
}

@media (max-width: 700px) {
	.seo-form .seo-form-grid {
		grid-template-columns: 1fr;
	}

	.seo-header-inner {
		justify-content: center;
		text-align: center;
	}

	.seo-nav {
		justify-content: center;
	}

	.seo-page h1 {
		font-size: 32px;
	}

	.seo-page h2 {
		font-size: 26px;
	}
}

/* Блок заявки section-block-13 на SEO-страницах.
   Поведение должно быть идентично главной, поэтому перебиваем
   глобальные SEO-стили (.seo-page h2/p/a и т.п.). */
.seo-raschet-page .seo-main {
	padding-bottom: 0;
}

.seo-page .section-block-13 {
	position: relative;
	padding-bottom: 180px;
	margin-bottom: -80px;
}

.seo-page .section-block-13 .main-container {
	padding-bottom: 300px;
	margin-bottom: -300px;
}

.seo-page .section-block-13 .block-text {
	margin-left: auto;
	max-width: 600px;
}

.seo-page .section-block-13 h2 {
	font-family: ProximaNovaBlack, sans-serif;
	font-size: 60px;
	line-height: 0.8;
	color: #242424;
	padding-top: 160px;
	margin-bottom: 30px;
}

.seo-page .section-block-13 p {
	font-family: RobotoMedium, sans-serif;
	font-size: 20px;
	line-height: 25px;
	margin-top: 0;
	margin-bottom: 10px;
}

.seo-page .section-block-13 .call {
	margin-top: 36px;
}

.seo-page .section-block-13 .phone {
	font-family: GothamProBlack, sans-serif;
	font-size: 20px;
	display: block;
	margin-top: 10px;
	color: #242424 !important;
}

.seo-page .section-block-13 .form-politic {
	max-width: 200px;
	color: #aaa;
	margin-left: 30px;
	font-size: 12px;
	margin-top: 5px;
}

.seo-page .section-block-13 .form-politic a {
	text-decoration: underline;
	color: inherit;
}

@media (max-width: 960px) {
	.seo-page .section-block-13 .block-text {
		padding-left: 65px;
		padding-top: 15px;
	}

	.seo-page .section-block-13 .wrapper-input {
		margin-top: 20px;
		padding-bottom: 45px;
	}

	.seo-page .section-block-13 .call {
		max-width: 300px !important;
		margin-top: 45px;
	}

	.seo-page .section-block-13 .phone {
		font-size: 17px;
	}
}

@media (max-width: 600px) {
	.seo-page .section-block-13 .main-container {
		padding-bottom: 185px;
	}

	.seo-page .section-block-13 .block-text {
		padding-left: 0;
	}

	.seo-page .section-block-13 h2 {
		padding-top: 110px;
		font-size: 36px !important;
	}

	.seo-page .section-block-13 h2 br {
		display: none;
	}

	.seo-page .section-block-13 .white-block {
		width: calc(100%);
		height: 740px;
	}

	.seo-page .section-block-13 .col-input {
		flex-wrap: wrap;
	}

	.seo-page .section-block-13 .col-input input {
		width: 100%;
		margin-bottom: 15px !important;
	}

	.seo-page .section-block-13 .col-input input:first-child,
	.seo-page .section-block-13 .col-input input:last-child {
		margin: 0;
	}

	.seo-page .section-block-13 button {
		width: 100%;
		margin-bottom: 15px;
		margin-left: 0;
	}

	.seo-page .section-block-13 .row-2 {
		flex-wrap: wrap;
		margin-top: 0;
	}

	.seo-page .section-block-13 .form-politic {
		margin-left: auto;
		margin-right: auto;
		text-align: center;
		max-width: 300px;
	}

	.seo-page .section-block-13 .call {
		margin-top: 30px;
	}

	.seo-page .section-block-13 .orange-block {
		display: none;
	}
}

/* Футер */
/* Переопределяем глобальные стили footer из main.css,
   чтобы они не ломали вёрстку SEO-футера */
.seo-page footer {
	margin-top: 0;
	overflow: visible;
}

.seo-page footer.main-container,
.seo-page footer .main-container {
	display: block;
	padding: 0 20px;
}

.seo-page footer span {
	padding: 0;
	line-height: inherit;
	font-family: inherit;
}

.seo-page footer a,
.seo-page footer img {
	z-index: auto;
}

.seo-page footer .section-left,
.seo-page footer .section-right {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	position: static;
	width: auto;
	text-align: left;
}

.seo-page footer .section-right img {
	position: static;
	width: auto;
}

.seo-footer {
	background: #242424;
	color: #fff;
	padding: 40px 0 30px;
	margin-top: 0;
}

.seo-footer .main-container {
	padding: 0 20px;
}

.seo-footer-top {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 26px;
	padding-bottom: 30px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.seo-footer-title {
	font-family: RobotoBold, sans-serif;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 12px;
	color: #fff;
}

.seo-page .seo-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	padding-left: 0;
}

.seo-footer-links li {
	margin-bottom: 8px;
}

.seo-footer-links a {
	color: rgba(255, 255, 255, 0.75);
	font-size: 14px;
}

.seo-footer-links a:hover {
	color: #ff9700;
}

.seo-footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	padding-top: 26px;
}

.seo-footer-left {
	display: flex;
	flex-direction: column;
}

.seo-footer-left img {
	width: 128px;
	margin-bottom: 10px;
}

.seo-footer-left span {
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
	line-height: 1.5;
	margin-bottom: 4px;
}

.seo-footer-left a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: underline;
}

.seo-footer-contacts {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
}

.seo-footer-phone {
	font-family: GothamProBlack, sans-serif;
	font-size: 19px;
	color: #fff !important;
}

.seo-footer-link {
	color: rgba(255, 255, 255, 0.75);
	font-size: 14px;
}

.seo-footer-link:hover {
	color: #ff9700;
}

@media (max-width: 600px) {
	.seo-footer-contacts {
		align-items: flex-start;
	}
}

/* SEO-меню в футере главной страницы */
.seo-footer-menu {
	background: #242424;
	border-top: 0;
	padding: 34px 0 10px;
}

.seo-footer-menu .main-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 26px;
}

.seo-footer-menu-col {
	margin-bottom: 20px;
}

.seo-footer-menu-title {
	font-family: RobotoBold, sans-serif;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #fff;
	margin-bottom: 12px;
}

.seo-footer-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.seo-footer-menu li {
	margin-bottom: 8px;
}

.seo-footer-menu a {
	color: rgba(255, 255, 255, 0.75);
	font-size: 14px;
}

.seo-footer-menu a:hover {
	color: #ff9700;
}

@media (max-width: 600px) {
	.seo-footer-menu .main-container {
		grid-template-columns: 1fr 1fr;
		gap: 18px;
	}

	.seo-page .section-block-13 {
		padding-left: 0;
		padding-right: 0;
	}

	.seo-page .section-block-13 .form-politic {
		text-align: left;
		margin-left: 0;
	}
}