/* Главная AeroCDM.by — только секции страницы. Шапка, подвал и базовые стили — site-2026.css. */

/* ---------- общее ---------- */
.ac-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.ac-home :is(h1, h2, h3) {
	font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
	color: #101d26;
	margin: 0;
	padding: 0;
	border: 0;
	text-transform: none;
}
.ac-h2 { font-size: 32px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.ac-section { padding: 72px 0; }
.ac-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}
/* цвета ссылок задаём через :link/:visited — иначе их перебивает a:link из style.php */
.ac-more,
.ac-more:link,
.ac-more:visited {
	font-size: 15px;
	font-weight: 600;
	color: #0e7bb5;
	white-space: nowrap;
}
.ac-more:hover { color: #0a5d8b; }

.ac-btn,
.ac-btn:link,
.ac-btn:visited {
	display: inline-block;
	padding: 15px 28px;
	border: 1px solid #0e7bb5;
	border-radius: 10px;
	background: #0e7bb5;
	color: #fff;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
	transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.ac-btn:hover { background: #0a5d8b; border-color: #0a5d8b; color: #fff; }
.ac-btn--ghost,
.ac-btn--ghost:link,
.ac-btn--ghost:visited {
	background: transparent;
	border-color: #cfdee9;
	color: #16212a;
}
.ac-btn--ghost:hover { background: #f2f8fc; border-color: #0e7bb5; color: #0e7bb5; }

/* ---------- hero ---------- */
.ac-hero {
	background: linear-gradient(180deg, #f4f9fc 0%, #ffffff 100%);
	border-bottom: 1px solid #eef4f8;
}
.ac-hero__inner {
	display: grid;
	grid-template-columns: 1.02fr 1fr;
	gap: 56px;
	align-items: center;
	padding-top: 64px;
	padding-bottom: 68px;
}
.ac-eyebrow {
	margin: 0 0 18px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #0e7bb5;
}
.ac-h1 {
	font-size: 46px;
	line-height: 1.13;
	font-weight: 700;
	letter-spacing: -.015em;
	max-width: 15em;
}
.ac-lead {
	margin: 20px 0 0;
	font-size: 17px;
	line-height: 1.6;
	color: #4b5c68;
	max-width: 34em;
}
.ac-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ac-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	color: #56656f;
}
.ac-facts li { position: relative; padding-left: 18px; }
.ac-facts li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #8bc9e8;
}
.ac-hero__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 26px 60px rgba(13, 48, 70, .12);
}

/* ---------- категории ---------- */
.ac-cat-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ac-cat,
.ac-cat:link,
.ac-cat:visited {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 148px;
	padding: 22px 22px 20px;
	border: 1px solid #e6eef4;
	border-radius: 14px;
	background: #fff;
	color: #101d26;
	text-decoration: none;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.ac-cat:hover {
	border-color: #b9dcf0;
	box-shadow: 0 16px 34px rgba(15, 48, 70, .10);
	transform: translateY(-2px);
}
.ac-cat__name {
	font-family: "Roboto Condensed", Arial, sans-serif;
	font-size: 21px;
	line-height: 1.25;
	font-weight: 700;
	padding-right: 28px;
}
.ac-cat__count { font-size: 14px; color: #7b8a95; margin-top: 10px; }
.ac-cat__arrow {
	position: absolute;
	right: 20px;
	bottom: 18px;
	font-size: 18px;
	color: #0e7bb5;
	transition: transform .18s ease;
}
.ac-cat:hover .ac-cat__arrow { transform: translateX(4px); }

/* ---------- товары ---------- */
.ac-products { background: #f7fafc; }
.ac-prod-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ac-prod {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e6eef4;
	border-radius: 14px;
	overflow: hidden;
	transition: box-shadow .18s ease, transform .18s ease;
}
.ac-prod:hover { box-shadow: 0 18px 38px rgba(15, 48, 70, .10); transform: translateY(-2px); }
.ac-prod__pic { display: block; aspect-ratio: 4 / 3; background: #eef4f8; overflow: hidden; }
.ac-prod__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ac-prod__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.ac-prod__title {
	font-family: "Roboto Condensed", Arial, sans-serif;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 700;
}
.ac-prod__title :is(a, a:link, a:visited) { color: #101d26; }
.ac-prod__title a:hover { color: #0e7bb5; }
.ac-prod__text { margin: 0; font-size: 14.5px; line-height: 1.55; color: #5a6a75; }
.ac-prod__link,
.ac-prod__link:link,
.ac-prod__link:visited {
	margin-top: auto;
	font-size: 15px;
	font-weight: 600;
	color: #0e7bb5;
}

/* ---------- преимущества ---------- */
.ac-why-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}
.ac-why__item { display: flex; flex-direction: column; gap: 12px; }
.ac-why__icon {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #eef7fc;
	color: #0e7bb5;
}
.ac-why__icon svg { width: 22px; height: 22px; }
.ac-why__title {
	font-family: "Roboto Condensed", Arial, sans-serif;
	font-size: 19px;
	line-height: 1.3;
	font-weight: 700;
}
.ac-why__text { margin: 0; font-size: 15px; line-height: 1.6; color: #5a6a75; }

/* ---------- о компании ---------- */
.ac-about { background: #f7fafc; }
.ac-about__inner { max-width: 900px; }
.ac-about__text { margin-top: 22px; font-size: 16.5px; line-height: 1.72; color: #40505b; }
.ac-about__text p { margin: 0 0 16px; }
/* в тексте страницы стоят инлайновые style="text-align: justify" — их перебивает только !important */
.ac-about__text p[style] { text-align: left !important; }
.ac-about__text strong { color: #16212a; }
.ac-about__text p:has(> strong:only-child) {
	margin-top: 26px;
	font-size: 18px;
}
.ac-about__text a { color: #0e7bb5; text-decoration: underline; }

/* ---------- контакты ---------- */
.ac-cta {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 40px;
	align-items: center;
	background: #101d26;
	border-radius: 20px;
	padding: 44px 48px;
	color: #fff;
}
.ac-cta__title {
	font-family: "Roboto Condensed", Arial, sans-serif;
	font-size: 30px;
	line-height: 1.2;
	font-weight: 700;
	color: #fff;
	margin: 0 0 12px;
}
.ac-cta__text { margin: 0; font-size: 16px; line-height: 1.65; color: #c3d2dc; max-width: 40em; }
.ac-cta__actions { margin-top: 24px; }
.ac-cta__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: "Roboto Condensed", Arial, sans-serif;
	font-size: 22px;
	font-weight: 700;
}
.ac-cta__list :is(a, a:link, a:visited) { color: #fff; }
.ac-cta__list a:hover { color: #8bc9e8; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
	.ac-h1 { font-size: 38px; }
	.ac-hero__inner { gap: 36px; }
	.ac-cat-grid, .ac-prod-grid, .ac-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ac-cta { grid-template-columns: 1fr; padding: 36px 32px; }
}

@media (max-width: 900px) {
	.ac-hero__inner { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 44px; }
	.ac-hero__media { order: -1; }
	.ac-h1 { font-size: 32px; }
	.ac-section { padding: 48px 0; }
	.ac-h2 { font-size: 26px; }
}

@media (max-width: 700px) {
	.ac-why-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 560px) {
	.ac-wrap { padding: 0 18px; }
	.ac-h1 { font-size: 27px; }
	.ac-lead { font-size: 16px; }
	.ac-cat-grid, .ac-prod-grid, .ac-why-grid { grid-template-columns: 1fr; }
	.ac-actions .ac-btn { flex: 1 1 auto; text-align: center; }
	.ac-cta { padding: 28px 22px; border-radius: 16px; }
	.ac-cta__title { font-size: 24px; }
	.ac-cta__list { font-size: 19px; }
	.ac-about__text { font-size: 16px; }
}

/* в теме a:link / #wrap a подчёркивают все ссылки — кнопкам и карточкам главной это не нужно */
#wrap :is(.ac-cat, .ac-prod__title a, .ac-prod__link, .ac-more, .ac-btn) { text-decoration: none; }
