/* ===================== 1) PAGE HERO ===================== */
.page-hero {
	padding: 1.75rem 0 0.5rem;
}

.page-hero h1 {
	margin: 0 0 12px;
	font-size: var(--section-title-size);
	font-weight: var(--section-title-weight);
	color: var(--ink);
	text-align: center;
	line-height: 1.2;
}

/* Основа start */
.section_company,
.section_advantages,
.section_questions,
.section_reviews {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

/* Горизонтальные блоки - левое выравнивание */
.horizontal-leveler {
	display: flex;
	gap: clamp(2rem, 5vw, 40px);
	justify-content: flex-start;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto 2rem;
}

.vertical-leveler {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.vertical-leveler h2,
.vertical-leveler h3 {
	margin-bottom: 0.5rem;
	line-height: 1.2;
}

.vertical-leveler p {
	margin-bottom: 1rem;
	line-height: 1.5;
}

.title-main {
	color: #4a4a4a;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: bold;
	margin-bottom: 2rem;
}

.subtitle {
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	font-weight: 500;
}

.info-desc {
	font-size: 1rem;
	color: #333;
}

.info-desc b {
	font-weight: 700;
}

.image-block {
	max-width: 50%;
	flex: 0 0 auto;
	display: flex;
	justify-content: flex-start;
}

.image-block img {
	max-width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}

.image-block.icon img {
	width: 64px;
	height: 64px;
}
/* Основа end */
/* section advantages start */
.section_advantages .vertical-leveler {
	gap: 4px;
}

.section_advantages h3 {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 10px;
	color: #222;
}

.section_advantages .vertical-leveler p {
	margin-bottom: 0.2rem; /* меньшее расстояние под заголовком */
	font-size: 0.95rem; /* компактнее шрифт */
}

.section_advantages .feature__text {
	font-size: 0.9rem;
	line-height: 1.4;
	color: #444;
}
/* section advantages end */

/* section questions start */
.main-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 20px;
}

.border-blue {
	border: 2px solid var(--blue);
	border-radius: 8px;
	padding: 20px;
	background: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.border-blue h3 {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 10px;
	color: #222;
}

.border-blue p {
	font-size: 1rem;
	color: #444;
	line-height: 1.5;
}

/* section questions end */

/* section reviews start*/
.reviews-container {
	justify-content: space-between;
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
}

.review-card {
	background: #fff;
	border: 2px solid var(--blue);
	border-radius: 12px;
	padding: 20px 25px;
	max-width: 50%;
	flex: 1 1 45%;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
}

.review-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.client-info {
	display: flex;
	flex-direction: column;
}

.review-client {
	font-weight: 700;
	font-size: 1.1rem;
	color: #222;
}

.review-date {
	font-size: 0.9rem;
	color: #666;
}

.review-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.pdf-icon {
	width: 50px;
	height: 50px;
	cursor: pointer;
	transition: transform 0.2s ease;
}

.review-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.review-card:hover .pdf-icon {
	transform: scale(1.1);
}

.review-stars {
	font-size: 1rem;
	color: #f5a623; /* золотистые звёзды */
}

.review-text {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #444;
	margin-top: 8px;
}
/* section reviews end*/

/* section company start */
.section--company {
	padding-top: 24px;
}

.section--company .section__content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(2rem, 5vw, 40px);
}

/* Левая колонка (текст) */
.company__text {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.company__subtitle {
	font-size: clamp(1.3rem, 3vw, 1.7rem);
	font-weight: 500;
	color: #333;
}

.company__name {
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

.company__article h3 {
	font-size: clamp(1rem, 2vw, 1.4rem);
	margin-bottom: 0.25rem;
	color: #222;
}

.company__desc {
	font-size: 1rem;
	color: #333;
}

.company__desc b {
	font-weight: 700;
}

/* Правая колонка (изображение) */
.company__image-block {
	text-align: center;
}

.company__image {
	max-width: 100%;
}

.company__caption {
	font-size: 0.9rem;
	color: #777;
	margin-top: 0.5rem;
}

/* Адаптив */
@media (max-width: 768px) {
	.section--company .section__content {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.company__image-block {
		order: -1; /* изображение сверху */
		margin-bottom: 1rem;
	}

	.company__text {
		align-items: center;
		text-align: center;
	}
}
/* section company end */

/* Адаптивность для мобилок */
@media (max-width: 768px) {
	.title-main {
		margin-bottom: 2rem;
		font-size: clamp(1.8rem, 4vw, 2.5rem);
	}

	.horizontal-leveler {
		flex-direction: column;
		align-items: center;
		gap: 1rem;
	}

	/* Вертикальный блок с текстом */
	.vertical-leveler {
		padding: 0;
		text-align: center;
		width: 100%;
		box-sizing: border-box;
		gap: 8px;
	}

	.vertical-leveler h2,
	.vertical-leveler h3 {
		margin-bottom: 0.3rem;
	}

	.vertical-leveler p {
		margin-bottom: 0.5rem;
	}

	/* Картинка */
	.image-block {
		justify-content: center;
		max-width: 100%;
		order: -1;
		margin-bottom: 1rem;
	}

	.image-block img {
		max-width: 100%;
		height: auto;
	}

	/* Стрелочки */
	button.left-arrow,
	button.right-arrow {
		opacity: 0.5;
	}

	/* Секция "Гордость" (слайдер) */
	.slider-container {
		margin-top: 0;
	}
	.slide img {
		max-height: 220px;
		object-fit: contain;
	}

	/* Сетка вопросов на 1 колонку */
	.questions-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.section_questions h3 {
		text-align: left;
	}

	.section_questions p {
		text-align: left;
	}

	/* Карточки вопросов */
	.border-blue {
		padding: 15px;
	}

	/* Отзывы */
	.reviews-container {
		flex-direction: column;
		gap: 1.5rem;
		align-items: stretch;
	}

	.review-card {
		max-width: 100%;
	}

	.review-date {
		text-align: left;
	}
}
