@font-face {
  font-family: 'Playfair Display';
  src: url('/source/fonts/PlayfairDisplay-VariableFont_wght.ttf') format('.ttf');
}
:root {
  --primary: #432918;
  --secondary: #93AC79;
  --bg: #F5F5DC;
  --dark: #050302;
}
body {
  background: var(--bg);
  color: var(--dark);
  padding-top: 52px;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body,
ul,
ol,
button,
input,
a {
  margin: 0;
  padding: 0;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  text-decoration: none;
  transition: 0.4s;
  line-height: 1.5;
}
button {
  outline: none !important;
}
ul,
ol {
  list-style: none;
}
img {
  max-width: 100%;
}
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: normal;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}
p {
  font-weight: normal;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}
h2 {
  margin-bottom: 10px;
  text-align: center;
  font-size: 40px;
  color: var(--primary);
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
}
h2:after {
  content: "";
  width: 100px;
  height: 3px;
  margin-top: 8px;
  display: block;
  background-color: var(--secondary);
}
h3 {
  font-size: 24px;
  font-weight: 500;
}
[class*="-subtitle"] {
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 30px;
}

.navigation {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--bg);
  z-index: 10;
}
.navigation-header {
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 15px;
}
.navigation-logo-link {
  display: flex;
  align-items: center;
}
.navigation-logo {
  width: 250px;
  -o-object-fit: cover;
  object-fit: cover;
}
.navigation-menu-link {
  position: relative;
  display: flex;
  align-items: center;
  font-weight: 400;
  text-decoration: none;
}
.navigation-menu-link:hover {
  color: var(--primary);
}
.navigation-burger-btn {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 5;
}
.navigation-burger-btn * {
  -webkit-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.navigation-burger-btn--open .navigation-burger .navigation-line {
  width: 0% !important;
}
.navigation-burger-btn--open .navigation-burger .navigation-line:nth-child(1) {
  -webkit-transition-delay: 0s;
  -o-transition-delay: 0s;
  transition-delay: 0s;
}
.navigation-burger-btn--open .navigation-burger .navigation-line:nth-child(2) {
  -webkit-transition-delay: 0.125s;
  -o-transition-delay: 0.125s;
  transition-delay: 0.125s;
}
.navigation-burger-btn--open .navigation-burger .navigation-line:nth-child(3) {
  -webkit-transition-delay: 0.25s;
  -o-transition-delay: 0.25s;
  transition-delay: 0.25s;
}
.navigation-burger-btn--open .navigation-cross .navigation-line:nth-child(1) {
  height: 85%;
  -webkit-transition-delay: 0.625s;
  -o-transition-delay: 0.625s;
  transition-delay: 0.625s;
  background-color: var(--dark);
}
.navigation-burger-btn--open .navigation-cross .navigation-line:nth-child(2) {
  width: 85%;
  -webkit-transition-delay: 0.375s;
  -o-transition-delay: 0.375s;
  transition-delay: 0.375s;
  background-color: var(--dark);
}
.navigation-line {
  background-color: var(--dark);
  border-radius: 4px;
}
.navigation-burger {
  position: absolute;
  width: 100%;
  height: 100%;
  padding-top: 4px;
}
.navigation-burger .navigation-line {
  width: 32px;
  height: 3px;
  top: 0;
  position: relative;
  margin: 7px 0;
}
.navigation-burger .navigation-line:nth-child(1) {
  -webkit-transition-delay: 0.5s;
  -o-transition-delay: 0.5s;
  transition-delay: 0.5s;
  margin-top: 3px;
}
.navigation-burger .navigation-line:nth-child(2) {
  -webkit-transition-delay: 0.625s;
  -o-transition-delay: 0.625s;
  transition-delay: 0.625s;
}
.navigation-burger .navigation-line:nth-child(3) {
  -webkit-transition-delay: 0.75s;
  -o-transition-delay: 0.75s;
  transition-delay: 0.75s;
}
.navigation-cross {
  position: absolute;
  height: 100%;
  width: 100%;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.navigation-cross .navigation-line:nth-child(1) {
  position: absolute;
  height: 0%;
  width: 3px;
  top: 3px;
  left: 16px;
  -webkit-transition-delay: 0s;
  -o-transition-delay: 0s;
  transition-delay: 0s;
}
.navigation-cross .navigation-line:nth-child(2) {
  position: absolute;
  width: 0%;
  height: 3px;
  left: 4px;
  top: 15px;
  -webkit-transition-delay: 0.25s;
  -o-transition-delay: 0.25s;
  transition-delay: 0.25s;
}
.navigation-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
  opacity: 0;
  width: auto;
  height: 100vh;
  -webkit-transform: translateX(-120%);
  -ms-transform: translateX(-120%);
  transform: translateX(-120%);
  padding: 70px;
  background: var(--bg);
  z-index: 4;
  -webkit-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-box-shadow: 0px 0px 10px 2px rgba(67, 41, 24, 0.2) inset;
  -moz-box-shadow: 0px 0px 10px 2px rgba(67, 41, 24, 0.2) inset;
  box-shadow: 0px 0px 10px 2px rgba(67, 41, 24, 0.2) inset;
}
.navigation-wrapper--open {
  visibility: visible;
  opacity: 1;
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
}
.navigation-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-bottom: 30px;
  margin: auto;
}
.navigation-menu-link {
  font-size: 1.4em;
}
.navigation-menu-link {
  padding: 16px 0;
  color: var(--dark);
  text-align: right;
}
.navigation-menu-link::after {
  display: none;
}
@media screen and (max-width: 991.98px) {
  .navigation-contact-box {
    font-size: 14px;
  }
}
@media screen and (max-width: 767.98px) {
  .navigation-contacts {
    display: none;
  }
}
@media screen and (max-width: 575.98px) {
  .navigation-wrapper {
    padding: 70px 20px;
  }
  .navigation-menu-link:hover {
    color: #ffffff;
  }
  .navigation-logo {
    width: 220px;
  }
}

.hello-section {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 100px 0 50px;
  background: linear-gradient(to bottom, #C89B71 0%, var(--bg) 100%);
}
.hello-section img {
  width: 300px;
  display: block;
  margin: 0 auto;
}
.hello-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hello-title {
  font-size: 52px;
  margin-bottom: 10px;
  font-weight: bold;
}
.hello-btns {
  display: flex;
  gap: 20px;
  padding-top: 30px;
}
.hello-btn1,
#contact-form button {
  min-width: 150px;
  padding: 12px 20px;
  color: white;
  text-align: center;
  border-radius: 5px;
  text-transform: uppercase;
}
a.hello-btn1,
#contact-form button {
  background-color: var(--primary);
}
a.hello-btn1:hover,
#contact-form button:hover {
  background-color: var(--dark);
}
a.hello-btn2 {
  background-color: var(--dark);
}
a.hello-btn2:hover {
  background-color: var(--primary);
}

.about {
  padding: 100px 0 20px;
}
.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  background-color: var(--secondary);
  margin-bottom: 30px;
}
.about-content:last-of-type {
  grid-template-columns: 2fr 1fr;
}
.about-content img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.about-description {
  display: flex;
  flex-direction: column;
  margin: auto;
  align-items: flex-end;
  padding: 30px;
  row-gap: 12px;
  text-align: right;
}
.about-content:last-of-type .about-description {
  align-items: flex-start;
  text-align: left;
}
.about-description .hello-btn1 {
  margin-top: 20px;
}

.notes {
  padding: 60px 0;
}
.notes .notes-subtitle {
  margin: 10px 0 30px;
  text-align: center;
}
.notes-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.notes-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  background-color: white;
}
.notes-item img {
  padding: 16px;
  object-fit: cover;
  transition: padding 0.3s;
  height: 450px;
}
.notes-item:hover img {
  padding: 0;
}
.notes-item-title,
.notes-item-text {
  padding: 0 16px 16px;
}
.notes-item-text {
  padding-bottom: 30px;
}

#services {
  padding: 60px 0;
}
.service-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-box {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  padding: 12px 12px 16px;
  border: 1px solid var(--secondary);
  text-align: center;
}

.contacts-section {
  padding: 60px 0;
}
.contacts-content {
  padding-top: 20px;
  row-gap: 20px;
}
.contacts-content h3 {
  margin-bottom: 20px;
}
.contacts-details {
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 1px dashed var(--secondary);
  padding: 16px;
}
.contacts-details a {
  color: var(--primary);
}
.contacts-details a:hover {
  color: var(--dark);
}
form {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 20px 0 0;
}
.custom-input {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 12px;
  border: none;
  border-bottom: 1px dashed white;
  outline: none !important;
  transition: 0.3s;
  box-shadow: none;
  background-color: white;
  font-size: 16px;
}
.custom-input::placeholder {
  color: var(--primary);
  font-size: 16px;
}
.custom-input:focus {
  border-color: var(--primary);
}
.contacts-section button {
  cursor: pointer;
  outline: none;
  align-self: center;
  margin-top: 20px;
  border: none;
}
textarea {
  resize: none;
  font-family: inherit;
}


footer.footer {
  padding: 80px 0 20px;
}
.footer-contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 30px;
}

footer .footer-logo-link {
  margin-bottom: 20px;
}
footer h3 {
  margin-bottom: 10px;
}
.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  text-align: right;
  gap: 10px 20px;
}
.contacts-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
footer li a {
  color: var(--primary);
}
footer li a:hover {
  color: var(--dark);
}
.footer-bottom {
  padding: 30px 0;
  text-align: center;
}
.footer-copyright {
  font-size: 14px;
}
@media screen and (max-width: 991.98px) {
  .service-content {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
@media screen and (max-width: 767.98px) {
  .hello-section {
    padding: 100px 0 50px;
  }
  .hello-content {
    align-items: center;
    text-align: center;
  }
  .hello-section img {
    margin-top: 20px;
  }
  .hello-title {
    font-size: 36px;
  }
  h2 {
    font-size: 32px;
  }
  [class*="-subtitle"] {
    font-size: 16pxv;
  }
  .about-content {
    grid-template-columns: 1fr !important;
    gap: 0;
  }
  .about-description {
    align-items: center !important;
    text-align: center !important;
  }
  .notes-box,
  .service-content {
    grid-template-columns: 1fr;
  }
  .notes-item img {
    height: auto;
  }
  .contacts-content {
    padding-top: 0;
  }
  .contacts-content h3 {
    text-align: center;
    margin-bottom: 10px;
  }
  footer {
    text-align: center;
  }
  .footer-menu {
    justify-content: center;
    padding-top: 20px;
  }
}

.thanks {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 200px 0 150px;
}
.thanks .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 10px;
}
.thanks img {
  width: 100px;
  height: auto;
  margin-bottom: 10px;
}
.thanks p {
  text-align: center;
  font-size: 18px;
}
.thanks p.thanks-text {
  color: var(--primary);
  font-weight: bold;
}
@media screen and (max-width: 767.98px) {
  .thanks {
    padding: 150px 0 100px;
  }
}
.docs {
  word-break: break-word;
  padding: 130px 0 50px;
}
.docs h1 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 40px;
  font-weight: 700;
}
.docs h2 {
  color: var(--dark);
  margin-bottom: 10px;
  font-size: 32px;
  text-align: left;
  align-items: flex-start;
}
.docs h2::before,
.docs h2::after {
  display: none;
}
.docs h3 {
  margin-bottom: 10px;
  font-size: 26px;
}
.docs li,
.docs p {
  color: inherit;
  padding-bottom: 10px;
}
.docs a {
  text-decoration: none !important;
  color: var(--primary);
}
.docs a:hover {
  color: var(--black);
}