/*
Theme Name: drivesale.ru
Theme URI: https://drivesale.ru
Author: Максим Вагизов
Description: Разработка сайта qcrit.ru
Version: 1.0
*/
/* === RESET + BASE TYPOGRAPHY === */

/* Подключаем шрифт Exo 2 (Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700&display=swap');

/* Сброс всех отступов и настройка box-sizing */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Базовые стили для документа */
html, body {
	font-family: 'Exo 2', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #fff;
	background-color: #0F141E;
	overflow-x: hidden;
	scroll-behavior: smooth;
}

/* Убираем дефолтные стили у ссылок и списков */
a {
	color: inherit;
	text-decoration: none;
}

ul, ol {
	list-style: none;
}

/* Картинки адаптивные */
img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Базовая контейнерная сетка */
.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
}


/* === HEADER === */
.site-header {
	background: #0F141E;
	color: #fff;
	padding: 10px 0;
	font-family: 'Exo 2', sans-serif;
	font-size: 15px;
}

.header-flex {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 12px;
}

.header-logo img {
	display: block;
	width: 140px;
	height: 32px;
}

/* Меню */
.header-menu .nav-list {
	list-style: none;
	display: flex;
	gap: 18px;
	margin: 0;
	padding: 0;
}

.header-menu .nav-list > li {
	position: relative;
}

.header-menu .nav-list > li > a {
	color: #fff;
	text-decoration: none;
	font-weight: 500;
	padding: 8px 4px;
	display: inline-block;
	transition: color 0.3s ease;
	white-space: nowrap;
}

.header-menu .nav-list > li > a:hover {
	color: #009bff;
}

/* === Выпадающее подменю === */
.header-menu .nav-list li ul {
	position: absolute;
	left: 0;
	top: 100%;
	display: none;
	background: #fff;
	color: #000;
	padding: 15px 20px;
	border-radius: 6px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.1);
	min-width: 400px;
	z-index: 1000;
	column-count: 2; /* <-- 2 столбца */
	column-gap: 30px;
}

.header-menu .nav-list li:hover > ul {
	display: block;
}

.header-menu .nav-list li ul li {
	padding: 4px 0;
	break-inside: avoid;
}

.header-menu .nav-list li ul li a {
	color: #0F141E;
	text-decoration: none;
	font-weight: 500;
	font-size: 14px;
	display: inline-block;
	transition: color 0.2s ease;
}

.header-menu .nav-list li ul li a:hover {
	color: #009bff;
}

/* Телефон и время */
.header-phone a {
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.header-hours {
	color: #ccc;
	font-size: 0.85em;
	white-space: nowrap;
}

/* Кнопка */
.btn-callback {
	display: inline-block;
	padding: 8px 14px;
	background: #009bff;
	color: #fff;
	border-radius: 5px;
	text-decoration: none;
	font-weight: 600;
	transition: background 0.3s ease;
	white-space: nowrap;
}

.btn-callback:hover {
	background: #007cd1;
}

/* Адаптив */
@media (max-width: 1150px) {
	.header-flex {
		flex-wrap: wrap;
		justify-content: center;
		gap: 10px;
	}
	.header-menu .nav-list {
		flex-wrap: wrap;
		justify-content: center;
		gap: 5px;
		font-size: 12px;
    }
}
@media (max-width: 768px) {
	.header-button {
		width:100%;
	}
	.callback-btn {width:100%;}
	.header-logo img {width:100%;height:auto;}
	.header-logo {width:100%;height:auto;}
}

/* === SINGLE POST CUSTOM === */

/* Hero-блок с фоном */
.post-hero {
	position: relative;
	background-size: cover;
	background-position: center;
	height: 504px;
	color: #fff;
	display: flex;
	align-items: center;
}

.hero-overlay {
	width: 100%;
	height: 100%;
	background: rgba(15, 20, 30, 0.65);
	display: flex;
	align-items: center;
}

.hero-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	flex-wrap: wrap;
	gap: 30px;
}

.hero-left {
	max-width: 60%;
}
.hero-right {
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.post-title {
	font-size: 2.2em;
	font-weight: 700;
	margin-bottom: 15px;
	color: #fff;
}

.utp {
	font-size: 1.2em;
	line-height: 1.5;
	color: #6FADE3;
}

/* Белый блок контента под фоном */
.post-body-section {
	background: #fff;
	color: #222;
	padding: 60px 0;
}

.post-body-section .post-body {
	font-family: 'Exo 2', sans-serif;
	line-height: 1.8;
	font-size: 1.05em;
}

.post-body-section h2, .post-body-section h3 {
	color: #0F141E;
	margin: 25px 0 10px;
}

.post-body-section a {
	color: #6FADE3;
	text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 992px) {
	.hero-content {
		flex-direction: column;
		text-align: center;
	}
	.hero-left, .hero-right {
		max-width: 100%;
	}
	.post-hero {
		height: auto;
		padding: 40px 0;
	}
}
/* === Фирменные списки для drivesale.ru === */

/* Общие настройки */
.post-body-section ul,
.utp ul {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

.post-body-section ul li,
.utp ul li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 10px;
	line-height: 1.6em;
}

/* Стрелочка вправо */
.post-body-section ul li::before,
.utp ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0;
	height: 0;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 6px solid #009bff;
}

/* === Нумерованные списки === */
.post-body-section ol,
.utp ol {
	counter-reset: custom-counter;
	margin-left: 0;
	padding-left: 0;
	list-style: none;
}

.post-body-section ol li,
.utp ol li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 10px;
	line-height: 1.6em;
	counter-increment: custom-counter;
}

.post-body-section ol li::before,
.utp ol li::before {
	content: counter(custom-counter) ".";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 700;
	color: #009bff;
	font-size: 1.05em;
	font-family: 'Exo 2', sans-serif;
}
/* === Иконки в строке === */
.icon-inline {
	width: 18px;
	height: 18px;
	margin-right: 6px;
	vertical-align: middle;
	display: inline-block;
}

/* === Меню: стрелка вниз у пунктов с подменю === */
.header-menu .nav-list > li.menu-item-has-children > a::after {
	content: "▼";
	font-size: 0.6em;
	margin-left: 6px;
	display: inline-block;
	vertical-align: middle;
	transition: transform 0.2s ease;
}

/* Анимация стрелки при наведении */
.header-menu .nav-list > li.menu-item-has-children:hover > a::after {
	transform: rotate(180deg);
}

/* === Подменю как раньше, с мелкой доработкой выравнивания === */
.header-menu .nav-list li ul {
	position: absolute;
	left: 0;
	top: 100%;
	display: none;
	background: #fff;
	color: #000;
	padding: 15px 20px;
	border-radius: 6px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.1);
	min-width: 400px;
	z-index: 1000;
	column-count: 2;
	column-gap: 30px;
}

.header-menu .nav-list li:hover > ul {
	display: block;
}
/* === Страница Car Brands === */
.page-wrapper.car-brands {
	background: #fff;
	padding: 60px 0;
}

.car-brands .container {
	max-width: 1200px;
	margin: 0 auto;
}

/* Заголовок страницы */
.car-brands .page-title {
	font-family: 'Exo 2', sans-serif;
	font-size: 32px;
	font-weight: 700;
	text-transform: uppercase;
	text-align: center;
	color: #0F141E;
	margin-bottom: 40px;
	position: relative;
}

.car-brands .page-title::after {
	content: "";
	display: block;
	width: 80px;
	height: 3px;
	background: #009bff;
	margin: 15px auto 0;
	border-radius: 2px;
}

/* Сетка брендов */
.car-brands .brands-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 30px;
	margin-top: 40px;
	text-align: center;
}

.car-brands .brand-item {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 10px;
	padding: 25px 15px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.car-brands .brand-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.car-brands .brand-logo {
	max-width: 100px;
	max-height: 60px;
	object-fit: contain;
	display: block;
	margin: 0 auto 12px;
}

.car-brands .brand-name {
	font-family: 'Exo 2', sans-serif;
	font-weight: 600;
	font-size: 15px;
	color: #0F141E;
}

/* Адаптивность */
@media (max-width: 1200px) {
	.car-brands .brands-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}
@media (max-width: 900px) {
	.car-brands .brands-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 600px) {
	.car-brands .brands-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 420px) {
	.car-brands .brands-grid {
		grid-template-columns: 1fr;
	}
}
/* === Текстовая часть страницы Car Brands === */
.car-brands .page-content {
	color: #0F141E;
	font-family: 'Exo 2', sans-serif;
	font-size: 16px;
	line-height: 1.75;
	margin: 0 auto 40px;
}

.car-brands .page-content p {
	margin-bottom: 1.2em;
}

.car-brands .page-content ul,
.car-brands .page-content ol {
	margin: 1em 0 1.5em 2em;
	line-height: 1.7;
}

.car-brands .page-content li {
	margin-bottom: 0.4em;
}

.car-brands .page-content h2,
.car-brands .page-content h3,
.car-brands .page-content h4 {
	color: #0F141E;
	font-family: 'Exo 2', sans-serif;
	margin: 1.8em 0 1em;
	line-height: 1.3;
	font-weight: 700;
}

.car-brands .page-content h2 {
	font-size: 26px;
}

.car-brands .page-content h3 {
	font-size: 22px;
}

.car-brands .page-content h4 {
	font-size: 18px;
}

.car-brands .page-content a {
	color: #009bff;
	text-decoration: underline;
	transition: color 0.2s ease;
}

.car-brands .page-content a:hover {
	color: #007cd1;
}

/* === Общие отступы === */
.page-wrapper.car-brands {
	background: #fff;
	padding: 60px 0 80px;
}

.car-brands .brands-grid {
	margin-top: 60px;
}
/* === Списки со стрелочками (в стиле Drivesale) === */
.car-brands .page-content ul {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

.car-brands .page-content ul li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 10px;
	line-height: 1.7;
	color: #0F141E;
}

/* Стрелочка вправо */
.car-brands .page-content ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 0;
	height: 0;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 6px solid #009bff;
}

/* Нумерованные списки */
.car-brands .page-content ol {
	counter-reset: list-counter;
	margin-left: 0;
	padding-left: 0;
	list-style: none;
}

.car-brands .page-content ol li {
	counter-increment: list-counter;
	padding-left: 28px;
	position: relative;
	margin-bottom: 10px;
	line-height: 1.7;
	color: #0F141E;
}

.car-brands .page-content ol li::before {
	content: counter(list-counter) ".";
	position: absolute;
	left: 0;
	top: 0;
	color: #009bff;
	font-weight: 600;
}
/* === Узнать цену === */
.price-form-title {
	font-family: 'Exo 2', sans-serif;
	font-size: 22px;
	font-weight: 700;
	text-align: center;
	color: #0F141E;
	margin-bottom: 20px;
	position: relative;
}

.price-form-title::after {
	content: "";
	display: block;
	width: 70px;
	height: 3px;
	background: #009bff;
	margin: 10px auto 0;
	border-radius: 2px;
}

/* Остальные стили формы (оставь прежние) */
.price-form {
	background: #f8f9fb;
	border-radius: 10px;
	padding: 25px;
	max-width: 400px;
	margin: 40px auto;
	box-shadow: 0 4px 16px rgba(0,0,0,0.05);
	text-align: center;
}

.price-form-title {
	font-family: 'Exo 2', sans-serif;
	font-size: 22px;
	font-weight: 700;
	text-align: center;
	color: #0F141E;
	margin-bottom: 20px;
	position: relative;
}

.price-form-title::after {
	content: "";
	display: block;
	width: 70px;
	height: 3px;
	background: #009bff;
	margin: 10px auto 0;
	border-radius: 2px;
}

.car-price-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.car-price-form select,
.car-price-form input[type="tel"] {
	width: 100%;
	padding: 10px 12px;
	font-size: 15px;
	font-family: 'Exo 2', sans-serif;
	border: 1px solid #ccc;
	border-radius: 6px;
	outline: none;
	color: #0F141E;
	background: #fff;
	transition: border-color 0.2s ease;
}

.car-price-form select:focus,
.car-price-form input[type="tel"]:focus {
	border-color: #009bff;
}

.btn-submit {
	background: linear-gradient(90deg, #009bff 0%, #6fade3 100%);
	color: #fff;
	border: none;
	padding: 11px;
	font-size: 15px;
	font-family: 'Exo 2', sans-serif;
	font-weight: 600;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.3s ease;
}

.btn-submit:hover {
	background: #007cd1;
}

.form-note {
	margin-top: 15px;
	font-size: 13px;
	color: #555;
	line-height: 1.5;
}

.form-success {
	margin-top: 15px;
	color: #0F141E;
	font-weight: 600;
}
.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
}

.popup-content {
  background: #fff;
  max-width: 420px;
  width: 90%;
  margin: 100px auto;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  text-align: center;
  font-family: 'Exo 2', sans-serif;
  box-sizing: border-box;
}

.popup-close {
  position: absolute;
  top: 8px;
  right: 15px;
  font-size: 26px;
  color: #555;
  cursor: pointer;
}

.car-price-form select,
.car-price-form input {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  color: #333;
}

.btn-submit {
  display: block;
  width: 100%;
  background: #009bff;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 0;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-submit:hover { background: #007acc; }

.elementor-heading-title {
  margin-top: 15px;
  font-size: 15px;
  color: #333;
}

.social-inline {
  display: flex;
  justify-content: center;
  gap: 15px;
  align-items: center;
  margin-top: 10px;
}

.social-icon {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  text-decoration: none;
}

.social-icon img {
  width: 28px;
  height: 28px;
  display: inline-block;
}

.form-success {
  margin-top: 10px;
  color: #0a0;
}
.callback-btn {
    display: inline-block;
    background: linear-gradient(90deg, #009bff 0%, #6fade3 100%);
    color: #fff;
    font-family: 'Exo 2', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 22px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.callback-btn:hover {
    background: linear-gradient(90deg, #6fade3 0%, #009bff 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 155, 255, 0.3);
}

.callback-btn:active {
  transform: translateY(0);
  background-color: #0066b5;
}
/* ===== FOOTER ===== */
.site-footer {
  background: #0F141E;
  color: #fff;
  font-family: 'Exo 2', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  margin-top: 40px;
}

.footer-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
}

.footer-logo {
  width: 200px;
  height: 154px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 8px;
}

.footer-list a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-list a:hover {
  color: #6fade3;
}

/* Контакты */
.footer-contacts ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contacts li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 8px;
}

.footer-contacts .icon {
  width: 18px;
  height: 18px;
}

/* Нижняя полоса */
.footer-bottom {
  background: #0c1018;
  border-top: 1px solid #222;
  padding: 15px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 14px;
  color: #ccc;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-social img {
  height: 28px;
  transition: 0.2s;
}

.footer-social img:hover {
  opacity: 0.8;
}

/* Qcrit лого */
.qcrit-icon {
  height: 24px;
}

/* Адаптив */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
/* ===== СЕКЦИЯ ФАКТОВ ===== */
.facts-section {
  background: #0F141E;
  color: #fff;
  text-align: center;
  padding: 60px 20px 50px;
  border-bottom: 1px solid #222;
}

.facts-container {
  max-width: 1200px;
  margin: 0 auto;
}

.facts-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.facts-desc {
  color: #ccc;
  font-size: 16px;
  margin-bottom: 50px;
  line-height: 1.6;
}

/* Сетка фактов */
.facts-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* ✅ Центрирует весь блок */
  align-items: flex-start;
  gap: 40px 60px;
  margin-top: 30px; /* ✅ добавлен отступ сверху */
  text-align: center;
}

.fact-item {
  flex: 0 1 calc(25% - 60px); /* 4 элемента в первой строке */
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  min-height: 160px;
}

.fact-item:nth-child(n+5) {
  flex: 0 1 calc(25% - 60px); /* базовое поведение */
}

.fact-icon {
  width: 90px;  /* ✅ увеличенные иконки */
  height: 90px;
  object-fit: contain;
  margin-bottom: 12px;
  display: block;
  transition: transform 0.2s ease;
}

.fact-icon:hover {
  transform: scale(1.1);
}

.fact-text {
  font-size: 17px;
  color: #fff;
  line-height: 1.5;
  max-width: 200px;
}

/* Адаптив */
@media (max-width: 1024px) {
  .fact-item {
    flex: 0 1 calc(33.33% - 40px);
  }
  .facts-grid:has(.fact-item:nth-child(7)) .fact-item:nth-child(5) {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .fact-item {
    flex: 0 1 calc(50% - 40px);
  }
  .fact-icon {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 480px) {
  .fact-item {
    flex: 0 1 100%;
  }
  .fact-icon {
    width: 60px;
    height: 60px;
  }
}
/* ===== СЕКЦИЯ ПРИМЕРОВ ===== */
.examples-section {
  background: #fff;
  color: #111;
  padding: 70px 20px 60px;
  text-align: center;
}

.examples-container {
  max-width: 1300px;
  margin: 0 auto;
}

.examples-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #0F141E;
}

.examples-desc {
  color: #666;
  font-size: 16px;
  margin-bottom: 50px;
  line-height: 1.6;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ✅ 4 в строку */
  gap: 40px 30px;
  justify-items: center;
  margin-top: 30px;
}

.example-item {
  background: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  max-width: 300px;
  width: 100%;
  text-align: left;
}

.example-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.example-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.example-info {
  padding: 18px;
}

.example-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #0F141E;
}

.example-meta {
  font-size: 15px;
  color: #252525;
  margin-bottom: 10px;
}

.example-prices {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.example-price,
.example-tradein {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.4;
}

.example-price {
  color: #057cf3;
}

.example-tradein {
  color: #0F141E;
  background: #e9f4ff;
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-block;
}

.examples-itog {
  margin-top: 50px;
  font-size: 18px;
  color: #0F141E;
  font-weight: 500;
}
.example-prices {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.example-price {
  font-size: 20px;        /* ✅ крупнее */
  font-weight: 700;       /* жирный */
  color: #057cf3;
  line-height: 1.3;
}

.example-tradein {
  font-size: 15.5px;
  font-weight: 500;
  color: #0F141E;
  background: #e9f4ff;
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-block;
}
/* ======= АДАПТИВ ======= */
@media (max-width: 1200px) {
  .examples-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .examples-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .example-photo {
    height: 180px;
  }
}

@media (max-width: 600px) {
  .examples-grid {
    grid-template-columns: 1fr;
  }
  .example-item {
    max-width: 90%;
  }
}
/* ===== ГЛАВНЫЙ ГЕРО-БЛОК ===== */
.main-hero {
  position: relative;
  width: 100%;
  min-height: 504px;
  color: #fff;
  overflow: hidden;
}

/* Фон на всю ширину, не обрезается */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: relative;
  width: 100%;
  z-index: 2;
  background: rgba(0,0,0,0.4); /* лёгкое затемнение для читаемости текста */
  display: flex;
  justify-content: center;
}

.hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 60px 20px;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

/* ===== UTP со стрелками ===== */
.hero-utp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #fff;
}

.hero-utp-list li {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}

.hero-utp-list .arrow {
  color: #009bff;
  font-weight: 700;
  margin-right: 10px;
  font-size: 22px;
}

.hero-subtext {
  font-size: 16px;
  line-height: 1.6;
  color: #e3e3e3;
  max-width: 600px;
  margin-top: 15px;
}

/* ===== ФОРМА ===== */
.hero-form {
  background: #fff;
  color: #111;
  border-radius: 12px;
  padding: 25px 30px;
  width: 380px;
  max-width: 100%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}

/* ===== АДАПТИВ ===== */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-utp-list {
    align-items: center;
  }

  .hero-form {
    width: 100%;
    max-width: 420px;
  }

  .hero-title {
    font-size: 32px;
  }
}
/* ====== ADVANTAGES SECTION ====== */
.advantages-section {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f141e;
}

.section-subtext {
  font-size: 18px;
  color: #555;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.advantages-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.advantages-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
}

.advantage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 220px;
}

.advantage-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
}

.advantage-name {
  font-size: 18px;
  font-weight: 500;
  color: #0f141e;
  line-height: 1.5;
}

/* адаптив */
@media (max-width: 992px) {
  .advantages-row {
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .advantages-row {
    flex-direction: column;
  }
}
/* ====== RANSOM SECTION ====== */
.ransom-section {
  background-color: #F0F0F0;
  padding: 70px 20px;
  text-align: center;
}

.ransom-section .section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f141e;
}

.ransom-section .section-subtext {
  font-size: 18px;
  color: #555;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* --- раскладка 3 + 2 --- */
.ransom-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.ransom-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
}

.ransom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 220px;
}

.ransom-icon img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin-bottom: 15px;
}

.ransom-name {
  font-size: 18px;
  font-weight: 500;
  color: #0f141e;
  line-height: 1.5;
}

/* адаптив */
@media (max-width: 992px) {
  .ransom-row {
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .ransom-row {
    flex-direction: column;
    gap: 30px;
  }
}
/* ====== WORK SCHEME SECTION ====== */
.work-scheme-section {
  background-color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.work-scheme-section .section-title {
  font-size: 36px;
  font-weight: 700;
  color: #0f141e;
  margin-bottom: 15px;
}

.work-scheme-section .section-subtext {
  font-size: 18px;
  color: #555;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.work-scheme-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
  color: #333;
  text-align: left;
}

.work-scheme-text p {
  margin-bottom: 20px;
}

.work-scheme-text ul {
  margin: 15px 0;
  padding-left: 25px;
}

.work-scheme-text li {
  margin-bottom: 8px;
  position: relative;
}

.work-scheme-text li::before {
  content: "–";
  position: absolute;
  left: -15px;
  color: #0f141e;
  font-weight: 700;
}

/* адаптив */
@media (max-width: 768px) {
  .work-scheme-section {
    padding: 60px 15px;
  }

  .work-scheme-text {
    font-size: 16px;
    text-align: left;
  }
}
/* ====== DOCUMENTS SECTION ====== */
.documents-section {
  background-color: #0f141e; /* фон как у футера */
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

.documents-section .section-title {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.documents-section .section-subtext {
  font-size: 18px;
  color: #ddd;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* иконки 4 в ряд */
.documents-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
  margin-bottom: 40px;
}

.document-item {
  width: 220px; /* фиксируем ширину */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.document-icon {
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px;
}

.document-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
}

.document-name {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  line-height: 1.5;
}

.documents-final-text {
  margin-top: 40px;
  font-size: 16px;
  color: #ccc;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* адаптив */
@media (max-width: 992px) {
  .documents-row {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .documents-row {
    flex-direction: column;
    gap: 30px;
  }

  .document-item {
    width: 100%;      /* растягиваем на всю ширину */
    max-width: 300px; /* ограничение, чтобы было красиво */
    margin: 0 auto;   /* центровка */
  }
}
/* ====== ADDITIONAL SERVICES SECTION ====== */
.additional-services-section {
  background-color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.additional-services-section .section-title {
  font-size: 36px;
  font-weight: 700;
  color: #0f141e;
  margin-bottom: 25px;
}

.additional-services-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
  color: #333;
  text-align: left;
}

.additional-services-text p {
  margin-bottom: 20px;
}

.additional-services-text ul {
  margin: 15px 0;
  padding-left: 25px;
}

.additional-services-text li {
  margin-bottom: 10px;
  position: relative;
}

.additional-services-text li::before {
  content: "→";
  position: absolute;
  left: -20px;
  color: #009bff;
  font-weight: 700;
}

/* адаптив */
@media (max-width: 768px) {
  .additional-services-section {
    padding: 60px 15px;
  }

  .additional-services-text {
    font-size: 16px;
  }
}
/* ====== REVIEWS SECTION ====== */
.reviews-full-section {
  background: #f0f0f0;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}

.reviews-full-section .section-title {
  font-size: 36px;
  font-weight: 700;
  color: #0f141e;
  margin-bottom: 15px;
}

.reviews-full-section .section-subtext {
  font-size: 18px;
  color: #555;
  margin-bottom: 50px;
}

.reviews-full-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  transition: transform 0.6s ease;
}

.review-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
}

.review-content {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  text-align: left;
  gap: 25px;
  max-width: 850px;
}

.review-photo img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.review-text-wrap {
  flex: 1;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.review-name {
  font-size: 22px;
  font-weight: 600;
  color: #0f141e;
}

.review-stars {
  font-size: 20px;
  color: #ccc;
}

.review-stars .star.filled {
  color: #ffb400;
}

.review-text {
  font-size: 17px;
  color: #333;
  line-height: 1.8;
  margin-top: 10px;
}

/* стрелки */
.reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 20, 30, 0.8);
  color: #fff;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 10;
}

.reviews-arrow:hover {
  background: #6fade3;
}

.reviews-arrow.prev { left: 15px; }
.reviews-arrow.next { right: 15px; }

/* адаптив */
@media (max-width: 768px) {
  .review-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
  }

  .review-photo img {
    width: 90px;
    height: 90px;
  }

  .review-header {
    flex-direction: column;
    gap: 5px;
  }

  .review-text {
    font-size: 16px;
  }
}
@media (max-width: 768px) {

  /* делаем стрелки видимыми на мобильном */
  .reviews-arrow {
    top: auto;
    transform: none;
	margin-top: 10px;
  }

  .reviews-arrow.prev {
    left: 30%;
  }

  .reviews-arrow.next {
    right: 30%;
  }

  /* даём место под стрелки */
  .reviews-full-carousel {
    padding-bottom: 50px;
  }
}
.category-hero {
  position: relative;
  height: 360px;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background: #0f141e;
}

.category-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
  z-index: 0;
}

.category-hero-content {
  position: relative;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 20px;
}

.category-hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.category-hero p {
  font-size: 18px;
  color: #dcdcdc;
}

/* ---- посты ---- */
.category-posts {
  background: #fff;
  padding: 80px 20px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.post-card {
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.post-card:hover {
  transform: translateY(-6px);
}

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-card h2 {
  font-size: 22px;
  margin: 15px;
  color: #0f141e;
}

.post-card p {
  font-size: 16px;
  margin: 0 15px 15px;
  color: #555;
}

.btn-more {
  display: inline-block;
  background: #6fade3;
  color: #fff;
  margin: 0 15px 20px;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
}

.btn-more:hover {
  background: #0f141e;
}

/* адаптив */
@media (max-width: 768px) {
  .category-hero h1 {
    font-size: 32px;
  }
  .posts-grid {
    grid-template-columns: 1fr;
  }
}
.services-hero {
  position: relative;
  background-color: #0F141E;
  color: #fff;
  padding: 80px 20px;
  text-align: left;
}

.services-hero .category-hero-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.services-hero .hero-title {
  font-size: 42px;
  margin-bottom: 25px;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.services-hero .hero-text p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 18px;
  color: #e5e5e5;
}

.services-hero strong {
  color: #6fade3;
  font-weight: 600;
}

.hero-list {
  list-style: none;
  padding-left: 0;
  margin: 25px 0 35px;
}

.hero-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.hero-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: #6fade3;
  font-weight: bold;
  font-size: 20px;
}

/* адаптив */
@media (max-width: 768px) {
  .services-hero .hero-title {
    font-size: 32px;
  }
  .services-hero .hero-text p {
    font-size: 16px;
  }
}
.hero-bg {
  background-color: transparent; /* этот цвет и был чёрным */
}
@media (max-width: 768px) {

  /* Делаем футер ВСЕГДА одним столбцом */
  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;   /* центрируем всё */
    text-align: center;    /* выравниваем текст */
    gap: 25px;
  }

  /* Лого — адаптивное, не ломается */
  .footer-logo {
    width: 100%;
    max-width: 220px;
    height: auto;
  }

  /* Списки — по центру */
  .footer-list li {
    text-align: center;
  }

  /* Контакты — центруем */
  .footer-contacts li {
    justify-content: center;
  }

  /* Нижний футер тоже в столбец */
  .footer-bottom-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .utp {text-align:left;color: #ffffff;text-shadow: 4px 2px 6px black;}
}