body {
  font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
  background-color: #f1f1f1;
  position: relative;
}

.screen {
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background-color: #58A4B4;
  background-image: url(img/mosaic_bg.jpg);
}

.screen__content {
  position: relative;
  z-index: 5;
}

.screen__content--screen1 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.screen__content--screen2 {
  padding: 60px 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.screen__content--screen3 {
  z-index: 9;
}

.screen-contacts {
  visibility: hidden;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 9;
  padding: 20px;
  color: white;
  font-size: 16px;
  font-style: italic;
  line-height: 20px;
  background-color: #58A4B4;
  border-radius: 20px 0 0;
}

.crystal-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  overflow: hidden;
}

.crystal-bg__item {
  width: 100px;
  height: 268px;
  position: absolute;
  background-image: url(svg/crystal.svg);
  background-repeat: no-repeat;
  background-size: cover;
  transform: rotate(-28deg);
  transform-origin: top center;
}

.crystal-bg__item--size1 {
  filter: blur(1px);
  left: -108px;
  bottom: 30px;
}

.crystal-bg__item--size2 {
  width: 300px;
  height: 500px;
  bottom: -270px;
  left: 78px;
}

.crystal-bg__item--size3 {
  width: 80px;
  left: 22%;
  top: -50px;
}

.crystal-bg__item--size4 {
  width: 70px;
  background-size: contain;
  bottom: -160px;
  left: 55%;
  filter: blur(1px);
}

.crystal-bg__item--size5 {
  background-size: contain;
  width: 60px;
  top: -40px;
  left: 66%;
  filter: blur(2px);
}

.crystal-bg__item--size6 {
  margin-left: 100%;
  width: 400px;
  height: 800px;
  top: -246px;
  left: -380px;
}

.crystal-bg__item--size7 {
  width: 300px;
  height: 800px;
  margin-left: 45%;
  left: 40px;
  top: -400px;
}

.crystal-bg__item--size8 {
  width: 300px;
  height: 800px;
  margin-left: 0;
  left: -230px;
  top: -400px;
}

.crystal-bg__item--size9 {
  background-repeat: no-repeat;
  margin-left: -10%;
  width: 400px;
  height: 900px;
  bottom: -502px;
  right: 144px;
}

.crystal-bg__item--size10 {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin-left: -10%;
  width: 200px;
  height: 800px;
  top: -440px;
  right: 240px;
  filter: blur(2px);
}

.crystal-bg__item--size11 {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 400px;
  height: 1050px;
  top: -572px;
  left: -310px;
}

.crystal-bg__line {
  width: 5px;
  height: 500px;
  position: absolute;
  background-image: url(svg/line.svg);
  background-repeat: no-repeat;
  background-size: cover;
  transform: rotate(-28deg);
  transform-origin: top center;
}

.crystal-bg__line--size1 {
  left: -170px;
  bottom: 156px;
}

.crystal-bg__line--size2 {
  width: 5px;
  left: 75%;
  bottom: -410px;
}

.crystal-bg__line--size3 {
  width: 5px;
  margin-left: 90%;
  left: 30px;
  filter: blur(1px);
}

.crystal-bg__line--size4 {
  width: 60px;
  margin-left: 0;
  left: -70px;
  bottom: -100px;
}

.crystal-bg__line--size5 {
  width: 5px;
  margin-left: 0;
  left: -202px;
  bottom: 20px;
}

.card {
  width: 600px;
  height: 600px;
}

.card--pos1 {
  position: absolute;
  left: -170px;
  top: -90px;
}

.card--pos1 .card__image {
  transform: rotate(-90deg) translate(30px, 20px) scale(0.8);
}

.card--pos2 {
  position: absolute;
  bottom: -100px;
  margin-left: 100%;
  left: -400px;
}

.card--pos2 .card__image {
  transform: rotate(-90deg) translate(-84px, -24px) scale(0.75);
}

.card--pos3 {
  position: absolute;
  width: 1400px;
  height: 1400px;
  top: -796px;
  margin-left: 35%;
  left: 94px;
  transform: rotate(-28deg);
}

.card--pos3 .card__image {
  transform: rotate(0deg) translate(-516px, 150px) scale(0.55)
}

.card--pos4 {
  position: absolute;
  width: 1400px;
  height: 1400px;
  transform: rotate(-28deg);
  margin-left: 100%;
  left: -240px;
  bottom: -810px;
}

.card--pos4 .card__image {
  transform: rotate(28deg) translate(-47%, -184px) scale(0.29)
}

.card--pos5 {
  position: absolute;
  right: -40px;
  top: -160px;
  z-index: 8;
}

.card--pos5 .card__image {
  transform: rotate(-90deg) translate(0, 0) scale(0.88)
}

.card--pos6 {
  position: absolute;
  right: -40px;
  top: 340px;
  z-index: 8;
}

.card--pos6 .card__image {
  transform: rotate(-90deg) translate(0, -35px) scale(0.86);
}

.card--pos7 {
  position: absolute;
  right: -468px;
  top: 90px;
  z-index: 8;
}

.card--pos8 {
  position: absolute;
  top: -66px;
  left: -190px;
  z-index: 8;
}

.card--pos9 {
  position: absolute;
  right: -192px;
  z-index: 8;
  bottom: -65px;
}

.card--pos9 .card__image {
  transform: rotate(-90deg) translate(-60px, 2px) scale(0.86);
}

.card__content {
  position: relative;
  width: 600px;
  height: 600px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.card--pos3 .card__content,
.card--pos4 .card__content {
  width: 1400px;
  height: 1400px;
}

.card__image {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  object-fit: cover;
}

.card__stroke {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  transform: rotate(90deg);
}

.hex-mask-svg {
  width: 600px;
  height: 600px;
  mask-image: url(#phosphorMask);
  -webkit-mask-image: url(#phosphorMask);
  transform: rotate(90deg);
}

.hex-mask-crystal-svg {
  transform: rotate(0);
  left: 0;
  top: 0;
  width: 1400px;
  height: 1400px;
  mask-image: url(#crystalMask);
  -webkit-mask-image: url(#crystalMask);
}

.caption {
  padding: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
  background-color: rgba(255,255,255, 0.45);
  border-radius: 10px;
}

.caption__title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
}

.caption__description {
  font-size: 20px;
  max-width: 320px;
  line-height: 120%;
}

.title {
  padding-left: 30px;
  font-size: 26px;
  line-height: 26px;
  color: #58A4B4;
  margin-bottom: 20px;
}

.title--type1 {
  display: inline-block;
  position: relative;
  padding: 10px;
  margin-bottom: 40px;
  z-index: 9;
  background-color: rgba(255,255,255, 0.5);
  border-radius: 10px;
}

.title--type1::after {
  content: '';
  content: '';
  margin-top: 10px;
  margin-bottom: 10px;
  display: block;
  width: 35px;
  height: 2px;
  background-color: #000000;
}

.title--type2 {
  padding-left: 0;
}

.title--type3 {
  padding-left: 0;
  color: #000000;
}

.title--type4 {
  padding-left: 0;
  text-align: center;
  margin-bottom: 20px;
}

.box {
  min-width: 240px;
  max-width: 50%;
  padding: 20px 20px 20px 30px;
  border-radius: 0 20px 20px 0;
  background-color: #ffffff;
  font-size: 16px;
  line-height: 20px;
  box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2)
}

.box p {
  margin-bottom: 20px;
}

.box--type1 {
  margin-bottom: 40px;
}

.box--type1::before {
  content: '';
  margin-bottom: 10px;
  display: block;
  width: 35px;
  height: 2px;
  background-color: #000000;
}

.box--type2 {
  max-width: 100%;
  padding: 40px 40px 40px 60px;
  border-radius: 0;
}

.box--type3 {
  max-width: 100%;
  margin: 0 60px;
  padding: 60px;
  border-radius: 20px;
}

.rounds {
  display: flex;
  padding-left: 30px;
  padding-bottom: 30px;
}

.rounds__item {
  max-width: 160px;
  min-width: 160px;
  margin-left: 30px;
}

.rounds__item:first-child {
  margin-left: 0;
}

.round {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border: 2px solid #58A4B4;
  border-radius: 40px;
  margin: 0 auto 20px;
}

.round__icon {
  width: 60px;
  height: 60px;
  border-radius: 30px;
  position: relative;
  background-color: #58A4B4;
}

.round__icon svg {
  position: absolute;
  margin-left: 50%;
  left: -20px;
  top: 50%;
  margin-top: -20px;
  width: 40px;
  height: 40px;
  fill: #ffffff;
}

.round__text {
  text-align: center;
  font-size: 14px;
}

.profy-list {
  min-width: 240px;
  max-width: 35%;
  position: relative;
  z-index: 9;
}

.profy-list__item {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px 10px 10px;
  margin-bottom: 30px;
  border-radius: 20px;
  border: 2px solid #58A4B4;
  background-color: #ffffff;
}

.profy-list__card {
  display: inline-flex;
  align-items: center;
}

.profy-list__icon {
  position: relative;
  max-width: 60px;
  min-width: 60px ;
  min-height: 60px;
  max-height: 60px;
  border: 2px solid #58A4B4;
  border-radius: 30px;
  background-color: #ffffff;
  box-sizing: border-box;
  margin-right: 20px;
}

.profy-list__icon svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.profy-list__icon svg path {
  stroke: #58A4B4;
}

.profy-list__text {
  font-size: 18px;
  line-height: 22px;
}

.number {
  color: #58A4B4;
}

.columns {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  justify-content: space-between;
  align-items: stretch;
  gap: 60px;
  margin: 0 auto;
  padding: 60px;  
}

.columns__caption {
  text-align: center;
}

.columns__column {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;
}

.columns__box {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;
  box-sizing: border-box;
  padding: 20px;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
}

.columns__box--type1 {
  position: relative;
}

.columns__box--type1::before {
  content: '';
  display: block;
  height: 1px;
  background-color: #000000;
  margin-bottom: 10px;
  margin-left: -20px;
  margin-right: -20px;
  box-sizing: border-box;
}

.columns__box-title {
  font-size: 26px;
  line-height: 26px;
  color: #58A4B4;
  margin-bottom: 20px;
  text-align: center;
  padding: 10px 0;
  border-bottom: 1px solid #000000;
  min-height: 70px;
  margin-left: -20px;
  margin-right: -20px;
}

.hexagon-list {
  padding: 10px 0;
}

.hexagon-list__item {
  margin-bottom: 20px;
}

.hexagon-card {
  display: flex;
  align-items: center;
}

.hexagon-card__bullet {
  position: relative;
  min-width: 60px;
  max-width: 60px;
  min-height: 60px;
  max-height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
}

.hexagon-card__bullet-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.hexagon-card__bullet-icon {
  position: relative;
  z-index: 9;
  width: 40px;
  height: 40px;
}

.hexagon-card__bullet-icon--type1 {
  width: 30px;
  height: 30px;
}

.hexagon-card__bullet-icon--type2 {
  width: 30px;
  height: 30px;
}


.hexagon-card__bullet-bg {
  z-index: 8;
}

.hexagon-card__bullet-icon svg,
.hexagon-card__bullet-bg svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.hexagon-card__bullet-icon--type1 svg {
  stroke: #58A4B4;
}

.hexagon-card__bullet-icon--type2 svg {
  fill: #58A4B4;
}

.hexagon-card__bullet-bg svg {
  fill: #58A4B4;
}

.hexagon-card__bullet-bg--type1 svg {
  fill: #ffffff;
  stroke: #58A4B4;
  stroke-width: 6px;
}

.hexagon-card__text {
  font-size: 18px;
  line-height: 26px;
}

.line-list {
  position: relative;
  padding: 10px 0;
}


.line-list__item {
  position: relative;
  padding-bottom: 20px;
}

.line-list--type2 .line-list-card__bullet {
  min-height: 30px;
  max-height: 30px;
}

.line-list-card {
  display: flex;
  align-items: center;
}

.line-list-card::before {
  content: '';
  position: absolute;
  left: 29px;
  top: 0;
  height: 100%;
  border-left: 1px solid #58A4B4;
}

.line-list__item:first-child .line-list-card:before {
  height: 50%;
  top: auto;
  bottom: 0;
}

.line-list__item:last-child .line-list-card:before {
  height: 50%;
}


.line-list-card__text {
  font-size: 18px;
  line-height: 26px;
}

.line-list-card__bullet {
  position: relative;
  z-index: 9;
  min-width: 60px;
  max-width: 60px;
  min-height: 60px;
  max-height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
}

.line-list-card__bullet-icon {
  box-sizing: border-box;
  position: relative;
  z-index: 9;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  border: 1px solid #58A4B4;
  background-color: #ffffff;
}

.line-list-card__bullet-icon svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  stroke: #58A4B4;
}

.line-list-card__bullet-icon svg path {
  stroke: #58A4B4;
}


.hexagon2-list {
  padding: 10px 0;
}

.hexagon2-list__item {
  margin-bottom: 20px;
}

.hexagon2-card {
  display: flex;
  align-items: center;
}

.hexagon2-card__bullet {
  position: relative;
  min-width: 100px;
  max-width: 100px;
  min-height: 100px;
  max-height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
}

.hexagon2-card__bullet-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.hexagon2-card__bullet-icon {
  position: relative;
  z-index: 9;
  width: 40px;
  height: 40px;
}

.hexagon2-card__bullet-bg {
  z-index: 8;
  transform: rotate(90deg);
}

.hexagon2-card__bullet-icon svg,
.hexagon2-card__bullet-bg svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.hexagon2-card__bullet-bg svg {
  fill: #58A4B4;
}

.hexagon2-card__bullet-icon svg {
  fill: #ffffff;
}

.hexagon2-card__text {
  font-size: 18px;
  line-height: 26px;
}

.advantage-box {
  max-width: 640px;
  margin: 0 auto;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
}

.advantage-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 200px;
  min-width: 200px;
}

.advantage-card--type1 {
  border-radius: 10px;
  padding: 20px 10px;
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
}

.advantage-grid {
  position: relative;
  z-index: 9;
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 20px;
}

.advantage-grid .advantage-card {
  min-width: auto;
  max-width: none;
}

/* Элементы 1 и 2 в первой колонке */
.advantage-grid .advantage-card:nth-child(1) { grid-column: 1; grid-row: 1; }
.advantage-grid .advantage-card:nth-child(2) { grid-column: 1; grid-row: 2; }

/* Элемент 3 во второй колонке */
.advantage-grid .advantage-card:nth-child(3) { grid-column: 2; grid-row: 1 / 3; align-self: center; }

/* Элементы 4 и 5 в третьей колонке */
.advantage-grid .advantage-card:nth-child(4) { grid-column: 3; grid-row: 1; }
.advantage-grid .advantage-card:nth-child(5) { grid-column: 3; grid-row: 2; }

.advantage-card__bullet {
  position: relative;
  min-width: 140px;
  max-width: 140px;
  min-height: 140px;
  max-height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.advantage-card__icon {
  position: relative;
  z-index: 9;
  min-width: 65px;
  max-width: 65px;
  min-height: 65px;
  max-height: 65px;
  fill: #58A4B4;
}

.advantage-card__icon svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.advantage-card__bg-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: rotate(90deg);
}

.advantage-card__bg-icon svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  fill: #ffffff;
}

.advantage-card__bg-icon svg path {
  stroke: #58A4B4;
  stroke-width: 14px;
}

.advantage-card__text {
  text-align: center;
  font-size: 18px;
  line-height: 22px;
}

.splide {
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  max-width: 960px;
  background-color: #f1f1f1;
  border-radius: 20px;
}

.splide__arrow--prev {
  left: -2.5em !important;
}

.splide__arrow--next {
  right: -2.5em !important;
}

.splide__pagination {
  bottom: -0.35em !important;
}

.splide__pagination__page {
  background: #58A4B4 !important;
}

.splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-sizing: border-box;
}

.splide__box {
  padding: 10px;
  margin: 0 10px;
  background-color: #ffffff;
  border-radius: 10px;
  
}

#clients-carousel.splide {
  padding: 10px;
  max-width: none;
  background-color: #ffffff;
  /* box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2); */
}

#clients-carousel .splide__pagination {
  visibility: hidden;
}

#clients-carousel .splide__slide {
  max-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#clients-carousel .splide__box {
  max-width: 200px;
}

#vertical-carousel.splide,
#license-carousel.splide {
  max-width: 600px;
}

#vertical-carousel.splide .splide__box,
#license-carousel.splide .splide__box {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#vertical-carousel.splide .splide__slide,
#license-carousel.splide .splide__slide {
  aspect-ratio: 3 / 2;
}

#vertical-carousel.splide .splide__slide img,
#license-carousel.splide .splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.license-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0;
  counter-reset: license-counter;
}

.license-list__item {
  display: flex;
  justify-items: center;
  align-items: center;
  list-style: none;
  counter-increment: license-counter;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
}

.license-list__item::before {
  content: counter(license-counter) "";
  min-width: 64px;
  display: inline-block;
  font-size: 50px;
  line-height: 1;
  font-weight: bold;
  margin-right: 20px;
  padding-right: 10px;
  box-sizing: border-box;
  border-right: 2px solid #000000;
  color: #58A4B4;
  text-align: center;
}

.license-list__item:nth-child(n+6)  {
  grid-column: 2;
}

.license-list__item:nth-child(1) { grid-row: 1; }
.license-list__item:nth-child(2) { grid-row: 2; }
.license-list__item:nth-child(3) { grid-row: 3; }
.license-list__item:nth-child(4) { grid-row: 4; }
.license-list__item:nth-child(5) { grid-row: 5; }

.sticky-nav {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: #155562;
  box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
  padding: 0 20px;
}

.sticky-nav__list {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 0;
  padding: 15px 0;
  list-style: none;
}

.sticky-nav__link {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 25px;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.1);
}

.sticky-nav__link.active,
.sticky-nav__link:hover {
  background-color: white;
  color: #58A4B4;
  transform: translateY(-2px);
}

.contacts {
  border-top: 1px solid #000000;
  padding: 40px;
  max-width: 640px;
  margin: 0 auto;
}

.contacts__box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.contacts__item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contacts__item-icon {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.contacts__item-icon svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.contacts__item-text {
  font-size: 16px;
  line-height: 1.4;
  color: #333;
}

.contacts__item-text p {
  margin: 0 0 5px 0;
}

.contacts__item-text p:last-child {
  margin-bottom: 0;
}

.contacts__item-text a {
  color: #155562;
  text-decoration: none;
}

.contacts__item-text a:hover {
  color: #58A4B4;
}


/* Стили для скрытия/показа секций */
.content:not(#screen1):not(#contacts) {
  display: none;
}

.content {
  transition: opacity 0.3s ease;
}

/* Анимация появления внутренних секций */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.screen {
  animation: fadeInUp 0.5s ease-out;
}

/* Модальное окно для изображений */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s;
}

.image-modal--open {
  visibility: visible;
  opacity: 1;
}

.image-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.image-modal__overlay {
  pointer-events: auto;
}

.image-modal__container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal__scroll {
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  z-index: 1;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.3);
}

/* Кастомный скролл для красоты */
.image-modal__scroll::-webkit-scrollbar {
  width: 8px;
}

.image-modal__scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.image-modal__scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 4px;
}

.image-modal__scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.9);
}

.image-modal__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.image-modal__close {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 40px;
  height: 40px;
  font-size: 32px;
  font-weight: bold;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.2s;
}

.image-modal__close:hover {
  transform: scale(1.1);
  color: #58A4B4;
}

/* Для слайдов — добавляем курсор-указатель */
#license-carousel .splide__slide,
#vertical-carousel .splide__slide {
  cursor: pointer;
}

/* Согласие на обработку cookie */
.cookie-consent {
  position: fixed;
  z-index: 999;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #f1f1f1;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1)
}
.cookie-consent p {
  margin-bottom: 10px;
}
.cookie-consent a {
  color:#000
}
.cookie-consent-text {
  margin-right:20px;
  font-size: 14px;
  line-height: 20px;
  max-width: 560px
}
.cookie-consent-button {
  background-color:#155562;
  color: white;
  border: none;
  padding: 8px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 12px;
  cursor: pointer;
  border-radius: 0;
  text-transform: uppercase;
  border-radius: 14px;
}
.cookie-consent-button:hover {
  background-color: #58A4B4;
}
.hidden {
  display: none !important
}


@media (max-width: 640px) {
  .card {
    display: none;
  }

  .box--type1 {
    border-radius: 20px;
    max-width: 100%;
  }

  .box--type2 {
    padding: 10px;
  }

  .contacts__box {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rounds {
    padding: 0;
    flex-direction: column;
  }

  .rounds__item, 
  .rounds__item:first-child {
    margin: 0 auto 40px;
  }

  .profy-list {
    max-width: 100%;
  }

  .profy-list__icon {
    max-width: 30px;
    min-width: 30px;
    min-height: 30px;
    max-height: 30px;
  }

  .line-list-card__bullet {
    min-width: 30px;
    max-width: 30px;
    min-height: 30px;
    max-height: 30px;
  }

  .line-list-card__bullet-icon {
    width: 30px;
    height: 30px;
  }

  .line-list-card::before {
    left: 15px;
  }

  .hexagon2-card__bullet {
    min-width: 60px;
    max-width: 60px;
    min-height: 60px;
    max-height: 60px;
  }

  .hexagon2-card__bullet-icon {
    width: 30px;
    height: 30px;
  }

  .advantage-grid {
    display: flex;
    flex-direction: column;
  }

  .advantage-card__text {
    max-width: 260px;
  }

  .crystal-bg__item {
    visibility: hidden;
  }
}

@media (max-width: 960px) {
  .title {
    color: #000000;
  }
  .screen-contacts {
    display: none;
  }

  .columns {
    flex-direction: column;
    padding: 20px;
  }

  .columns__box {
    padding: 10px;
  }

  .columns__box-title {
    margin-left: -10px;
    margin-right: -10px;
  }

  .columns__box--type1::before {
    margin-left: -10px;
    margin-right: -10px;
  }

  .box--type3 {
    margin: 10px;
    padding: 10px; 
  }

  .license-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .license-list__item:nth-child(n+6) {
    grid-column: auto;
  }
  
  .license-list__item:nth-child(1),
  .license-list__item:nth-child(2),
  .license-list__item:nth-child(3),
  .license-list__item:nth-child(4),
  .license-list__item:nth-child(5) {
    grid-row: auto;
  }

  .splide {
    padding: 20px;
    border-radius: 20px;
  }

  #clients-carousel.splide {
    padding: 10px;
    border-radius: 10px;
  }

  #clients-carousel.splide .splide__pagination {
    visibility: hidden;
  }
}

@media (max-width: 768px) {
  .box--type3 {
    padding: 10px;
    margin: 10px;
  }

  .sticky-nav__list {
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .sticky-nav__link {
    font-size: 12px;
    padding: 6px 12px;
    display: inline-block;
    margin-bottom: p2x;
  }

  .cookie-consent {
    flex-direction: column;
  }
}
/* Utility classes replacing inline styles */
.svg-mask { position: absolute; }
.logo--blue-bg { background-color: #004899; }

