/* ininser.ru — уведомление о cookie, ловушка для ботов, правки оформления. v1.0.2 2026-10-29 */
.ii-cookie {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 10050;
  box-sizing: border-box;
  width: calc(100% - 48px);
  max-width: 1200px;
  display: flex;
  align-items: center;
  gap: 20px 40px;
  padding: 28px 36px;
  background: #ffffff;
  color: #1f2430;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(16, 24, 40, 0.18);
  font-size: 15px;
  line-height: 1.6;
}
.ii-cookie__body { flex: 1 1 auto; }
.ii-cookie__title { margin: 0 0 8px; font-size: 19px; font-weight: 700; line-height: 1.3; color: #1f2430; }
.ii-cookie__text a { color: #1f3b73; text-decoration: underline; }
.ii-cookie__text a:hover { color: #16305f; }
.ii-cookie__actions { display: flex; flex-direction: column; gap: 12px; flex: 0 0 240px; }
.ii-cookie__btn {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid #1f3b73;
  border-radius: 24px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.ii-cookie__btn--accept { background: #1f3b73; color: #ffffff; }
.ii-cookie__btn--accept:hover { background: #16305f; border-color: #16305f; }
.ii-cookie__btn--necessary { background: #ffffff; color: #1f3b73; }
.ii-cookie__btn--necessary:hover { background: #eef2f9; }
.ii-cookie__btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(31, 59, 115, 0.35); }
@media (max-width: 860px) {
  .ii-cookie { flex-direction: column; align-items: stretch; width: calc(100% - 32px); bottom: 16px; padding: 20px; font-size: 14px; }
  .ii-cookie__actions { flex-basis: auto; }
}
.ii-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.ii-legal { max-width: 900px; }
.ii-legal h2 { margin: 28px 0 12px; font-size: 20px; }
.ii-legal h3 { margin: 22px 0 10px; font-size: 17px; }
.ii-legal p, .ii-legal li { line-height: 1.6; }
.ii-legal .ii-legal__meta { color: #666; }
/* Слайдер на главной: подпись над заголовком — читаемая плашка вместо мелких заглавных */
.slides.items .item .inner > .section {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.88);
  border-left: 3px solid #1f3b73;
  border-radius: 4px;
  color: #1f3b73;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.4;
}
/* Главная, блок «Контакты»: показывать все офисы без внутренней прокрутки */
.contacts.front.filials .left_block .items.border,
.contacts.front.filials .left_block .mCustomScrollBox {
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
}

/* v1.1.0 2026-10-29: слайдер на главной — заголовок и список услуг */
.slides.items .item .inner .title {
  margin: 0 0 24px;
  max-width: 640px;
  font-family: inherit;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #14233f;
}
.ii-hero-list { list-style: none; margin: 0; padding: 0; }
.ii-hero-list li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 24px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  color: #1f2430;
}
.ii-hero-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 3px;
  border-radius: 2px;
  background: #1f3b73;
}
@media (max-width: 991px) {
  .slides.items .item .inner .title { font-size: 30px; }
  .ii-hero-list li { font-size: 15px; }
}

/* v1.1.1 2026-10-29: слайдер — адаптивный заголовок без обрезки, список целиком, видимые маркеры */
.slides.items .item .inner .title {
  font-size: clamp(26px, 2.5vw, 44px) !important;
  overflow: visible !important;
  text-overflow: clip !important;
  max-height: none !important;
  overflow-wrap: break-word;
}
.slides.items .item .inner .text-block {
  max-height: none !important;
  overflow: visible !important;
}
.slides.items .item .inner .text-block ul.ii-hero-list > li {
  margin: 0 0 6px;
  font-size: clamp(14px, 1.05vw, 17px);
}
.slides.items .item .inner .text-block ul.ii-hero-list > li::before {
  width: 8px !important;
  height: 8px !important;
  top: 0.5em !important;
  border-radius: 2px;
  background: #1f3b73 !important;
}

/* v1.1.2 2026-10-29: маркеры списка на одной линии с заголовком */
.slides.items .item .inner .text-block ul.ii-hero-list { margin: 0 !important; padding: 0 !important; }
.slides.items .item .inner .text-block ul.ii-hero-list > li { margin-left: 0 !important; padding-left: 20px !important; text-indent: 0 !important; }
.slides.items .item .inner .text-block ul.ii-hero-list > li::before { left: 0 !important; margin: 0 !important; }

/* v1.1.3 2026-10-29: название компании одной строкой без переноса, подзаголовок отдельной строкой */
.slides.items .item .inner h1.title {
  font-size: clamp(22px, 1.9vw, 34px) !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}
.slides.items .item .inner h1.title .ii-brand {
  display: block;
  white-space: nowrap;
  font-weight: 700;
  color: #14233f;
}
.slides.items .item .inner h1.title .ii-sub {
  display: block;
  margin-top: 6px;
  font-weight: 500;
  color: #1f2a44;
}
@media (max-width: 479px) {
  .slides.items .item .inner h1.title { font-size: 20px !important; }
}

/* v1.1.4 2026-10-29: запас по ширине для названия компании */
.slides.items .item .inner h1.title { font-size: clamp(20px, 2vw, 32px) !important; }
@media (max-width: 479px) { .slides.items .item .inner h1.title { font-size: 19px !important; } }

/* v1.1.6 2026-10-29: телефон — плашка рейтинга переносится, список услуг в слайде скрыт (услуги есть ниже) */
@media (max-width: 767px) {
  .slides.items .item .inner > .section { white-space: normal !important; max-width: 100%; box-sizing: border-box; font-size: 13px; overflow: visible !important; text-overflow: clip !important; }
  .slides.items .item .inner .text-block { display: none !important; }
}
