@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background: linear-gradient(135deg, #071b26, #0c2c36);
    color: white;
    padding: 40px;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* Контейнер для адаптивного порядка элементов */
.content-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
}
.header{
    position: relative;
}

/* Заголовок */
h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.highlight {
    color: #29d2e4;
}

/* Фото */
.image {
    position: relative;
    max-width: 50%;
    padding: 20px;
}

.image img {
    width: 100%;
    border-radius: 10px;
}

.caption {
    position: absolute;
    bottom: -50px;
    transform: translateX(-5%);
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
}

/* Блок с текстом */
.content {
    max-width: 50%;
    padding: 20px;
    border-radius: 10px;
}

.description {
    margin: 20px 0;
    font-size: 18px;
    text-align: left !important;
}
.description p:first-child{
	margin-bottom: 15px;
	font-size: 1.3rem;
}
.description ul{
	margin: 20px 0;
}

ul {
    margin: 10px 0;
    padding-left: 20px;
}

ul li {
    margin: 5px 0;
}

a{
    color: white;
    text-decoration: none;
}
a:hover{
    text-decoration: underline;
}

.btn {
    display: inline-block;
    margin: 20px 0;
    padding: 25px;
    background: linear-gradient(90deg, #2be0f5, #1b92ab);
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: linear-gradient(90deg, #1b92ab, #2be0f5);
	text-decoration: none;
}

.b1{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-top: 70px;
    border-top: 1px solid;
}
.b2{
    width: 100%;
    margin-top: 15px;
}
.b2 ul{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.b2 ul li, .b1 ul li{
    list-style: none;
}
.company{
	font-size: 1.4rem;
}

.checkbox-wrapper{
	margin-top: 10px;
	font-size: .8rem;
	position: relative;
    padding-left: 30px;
}
.checkbox-wrapper input:before{
	content: "";
	width: 100%;
	height: 100%;
	background: #506eec;
	display: block;
	transform: scale(0);
	opacity: 1;
	border-radius: 50%;
}

.checkbox-wrapper input[type="checkbox"] {
  /* display: none;
  visibility: hidden;*/
    
	transform: scale(2);
    position: absolute;
    top: 9px;
    left: 0;
}

.checkbox-wrapper .cbx {
  margin: auto;
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
}
.checkbox-wrapper .cbx span {
  display: inline-block;
  vertical-align: middle;
  transform: translate3d(0, 0, 0);
}
.checkbox-wrapper .cbx span:first-child {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  transform: scale(1);
  vertical-align: middle;
  border: 1px solid #9098a9;
  transition: all 0.2s ease;
}
.checkbox-wrapper .cbx span:first-child svg {
  position: absolute;
  top: 3px;
  left: 2px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 16px;
  stroke-dashoffset: 16px;
  transition: all 0.3s ease;
  transition-delay: 0.1s;
  transform: translate3d(0, 0, 0);
}
.checkbox-wrapper .cbx span:first-child:before {
  content: "";
  width: 100%;
  height: 100%;
  background: #506eec;
  display: block;
  transform: scale(0);
  opacity: 1;
  border-radius: 50%;
}
.checkbox-wrapper .cbx span:last-child {
  padding-left: 10px;
  width: 95%;
  font-size: .8rem;
}
.checkbox-wrapper .cbx:hover span:first-child {
  border-color: #506eec;
}

.checkbox-wrapper .inp-cbx:checked + .cbx span:first-child {
  background: #506eec;
  border-color: #506eec;
  animation: wave-46 0.4s ease;
}
.checkbox-wrapper .inp-cbx:checked + .cbx span:first-child svg {
  stroke-dashoffset: 0;
}
.checkbox-wrapper .inp-cbx:checked + .cbx span:first-child:before {
  transform: scale(3.5);
  opacity: 0;
  transition: all 0.6s ease;
}

@keyframes wave-46 {
  50% {
    transform: scale(0.9);
  }
}


@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .content, .image {
        max-width: 100%;
    }
    .btn {
        font-size: 16px;
        padding: 20px;
    }
	.checkbox-wrapper{
		text-align: left;
	}
}

/* В МОБИЛЬНОЙ ВЕРСИИ - заголовок, потом картинка, потом текст */
@media (max-width: 768px) {
	.caption{
		position: relative;
		bottom: 4px;
	}
    .content-wrapper {
        flex-direction: column;
        order: 3;
    }
    h1 {
        order: 1;
        font-size: 28px;
    }
    .image {
        order: 2;
        max-width: 80%;
		padding: 10px;
    }
    .content {
        order: 3;
        max-width: 90%;
		padding: 5px;
    }
    .description {
        font-size: 16px;
        margin: 5px 0;
    }
    .btn {
        font-size: 14px;
        padding: 18px;
    }
    .b1{
        flex-direction: column;
        font-size: 14px;
        margin-top: 20px;
    }
    .b2 ul{
        flex-direction: column;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 18px;
    }
    .description {
        font-size: 12px;
    }
    .btn {
        font-size: 12px;
        padding: 16px;
        margin: 10px 0;
    }
    .caption {
        font-size: 11px;
    }
    .image {
        max-width: 100%;
    }
    .content {
        max-width: 100%;
    }
    .b1, .b2 ul{
        font-size: 12px;
    }
	.company{
		font-size: 1rem;
	}
}

@media (max-width: 320px) {
    .caption {
        font-size: 8px;
    }
}
