@import url('fonts.css');


:root {
  --main-font-family: "Lato", sans-serif;
  /* --main-font-weight: 900; */
  /* --main-font-style: italic; */
  --main-color: #262626;
  /* --secondary-color: #f00; */
}

html {
  scroll-behavior: smooth;
}
* {
  font-family: var(--main-font-family);
  color: var(--main-color);
}

a {
	transition: all 0.3s;
  outline: none !important;
}

.container {
	max-width: 1304px;
	width: 100%;
	margin: 0 auto;
	padding: 0 50px;
}
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }
}

.section {
  padding: 140px 0;
}
@media (max-width: 1024px) {
  .section {
    padding: 70px 0;
  }
}

h1, .main-title {
  display: flex;
  flex-direction: column;
  gap: 30px;
  font-size: 51px;
  font-weight: 700;
  line-height: 51px;
  text-transform: uppercase;
  margin: 0;
}
.main-title-line {
  display: inline-block;
  background-color: #BF0C10;
  color: #FFFFFF;
  padding: 0 10px;
  /* margin-top: 30px; */
}
h1 > span, .main-title > span {
  display: inline-block;
  padding: 0 60px;
  width: 100%;
}

h2, .title {
	font-size: 42px;
	font-weight: 700;
	line-height: 56.7px;
	color: #262626;
	margin: 0 0 40px;
}

@media (max-width: 820px) {
  h2, .title {
    font-size: 30px;
    line-height: 40px;
  }
}

.chip {
	display: inline-block;
	padding: 2px 20px;
	border-radius: 20px;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 400;
	line-height: 23.6px;
	letter-spacing: 0.145em;
	margin-bottom: 25px;
}
.chip-black {
	background-color: #151515;
  color: #FFFFFF;
}
.chip-transparent-white {
  border: 1px solid #FFFFFF;
  color: #FFFFFF;
}
.chip-transparent-black {
  border: 1px solid #262626;
  color: #262626;
}

/* ----- BUTTON ----- */
.button {
	display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 31px;
  font-size: 18px;
  font-weight: 500;
  line-height: 28.8px;
  border-radius: 55px;
  text-align: center;
  text-decoration: none;
	transition: all 0.2s;
	cursor: pointer;
	border: 1px solid;
}
.button-white {
  background-color: #FFFFFF;
	border-color: #FFFFFF;
  color: #262626;
}
.button-white:active, .button-white:visited {
  color: #262626;
}
.button-white:hover {
  background-color: transparent;
  color: #FFFFFF;
}
.button-black {
  background-color: #262626;
	color: #FFFFFF;
}
.button-black:active, .button-black:visited {
  color: #FFFFFF;
}
.button-black:hover {
  background-color: transparent;
  color: #262626;
}
.button-red {
	background-color: #BF0C10;
	border-color: #BF0C10;
	color: #FFFFFF;
}
.button-red:active, .button-red:visited {
  color: #FFFFFF;
}
.button-red:hover {
  background-color: transparent;
  color: #BF0C10;
	border-color: #BF0C10;
}

.button-red-transparent {
	background-color: transparent;
	border-color: #BF0C10;
	color: #BF0C10;
}
.button-red-transparent:active, .button-red-transparent:visited {
  color: #BF0C10;
	border-color: #BF0C10;
}
.button-red-transparent:hover {
  background-color: #BF0C10;
	border-color: #BF0C10;
  color: #FFFFFF;
}

/* ----- ANIMATED BUTTON ----- */
.animated-button {
  background-color: rgba(0, 0, 0, 0.04);
  border-radius: 42px;
  padding: 3px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
	max-width: fit-content;
	transition: all 0.5s;
	position: relative;
}
.animated-button.white {
  background-color: #FFFFFF;
}
.animated-button__icon {
  background-color: #BF0C10;
  border-radius: 50%;
  height: 52px;
  width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
	transition: left 0.3s linear;
	position: absolute;
	left: 3px;
	/* right: auto; */
}
.animated-button__text {
  font-size: 17px;
  font-weight: 500;
  line-height: 27.2px;
  padding-right: 21px;
	padding-left: 66px;
	padding: 13px 21px 13px 66px;
  white-space: nowrap;
	transition: all 0.5s;
}
.animated-button:hover .animated-button__icon {
	left: calc(100% - 55px);
}
.animated-button:hover .animated-button__text {
	padding: 13px 66px 13px 21px;
}

/* ----- BANNER SECTION ----- */
.banner {
  min-height: calc(100vH - 104px);
  padding: 162px 0;
  margin-bottom: 140px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
}
.banner__block {
  display: inline-block;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 30px;
  padding: 50px 0 66px;
}
.banner__chip {
  padding: 0 60px;
}
@media (max-width: 1024px) and (min-height: 1024px) {
  .banner {
    min-height: auto;
  }
}
@media (max-width: 1024px) {
  .banner {
    margin-bottom: 70px;
  }
}
@media (max-width: 560px) {
  .banner {
    padding: 70px 0;
    min-height: auto;
  }
  .banner__block {
    padding: 30px 0 35px;
  }
  .banner__chip {
    padding: 0 30px;
  }
  h1 > span, .main-title > span {
    padding: 0 30px;
  }
  h1.main-title {
    font-size: 36px;
    line-height: 36px;
    gap: 16px;
  }
  .chip {
    margin-bottom: 16px;
  }
}

/* ----- INFO WITH ICON BLOCK */
.info-block {
  display: flex;
  gap: 16px;
}
.info-block__icon {
  border-radius: 50%;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 53px;
  width: 53px;
}
.info-block__title {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: #595566;
}
.info-block__text {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
}
.info-block__text a {
  color: var(--main-color);
  text-decoration: none;
  transition: all 0.3s;
}
.info-block__text a:visited, .info-block__text a:active, .info-block__text a:focus {
  color: var(--main-color);
}
.info-block__text a:hover {
  color: #BF0C10;
}

/* ----- SECTION FEEDBACK ----- */
.feedback {
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) minmax(auto, 293px) minmax(auto, 365px);
  grid-template-rows: repeat(2, 193px);
  gap: 20px;
}
.feedback__info {
  grid-row: 1 / 3;
  grid-column: 1;
}
.feedback__img-long {
  grid-row: 1 / 3;
  grid-column: 3;
}
.feedback__item {
  display: flex;
  gap: 16px;
}
.feedback__item:not(:last-child) {
  margin-bottom: 35px;
}
.feedback__icon {
  border-radius: 50%;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 53px;
  min-width: 53px;
}
.feedback__icon.yellow {
  background: #FFECBB;
}
.feedback__icon.grey {
  background: #EAEAEA;
}
.feedback__icon.green {
  background: #A4EDA4;
}
.feedback__icon.red {
  background: #BF0C10;
}
.feedback__title {
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: #595566;
}
.feedback__text {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
}
.feedback__text a {
  color: var(--main-color);
  text-decoration: none;
  transition: all 0.3s;
}
.feedback__text a:visited, .feedback__text a:active, .feedback__text a:focus {
  color: var(--main-color);
}
.feedback__text a:hover {
  color: #BF0C10;
}
.feedback__img  {
  border-radius: 26px;
  object-fit: cover;
  height: 100%;
}
@media (max-width: 820px) {
  .feedback {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  .feedback__info {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
  }
  .feedback__info .title {
    width: 100%;
  }
  .feedback__img-short {
    width: calc(50% - 10px);
  }
}

/* ----- CONTACT FORM ------ */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea {
    border: 1px solid #C1C1C1;
    border-radius: 54px;
    padding: 18px 33px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}
.wpcf7 textarea {
  border: 1px solid #C1C1C1;
  border-radius: 22px;
  padding: 22px 33px;
  font-size: 16px;
  box-sizing: border-box;
  max-height: 102px;
  resize: none;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 textarea:focus {
    border-color: #262626;
    outline: none;
}
.wpcf7 input[type="submit"] {
  background-color: #BF0C10;
  color: #fff;
  padding: 22px 33px;
  border: 1px solid #BF0C10;
  cursor: pointer;
  font-size: 16px;
  border-radius: 54px;
}
.wpcf7 input[type="submit"]:hover {
  background-color: transparent;
  color: #BF0C10;
}

/* ----- TEAM SECTION ----- */
.team {
  padding: 70px 0;
}
.team__title {
  text-align: center;
  margin-bottom: 60px;
}
/* ----- TEAM LIST ----- */
.team__list {
  display: flex;
  justify-content: space-between;
  margin-bottom: 100px;
}
.team__list-item {
  padding: 74px 11px 0;
  width: 100%;
  max-width: 22%;
  position: relative;
  background: rgb(255,255,255);
  background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 40%, rgba(255,255,255,0) 100%);
}
.team__list-number {
  color: #eeeeee;
  font-size: 100px;
  font-weight: 600;
  line-height: 130px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}
.team__list-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  margin: 0 0 12px;
}
.team__list-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: #676767;
  margin: 0;
}
@media (max-width: 1024px) {
  .team__list {
    flex-wrap: wrap;
  }
  .team__list-item {
    max-width: calc(50% - 10px);
  }
}
@media (max-width: 560px) {
  .team__list-item {
    max-width: 100%;
  }
}

/* ----- TEAM WORKERS ----- */
.team__workers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 53px 20px;
}
.team__worker {
  border-radius: 20px;
  box-shadow:
    0px 7px 15px 0px #00000008,
    0px 28px 28px 0px #00000008,
    0px 63px 38px 0px #00000005,
    0px 112px 45px 0px #00000000,
    0px 175px 49px 0px #00000000;
  padding: 27px 22px;
  position: relative;
}
.team__worker.first {
  background: #BF0C10;
}
.team__worker.last {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.team__icon {
  position: absolute;
  top: -30px;
  right: 35px;
  height: 60px;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #BF0C10;
  border-radius: 50%;
  padding: 10px;
}
.team__icon.first {
  background: #262626;
  border: 6px solid #FFFFFF;
  height: 88px;
  width: 88px;
  top: -40px
}
.team__position {
  display: block;
  opacity: 0.4;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  margin-bottom: 18px;
}
.team__position.first {
  color: #FFB5B7;
  opacity: 1;
}
.team__name {
  margin: 0 0 15px;
  text-transform: uppercase;
  font-weight: 500;
}
.team__name.first {
  color: #FFFFFF;
}
.team__description {
  opacity: 0.4;
  padding-top: 15px;
  border-top: 1px solid rgba(38, 38, 38, 0.08);
}
.team__description.first {
  opacity: 1;
  padding-top: 0;
  border-top: none;
  color: #FFB5B7;
}
.team__description.last {
  padding-top: 0;
  border-top: none;
}
@media (max-width: 820px) {
  .team__workers {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .team__workers {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ----- 404 NOT FOUND ----- */
.not-found {
  min-height: calc(100vH - 104px);
  background: linear-gradient(250.09deg, #A40B0F 2.49%, #BF0C10 62.56%, #590608 105.17%);
  padding: 140px 0;
  display: flex;
  align-items: center;
}
.not-found__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.not-found__img {
  max-width: 760px;
  width: 100%;
  margin-bottom: 58px;
}
.not-found__text {
  margin: 20px 0 45px 0;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
  max-width: 436px;
}
@media (max-width: 1024px) {
  .not-found {
    padding: 70px 0;
  }
}
@media (max-width: 560px) {
  .not-found {
    padding: 30px 0;
  }
}

.section-privacy {
  padding: 70px 0;
  background: #F5F5F5;
}
@media (max-width: 820px) {
  .section-privacy {
    padding: 40px 0;
  }
}