/* KPI LAB, 20.09.2026 — правки визуала тестового контура.
   Отдельный файл, чтобы не трогать минифицированный style.css. */

/* ---------- Контакты: две колонки, карта, меньше воздуха ---------- */
.conteiner #contacts { padding-bottom: 60px; }
.conteiner #contacts .childConteiner { padding-top: 70px; }
.conteiner #contacts .childConteiner .fire { display: none; }

.contactsGrid {
  display: flex;
  gap: 56px;
  width: 100%;
  margin-top: 44px;
  align-items: stretch;
}
.contactsLeft {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.conteiner #contacts .childConteiner .contactsConteiner {
  gap: 26px;
  margin-top: 0;
}
.conteiner #contacts .childConteiner .contactsConteiner .contactsItem { gap: 24px; }
.conteiner #contacts .childConteiner .contactsConteiner .contactsItem img {
  height: 34px;
  width: 34px;
  animation: none;
  flex: 0 0 34px;
}
.conteiner #contacts .childConteiner .contactsConteiner .contactsItem p {
  line-height: 30px;
  font-size: 20px;
}
.conteiner #contacts .childConteiner .contactsConteiner .contactsItem p a {
  color: inherit;
  text-decoration: none;
}
.conteiner #contacts .childConteiner .contactsConteiner .contactsItem p a:hover { color: var(--hover_color); }
.conteiner #contacts .childConteiner .contactsLeft .setModal {
  margin-top: 36px;
  align-self: flex-start;
}
.contactsMap {
  flex: 1 1 auto;
  min-height: 400px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 225, 117, 0.28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  background: #111;
}
.contactsMap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

@media only screen and (max-width: 900px) {
  .contactsGrid { flex-direction: column; gap: 32px; margin-top: 32px; }
  .contactsLeft { flex: 0 0 auto; }
  .contactsMap, .contactsMap iframe { min-height: 320px; }
}
@media only screen and (max-width: 480px) {
  .conteiner #contacts .childConteiner .contactsConteiner .contactsItem p {
    line-height: 20px;
    font-size: 15px;
  }
  .conteiner #contacts .childConteiner .contactsConteiner .contactsItem img {
    height: 26px; width: 26px; flex-basis: 26px;
  }
  .contactsMap, .contactsMap iframe { min-height: 260px; }
}

/* ---------- SEO-текст: блок под тексты и заголовки ---------- */
.conteiner #seo {
  width: 100%;
  background-image: url(../img/bgSection3.webp);
  background-position: center;
  background-size: cover;
  color: var(--def_text_color);
  padding-bottom: 60px;
}
.conteiner #seo .childConteiner {
  width: 100%;
  max-width: 1290px;
  margin: 0 auto;
  padding: 60px 30px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.conteiner #seo > .childConteiner > h1 {
  font-family: "Forum";
  font-size: 38px;
  font-weight: 400;
  line-height: 42px;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(118.95deg, #b1840e 7.58%, #ffe175 37.17%, #a77c22 59.2%, #fff58c 80.12%, #8d5a07 95.01%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
}
.seoText {
  max-width: 969px;
  width: 100%;
  margin-top: 30px;
  font-family: "Mulish";
  font-size: 18px;
  line-height: 28px;
  color: #dddfe4;
}
.seoText h2,
.seoText h3 {
  font-family: "Forum";
  font-weight: 400;
  font-size: 26px;
  line-height: 32px;
  color: #ffe175;
  margin: 34px 0 12px;
  text-align: left;
  text-transform: none;
}
.seoText h3 { font-size: 22px; line-height: 28px; }
.seoText h2:first-child,
.seoText h3:first-child { margin-top: 0; }
.seoText a { color: #ffe175; }
.seoText table { width: 100%; border-collapse: collapse; margin: 0 0 18px; }
.seoText th, .seoText td {
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.seoText th { color: #ffe175; font-weight: 600; }
.seoText p { margin: 0 0 14px; }
.seoText ul { margin: 0 0 14px 22px; padding: 0; }
.seoText li { margin: 0 0 6px; }
.seoText strong { color: #ffffff; font-weight: 600; }

@media only screen and (max-width: 716px) {
  .conteiner #seo > .childConteiner > h1 { font-size: 28px; line-height: 32px; }
  .seoText { font-size: 16px; line-height: 25px; }
  .seoText h3 { font-size: 22px; line-height: 27px; }
}

/* ---------- «Читать далее» и блок ссылок ---------- */
.seoMore[hidden] { display: none; }
.seoToggle {
  all: unset;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 0 22px;
  height: 44px;
  border-radius: 100px;
  border: 1px solid rgba(255, 225, 117, 0.45);
  color: #ffe175;
  font-family: "Forum";
  font-size: 18px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.25s;
}
.seoToggle:hover { border-color: #ffe175; background: rgba(255, 225, 117, 0.08); }
.seoToggle svg { transition: transform 0.25s; }
.seoToggle.isOpen svg { transform: rotate(180deg); }

.seoLinks {
  width: 100%;
  max-width: 969px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 225, 117, 0.18);
}
.seoLinksLabel {
  font-family: "Mulish";
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffe175;
  margin: 0 0 16px;
}
.seoLinks ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.seoLinks a {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #dddfe4;
  font-family: "Mulish";
  font-size: 15px;
  text-decoration: none;
  transition: 0.25s;
}
.seoLinks a:hover { border-color: #ffe175; color: #ffe175; }

@media only screen and (max-width: 716px) {
  .seoToggle { font-size: 16px; height: 40px; }
  .seoLinks a { font-size: 14px; padding: 8px 13px; }
}


/* ---------- WordPress: внутренние страницы, подвал ---------- */
.innerPage {
  width: 100%;
  min-height: 70vh;
  background-image: url(../img/bgSection3.webp);
  background-position: center;
  background-size: cover;
  color: var(--def_text_color);
  padding-bottom: 80px;
}
.innerPage .childConteiner {
  width: 100%;
  max-width: 1290px;
  margin: 0 auto;
  padding: 150px 30px 30px; /* шапка сайта позиционирована поверх контента */
}
.innerPage h1 {
  font-family: "Forum";
  font-size: 38px;
  font-weight: 400;
  line-height: 44px;
  text-transform: uppercase;
  background: linear-gradient(118.95deg, #b1840e 7.58%, #ffe175 37.17%, #a77c22 59.2%, #fff58c 80.12%, #8d5a07 95.01%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 30px;
}
.pageText {
  max-width: 969px;
  font-family: "Mulish";
  font-size: 17px;
  line-height: 27px;
  color: #dddfe4;
}
.pageText h2 { font-family: "Forum"; font-weight: 400; font-size: 26px; line-height: 32px; color: #ffe175; margin: 34px 0 12px; }
.pageText h3 { font-family: "Forum"; font-weight: 400; font-size: 22px; line-height: 28px; color: #ffe175; margin: 26px 0 10px; }
.pageText p { margin: 0 0 14px; }
.pageText ul, .pageText ol { margin: 0 0 14px 22px; padding: 0; }
.pageText li { margin: 0 0 6px; }
.pageText a { color: #ffe175; }
.pageText strong { color: #fff; font-weight: 600; }
.isInner .header2 { display: none !important; }
footer .footerLinks { margin-top: 10px; display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
footer .footerLinks a { color: var(--def_text_color); font-family: "Mulish"; font-size: 13px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
footer .footerLinks a:hover { color: #ffe175; border-color: #ffe175; }
@media only screen and (max-width: 716px) {
  .innerPage .childConteiner { padding-top: 110px; }
  .innerPage h1 { font-size: 26px; line-height: 32px; }
  .pageText { font-size: 15px; line-height: 24px; }
}
