:root {
  --main-color: #005AFF;
  --text-color: #380E59;
  --btn-color: #A65FDE;
  --sectond-bg-color: #EFF3FD;
  --second-text-color: #EBD2FF;
}


html {
  scroll-behavior: smooth;
}

body .container {
  max-width: 1200px;
  padding: 0 20px;
  width: 100%;
  margin: 0 auto;
}

button {
  border: 0;
  padding: 0;
  margin: 0;
  outline: none;
  background-color: transparent;
  cursor: pointer;
}

input:focus,
textarea:focus {
  border-color: var(--btn-color);
  outline: none;
}

.main.copilot {
  overflow: hidden;
}

.main.copilot .btn {
  background-color: var(--btn-color);
  line-height: 1;
  padding: 18px 50px;
  border-radius: 50px;
  font-weight: 700;
  color: var(--white);
  transition: .2s linear;
}

.btn:focus {
  outline: 2px solid var(--btn-color);
  outline-offset: 5px;
}

.btn:hover,
.btn:focus {
  background-color: var(--main-color);
}

.block-text,
.block-content {
  flex-basis: 50%;
}

.wrapper {
  display: flex;
}

.video {
  width: 100%;
  height: 100%;
}

.bg-image {
  position: relative;
  z-index: 0;
}

.bg-image>img {
  width: 100%;
}

.laptop {
  top: -10%;
  width: 173%;
  left: -6%;
}

.launching {
  width: 135%;
  top: -2%;
  left: -25%;
}

.section-title {
  color: var(--main-color);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 40px;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 80px;
}

@media (max-width: 1024px) {
  .laptop {
    top: 10%;
    width: 150%;
    left: -10%;
  }

  .launching {
    width: 180%;
    top: 2%;
    left: -25%;
  }

  .section-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .wrapper {
    flex-direction: column;
  }

  .laptop {
    top: 0;
    width: 100%;
    left: 25%;
  }

  .section-title {
    margin-bottom: 60px;
  }

  .launching {
    width: 120%;
    top: 0;
    left: 0;
  }
}

@media (max-width: 480px) {
  .laptop {
    display: none;
  }

  .section-title {
    font-size: 32px;
  }
}

/* intro */

.intro {
  padding: 160px 0 80px;
}

.intro__logo {
  max-width: 360px;
}

.intro__logo>img {
  width: 100%;
}

.intro__title {
  font-size: 60px;
  text-transform: uppercase;
  color: var(--text-color);
  max-width: 540px;
  line-height: 1.2;
  margin-top: 65px;
}

.intro__subtitle {
  color: var(--main-color);
  font-size: 26px;
  margin-top: 24px;
  font-weight: 400;
}

.intro__btn {
  font-size: 20px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  margin-top: 60px;
}

@media (max-width: 1024px) {
  .intro__title {
    font-size: 50px;
    margin-top: 50px;
  }

  .intro__logo {
    max-width: 280px;
  }

  .intro__subtitle {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .intro {
    padding: 110px 0;
  }

  .intro__wrapper {
    position: relative;
  }

  .block-text,
  .block-content {
    flex-basis: auto;
  }

  .intro__content {
    opacity: 0.1;
    position: absolute;
    z-index: -1;
    top: 0;
  }
}

@media (max-width: 480px) {
  .intro {
    padding: 100px 0 80px;
  }

  .intro__logo {
    max-width: 230px;
  }

  .intro__title {
    font-size: 40px;
    max-width: 360px;
  }

  .intro__subtitle {
    font-size: 22px;
  }

  .intro__btn {
    margin-top: 50px;
    font-size: 18px;
  }
}

/* presentation */

.presentation {
  padding-bottom: 90px;
}

.presentation__wrapper {
  gap: 40px;
}

.presentation__desc {
  font-size: 23px;
  line-height: 1.8;
  color: var(--text-color);
  font-weight: 400;
}

.presentation__desc span {
  font-weight: 900;
}

.presentation__content {
  height: 315px;
}

@media (max-width: 1024px) {
  .presentation__desc {
    font-size: 18px;
  }

  .presentation__wrapper {
    gap: 20px;
  }

  .presentation__content {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .presentation__content {
    padding-top: 55%;
    height: 0;
    position: relative;
  }

  .presentation__video {
    position: absolute;
    top: 0;
    left: 0;
  }

  .presentation__desc {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .presentation__desc {
    font-size: 18px;
  }
}

/* opportunities */

.opportunities {
  padding: 100px 0;
  background-color: var(--sectond-bg-color);
}

.opportunities__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
}

.opportunities__item {
  color: var(--text-color);
}

.opportunities__item-title {
  font-size: 27px;
  line-height: 1.4;
  position: relative;
  padding-bottom: 15px;
  font-weight: 700;
}

.opportunities__item-title::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: var(--main-color);
  height: 3px;
  width: 100%;
}

.opportunities__item-text {
  margin-top: 15px;
  line-height: 1.3;
  font-size: 18px;
  font-weight: 400;
}

@media (max-width: 1024px) {
  .opportunities__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .opportunities {
    padding: 80px 0;
  }

  .opportunities__list {
    grid-template-columns: 1fr;
    max-width: 80%;
    margin: 0 auto;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .opportunities {
    padding: 60px 0;
  }

  .opportunities__list {
    max-width: 100%;
  }

  .opportunities__item-title {
    font-size: 24px;
  }
}

/* achievement */
.achievement {
  padding: 100px 0 150px;
}

.achievement__wrapper {
  position: relative;
  gap: 40px;
}

.achievement__wrapper::before {
  content: "";
  display: block;
  position: absolute;
  height: 100%;
  width: 3px;
  background-color: var(--main-color);
  top: 0;
  left: 50%;
}

.achievement__title {
  max-width: 630px;
  margin: 0 auto 110px;
}

.achievement__item {
  flex-basis: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-color);
}

.achievement__icon {
  width: 100px;
  height: 100px;
  background-color: var(--main-color);
  position: relative;
  border-radius: 50px;
}

.achievement__icon svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
}

.achievement__item-title {
  font-size: 26px;
  line-height: 1.3;
  margin-top: 30px;
}

.achievement__item-text {
  font-size: 16px;
  text-align: center;
  line-height: 24px;
  max-width: 80%;
  margin-top: 25px;
  max-width: 380px;
}

@media (max-width: 1024px) {
  .achievement {
    padding: 80px 0 120px;
  }

  .achievement__item-title {
    font-size: 24px;
    margin-top: 20px;
  }

  .achievement__item-text {
    margin-top: 20px;
    max-width: 340px;
  }
}

@media (max-width: 768px) {
  .achievement {
    padding: 80px 0;
  }

  .achievement__title {
    margin-bottom: 80px;
  }

  .achievement__wrapper {
    gap: 60px;
  }

  .achievement__wrapper::before {
    width: 50%;
    height: 3px;
    top: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .achievement {
    padding: 60px 0;
  }

  .achievement__title {
    margin-bottom: 60px;
  }

  .achievement__item-title {
    font-size: 22px;
    text-align: center;
  }

  .achievement__item-text {
    margin-top: 16px;
    max-width: 212px;
  }

  .achievement__wrapper::before {
    top: 48%;
    width: 90%;
  }
}

/* ads-launching */

.ads-launching {
  background-color: var(--sectond-bg-color);
  padding: 112px 0 55px;
}

.ads-launching__text {
  flex-basis: 58%;
}

.ads-launching__content {
  flex-basis: 42%;
}

.ads-launching__title {
  text-align: left;
  margin-bottom: 50px;
}

.ads-launching__list {
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.ads-launching__item ul {
  list-style: initial;
  padding-left: 20px;
}

.ads-launching__item {
  padding-left: 40px;
  position: relative;
}

.ads-launching__item::before {
  content: '';
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--main-color);
  width: 20px;
  height: 20px;
  border-radius: 50px;
  position: absolute;
  top: 4px;
  left: 0;
  color: var(--white);
  font-weight: 900;
  font-size: 12px;
}

.ads-launching__item.brief::before {
  content: '1';
}

.ads-launching__item.creatives::before {
  content: '2';
}

.ads-launching__item.will-do::before {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='9' viewBox='0 0 13 9' fill='none'%3E%3Cpath d='M1.27499 3.23984L5.54999 7.03984L11.725 1.33984' stroke='white' stroke-width='1.9'/%3E%3C/svg%3E");
}

.ads-launching__item.will-do {
  max-width: 500px;
}

.ads-launching__item-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
}

.ads-launching__item.will-do .ads-launching__item-title {
  color: var(--main-color);
}

.ads-launching__item-text {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
}

.ads-launching__info {
  margin-top: 34px;
}

.ads-launching__info-item {
  font-size: 20px;
  color: var(--main-color);
  font-weight: 700;
}

.ads-launching__btn {
  margin: 40px auto 0;
}

@media (max-width: 1024px) {
  .ads-launching__text {
    position: relative;
    z-index: 1;
  }

  .ads-launching__title {
    margin-bottom: 40px;
  }

  .ads-launching__info-item {
    font-size: 16px;
  }

  .ads-launching__item.will-do {
    max-width: 480px;
  }
}

@media (max-width: 768px) {
  .ads-launching {
    padding: 80px 0;
  }

  .ads-launching__text,
  .ads-launching__content {
    flex-basis: auto;
  }

  .ads-launching__content {
    opacity: 0.1;
    position: absolute;
    top: 0;
  }

  .ads-launching__wrapper {
    position: relative;
  }

  .ads-launching__btn {
    display: block;
    text-align: center;
    max-width: 230px;
  }
}

@media (max-width: 480px) {
  .ads-launching {
    padding: 60px 0;
  }
}

/* cases */

.cases {
  padding: 96px 0 138px;
}

.cases__title {
  margin-bottom: 96px;
}

.cases__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 20%;
}

.cases__cards-item.case-builder {
  background-color: var(--main-color);
}

.cases__cards-item.case-beverage {
  background-color: #DE5FCE;
}

.cases__cards-item.case-insurance {
  background-color: var(--btn-color);
}

.cases__cards-item {
  position: relative;
  padding: 75px 15px;
  padding-top: 61%;
}

.cases__cards-picture {
  padding-top: 119.5%;
  width: 90%;
  height: 0;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-54%);
}

.cases__cards-picture>img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cases__characteristics {
  position: relative;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 36px;
}

.cases__characteristics::before {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--second-text-color);
}

.cases__characteristics-name {
  display: inline-block;
  font-size: 19px;
  font-weight: 700;
}

.cases__characteristics-desc {
  font-size: 17px;
  line-height: 1.6;
}

.cases__results {
  padding-top: 30px;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .cases {
    padding: 80px 0 120px;
  }

  .cases__title {
    margin-bottom: 60px;
  }

  .cases__cards-item {
    padding: 50px 10px;
    padding-top: 61%;
  }

  .cases__cards {
    gap: 20px;
  }

  .cases__characteristics-name {
    font-size: 17px;
  }

  .cases__characteristics-desc {
    font-size: 15px;
  }

  .cases__results {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .cases__cards {
    grid-template-columns: 1fr;
    padding-top: 0;
  }

  .cases__cards-item {
    padding-top: 66%;
    max-width: 66%;
    margin: 0 auto;
    margin-top: 15%;
  }

  .cases__cards-picture {
    transform: translateX(-50%) translateY(-20%);
  }
}

@media (max-width: 480px) {
  .cases {
    padding: 60px 0 80px;
  }

  .cases__cards-item {
    padding-top: 86%;
    max-width: 86%;
    margin-top: 20%;
  }
}

/* about */

.about-platform {
  padding: 116px 0 100px;
  position: relative;
  background-color: var(--sectond-bg-color);
  overflow: hidden;
}

.about-platform::before,
.about-platform::after {
  content: "";
  display: block;
  width: 100%;
  position: absolute;
  left: 0;
  top: 40%;
}

.about-platform::before {
  height: 130%;
  background-image: url("../images/planet.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  z-index: 0;
  opacity: 0.4;
}

.about-platform::after {
  height: 100%;
  background: linear-gradient(0deg, #fff 40%, transparent 100%);
}

.about-platform__wrapper {
  text-align: center;
  position: relative;
  z-index: 1;
}

.about-platform__title {
  margin-bottom: 86px;
}

.about-platform__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.about-platform__item {
  background-color: var(--main-color);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 35px 0;
  gap: 15px;
}

.about-platform__item-title {
  font-size: 35px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.about-platform__item-subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  color: var(--second-text-color);
}

.about-platform__text {
  font-size: 18px;
  font-weight: 700;
  max-width: 600px;
  margin: 50px auto 0;
  color: var(--main-color);
  line-height: 1.6;
}

.about-platform__btn {
  margin-top: 40px;
}

@media (max-width: 1024px) {
  .about-platform {
    padding: 90px 0;
  }

  .about-platform__title {
    margin-bottom: 70px;
  }

  .about-platform__list {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .about-platform {
    padding: 80px 0;
  }

  .about-platform__title {
    margin-bottom: 60px;
  }

  .about-platform__list {
    grid-template-columns: 1fr;
    max-width: 60%;
    margin: 0 auto;
  }

  .about-platform__item {
    padding: 30px 0;
  }

  .about-platform::before,
  .about-platform::after {
    top: 5%;
  }

  .about-platform::before {
    height: 100%;
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .about-platform {
    padding: 60px 0;
  }

  .about-platform__list {
    max-width: 80%;
  }

  .about-platform__item {
    padding: 26px 0;
    gap: 10px;
  }

  .about-platform__item-title {
    font-size: 28px;
  }

  .about-platform::before,
  .about-platform::after {
    top: 0;
  }
}

/* contact-form */

.contact-form {
  padding: 55px 0 120px;
}

.contact-form__title {
  max-width: 700px;
  margin: 0 auto 55px;
}

.contact-form__wrapper {
  max-width: 760px;
  margin: 0 auto;
}

.contact-form__form,
.contact-form__form fieldset {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-form__response {
  width: 100%;
  height: 100%;
  border: 2px solid #000;
  padding: 20px;
  font-weight: 700;
  text-align: center;
  display: none;
}

.contact-form__form.loading .contact-form__response {
  content: "";
  color: orange;
  border-color: orange;
  display: block;
}

.contact-form__form.success .contact-form__response {
  color: green;
  border-color: green;
  display: block;
}

.contact-form__form.failure .contact-form__response {
  color: red;
  border-color: red;
  display: block;
}

@media (max-width: 480px) {
  .contact-form__form fieldset {
    gap: 20px;
  }

  .contact-form__title {
    margin-bottom: 40px;
  }
}

.contact-form__wrapper .form__label {
  display: flex;
  flex-direction: column;
  color: var(--text-color);
  font-weight: 700;
}

.contact-form__wrapper .form__label.error .form__input,
.contact-form__wrapper .form__label.error .form__textarea {
  border: 1px solid red;
  outline-color: red;
}

.form__input-title {
  font-size: 19px;
  line-height: 1.5;
  padding-bottom: 5px;
}

.form__input,
.form__textarea {
  font-size: 15px;
  padding: 20px;
  border: 1px solid var(--main-color);
}

.form__textarea {
  resize: vertical;
  min-height: 100px;
  max-height: 500px;
}

.form__send-btn {
  text-transform: uppercase;
  margin: 0 auto;
}

.form__send-btn:disabled {
  background-color: #9681a6;
}

.form__error {
  padding-top: 5px;
  font-size: 12px;
  color: red;
}

.text-policy {
  text-align: center;
  font-size: 12px;
  color: var(--text-color);
}

.text-policy>a {
  color: var(--main-color);
}

@media (max-width: 480px) {
  .form__input-title {
    font-size: 18px;
  }

  .form__input,
  .form__textarea {
    font-size: 14px;
    padding: 18px;
  }
}