:root {
	--white: #fff;
	--dark: #232323;
	--accent: #275ec7;
	--hover-main: #1a4087;
	--gray: #737373;
	--gray-light: #a4a4a4;
	--gray-extra-light: #e3e3e3;
	--background: #000521;
	--error: #ff5151;
	--disable: #698bcc;
	--blue: #5c8eec;
	--brand-colors-pantone-282: #0d2451;
	--brand-colors-pantone-2126: #275ec7;
	--brand-colors-pantone-2370: #4a39b4;
	--brand-colors-pantone-278: #98c1ff;
	--brand-colors-pantone-656: #e3eeff;
}

.banner {
	height: 930px;
}
.banner__wrapper {
	position: relative;
}
.banner__wrapper .container {
  /*position: relative;*/
}
.banner__subtitle {
	position: relative;
	z-index: 1;
}
.banner__illustration {
	display: none;
	position: absolute;
	right: 0;
}
.banner__illustration img {
	display: block;
}
.banner__video {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	bottom: 102px;
	right: 0;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}
.banner__video video {
	width: 100%;
    height: 720px;
    position: absolute;
    /* bottom: 0; */
    bottom: 50%;
    right: -3%;
    transform: translateY(50%);
}

/* Devices */
.devices__wrapper {
  position: relative;
  margin-top: 100px;
}
.devices__wrapper > img {
  width: 100%;
}
.devices__wrapper > img.tab {
  display: none;
}
.devices__wrapper > img.web {
  display: block;
}
.devices__wrapper-animate {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
}
.devices__wrapper-animate-item {
  position: absolute;
  animation: deviceAnim 6s ease-in-out infinite;
}
.devices__wrapper-animate-item:nth-child(1) {
  width: 13%;
  height: auto;
  top: 49%;
  left: 12.7%;
  animation-delay: 0s;
}
.devices__wrapper-animate-item:nth-child(2) {
  height: auto;
  width: 10.7%;
  top: -3%;
  left: 23%;
  animation-delay: 1s;
}
.devices__wrapper-animate-item:nth-child(3) {
  height: auto;
  width: 23.15%;
  top: 36%;
  left: 36.3%;
  animation-delay: 2s;
}
.devices__wrapper-animate-item:nth-child(4) {
  height: auto;
  width: 17.7%;
  top: -5%;
  right: 23.6%;
  animation-delay: 3s;
}
.devices__wrapper-animate-item:nth-child(5) {
  height: auto;
  width: 19%;
  top: 33%;
  right: 8.5%;
  animation-delay: 4s;
}
#device-1 {
  transform: rotate(-26deg);
}
#device-2 {
  transform: rotate(-23deg);
}
#device-3 {
  transform: rotate(19deg);
}
#device-4 {
  transform: rotate(160deg);
}
#device-5 {
  transform: rotate(-38deg);
}
.devices__wrapper-item {
  width: 100%;
  position: absolute;
}
@keyframes deviceAnim {
  0% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
	100% {
		transform: translateY(0);
	}
}

/* Love Reason */
.love-reason__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 300px);
  gap: 24px;
}
.love-reason__grid-item {
  padding: 32px;
  background-color: var(--brand-colors-pantone-282);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.love-reason__grid-item picture {
  display: block;
  width: fit-content;
  position: absolute;
  right: 0;
  bottom: 0;
}
.love-reason__grid-item img {
  display: block;
  /* position: absolute; */
  bottom: 0;
  right: 16px;
}
.love-reason__grid-item * {
  color: var(--white);
}
.love-reason__grid-item .blur {
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: var(--brand-colors-pantone-2126);
  border-radius: 50%;
  filter: blur(100px);
  opacity: .7;
}
.love-reason__grid-item.vertical .blur {
  top: 45px;
  right: -40%;
}
.love-reason__grid-item.horizontal .blur {
  bottom: -45%;
  right: 50%;
  transform: translateX(50%);
}
.love-reason__grid-item .content {
  position: relative;
  z-index: 1;
}

.love-reason__grid-item:nth-child(1) {
  grid-column-start: 1;
  grid-column-end: 1;
  grid-row-start: 1;
  grid-row-end: 3;
}
.love-reason__grid-item:nth-child(2) {
  grid-column-start: 2;
  grid-column-end: 4;
  grid-row-start: 1;
  grid-row-end: 1;
}
.love-reason__grid-item:nth-child(4) {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 3;
  grid-row-end: 3;
}
.love-reason__grid-item:nth-child(5) {
  grid-column-start: 3;
  grid-column-end: 3;
  grid-row-start: 2;
  grid-row-end: 4;
}
.love-reason__grid-item:nth-child(5) img {
  right: 0;
}

/* Network */
.network {
  padding-top: 150px;
  border-radius: 32px 32px 0 0;
}
.network__images {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.network-scheme.web, .network-phone {
  display: block;
}
.network-scheme.tab {
  display: none;
}

/* Rule */
.rule {
  padding-top: 150px;
  position: relative;
}
.rule__bg-line {
  position: absolute;
  right: 0;
  top: 100px;
  z-index: 1;
}
.rule__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  z-index: 2;
}
.rule__grid-item {
  padding: 32px;
  background-color: var(--brand-colors-pantone-2126);
  border-radius: 24px;
  height: 410px;
}
.rule__grid-item .content {
  position: relative;
  z-index: 1;
}
.rule__grid-item .img-wrapper {
  width: 100%;
}
.rule__grid-item img {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.rule__grid-item:not(:nth-child(3)) img {
  right: 50%;
  transform: translateX(50%);
}
.rule__grid-item .blur {
  position: absolute;
  bottom: -25px;
  right: 20px;
  background-color: #7EABFF;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  filter: blur(80px);
}

/* HELM */
.helm {
  position: relative;
  padding-top: 150px;
}
.helm__bg-line {
  position: absolute;
  left: 0;
  bottom: -250px;
  z-index: 1;
}

/* OCEAN */
.ocean {
  padding-top: 150px;
}
.ocean__slider-item {
  position: relative;
  width: auto;
}
.ocean__slider-item .content {
  position: absolute;
  bottom: 100px;
  left: 240px;
  max-width: 700px;
  height: 167px;
}
.ocean__slider-item img.mob {
  display: none;
}
.ocean__slider-item img.web {
  display: block;
}

/* TRUST */
.trust__grid {
  width: 100%;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(3, 1fr);
}
.trust__grid-item {
  position: relative;
  padding: 32px;
  min-height: 340px;
  background-color: var(--brand-colors-pantone-2126);
  border-radius: 24px;
}
.trust__grid-item * {
  color: var(--white);
}
.trust__grid-item img.web {
  display: block;
}
.trust__grid-item img.mob {
  display: none;
}
.trust__grid-item#card-1 {
  grid-column-start: 1;
  grid-column-end: 8;
}
.trust__grid-item#card-2 {
  grid-column-start: 8;
  grid-column-end: 13;
}
.trust__grid-item#card-3 {
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 2;
  grid-row-end: 4;
}
.trust__grid-item#card-4 {
  grid-column-start: 5;
  grid-column-end: 8;
}
.trust__grid-item#card-5 {
  grid-column-start: 8;
  grid-column-end: 13;
}
.trust__grid-item#card-6 {
  grid-column-start: 5;
  grid-column-end: 10;
}
.trust__grid-item#card-7 {
  grid-column-start: 10;
  grid-column-end: 13;
}
.trust__grid-item#card-1 img {
  right: 50px;
}
.trust__grid-item#card-3 img.web, .trust__grid-item#card-4 img.web {
  right: auto;
  left: 0;
}

.trust .button-wrapper {
  width: fit-content;
}
.trust .button-wrapper .button {
  position: relative;
  padding: 16px 98px;
  z-index: 2;
}
.trust .button-wrapper .button p {
  color: var(--white);
  font-weight: 600;
  font-size: 24px;
  line-height: 120%;
}
.trust .button-wrapper .button > * {
  pointer-events: none;
}

.trust .button.markets .chevron {
  top: 2px;
  left: -12px;
}
.trust .button.markets .chevron span {
  background-color: var(--white);
}
.trust .button.markets.active .chevron {
  top: -4px;
}
.trust .button.markets.active .chevron span:first-of-type {
  transform: rotate(225deg);
}
.trust .button.markets.active .chevron span:last-of-type {
  transform: rotate(-45deg);
}

@media (min-width: 1440px) {
	.love-reason__grid-item:nth-child(1) img {
		width: 95%;
	}
	.love-reason__grid-item:not(:nth-child(5)) img {
		position: relative;
		right: 10px;
	}
	.love-reason__grid-item:nth-child(4) img {
		width: 95%;
		right: -34px;
    	bottom: -24px;
	}
	.love-reason__grid-item:nth-child(5) picture {
		width: 120%;
		left: -6%;
	}
	.love-reason__grid-item:nth-child(5) img {
		width: 100%;
	}
}

@media screen and (max-width: 1440px) {
  .banner__video video {
    height: 520px;
    bottom: -80%;
  }

  /* .love-reason__grid-item:nth-child(1) img {
    right: 0;
  }*/
  .love-reason__grid-item:nth-child(1) picture, .love-reason__grid-item:nth-child(5) picture {
    width: 100%;
  } 
  .love-reason__grid-item picture img {
    width: 100%;
  }

  .network-scheme.web {
    width: 70%;
  }
  .network-phone {
    width: 30%;
  }

  .ocean__slider-item {
    width: 100%;
  }
  .ocean__slider-item img {
    width: 100%;
    height: auto;
  }
  .ocean__slider-item .content {
    left: 100px;
  }
  .ocean__slider .custom-swiper-next, .ocean__slider .custom-swiper-prev {
    display: none;
  }
  .ocean.swiper-pagination {
    pointer-events: none;
  }
}

@media screen and (max-width: 1200px) {
  .banner {
    height: 772px;
  }
  .banner__video video {
    height: 564px;
    bottom: -200%;
  }
  .trust__grid {
    grid-template-columns: 1fr;
  }
  .trust__grid-item#card-1,
  .trust__grid-item#card-2,
  .trust__grid-item#card-3,
  .trust__grid-item#card-4,
  .trust__grid-item#card-5,
  .trust__grid-item#card-6,
  .trust__grid-item#card-7  {
    grid-row-start: auto;
    grid-row-end: auto;
    grid-column-start: auto;
    grid-column-end: auto;
  }
  .trust__grid-item img.web {
    height: 70%;
  }
  .trust__grid-item#card-3 img.web, .trust__grid-item#card-4 img.web {
    right: 0;
    left: auto;
    transform: scale(-1, 1)
  }

}

@media screen and (max-width: 992px) {
  .banner {
    height: 688px;
  }
  .banner__wrapper .container {
    position: static;
  }
  .banner__video {
    display: none;
  }
  .banner__illustration {
    display: block;
    width: 80%;
    bottom: 0;
    right: 50%;
    transform: translateX(55%);
  }
  .banner__illustration img {
    width: 92%;
    bottom: -40px;
  }

  .devices__wrapper > img.tab {
    display: block;
  }
  .devices__wrapper > img.web {
    display: none;
  }
  .devices__wrapper-animate-item:nth-child(1) {
    width: 18%;
    left: 5%;
    top: 70%;
  }
  .devices__wrapper-animate-item:nth-child(2) {
    width: 15%;
    left: 8%;
    top: 10%;
  }
  .devices__wrapper-animate-item:nth-child(3) {
    width: 33%;
    left: 29%;
  }
  .devices__wrapper-animate-item:nth-child(4) {
    width: 27%;
    right: 8%;
    top: 10%;
  }
  .devices__wrapper-animate-item:nth-child(5) {
    width: 30%;
    top: 75%;
  }

  .love-reason__grid {
		display: flex;
    gap: 0;
	}
  .love-reason__grid-item {
    height: 320px;
  }
  .love-reason__grid-item picture {
    height: 60%;
    width: auto;
  }
  .love-reason__grid-item img {
    position: absolute;
    width: auto;
    height: 100%;
    right: 12px;  
    z-index: 2;
  }
  .love-reason__grid-item:nth-child(1) picture, .love-reason__grid-item:nth-child(5) picture {
    width: auto;
  } 
  .love-reason__grid-item picture img {
    width: auto;
  }
  /* .love-reason__grid-item:nth-child(1) img {
    height: 60%;
    width: auto;
    right: 32px;
  }
  .love-reason__grid-item:nth-child(2) img {
    height: 60%;
    width: auto;
    right: 32px;
  }
  .love-reason__grid-item:nth-child(3) img {
    height: 50%;
    width: auto;
    right: 32px;
  }
  .love-reason__grid-item:nth-child(4) img {
    height: 60%;
    bottom: -7%;
    width: auto;
    right: 32px;
  }
  .love-reason__grid-item:nth-child(5) img {
    height: 80%;
    bottom: -5%;
    width: auto;
    right: 32px;
  } */
  .love-reason-pagination {
    width: fit-content !important;
    margin-top: 8px;
  }
  
  .network-phone {
    display: none;
  }
  .network-scheme.web {
    width: 100%;
  }

  .rule__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .rule__grid-item {
    height: 280px;
  }
  .rule__grid-item .content {
    max-width: 70%;
  }
  .rule__grid-item:not(:nth-child(3)) img {
    right: 12px;
    transform: none;
  }
  .rule__bg-line {
    display: none;
  }

  .helm__bg-line {
    display: none;
  }
  
}

@media screen and (max-width: 768px) {
  .rule__grid-item .content {
    max-width: 60%;
  }
  .rule__grid-item:not(:nth-child(3)) img {
    width: 40%;
  }
  .rule__grid-item:nth-child(3) img {
    width: 60%;
  }

  .ocean__slider-item .content {
    bottom: 80px;
    left: 48px;
  }
/*
  .ocean__slider-item img.mob {
    display: block;
    width: 100%;
  }
*/
	.ocean__slider-item {
		height: 500px;
		background-size: cover;
	}
	#ocean-item-1 {
		background-image: url('/local/assets/img/doma-new/ocean-mob-1.webp');
	}
	#ocean-item-2 {
		background-image: url('/local/assets/img/doma-new/ocean-mob-2.webp');
	}
	#ocean-item-3 {
		background-image: url('/local/assets/img/doma-new/ocean-mob-3.webp');
	}
	#ocean-item-4 {
		background-image: url('/local/assets/img/doma-new/ocean-mob-4.webp');
	}
	#ocean-item-5 {
		background-image: url('/local/assets/img/doma-new/ocean-mob-5.webp');
	}
  .ocean__slider-item img.web {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .banner {
    height: 594px;
  }
  .banner__illustration {
    width: 120%;
    bottom: 20px;
  }

  .devices__wrapper {
    margin-top: 12px;
  }
  .devices__wrapper-animate-item:nth-child(1) {
    width: 23%;
    left: 5%;
    top: 70%;
  }
  .devices__wrapper-animate-item:nth-child(2) {
    width: 20%;
    left: 8%;
    top: 10%;
  }
  .devices__wrapper-animate-item:nth-child(3) {
    width: 38%;
    left: 29%;
  }
  .devices__wrapper-animate-item:nth-child(4) {
    width: 31.8%;
    right: 8%;
    top: 10%;
  }
  .devices__wrapper-animate-item:nth-child(5) {
    width: 35%;
    top: 75%;
  }

  .love-reason {
    margin-top: 100px;
  }
  .love-reason__grid-item {
    padding: 16px 10px 16px 16px;
    border-radius: 8px;
    height: 240px;
  }
  .love-reason__grid-item picture {
    z-index: 2;
    height: 140px;
  }
  .love-reason__grid-item img {
    position: absolute!important;
    height: 100% !important;
    display: block !important;
    right: 0 !important;
    bottom: 0 !important;
  }

  .network {
    border-radius: 24px 24px 0 0;
    padding-top: 60px;
  }
  .network-scheme.web, .network-phone {
    display: none;
  }
  .network-scheme.tab {
    display: block;
    width: 100%;
  }

  .rule {
    padding-top: 60px;
  }
  .rule__grid {
    gap: 8px;
  }
  .rule__grid-item {
    padding: 16px;
    height: 160px;
    border-radius: 12px;
  }
  .rule__grid-item .content {
    max-width: 100%;
  }
  .rule__grid-item:nth-child(1) img {
    right: -5%;
  }
  .rule__grid-item:nth-child(2) img {
    right: -10%;
  }
  .rule__grid-item:nth-child(2) img {
    width: 50%;
    bottom: -7px;
  }
  .rule__grid-item .blur {
    width: 110px;
    height: 110px;
    filter: blur(30px);
  }
  .rule__grid-item:nth-child(1) .blur, .rule__grid-item:nth-child(2) .blur {
    right: 0;
  }

  .helm {
    padding-top: 60px;
  }

  .ocean {
    padding-top: 60px;
  }
  .ocean__slider-item .content {
    left: 20px;
    right: 20px;
    bottom: 33px;
    height: 113px;
  }
  .ocean.swiper-pagination {
    bottom: var(--swiper-pagination-bottom, 12px) !important;
  }

  .trust__grid {
    width: 100vw;
    padding: 0 20px;
    overflow: auto;
    grid-template-columns: 228px 156px 156px 156px 228px;
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
	scrollbar-width: none;
	-ms-overflow-style: -ms-autohiding-scrollbar;
  }
  .trust__grid::-webkit-scrollbar {
	display: none;
    height: 0;
    width: 0;
  }
  .trust__grid-item {
    min-height: 160px;
    padding: 16px;
    border-radius: 12px;
  }
  .trust__grid-item img.web {
    display: none;
  }
  .trust__grid-item img.mob {
    display: block;
	width: 100%;
  }
  .trust__grid-item:not(:nth-child(7)) > img.mob {
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    left: auto;
  }
  .trust__grid-item:nth-child(7) > img.mob {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
  }
  .trust__grid-item#card-1 {
    grid-row-start: 2;
    grid-row-end: 2;
    grid-column-start: 3;
    grid-column-end: 5;
  }
  .trust__grid-item#card-2 {
    grid-row-start: 1;
    grid-row-end: 1;
    grid-column-start: 3;
    grid-column-end: 3;
  }
  .trust__grid-item#card-3 {
    grid-row-start: 1;
    grid-row-end: 3;
    grid-column-start: 5;
    grid-column-end: 5;
  }
  .trust__grid-item#card-4 {
    grid-row-start: 1;
    grid-row-end: 1;
    grid-column-start: 2;
    grid-column-end: 2;
  }
  .trust__grid-item#card-5 {
    grid-row-start: 1;
    grid-row-end: 1;
    grid-column-start: 4;
    grid-column-end: 4;
  }
  .trust__grid-item#card-6 {
    grid-row-start: 2;
    grid-row-end: 2;
    grid-column-start: 2;
    grid-column-end: 2;
  }
  .trust__grid-item#card-7 {
    grid-row-start: 1;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 1;
  }

  .trust .button-wrapper {
    width: 100%;
  }
  .trust .button-wrapper .button {
    padding: 11px;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .trust .button-wrapper .button p {
    font-weight: 600;
    font-size: 14px;
    line-height: 130%;
  }

  .trust__grid::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
}