.btn-reset,
a {
  border: none;
  outline: 0;
}
.nav__link::before,
.nav__social-link::before {
  top: -6px;
  right: -6px;
  left: -6px;
  position: absolute;
  opacity: 0;
}
.advantages__item svg,
.nav__item:not(:last-child) {
  margin-right: 30px;
}
.brief,
.hero,
.order,
.quote {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.footer__social a::before,
.nav__link::before,
.nav__social-link::before {
  content: '';
  z-index: -1;
  transition: opacity 0.3s ease-in-out;
}
.popup,
body {
  overflow-x: hidden;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*,
::after,
::before {
  box-sizing: inherit;
}
:focus-visible {
  outline: 0;
}
a {
  color: inherit;
  text-decoration: none;
  background-color: initial;
}
img {
  max-width: 100%;
}
@font-face {
  font-family: OpenSans;
  src: local('OpenSans-Regular'),
    url('../fonts/OpenSans-Regular.woff2') format('woff2'),
    url('../fonts/OpenSans-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: OpenSans;
  src: local('OpenSans-SemiBlod'),
    url('../fonts/OpenSans-SemiBold.woff2') format('woff2'),
    url('../fonts/OpenSans-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: OpenSans;
  src: local('OpenSans-Italic'),
    url('../fonts/OpenSans-Italic.woff2') format('woff2'),
    url('../fonts/OpenSans-Italic.woff') format('woff');
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: OpenSans;
  src: local('OpenSans-Bold'),
    url('../fonts/OpenSans-Bold.woff2') format('woff2'),
    url('../fonts/OpenSans-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
body {
  height: 100%;
  background: #fff;
  font-family: OpenSans, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
}
body.lock {
  overflow: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
  margin-top: 0;
  margin-bottom: 0;
}
.list-reset {
  margin: 0;
  padding: 0;
  list-style: none;
}
.btn-reset {
  padding: 0;
  background-color: transparent;
  cursor: pointer;
}
.container {
  max-width: 1200px;
  padding-left: 100px;
  padding-right: 100px;
  margin: 0 auto;
}
:root {
  --color-focus-active: #7943a4;
  --color-hover: #c283f3;
  --color-white: #fff;
  --color-mine-shaft: #333;
  --color-amethyst: #9d5cd0;
  --color-dove-gray: #666;
}
input::-webkit-search-cancel-button,
input::-webkit-search-decoration,
input::-webkit-search-results-button,
input::-webkit-search-results-decoration {
  display: none;
}
.title {
  margin-bottom: 50px;
  font-size: 35px;
  line-height: 1.23;
  color: #000;
  text-align: center;
}
.descr,
.order-link {
  color: var(--color-white);
}
.descr {
  font-size: 22px;
  line-height: 1.55;
  font-weight: 300;
}
.nav__item,
.order-link {
  font-size: 16px;
}
.order-link {
  padding: 25px 60px;
  background-color: #ff8562;
  font-weight: 700;
  border-radius: 20px;
  transition: border-radius 0.3s ease-in-out, background-color 0.3s ease-in-out;
}
.hero__title,
.nav__item {
  font-weight: 600;
  color: var(--color-white);
}
.footer__mail,
.footer__social-link svg,
.footer__tel,
.footer__tel a,
.nav__link,
.nav__social-link svg,
.order__btn {
  transition: 0.3s ease-in-out;
}
.order-link:focus-visible {
  border-radius: 50px;
}
.order-link:-moz-focusring {
  border-radius: 50px;
}
.order-link:hover {
  background-color: var(--color-hover);
}
.nav__link::before,
.nav__social-link::before,
.order-link:active {
  background-color: var(--color-focus-active);
}
.header {
  position: fixed;
  z-index: 10;
  width: 100%;
  height: 90px;
  background-color: #000;
  opacity: 0.8;
}
.brief,
.footer__social a,
.gallery__container,
.header__nav,
.hero,
.hero__content,
.nav__link,
.nav__social-link,
.nav__social-link svg,
.order,
.quote {
  position: relative;
}
.brief__line,
.company {
  background-color: #fff;
}
.header__burger {
  display: none;
}
.header__nav {
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  z-index: 10;
}
.nav__list,
.nav__social {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.hero__content,
.services__item {
  flex-direction: column;
  display: flex;
  text-align: center;
}
.nav__link::before {
  bottom: -8px;
}
.nav__link:focus-visible::before {
  opacity: 1;
}
.nav__link:-moz-focusring::before {
  opacity: 1;
}
.nav__link:hover {
  color: var(--color-hover);
}
.nav__link:active {
  color: var(--color-focus-active);
}
.nav__social-link:not(:last-child) {
  margin-right: 20px;
}
.nav__social-link svg {
  height: 40px;
  width: 40px;
  fill: var(--color-white);
}
.nav__social-link::before {
  bottom: 3px;
  border-radius: 100%;
}
.brief:after,
.hero:after,
.order:after,
.quote:after {
  content: '';
  display: block;
  height: 100%;
  left: 0;
  opacity: 0.7;
  width: 100%;
  position: absolute;
  top: 0;
}
.nav__social-link:focus-visible::before {
  opacity: 1;
}
.nav__social-link:-moz-focusring::before {
  opacity: 1;
}
.nav__social-link svg:hover {
  fill: var(--color-hover);
}
.nav__social-link svg:active {
  fill: var(--color-focus-active);
}
.hero {
  height: 100vh;
  background-image: url(../img/hero.webp);
  padding-top: 10%;
  padding-bottom: 150px;
}
.hero:after,
.order:after,
.quote:after {
  background: 0 0;
  background-image: linear-gradient(to bottom, #000 0, transparent 100%),
    linear-gradient(to right, #000 0, transparent 100%),
    linear-gradient(to top, #000 0, transparent 100%),
    linear-gradient(to bottom, #000 0, transparent 100%);
}
.hero__content {
  z-index: 1;
  align-items: center;
}
.hero__title {
  font-size: 72px;
  line-height: 1.17;
  margin-bottom: 40px;
}
.hero__descr {
  margin-bottom: 90px;
}
.hero__link {
  margin-bottom: 30px;
}
.brief {
  height: 100%;
  padding-top: 200px;
  padding-bottom: 200px;
  background-image: url(../img/brief.webp);
  text-align: center;
}
.advantages,
.company,
.gallery,
.quote,
.reviews,
.services {
  padding-top: 150px;
  padding-bottom: 150px;
}
.brief:after {
  z-index: 1;
  background: 0 0;
  background-image: linear-gradient(to bottom, #000 0, transparent 100%),
    linear-gradient(to right, #000 0, transparent 100%),
    linear-gradient(to top, #000 0, transparent 100%),
    linear-gradient(to bottom, #000 0, transparent 100%);
}
.order__btn:hover,
.order__container-input input:hover {
  background-color: var(--color-hover);
}
.brief__block,
.order__block,
.quote__block {
  position: relative;
  z-index: 2;
}
.brief__title {
  margin-bottom: 100px;
  font-weight: 700;
  font-size: 52px;
  line-height: 1.23;
  color: var(--color-white);
}
.brief__block-line {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 1px;
  margin-bottom: 50px;
}
.brief__line {
  border: 1px solid var(--color-white);
  min-width: 160px;
  height: 1px;
}
.company__block {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-self: center;
}
.advantages__content,
.company__content {
  width: 50%;
}
.company__title {
  margin-bottom: 24px;
  font-size: 35px;
  line-height: 1.23;
  color: #000;
}
.advantages__item:not(:last-child),
.services__caption,
.services__img {
  margin-bottom: 30px;
}
.company__descr {
  font-size: 20px;
  line-height: 1.55;
  color: #000;
}
.company__foto {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  width: 45%;
}
.company__block-foto img {
  width: 220px;
  height: 220px;
  object-fit: cover;
}
.reviews,
.services {
  background-color: #f5f5f5;
}
.services__list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
.services__item {
  align-items: center;
  width: 30%;
  height: 300px;
}
.reviews__item img,
.services__img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}
.services__caption {
  font-size: 30px;
  line-height: 1.17;
  color: #000;
}
.gallery__title,
.quote__text {
  margin-bottom: 50px;
}
.services__descr {
  font-size: 16px;
  line-height: 1.55;
  font-weight: 300;
  color: #000;
}
.gallery {
  background-color: var(--color-white);
}
.swiper-button-next {
  right: 5%;
}
.swiper-button-prev {
  left: 5%;
}
.swiper-wrapper {
  text-align: center;
}
.gallery__slide {
  height: 500px;
}
.gallery-img {
  object-fit: cover;
}
.quote {
  background-image: url(../img/quote.webp);
  text-align: center;
}
.quote__text {
  font-size: 48px;
  color: var(--color-white);
  font-weight: 600;
  line-height: 1.23;
}
.quote__author {
  margin-bottom: 70px;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-white);
}
.advantages {
  background-color: #fff;
}
.advantages__descr {
  margin-bottom: 50px;
  text-align: center;
}
.advantages__list {
  display: flex;
  flex-direction: column;
}
.advantages__item {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.advantages__caption {
  margin-bottom: 15px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
  color: #000;
}
.advantages__descr,
.reviews__coments {
  line-height: 1.55;
  font-weight: 300;
  color: #000;
}
.advantages__descr {
  font-size: 18px;
}
.reviews__list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.reviews__item {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 45%;
  height: 300px;
}
.error,
.order,
.sent {
  align-items: center;
  display: flex;
}
.reviews__item img {
  border-radius: 100%;
  margin-right: 30px;
}
.reviews__coment {
  width: 70%;
}
.reviews__coments {
  min-height: 180px;
  margin-bottom: 15px;
  font-size: 15px;
}
.order__btn,
.order__descr,
.order__title {
  color: var(--color-white);
}
.reviews__name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}
.order {
  justify-content: center;
  padding-bottom: 50px;
  padding-top: 50px;
  background-image: url(../img/order.webp);
  text-align: center;
}
.order__title {
  margin-bottom: 40px;
  font-size: 48px;
  line-height: 1.23;
  font-weight: 600;
}
.order__descr {
  margin-bottom: 60px;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 300;
}
.order__form {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
}
.order__container-input {
  display: flex;
  flex-direction: column-reverse;
  width: 60%;
  margin-right: 10px;
}
.order__container-input input {
  padding: 25px 0 25px 15px;
  background-color: transparent;
  width: 100%;
  border: 1px solid var(--color-white);
  color: var(--color-white);
  border-radius: 10px;
  transition: 0.3s ease-in-out;
}
.order__container-input input:focus-visible {
  border-radius: 50px;
}
.order__container-input input:-moz-focusring {
  opacity: 1;
}
.order__container-input input:active {
  background-color: var(--color-focus-active);
}
.order__btn {
  padding: 25px 60px;
  background-color: #ff8562;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
}
.order__btn:focus-visible {
  border-radius: 50px;
}
.order__btn:-moz-focusring {
  border-radius: 50px;
}
.footer__social a::before,
.order__btn:active {
  background-color: var(--color-focus-active);
}
.footer {
  padding-top: 100px;
  padding-bottom: 100px;
  text-align: center;
}
.footer__title {
  margin-bottom: 45px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
  color: #000;
}
.footer__mail,
.footer__tel {
  font-size: 36px;
  line-height: 1.23;
  font-weight: 600;
  color: #000;
}
.footer__tel {
  margin-bottom: 10px;
}
.footer__mail {
  margin-bottom: 40px;
}
.popup,
.popup__content {
  transition: 0.8s;
  opacity: 0;
}
.footer__mail a:focus-visible,
.footer__tel a:focus-visible {
  color: var(--color-focus-active);
}
.footer__mail a:-moz-focusring,
.footer__tel a:-moz-focusring {
  color: var(--color-focus-active);
}
.footer__mail:hover,
.footer__tel:hover {
  color: var(--color-hover);
}
.footer__mail:active,
.footer__tel:active {
  color: var(--color-focus-active);
}
.footer__social-text {
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 300;
  color: #000;
}
.footer__social-link svg {
  fill: #ff8562;
  width: 50px;
  height: 50px;
}
.footer__social a::before {
  top: -31px;
  right: 5px;
  bottom: 6px;
  left: 1px;
  position: absolute;
  border-radius: 100%;
  opacity: 0;
}
.popup__btn:hover,
.popup__container-input input:hover {
  background-color: var(--color-hover);
}
.footer__social a:focus-visible::before {
  opacity: 1;
}
.footer__social a:-moz-focusring::before {
  opacity: 1;
}
.footer__social-link svg:hover {
  fill: var(--color-hover);
}
.footer__social-link svg:active {
  fill: var(--color-focus-active);
}
.footer__social-link a:not(:last-child) {
  margin-right: 25px;
}
.popup {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  top: 0;
  left: 0;
  visibility: hidden;
  z-index: 100;
  overflow-y: auto;
}
.popup.open {
  opacity: 1;
  visibility: visible;
}
.popup.open .popup__content {
  transform: perspective(600px) translate(0, 0) rotateX(0);
  opacity: 1;
}
.popup__body {
  min-height: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 10px;
}
.popup__content {
  display: flex;
  background-color: var(--color-white);
  width: 30%;
  min-height: 500px;
  justify-content: space-between;
  background: 0 0;
  background-image: linear-gradient(to bottom, #000 0, transparent 100%),
    linear-gradient(to right, #000 0, transparent 100%),
    linear-gradient(to top, #000 0, transparent 100%),
    linear-gradient(to bottom, #000 0, transparent 100%);
  opacity: 0.7;
  transform: perspective(600px) translate(0, -100%) rotateX(45deg);
}
.popup__btn,
.popup__container-input input {
  transition: 0.3s ease-in-out;
  color: var(--color-white);
}
.popup__closed {
  position: absolute;
  right: 10px;
  top: 10px;
  height: 20px;
  width: 20px;
  z-index: 200;
}
.popup__container {
  position: relative;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 40px 20px;
}
.popup__title {
  margin-bottom: 20px;
  font-size: 30px;
  line-height: 1.23;
  font-weight: 600;
  color: var(--color-white);
}
.popup__descr {
  margin-bottom: 40px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 300;
  color: var(--color-white);
  text-align: center;
}
.popup__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.popup__container-input {
  width: 60%;
  margin-bottom: 20px;
}
.popup__container-input input {
  padding: 10px 0 10px 15px;
  background-color: transparent;
  width: 100%;
  border: 1px solid var(--color-white);
  border-radius: 10px;
}
.popup__container-input input:focus-visible {
  border-radius: 50px;
}
.popup__container-input input:-moz-focusring {
  opacity: 1;
}
.popup__container-input input:active {
  background-color: var(--color-focus-active);
}
.popup__btn {
  padding: 20px 40px;
  background-color: #ff8562;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
}
.popup__btn:focus-visible {
  border-radius: 50px;
}
.popup__btn:-moz-focusring {
  border-radius: 50px;
}
.popup__btn:active {
  background-color: var(--color-focus-active);
}
.error,
.sent {
  position: absolute;
  width: 35%;
  height: 30%;
  background-color: rgba(212, 33, 33);
  justify-content: center;
  padding: 30px;
  border: 6px solid var(--color-white);
  border-radius: 15%;
  visibility: hidden;
  z-index: 10;
}
.sent {
  background-color: green;
}
.error-text,
.sent-text {
  font-size: 20px;
  color: var(--color-white);
  background: url(/img/advertenci.png) left no-repeat;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: right;
  padding-left: 34%;
}
.sent-text {
  background: url(/img/Check-mark.gif) left no-repeat;
}
