.home-first-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0px 0px 0px 15px;
  max-width: 1310px;
  margin-top: 90px;
  @media (max-width: 1352px) {
    margin-top: 60px;
    padding: 0px 15px 0px 15px;
  }
  & h2 {
    font-family: "Playfair-Display", sans-serif;
    font-size: 44px;
    font-weight: 400;
    color: #070707;
    margin: 0px 0px;
    @media (max-width: 580px) {
      font-size: 28px;
    }
  }
  & p {
    font-family: "Inter-Display", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #181811;
  }
}
.home-second-container {
  margin-top: 48px;
  padding: 0px 15px;
  @media (max-width: 580px) {
    margin-top: 32px;
  }
  .object-archive-grid-home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    @media (max-width: 860px) {
      grid-template-columns: 1fr;
    }
    & .object-item {
      background-color: #ffffff;
      padding: 20px;
      border-radius: 16px;
      text-decoration: none;
      width: 100%;
      & .object-content {
        & .images-container {
          position: relative;
          & img {
            width: 100%;
            object-fit: cover;
            height: 480px;
            border-radius: 8px;
            @media (max-width: 1160px) {
              height: 420px;
            }
            @media (max-width: 860px) {
              height: 390px;
            }
            @media (max-width: 580px) {
              height: 365px;
            }
          }
          & .sold-object {
            position: absolute;
            left: 10px;
            bottom: 10px;
            font-family: "Inter-Display", sans-serif;
            font-size: 14px;
            font-weight: 500;
            color: #ffffff;
            padding: 10px 14px;
            background-color: #9a9a9a4d;
            border-radius: 4px;
          }
        }
        & .item-title {
          display: flex;
          align-items: center;
          gap: 24px;
          justify-content: space-between;
          margin-top: 28px;
          @media (max-width: 780px) {
            flex-direction: column;
            align-items: flex-start;
            margin-top: 16px;
          }
          & h3 {
            font-family: "Playfair-Display", sans-serif;
            font-size: 36px;
            font-weight: 400;
            color: #070707;
            margin: 0;
            text-decoration: none;
            @media (max-width: 780px) {
              order: 2;
            }
            @media (max-width: 580px) {
              font-size: 26px;
            }
          }
          & p.address {
            font-family: "Inter-Display", sans-serif;
            font-size: 14px;
            font-weight: 500;
            color: #181811;
            margin-bottom: 0px;
            display: flex;
            gap: 6px;
            @media (max-width: 780px) {
              order: 1;
              display: flex;
              gap: 10px;
              align-items: center;
            }
          }
        }
      }
      & .load-bar-section {
        margin-top: 48px;
        @media (max-width: 780px) {
          margin-top: 36px;
        }
        & .load-bar-container {
          width: 100%;
          background-color: #ddd;
          border-radius: 8px;
          height: 20px;
          margin-bottom: 10px;
          position: relative;
          & .load-bar-background {
            position: relative;
            width: 100%;
            height: 100%;
            background-color: #ddd;
            border-radius: 8px;
            overflow: hidden;
            & .load-bar-fill {
              height: 100%;
              background-color: #566955;
              border-radius: 8px;
              position: absolute;
              top: 0;
              left: 0;
              transition: width 1s ease;
            }
          }
        }
        & .loadbar-text-container {
          display: flex;
          justify-content: space-between;
          & p {
            font-family: "Inter-Display", sans-serif;
            font-size: 14px;
            font-weight: 400;
            color: #181811;
            margin-top: 16px;
            margin-bottom: 0px;
          }
          & p:last-child {
            font-family: "Inter-Display", sans-serif;
            font-size: 14px;
            font-weight: 500;
            color: #181811;
            margin-top: 16px;
            margin-bottom: 0px;
          }
        }
      }
    }
  }
  & a.green-right-arrow-btn {
    margin: 0 auto;
    margin-top: 48px;
    @media (max-width: 580px) {
      margin-top: 32px;
    }
    @media (max-width: 860px) {
      width: 100%;
      max-width: 100% !important;
    }
  }
}
.home-third-container {
  display: flex;
  padding: 0px 15px;
  gap: 24px;
  margin-top: 180px;
  @media (max-width: 580px) {
    margin-top: 120px;
  }
  & img.left-image {
    border-radius: 16px;
  }
  & .home-about-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    & .about-inner {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      background-color: #ffff;
      border-radius: 16px;
      padding: 36px 32px;
      & p {
        font-family: "Playfair-Display", sans-serif;
        font-size: 28px;
        font-weight: 400;
        margin-top: 34px;
      }
      & .text-button {
        margin-top: 132px;
        & p.button-text {
          font-family: "Inter-Display", sans-serif;
          font-size: 16px;
          font-weight: 400;
          margin-top: 0;
        }
      }
    }
    & .about-inner-cards {
      display: grid;
      grid-template-columns: auto auto auto;
      gap: 24px;
      & div.cards-item {
        background-color: #ffff;
        border-radius: 16px;
        padding: 20px 20px 24px 20px;
        width: 100%;
        & img {
          margin-bottom: 106px;
        }
        & .count {
          font-family: "Playfair-Display", sans-serif;
          font-size: 44px;
          font-weight: 500;
          font-feature-settings: "lnum";
        }
        & span,
        p {
          font-family: "Inter-Display", sans-serif;
          font-size: 14px;
          font-weight: 400;
        }
        & p {
          margin-top: 24px;
        }
      }
    }
  }
}
@media (max-width: 1248px) {
  .home-third-container {
    flex-direction: column;
    & img.left-image {
      height: 600px;
    }
  }
}
@media (max-width: 786px) {
  .home-third-container {
    flex-direction: column;
    & img.left-image {
      height: 400px;
    }
  }
}
@media (max-width: 640px) {
  .home-third-container {
    flex-direction: column;
    & img.left-image {
      height: 400px;
    }
    & .home-about-container {
      & .about-inner-cards {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
      }
      & .about-inner-cards div:nth-child(3) {
        grid-column: 1 / -1;
      }
    }
  }
}
@media (max-width: 392px) {
  .home-third-container {
    flex-direction: column;
    & img.left-image {
      height: 400px;
    }
    & .home-about-container {
      & .about-inner-cards {
        grid-template-columns: 1fr;
        gap: 16px;
      }
    }
  }
}
.home-fourth-container {
  display: flex;
  justify-content: space-between;
  gap: 102px;
  margin-top: 180px;
  padding: 0px 15px 0px 15px;
  & .faq-container {
    max-width: 389px;
    & h3 {
      font-family: "Playfair-Display", sans-serif;
      font-size: 56px;
      font-weight: 400;
      margin: 0;
    }
  }
  & .accordion {
    max-width: 957px;
    width: 100%;
  }
}
@media (max-width: 1200px) {
  .home-fourth-container {
    flex-direction: column;
    gap: 32px;
    & .faq-container {
      max-width: 100%;
      & h3 {
        font-size: 36px;
      }
    }
    & .accordion {
      max-width: 100%;
    }
  }
}
.accordion {
  border: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  & .accordion-item {
    & .accordion-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: #ffffff;
      border-radius: 16px 16px 16px 16px;
      position: relative;
      padding: 20px 28px 20px 28px;
      & h3 {
        font-family: "Playfair-Display", sans-serif;
        font-size: 24px;
        font-weight: 400;
        margin: 0;
      }
    }
    & .accordion-header.active::after {
      content: "";
      position: absolute;
      left: 28px;
      right: 28px;
      bottom: 0;
      height: 1px;
      background-color: #eaeaea;
    }
    & .accordion-content {
      font-family: "Inter-Display", sans-serif;
      font-size: 14px;
      font-weight: 400;
      display: none;
      padding: 16px;
      background: #ffffff;
      border-radius: 0px 0px 16px 16px;
      position: relative;
      padding: 20px 28px 40px 28px;
      max-height: 0;
      transition: max-height 0.8s ease;
      scrollbar-width: thin;
      scrollbar-color: #566955 #eaeaea;
      overflow-y: auto;
      overflow-x: hidden;
      box-sizing: border-box;
      & p {
        margin-bottom: 20px;
      }
    }
    & .accordion-header.active + .accordion-content {
      display: block;
      max-height: 999px;
      overflow: auto;
      padding: 20px 28px 40px 28px;
    }
    & .accordion-content::-webkit-scrollbar {
      width: 12px;
    }

    & .accordion-content::-webkit-scrollbar-thumb {
      background-color: #566955;
      border-radius: 10px;
    }

    & .accordion-content::-webkit-scrollbar-track {
      background-color: #eaeaea;
    }
    & .accordion-header.active {
      border-radius: 16px 16px 0px 0px;
    }
    & .accordion-toggle {
      background: none;
      border: none;
      padding: 0;
      & .toggle-icon {
        transition: transform 0.8s ease;
      }
    }
  }
}
@media (max-width: 1200px) {
  .accordion {
    & .accordion-item {
      & .accordion-header {
        padding: 20px 16px 20px 16px;
      }
      & .accordion-header.active + .accordion-content {
        padding: 20px 16px 40px 16px;
      }
    }
  }
}
.bottom-arrow {
  & svg {
    fill: none;
    width: 46px;
    height: 46px;
    & rect {
      stroke: #ffffff;
      stroke-opacity: 0.3;
      stroke-width: 1.5;
    }
    & path {
      stroke: #ffffff;
      stroke-width: 1.5;
    }
  }
}
.bottom-arrow-accordion span.toggle-icon {
  & svg {
    fill: #ffffff;
    & rect {
      stroke: #d8d8d8;
      stroke-opacity: 0.5;
      stroke-width: 1.5;
    }
    & path {
      stroke: #070707;
      stroke-width: 1.5;
    }
  }
  & svg:hover {
    fill: #566955;
    & rect {
      stroke: #566955;
      stroke-opacity: 1;
      stroke-width: 1.5;
    }
    & path {
      stroke: #ffffff;
      stroke-width: 1.5;
    }
  }
}
.accordion-header.active .toggle-icon svg {
  fill: #729e70;
  & rect {
    stroke: #729e70;
    stroke-opacity: 1;
    stroke-width: 1.5;
  }
  & path {
    stroke: #ffffff;
    stroke-width: 1.5;
  }
}
.question-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  background-color: #ffffff;
  padding: 20px 28px;
  border-radius: 16px;
  & h3 {
    font-family: "Playfair-Display", sans-serif;
    font-size: 24px;
    font-weight: 400;
    margin: 0;
  }
  & div {
    a {
      padding: 20px 20px;
    }
  }
}
@media (max-width: 1200px) {
  .question-block {
    padding: 20px 16px;
  }
}
@media (max-width: 568px) {
  .question-block {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    border-radius: 16px;
    & h3 {
      font-family: "Playfair-Display", sans-serif;
      font-size: 24px;
      font-weight: 400;
      margin: 0;
      text-align: center;
    }
    & div {
      a {
        padding: 20px 20px;
      }
    }
  }
}
