/* New isolated style fixes and improvements. */

.hero-home {
  background: #ffffff;
  padding: 34px 0 58px;
}

.hero-home__slider {
  margin: 0 auto;
  max-width: 1500px;
  position: relative;
}

.hero-home__slides {
  background: #eff1f4;
  border-radius: 30px;
  min-height: 470px;
  overflow: hidden;
  position: relative;
}

.hero-home__slide {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(26px);
  transition: opacity .65s ease, transform .65s ease;
}

.hero-home__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  transform: translateX(0);
}

.hero-home__panel {
  align-self: center;
  background: rgba(255, 255, 255, .7);
  border-radius: 20px;
  margin: 36px 0 36px 36px;
  max-width: 760px;
  min-height: 360px;
  padding: 44px;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(10px);
}

.hero-home__panel h1,
.hero-home__panel h2 {
  color: #30313a;
  font-size: clamp(28px, 4.2vw, 34px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
  max-width: 760px;
}

.hero-home__panel ul {
  color: #6b6d73;
  display: grid;
  font-size: clamp(14px, 1.5vw, 15px);
  gap: 8px;
  line-height: 1.32;
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
}

.hero-home__panel li::before {
  content: "· ";
}

.hero-home__cta {
  align-items: center;
  background: #2a4ca2;
  border-radius: 14px;
  color: #ffffff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 500;
  justify-content: center;
  margin-top: 38px;
  min-height: 60px;
  min-width: 190px;
  padding: 0 28px;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.hero-home__cta:hover {
  background: #1d3675;
  color: #ffffff;
  transform: translateY(-1px);
}

.hero-home__media {
  min-height: 470px;
  overflow: hidden;
  position: absolute;
  width: 100%;
}


.hero-home__media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1);
  transition: transform 6.5s ease;
  width: 100%;
}

.hero-home__slide.is-active .hero-home__media img {
  transform: scale(1);
}

.hero-home__tabs {
  align-items: stretch;
  background: rgba(255, 255, 255, .92);
  border-radius: 16px;
  bottom: -54px;
  box-shadow: 0 18px 38px rgba(24, 28, 38, .09);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  left: 50%;
  max-width: 980px;
  min-height: 80px;
  overflow: hidden;
  position: absolute;
  transform: translateX(-50%);
  width: min(68vw, 980px);
  z-index: 5;
}

.hero-home__tab {
  background: transparent;
  border: 0;
  color: #6a6d73;
  display: grid;
  gap: 6px;
  justify-items: center;
  min-width: 0;
  padding: 22px 18px;
  position: relative;
  transition: background .25s ease, color .25s ease;
}

.hero-home__tab::before {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 16px 32px rgba(24, 28, 38, .1);
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity .25s ease;
}

.hero-home__tab strong,
.hero-home__tab span {
  position: relative;
  z-index: 1;
}

.hero-home__tab strong {
  color: #2a4ca2;
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 500;
  line-height: 1.1;
}

.hero-home__tab span {
  color: #6f7177;
  font-size: clamp(12px, 1.25vw, 13px);
  line-height: 1.1;
}

.hero-home__tab.is-active::before {
  opacity: 1;
}

.hero-home__tab.is-active strong {
  font-weight: 700;
}

.section-products {
  background: #ffffff;
  padding: 64px 0 56px;
}

.section-products .section-head {
  margin-bottom: 28px;
}

.section-products .section-head h2 {
  color: #2f3138;
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 800;
  letter-spacing: 0;
}

.section-products .section-head p {
  color: #6d737c;
  font-size: 18px;
  margin-top: 10px;
}

.product-grid-2--catalog {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 0;
}

.product-card--catalog {
  background: #f4f4f6;
  border: 0;
  border-radius: 18px;
  box-shadow: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  min-height: 258px;
  overflow: hidden;
  padding: 34px;
  position: relative;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.product-card--catalog.product-card--wide {
  grid-column: span 3;
  min-height: 258px;
}

.product-card--catalog:hover {
  background: #eeeef1;
  border: 0;
  box-shadow: none;
  transform: translateY(-2px);
}

.product-card--catalog:hover .product-card__title {
  color: #2a4ca2;
}

.product-card__title {
  color: #30313a;
  display: block;
  font-size: clamp(22px, 2.4vw, 26px);
  font-weight: 800;
  line-height: 1.08;
  max-width: 340px;
  position: relative;
  transition: color .2s ease;
  z-index: 1;
}

.product-card__text {
  color: #686b72;
  display: block;
  font-size: clamp(12px, 1.45vw, 16px);
  line-height: 1.25;
  margin-top: 26px;
  max-width: 360px;
  position: relative;
  z-index: 1;
}

.product-card__art {
  align-items: center;
  background: rgba(255, 255, 255, .74);
  border-radius: 50%;
  bottom: -84px;
  color: #2a4ca2;
  display: inline-flex;
  font-size: clamp(44px, 4vw, 72px);
  height: 230px;
  justify-content: center;
  position: absolute;
  right: -48px;
  width: 230px;
}

.product-card__art i {
  filter: drop-shadow(0 12px 16px rgba(43, 66, 240, 0.22));
  transform: translate(-18px, -22px);
}

.home-news-widget {
  padding: 58px 0 64px;
}

.home-news-widget__head {
  align-items: center;
  margin-bottom: 28px;
}

.home-news-widget__actions {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 8px;
  margin-left: auto;
}

.home-news-widget__rubrics {
  border-bottom: 1px solid #dfe7f1;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: -6px 0 28px;
}

.home-news-widget__rubric {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #6f8094;
  display: inline-flex;
  font-size: clamp(14px, 2vw, 15px);
  font-weight: 500;
  line-height: 1.1;
  min-height: 26px;
  padding: 0;
  position: relative;
  transition: color .2s ease;
  white-space: nowrap;
}

.home-news-widget__rubric::after {
  background: #1683ff;
  bottom: -1px;
  content: "";
  height: 3px;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  transition: opacity .2s ease;
}

.home-news-widget__rubric:hover,
.home-news-widget__rubric:focus-visible,
.home-news-widget__rubric.is-active {
  color: #1683ff;
  outline: none;
}

.home-news-widget__rubric.is-active::after {
  opacity: 1;
}

.home-news-widget__nav {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dfe6f0;
  border-radius: 50%;
  color: #26354f;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
  width: 42px;
}

.home-news-widget__nav:hover,
.home-news-widget__nav:focus-visible {
  background: #2a4ca2;
  border-color: #2a4ca2;
  color: #ffffff;
  outline: none;
}

.home-news-widget__viewport {
  margin: 0 -18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 18px 18px;
  scroll-behavior: smooth;
  scroll-padding-left: 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: thin;
}

.home-news-widget__viewport::-webkit-scrollbar {
  height: 8px;
}

.home-news-widget__viewport::-webkit-scrollbar-track {
  background: #eef2f7;
  border-radius: 999px;
}

.home-news-widget__viewport::-webkit-scrollbar-thumb {
  background: #c9d3e3;
  border-radius: 999px;
}

.home-news-widget__grid {
  display: flex;
  gap: 14px;
  grid-template-columns: none;
}

.home-news-card {
  display: flex;
  flex: 0 0 calc((100% - 42px) / 3.5);
  flex-direction: column;
  min-height: 390px;
  scroll-snap-align: start;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home-news-card:hover {
  border-color: #cbd6e6;
  box-shadow: 0 16px 34px rgba(20, 35, 70, .08);
  transform: translateY(-2px);
}

.home-news-card:hover h3 a {
  color: #2a4ca2;
}

.home-news-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.home-news-card h3 a {
  transition: color .2s ease;
}

.home-news-card p {
  -webkit-line-clamp: 3;
}

@media (max-width: 1080px) {
  .hero-home {
    padding: 20px 0 46px;
  }

  .hero-home__slides {
    min-height: 600px;
  }

  .hero-home__slide {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-home__panel {
    margin: 24px;
    max-width: none;
    min-height: 0;
    padding: 34px;
  }

  .hero-home__media {
    min-height: 260px;
    order: -1;
  }

  .hero-home__tabs {
    bottom: -44px;
    min-height: 88px;
    width: min(88vw, 820px);
  }

  .hero-home__tab {
    padding: 18px 12px;
  }

  .product-grid-2--catalog {
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card--catalog,
  .product-card--catalog.product-card--wide {
    grid-column: span 1;
  }

  .home-news-card {
    flex-basis: calc((100% - 28px) / 2.4);
  }
}

@media (max-width: 840px) {
  .hero-home {
    padding: 12px 0 34px;
  }

  .hero-home__slider {
    margin: 0 calc(var(--bs-gutter-x, 1.5rem) * -0.5);
  }

  .hero-home__slides {
    border-radius: 0;
    min-height: 440px;
  }

  .hero-home__panel {
    border-radius: 18px;
    margin: 14px;
    padding: 24px 20px;
  }

  .hero-home__panel h1,
  .hero-home__panel h2 {
    font-size: 34px;
    line-height: 1.08;
  }

  .hero-home__panel ul {
    font-size: 16px;
    gap: 7px;
    margin-top: 26px;
  }

  .hero-home__cta {
    border-radius: 12px;
    font-size: 17px;
    margin-top: 26px;
    min-height: 54px;
    min-width: 150px;
  }

  .hero-home__media {
    min-height: 230px;
  }

  .hero-home__tabs {
    background: rgba(255, 255, 255, .96);
    bottom: -28px;
    display: flex;
    left: 14px;
    max-width: none;
    min-height: 74px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
    right: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    transform: none;
    width: auto;
    -webkit-overflow-scrolling: touch;
  }

  .hero-home__tabs::-webkit-scrollbar {
    display: none;
  }

  .hero-home__tab {
    flex: 0 0 42%;
    padding: 15px 12px;
    scroll-snap-align: center;
  }

  .hero-home__tab strong {
    font-size: 16px;
  }

  .hero-home__tab span {
    font-size: 14px;
  }

  .section-products {
    padding: 38px 0 34px;
  }

  .section-products .section-head {
    margin-bottom: 18px;
  }

  .section-products .section-head h2 {
    font-size: 28px;
  }

  .section-products .section-head p {
    font-size: 14px;
    line-height: 1.45;
  }

  .product-grid-2--catalog {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-card--catalog {
    border-radius: 16px;
    min-height: 196px;
    padding: 24px;
  }

  .product-card--catalog.product-card--wide {
    min-height: 196px;
  }

  .product-card__title {
    font-size: 30px;
  }

  .product-card__text {
    font-size: 18px;
    margin-top: 18px;
    max-width: 260px;
  }

  .product-card__art {
    bottom: -72px;
    font-size: 46px;
    height: 180px;
    right: -48px;
    width: 180px;
  }

  .product-card__art i {
    transform: translate(-12px, -18px);
  }

  .home-news-widget {
    padding: 36px 0 44px;
  }

  .home-news-widget__head {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    margin-bottom: 18px;
  }

  .home-news-widget__actions {
    margin-left: 0;
    justify-content: flex-end;
    width: auto;
  }

  .home-news-widget__rubrics {
    border-bottom: 1px solid #dfe7f1;
    flex-wrap: nowrap;
    gap: 24px;
    margin: -2px calc(var(--bs-gutter-x, 1.5rem) * -0.5) 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    scroll-padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .home-news-widget__rubrics::-webkit-scrollbar {
    display: none;
  }

  .home-news-widget__rubric {
    font-size: 14px;
    min-height: 32px;
    scroll-snap-align: start;
  }

  .home-news-widget__nav {
    display: none;
  }

  .home-news-widget__all {
    margin-left: auto;
  }

  .home-news-widget__viewport {
    margin-left: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
    margin-right: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5 + 14px);
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5 + 28px);
    scroll-padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5 + 14px);
    scrollbar-width: none;
  }

  .home-news-widget__viewport::-webkit-scrollbar {
    display: none;
  }

  .home-news-card {
    flex-basis: min(78vw, 330px);
    min-height: 360px;
  }

  .home-news-card:hover {
    box-shadow: none;
    transform: none;
  }

  .section-insurers[data-product="all"] .insurers-grid {
    display: flex;
    gap: 12px;
    grid-template-columns: none;
    margin-left: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
    margin-right: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
    overflow-x: auto;
    overflow-y: hidden;
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5 + 14px);
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5 + 28px);
    scroll-padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5 + 14px);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }

  .section-insurers[data-product="all"] .insurers-grid::-webkit-scrollbar {
    display: none;
  }

  .section-insurers[data-product="all"] .insurer-card {
    flex: 0 0 min(64vw, 310px);
    min-width: min(64vw, 310px);
    scroll-snap-align: start;
  }

  .section-insurers[data-product="all"] .insurers-empty {
    flex: 0 0 calc(100% - 28px);
    min-width: calc(100% - 28px);
  }
}

@media screen and (max-width: 800px) {
  .home-product-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
}

@media (max-width: 420px) {
  .home-news-card {
    flex-basis: 80vw;
  }

  .home-news-card__body {
    padding: 16px;
  }
}
