/* ============================================================
   AIE AERO — воздушный светлый стиль (скин 6)
   Переопределения поверх style.css темы AIE.
   Палитра: небо/бирюза, облачные градиенты, плавные скругления.
   ============================================================ */

:root {
  --aero-bg: #f0f8fb;
  --aero-card: #ffffff;
  --aero-ink: #123540;
  --aero-soft: rgba(18, 53, 64, .62);
  --aero-accent: #0fa8c2;
  --aero-accent-2: #8fd8e8;
  --aero-deep: #0b7f96;
  --aero-dark: #123540;
  --aero-line: #dcecf2;
  --aero-radius: 26px;
}

/* ---------- база ---------- */
body {
  font-family: "Inter", "Roboto", "Segoe UI", Arial, sans-serif;
  background: var(--aero-bg);
  color: var(--aero-ink);
}

h1, h2, h3, h4,
.button, .input, textarea {
  font-family: "Inter", "Roboto", "Segoe UI", Arial, sans-serif;
}

h1 strong, h2 strong,
.mainTitleItem .text h3 strong {
  color: var(--aero-accent);
}

h2 {
  letter-spacing: -.02em;
}

a:hover {
  color: var(--aero-accent);
}

/* ---------- кнопки ---------- */
.button {
  background: linear-gradient(120deg, var(--aero-accent), #4cc3e0);
  border-radius: 999px;
  box-shadow: 0 12px 24px -10px rgba(15, 168, 194, .55);
  letter-spacing: .02em;
}

.button:hover {
  background: linear-gradient(120deg, var(--aero-accent), #4cc3e0);
  filter: brightness(1.07);
  color: #fff;
  transform: translateY(-2px);
}

.button.grey {
  background: #fff;
  color: var(--aero-accent);
  border: 1px solid var(--aero-line);
  box-shadow: 0 8px 18px -12px rgba(18, 53, 64, .25);
}

.button.grey:hover {
  background: #eafaff;
  color: var(--aero-deep);
  filter: none;
}

.mainProductsSection.dark .button.grey:hover {
  background: #eafaff;
}

/* ---------- поля ---------- */
.input, textarea {
  border: 1px solid var(--aero-line);
  border-radius: 999px;
  background: #fff;
}

.input:focus, textarea:focus {
  border-color: var(--aero-accent);
}

/* ---------- шапка ---------- */
header {
  background: #fff;
  border-bottom: 1px solid var(--aero-line);
}

header.fixed {
  box-shadow: 0 10px 30px -18px rgba(18, 53, 64, .35);
}

.logo {
  color: var(--aero-soft);
}

.logo:hover {
  color: var(--aero-accent);
}

.topPhone {
  color: var(--aero-ink);
}

.topPhone:hover {
  color: var(--aero-accent);
}

nav {
  border-top: 1px solid var(--aero-line);
  border-bottom: 1px solid var(--aero-line);
}

ul.headerMenu > li > a {
  color: var(--aero-soft);
}

ul.headerMenu > li > a:hover {
  color: var(--aero-accent);
}

ul.headerMenu > li > a::after {
  background: var(--aero-accent);
}

ul.headerSubmenu {
  background: #fff;
  border: 1px solid var(--aero-line);
  border-radius: 18px;
  box-shadow: 0 24px 48px -24px rgba(18, 53, 64, .35);
  overflow: hidden;
  padding: 8px 0;
}

ul.headerSubmenu > li > a::before {
  background: var(--aero-accent);
}

/* ---------- герой (слайдер) ---------- */
.mainTitleSection {
  padding-top: 40px;
  padding-bottom: 60px;
  background:
    radial-gradient(900px 420px at 88% 0%, rgba(143, 216, 232, .38), transparent),
    radial-gradient(620px 340px at 4% 100%, rgba(15, 168, 194, .12), transparent);
}

.mainTitleItem .text {
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--aero-line);
  border-radius: var(--aero-radius);
  padding: 38px 42px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 24px 48px -34px rgba(18, 53, 64, .4);
}

.mainTitleItem .text h3 {
  letter-spacing: -.02em;
}

.mainTitleItem .text p {
  color: var(--aero-soft);
}

.mainTitleSub {
  color: var(--aero-soft);
}

.mainTitleItem .img img {
  filter: drop-shadow(0 24px 28px rgba(18, 53, 64, .22));
}

.mainTitleSection .slick-dots li {
  background: var(--aero-accent-2);
}

.mainTitleSection .slick-dots li.slick-active {
  background: var(--aero-accent);
}

/* ---------- УТП (usp) ---------- */
.uspSection {
  background: transparent;
  border-bottom: 1px solid var(--aero-line);
}

.uspSection .uspCheck {
  background: linear-gradient(135deg, var(--aero-accent), #4cc3e0);
  box-shadow: 0 10px 20px -10px rgba(15, 168, 194, .6);
}

.uspSection .uspItem h4 {
  color: var(--aero-ink);
}

.uspSection .uspItem p {
  color: var(--aero-soft);
}

/* ---------- о компании ---------- */
.aboutSection {
  background: transparent;
}

.aboutSection .sub {
  color: var(--aero-soft);
}

.aboutItem {
  background: var(--aero-card);
  border: 1px solid var(--aero-line);
  border-radius: var(--aero-radius);
  padding: 30px 22px 26px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.aboutItem:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 44px -26px rgba(15, 168, 194, .5);
}

.aboutItem h4 {
  color: var(--aero-ink);
}

.aboutItem p {
  color: var(--aero-soft);
}

/* ---------- товарные секции ---------- */
.mainProductsSection {
  background: transparent;
}

.mainProductsSection.dark {
  background: linear-gradient(135deg, var(--aero-dark), #0b5c6e);
}

.mainProductsSection .sub {
  color: inherit;
  opacity: .75;
}

.mainProductsSection .slick-dots li {
  background: var(--aero-accent-2);
}

.mainProductsSection .slick-dots li.slick-active {
  background: var(--aero-accent);
}

.mainProductsSection.dark .slick-dots li {
  background: rgba(255, 255, 255, .45);
}

.mainProductsSection.dark .slick-dots li.slick-active {
  background: var(--aero-accent-2);
}

/* карточки товаров */
.catalogItem {
  background: var(--aero-card);
  border: 1px solid var(--aero-line);
  border-radius: var(--aero-radius);
  padding: 26px 22px;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
}

.catalogItem:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 44px -26px rgba(18, 53, 64, .35);
}

.catalogItem h3 {
  color: var(--aero-ink);
}

.mainProductsSection.dark .catalogItem h3 {
  color: var(--aero-ink);
}

.catalogItem .price {
  color: var(--aero-accent);
  font-weight: 700;
}

.catalogItem .char {
  color: var(--aero-soft);
}

.catalogItem .img {
  background: transparent;
}

/* ---------- форма заявки ---------- */
.formSection {
  background: transparent;
  padding-bottom: 75px;
}

.formWrap {
  background: linear-gradient(135deg, var(--aero-accent), var(--aero-deep));
  border-radius: 32px;
  padding: 48px 52px;
  box-shadow: 0 30px 60px -34px rgba(15, 168, 194, .8);
  align-items: center;
}

.formImg {
  align-items: center;
}

.formImg img {
  border-radius: 22px;
  border: 3px solid #fff;
  box-shadow: 0 18px 36px -18px rgba(18, 53, 64, .55);
  max-height: 340px;
  object-fit: cover;
}

.formText {
  padding-top: 0;
  color: #fff;
}

.formText h2 {
  color: #fff;
}

.formText .sub {
  color: rgba(255, 255, 255, .92);
  margin-bottom: 24px;
}

.formTextWrap {
  margin-bottom: 20px;
}

.formTextWrap input {
  width: 280px;
  height: 56px;
  border: none;
}

.formText .button {
  background: #fff;
  color: var(--aero-deep);
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .35);
}

.formText .button:hover {
  background: #eafaff;
  color: var(--aero-deep);
  filter: none;
}

.agreement {
  color: rgba(255, 255, 255, .85);
}

.agreement a {
  color: #fff;
  text-decoration: underline;
}

.agreement a:hover {
  color: #eafaff;
}

/* модальные окна */
.modal {
  border-radius: var(--aero-radius);
}

/* ---------- подвал ---------- */
footer {
  background: var(--aero-dark);
}

ul.footerMenu li a:hover,
a.footerContactsItem:hover svg {
  color: var(--aero-accent-2);
  fill: var(--aero-accent-2);
}

/* ---------- хлебные крошки / каталог ---------- */
.crumbs a {
  color: var(--aero-soft);
}

.crumbs a:hover {
  color: var(--aero-accent);
}

.subInfo p {
  color: var(--aero-soft);
}

/* SEO-текст на страницах категорий */
.contentSection {
  background: transparent;
}

/* FAQ (аккордеон лендингов из functions.php) */
.faqAcc {
  display: grid;
  gap: 10px;
  margin: 20px 0 10px;
}

.faqAcc-item {
  background: #fff;
  border: 1px solid var(--aero-line);
  border-radius: 18px;
  overflow: hidden;
}

.faqAcc-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 17px 22px;
  font: 600 16px/1.35 "Inter", "Roboto", sans-serif;
  color: var(--aero-ink);
  background: transparent;
  border: none;
  cursor: pointer;
}

.faqAcc-ico {
  flex: none;
  width: 22px;
  height: 22px;
  position: relative;
}

.faqAcc-ico::before, .faqAcc-ico::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--aero-accent);
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}

.faqAcc-ico::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faqAcc-item.open .faqAcc-ico::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faqAcc-a {
  display: none;
  padding: 0 22px 18px;
  color: var(--aero-soft);
}

.faqAcc-item.open .faqAcc-a {
  display: block;
}

/* ---------- адаптив формы ---------- */
@media (max-width: 900px) {
  .formWrap {
    flex-direction: column;
    padding: 36px 28px;
    gap: 24px;
  }

  .formImg {
    width: 100%;
    justify-content: center;
  }

  .formImg img {
    max-width: 240px;
    max-height: 240px;
  }

  .formText,
  .formSection.half .formText {
    width: 100%;
    padding-left: 0;
  }

  .formTextWrap {
    flex-direction: column;
    align-items: stretch;
  }

  .formTextWrap input {
    width: 100%;
  }

  .formTextWrap .agreement {
    width: 100%;
    padding-left: 0;
    padding-top: 12px;
  }

  .mainTitleItem .text {
    padding: 26px 24px;
  }
}

/* сетка клапанов: все товары видны без обрезки */
.valvesSection .mainProductsWrap {
  flex-wrap: wrap;
  row-gap: 30px;
}
@media (min-width: 960px) {
  .valvesSection .mainProductsWrap .catalogItem {
    width: calc(20% - 30px);
  }
}

/* длинные названия (напр. «Электротермический») не вылезают за карточку */
.valvesSection .catalogItem h3 {
  font-size: 16px;
  overflow-wrap: break-word;
  hyphens: auto;
}


/* === Новости на главной === */
.newsSection {
  padding: 70px 0 30px;
}
.newsSection .newsHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}
.newsSection .newsHead h2 {
  margin: 0;
}
.newsSection .newsAll {
  font-weight: 600;
  color: var(--aero-accent);
  white-space: nowrap;
}
.newsSection .newsWrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.newsSection .newsItem {
  display: flex;
  width: 100%;
  justify-self: stretch;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px -18px rgba(20, 40, 70, .35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.newsSection .newsItem:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px -16px rgba(15, 168, 194, .45);
}
.newsSection .newsImg {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef4f7;
}
.newsSection .newsImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.newsSection .newsItem:hover .newsImg img {
  transform: scale(1.05);
}
.newsSection .newsDate {
  padding: 18px 20px 0;
  font-size: 13px;
  color: #8a97a5;
}
.newsSection .newsTitle {
  padding: 8px 20px 22px;
  font-weight: 600;
  line-height: 1.4;
  color: #1d2b3a;
}
@media (max-width: 900px) {
  .newsSection .newsWrap { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
/* === /Новости на главной === */


/* === Раздел «Фанкойлы»: карточки с подложкой (макет согласован 15.10.2026) === */
.cat-fancoils .catalogWrap{
	margin:0 auto;
	display:grid;
	grid-template-columns:repeat(2,minmax(0,460px));
	justify-content:center;
	gap:56px;
	max-width:1000px;
}
.cat-fancoils .catalogItem{
	width:auto;
	margin:0;
	padding:22px 22px 30px;
	border:none;
	box-shadow:0 6px 22px rgba(22,60,74,.06);
}
.cat-fancoils .catalogItem:hover{
	box-shadow:0 16px 38px rgba(15,168,194,.18);
}
.cat-fancoils .catalogItem .img{
	background:linear-gradient(160deg,#eaf6fb,#f7fcfe);
	border-radius:18px;
	padding:12px;
	margin-bottom:24px;
}
.cat-fancoils .catalogItem .img .padding{
	padding-top:55%;
}

@media (max-width:900px){
	.cat-fancoils .catalogWrap{grid-template-columns:minmax(0,460px);}
}

/* 10 пунктов меню: гарантированные промежутки, чтобы слова не сливались */
ul.headerMenu {
  font-size: 13px;
  -webkit-column-gap: 10px;
  -moz-column-gap: 10px;
  column-gap: 10px;
}

/* === Страница «Новости» (/news/): карточки в фирменном стиле Aero === */
.cat-news .catalogWrap {
  row-gap: 34px;
}
.cat-news .catalogItem {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px -18px rgba(20, 40, 70, .35);
  -webkit-transition: transform .25s ease, box-shadow .25s ease;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cat-news .catalogItem:hover {
  -webkit-transform: translateY(-4px);
  transform: translateY(-4px);
  box-shadow: 0 18px 38px -16px rgba(15, 168, 194, .45);
}
.cat-news .catalogItem .img {
  margin: 0;
  background: #eef4f7;
}
.cat-news .catalogItem .img .padding {
  padding-top: 62.5%;
}
.cat-news .catalogItem .img img {
  top: 0;
  left: 0;
  -webkit-transform: none;
  transform: none;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  -o-object-fit: cover;
  object-fit: cover;
}
.cat-news .catalogItem .newsDate {
  padding: 16px 20px 0;
  font-size: 13px;
  color: #8a97a5;
  text-align: left;
}
.cat-news .catalogItem h3.newsTitle {
  text-align: left;
  padding: 8px 20px 18px;
  font-size: 17px;
  line-height: 1.4;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.cat-news .catalogItem .buttonWrap {
  padding: 0 20px 20px;
}
.cat-news .catalogItem .buttonWrap .button {
  width: 100%;
}
@media (max-width: 1100px) {
  .cat-news .catalogItem {
    width: calc(50% - 30px);
  }
}
@media (max-width: 700px) {
  .cat-news .catalogWrap {
    margin: 0;
  }
  .cat-news .catalogItem {
    width: 100%;
    margin: 0 0 30px;
  }
}
/* === /Страница «Новости» === */

/* === Слайдер главной: единый размер фото === */
.mainTitleItem .img img {
  width: 340px !important;
  height: 340px !important;
  max-width: none !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}
.mainTitleItem .img {
  width: 420px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
@media screen and (max-width: 960px) {
  .mainTitleItem .img {
    width: 100% !important;
    margin-bottom: 10px !important;
  }
  .mainTitleItem .img img {
    width: 260px !important;
    height: 260px !important;
  }
  .mainTitleItem .text {
    text-align: center !important;
  }
  .mainTitleItem .buttonWrap {
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
  }
}
@media screen and (max-width: 480px) {
  .mainTitleItem .img img {
    width: 220px !important;
    height: 220px !important;
  }
}
/* === /Слайдер главной === */
