html {
  box-sizing: border-box;
}

*, *::before {
  box-sizing: inherit;
}

a {
  text-decoration: none;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}

button {
  border: none;
  margin: 0;
  padding: 0;
  width: inherit;
  height: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

span {
  font-family: inherit;
  font-size: inherit;
  margin: 0;
  padding: 0;
}

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

a,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  padding: 0;
}

body {
  margin: 0;
  overflow-x: hidden;
  position: relative;
}

main {
  display: block;
  margin: 0;
}

::placeholder {
  color: inherit;
}

select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-transform: inherit;
}

button {
  font-family: inherit;
}

.container {
  margin: 0 auto;
  padding: 0 5px;
}

body {
  font-family: "Montserrat Alternates", serif;
  color: #000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: rgba(233, 231, 227, 0.61);
}

main {
  flex: 1 1 0;
}

a {
  transition: 0.35s;
}

.btn {
  font-family: "Inter", serif;
  transition: 0.3s;
}
.btn.dark_button {
  padding: 9px 140px;
  background: #400606;
  color: #FFFFFF;
  font-size: 18px;
}
@media (max-width: 450px) {
  .btn.dark_button {
    padding: 9px 50px;
  }
}
.btn:hover {
  box-shadow: 0px 0px 10px rgba(64, 6, 6, 0.8);
}

.burger .header__nav_item {
  color: #FFFFFF !important;
}

.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  transition: all 0.3s ease;
}
.header.scroll {
  background: #400606;
}
.header.scroll .header__inner {
  padding-bottom: 6px;
}
.header__inner {
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 50px;
}
.header__nav_item {
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
}
.header__burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}
.header__burger span {
  display: block;
  background: #FFFFFF;
  width: 25px;
  height: 3px;
  border-radius: 10px;
}
@media (max-width: 900px) {
  .header .header__nav {
    display: none;
  }
  .header .header__burger {
    display: flex;
  }
  .header .header__inner {
    justify-content: space-between;
    padding-inline: 20px;
  }
}

.hero {
  color: #FFFFFF;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
}
.hero__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
  font-family: "Inter", serif;
}
.hero__title {
  font-size: 64px;
  text-align: center;
}
.hero__text {
  font-size: 20px;
  font-weight: 500;
  margin: 20px 0;
  max-width: 460px;
  text-align: center;
}
.hero__socials {
  margin: 50px 0;
  display: flex;
  align-items: center;
  gap: 50px;
}
.hero__socials_item {
  transition: 0.3s;
}
.hero__socials_item:hover path {
  fill: whitesmoke;
}
@media (max-width: 450px) {
  .hero .hero__title {
    font-size: 50px;
  }
}

.language_widget {
  position: relative;
  user-select: none;
}
.language_widget__current {
  cursor: pointer;
  background: #FFFFFF;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  border-radius: 10px;
}
.language_widget.active .language_widget__list {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.language_widget__list {
  min-width: 115px;
  margin-top: 3px;
  background: #FFFFFF;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: 0.3s;
  position: absolute;
}
.language_widget__list_item {
  padding: 10px;
  color: #6B6B6B;
  transition: 0.3s ease;
  border-radius: 10px;
}
.language_widget__list_item:hover {
  background: whitesmoke;
}
.language_widget__list_item img {
  margin-right: 2px;
}

.burger {
  position: fixed;
  inset: 0;
  background: #400606;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s all ease;
  transform: translateY(-40px);
}
.burger.active {
  opacity: 1;
  transform: none;
  visibility: visible;
}
.burger__cross {
  position: absolute;
  top: 30px;
  right: 30px;
  height: 40px;
  width: 40px;
}
.burger__cross span {
  margin-top: 20px;
  width: 30px;
  height: 3px;
  display: block;
  background: #FFFFFF;
}
.burger__cross span:first-child {
  transform: rotate(45deg);
}
.burger__cross span:last-child {
  transform: rotate(-45deg);
  margin-top: -3px;
}
.burger__inner {
  display: flex;
  height: 100vh;
  justify-content: center;
  align-items: center;
}
.burger .header__nav {
  flex-direction: column;
  gap: 50px;
}
.burger .header__nav_item {
  font-size: 30px;
}

.portfolio {
  padding: 60px 0;
}
.portfolio .container {
  max-width: 1620px;
}
.portfolio__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.portfolio__inner img {
  width: 32%;
  object-fit: cover;
}

@media (max-width: 450px) {
  .portfolio img {
    width: 48%;
  }
}
.services {
  padding: 60px 0;
}
.services .container {
  max-width: 1640px;
  padding: 0 10px;
}
.services__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.service {
  display: flex;
  padding: 15px;
  background: #FFFFFF;
  border-radius: 20px;
  max-width: 800px;
  width: 100%;
  justify-content: space-between;
  position: relative;
}
@media (max-width: 600px) {
  .service {
    gap: 20px;
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    padding-bottom: 25px;
  }
  .service .service__over {
    display: none;
  }
  .service .service__media {
    width: 100%;
    height: auto;
  }
}
.service__media {
  width: 400px;
  height: 324px;
  border-radius: 20px;
}
.service__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.service__over {
  border-radius: 20px;
  position: absolute;
  inset: 0;
  background: rgba(252, 244, 228, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  visibility: hidden;
  opacity: 0;
}
.service__over-btn {
  padding: 14px 71px !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 20px;
  width: fit-content;
}
.service__info {
  padding-top: 28px;
  padding-left: 15px;
  max-width: 320px;
}
.service__info .service__over-btn {
  display: none;
}
@media (max-width: 600px) {
  .service__info .service__over-btn {
    display: block;
    margin-top: 20px;
    margin-inline: auto;
  }
}
.service__info-title {
  font-size: 35px;
  padding-bottom: 20px;
}
.service__info-description {
  font-size: 28px;
  color: #656565;
}
.service:hover .service__over {
  visibility: visible;
  opacity: 1;
}

.contact {
  padding: 150px 0 100px;
}
.contact .container {
  max-width: 1620px;
}
.contact .header {
  background: #400606;
  color: #FFFFFF;
}
.contact .header__inner {
  padding: 6px 0;
}
.contact__inner {
  display: flex;
  justify-content: center;
  gap: 130px;
}
.contact__media {
  max-width: 457px;
  width: 100%;
}
.contact__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.contact__nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 50px;
}
.contact__nav_link {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 18px;
  font-weight: 700;
}
.contact__form {
  border-radius: 20px;
  background: #bf8d71;
  padding: 30px 40px 30px;
  width: 860px;
}
.contact__form-title {
  font-size: 48px;
  color: #FFFFFF;
}
.contact__form_fields {
  margin: 45px 0;
  display: flex;
  gap: 45px 26px;
  flex-wrap: wrap;
}
.contact__form_fields-box input {
  width: 375px;
  outline: none;
  border: none;
  border-bottom: 1px solid #400606;
  background: transparent;
  padding: 6px 0;
  color: #FFFFFF;
  font-size: 16px;
  font-family: inherit;
}
.contact__form .btn {
  display: block;
  width: fit-content;
  margin-inline: auto;
}
@media (max-width: 1300px) {
  .contact .contact__media {
    display: none;
  }
  .contact .contact__form {
    width: 100%;
    max-width: 1200px;
  }
  .contact .contact__form-title {
    text-align: center;
  }
  .contact .contact__form_fields {
    justify-content: center;
  }
}
@media (max-width: 550px) {
  .contact .contact__form {
    padding: 40px 10px;
  }
  .contact .contact__form_fields-box {
    width: 100%;
  }
  .contact .contact__form_fields-box input {
    width: 100%;
  }
}

.testimonials {
  padding: 70px 0;
}
.testimonials .container {
  max-width: 1620px;
}
.testimonials__inner {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}
.testimonials .dark_button {
  display: block;
  width: fit-content;
  margin-top: 50px;
  margin-inline: auto;
  border-radius: 10px;
}

.testimonial {
  padding: 50px 40px 30px;
  background: #FFFFFF;
  border-radius: 20px;
  max-width: 787px;
}
.testimonial__top {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 450px) {
  .testimonial__top {
    flex-direction: column;
  }
}
.testimonial__top-img {
  height: 100px;
  width: 100px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial__top_info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial__top_info-title {
  font-size: 30px;
  font-weight: 500;
  font-family: "Inter", serif;
}
.testimonial__top_info-subtitle {
  font-size: 20px;
  opacity: 0.7;
  text-transform: uppercase;
}
.testimonial__content {
  font-family: "Inter", serif;
  font-weight: 500;
  font-size: 17px;
  color: #06402b;
}

.about .header {
  background: #400606;
  color: #FFFFFF;
}
.about .header__inner {
  padding: 6px 0;
}
.about .container {
  max-width: 1620px;
}
.about__inner {
  padding: 100px 0;
  justify-content: space-between;
  display: flex;
  gap: 70px;
}
.about__content {
  max-width: 1070px;
  width: 100%;
  font-size: 22px;
  line-height: 50px;
}
.about__gallery {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 460px;
  width: 100%;
}
.about__gallery img {
  width: 100%;
  height: 100%;
  min-height: 550px;
  object-fit: cover;
}
@media (max-width: 1300px) {
  .about .about__gallery {
    max-width: 300px;
  }
  .about .about__gallery img {
    height: auto;
  }
}
@media (max-width: 900px) {
  .about .about__inner {
    gap: 20px;
  }
  .about .about__content {
    font-size: 18px;
    line-height: 40px;
  }
}
@media (max-width: 800px) {
  .about .about__inner {
    flex-direction: column;
    gap: 50px;
  }
  .about .about__gallery {
    flex-wrap: wrap;
    flex-direction: row;
    max-width: 100%;
  }
  .about .about__gallery img {
    width: 48%;
    height: auto;
    min-height: auto;
  }
}
@media (max-width: 550px) {
  .about .about__gallery img {
    width: 100%;
  }
}
.about .dark_button {
  margin-top: 40px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  width: fit-content;
  height: 40px;
}