/* =========================================================
   Custom styles — consolidated
   Ала-Таш
   ========================================================= */

/* ===== Base / small utilities ===== */
.section-title.section-title--custom {
  font-size: 32px;
}

.logo-img.logo-img--custom {
  width: 290px;
}

.banner-header--custom-size {
  min-height: calc(70vh - 100px);
  background-position: center;
}

.navbar .container {
  display: flex;
  align-items: center;
}

.navbar-switch {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.navbar-switch__language-current {
  padding-top: 5px;
  font-size: 22px;
  width: 38px;
  min-width: 38px;
  height: 38px;
  color: #c5a47e;
  text-decoration: none;
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.navbar-switch__language-current::after {
  display: none !important;
  content: none !important;
  margin: 0 !important;
}

.navbar-switch__language-current:hover {
  color: #fff;
}

.navbar-switch__language-menu {
  min-width: 130px;
  padding: 8px;
  margin-top: 10px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.navbar-switch__language-menu .dropdown-item {
  padding: 8px 12px;
  border-radius: 8px;
  color: #1b1b1b;
  font-size: 14px;
}

.navbar-switch__language-menu .dropdown-item:hover,
.navbar-switch__language-menu .dropdown-item.active {
   color: #b69774;
}



.navbar-switch__language-current:hover i,
.navbar-switch__language-current:focus i,
.navbar-switch__language-current.show i {
  margin: 0;
  padding: 0;
  color: #c5a47e;
  transform: none;
}

@media screen and (max-width: 991px) {
  .navbar-switch {
    margin-left: auto;
    margin-right: 12px;
  }
}

/* ===== Navbar ===== */
@media screen and (min-width: 992px) and (max-width: 1300px) {
  .navbar .navbar-nav .nav-link {
    font-size: clamp(11px, calc(0.9vw + 2px), 13px);
    letter-spacing: clamp(0.6px, 0.1vw, 1.4px);
    padding-left: clamp(4px, 0.45vw, 10px);
    padding-right: clamp(4px, 0.45vw, 10px);
  }

  .navbar .navbar-nav .nav-link .rolling-text {
    height: 28px;
    line-height: 28px;
  }

  .navbar .logo-img {
    width: clamp(132px, 12vw, 170px);
  }
}

@media screen and (max-width: 991px) {
  .logo-wrapper.logo-wrapper--custom {
    padding: 10px;
  }

  .logo-img.logo-img--custom {
    width: 145px;
    margin-bottom: 0;
  }
}

/* ===== Hero ===== */
.banner-header .banner-header__title--custom {
  max-width: 720px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: clamp(2px, 0.45vw, 6px);
}

.banner-header[data-overlay-dark] .banner-header__title--custom-small,
.banner-header .banner-header__title--custom-small {
  font-size: clamp(11px, 1.2vw, 13px);
  line-height: 1.4;
  letter-spacing: clamp(2px, 0.3vw, 6px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-actions__btn {
  margin-right: 0 !important;
  max-width: 100%;
  min-height: 50px;
  padding: 0 34px;
}

.hero-actions__btn .text-wrapper {
  max-width: 100%;
}

.hero-actions__btn .text {
  white-space: nowrap;
}

@media screen and (max-width: 991px) {
  .banner-header .banner-header__title--custom {
    max-width: 620px;
    margin-bottom: 18px;
  }

  .banner-header[data-overlay-dark] .banner-header__title--custom-small,
  .banner-header .banner-header__title--custom-small {
    margin-bottom: 22px;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions__btn {
    padding: 0 26px;
  }

  .hero-actions__btn .text {
    font-size: 12px;
    letter-spacing: 1.4px;
  }
}

@media screen and (max-width: 575px) {
  .banner-header .banner-header__title--custom {
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: 2px;
    margin-bottom: 16px;
  }

  .banner-header[data-overlay-dark] .banner-header__title--custom-small,
  .banner-header .banner-header__title--custom-small {
    font-size: 11px;
    line-height: 1.45;
    letter-spacing: 2px;
    margin-bottom: 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-actions__btn {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    line-height: 52px;
  }

  .hero-actions__btn .text-wrapper {
    display: block;
    width: 100%;
    height: 52px;
    line-height: 52px;
    text-align: center;
  }

  .hero-actions__btn .text {
    width: 100%;
    font-size: 11px;
    line-height: 52px;
    letter-spacing: 1px;
    text-align: center;
  }
}

@media screen and (max-width: 380px) {
  .banner-header .banner-header__title--custom {
    font-size: 27px;
    line-height: 1.18;
    letter-spacing: 1.4px;
  }

  .banner-header[data-overlay-dark] .banner-header__title--custom-small,
  .banner-header .banner-header__title--custom-small {
    font-size: 10px;
    letter-spacing: 1.4px;
  }

  .hero-actions__btn {
    padding: 0 14px;
  }

  .hero-actions__btn .text {
    font-size: 10px;
    letter-spacing: 0.7px;
  }
}

/* ===== About ===== */
.year15.year15--custom {
  width: 143px;
}

.year15 .custom-num {
  color: #c5a47e;
  font-size: 100px;
  height: 95px;
  line-height: 65px;
  align-items: flex-end;
  justify-content: center;
  display: flex;
  font-weight: 400;
  letter-spacing: -12px;
}

.year15 .txt.txt--custom-one,
.year15 .txt.txt--custom-two {
  padding-top: 25px;
  height: 30px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 25px;
}

.about-stats__item {
  min-height: 145px;
  padding: 22px 14px;
  background: #f5f5f5;
  border-radius: 4px;
  text-align: center;
  transform-style: preserve-3d;
  transition:
    background-color 300ms ease,
    transform 300ms ease,
    color 300ms ease;
}

.about-stats__item:hover {
  background: #c5a47e;
  transform: translate3d(0, -6px, 0.01px);
}

.about-stats__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 100%;
  background: #fff;
  color: #c5a47e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition:
    background-color 300ms ease,
    color 300ms ease;
}

.about-stats__number {
  color: #171717;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-bottom: 8px;
  transition: color 300ms ease;
}

.about-stats__item p {
  margin: 0;
  color: #737373;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 300;
  letter-spacing: 0.3px;
  transition: color 300ms ease;
}

.about-stats__item:hover .about-stats__icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.about-stats__item:hover .about-stats__number,
.about-stats__item:hover p {
  color: #fff;
}

.about-inline__btn-wrap {
  width: 100%;
  margin-top: 25px;
}

.about-inline__btn {
  max-width: 100%;
  min-height: 54px;
  padding: 0 28px;
  line-height: 54px;
  white-space: normal;
}

.about-inline__btn .text-wrapper {
  height: auto;
  min-height: 54px;
  line-height: 1.25;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-inline__btn .text {
  font-size: 13px;
  line-height: 1.25;
  white-space: normal;
  text-align: center;
}

@media screen and (max-width: 1199px) {
  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .about-stats__item {
    min-height: 135px;
    padding: 20px 12px;
  }

  .about-stats__number {
    font-size: 20px;
  }

  .about-inline__btn {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    line-height: 52px;
  }

  .about-inline__btn .text-wrapper {
    width: 100%;
    min-height: 52px;
  }

  .about-inline__btn .text {
    font-size: 11px;
    line-height: 1.3;
    letter-spacing: 1px;
  }
}

@media screen and (max-width: 420px) {
  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-inline__btn {
    padding: 0 14px;
  }

  .about-inline__btn .text {
    font-size: 10px;
    letter-spacing: 0.7px;
  }
}

/* ===== Services cards ===== */
.owl-carousel .owl-item .custom-service-card {
  width: 100%;
  min-height: 320px;
}

.services .item.custom-service-card {
  position: relative;
  padding-top: 95px;
}

.services .item.custom-service-card > a.custom-service-link {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 3;
  text-decoration: none;
}

.services .item.custom-service-card .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  padding: 0 18px;
  overflow: hidden;
  white-space: nowrap;
  border-radius: 50%;
  position: relative;
  transition: all 0.35s ease;
}

.services .item.custom-service-card .arrow::before {
  flex-shrink: 0;
}

.services .item.custom-service-card .custom-arrow-text {
  max-width: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  display: inline-block;
  margin-left: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  transition:
    max-width 0.35s ease,
    opacity 0.25s ease,
    margin-left 0.35s ease,
    visibility 0.25s ease;
}

.services .item.custom-service-card:hover .arrow {
  width: auto;
  min-width: 55px;
  border-radius: 0 4px 0 50px;
  justify-content: flex-start;
}

.services .item.custom-service-card:hover .custom-arrow-text {
  max-width: 320px;
  opacity: 1;
  visibility: visible;
  margin-left: 10px;
}

.services .item.custom-service-card.custom-service-card--btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 60px;
}

.services
  .item.custom-service-card.custom-service-card--btn
  .custom-service-btn {
  margin-top: auto;
  width: 100%;
  max-width: 100%;
  padding: 0 24px;
  min-height: 54px;
  line-height: 54px;
  border-radius: 40px;
  text-align: center;
}

.services
  .item.custom-service-card.custom-service-card--btn
  .custom-service-btn
  .text-wrapper {
  display: block;
  width: 100%;
  height: auto;
  line-height: 1.3;
  overflow: visible;
  white-space: normal;
}

.services
  .item.custom-service-card.custom-service-card--btn
  .custom-service-btn
  .text {
  display: block;
  position: static;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: center;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 1px;
  padding: 16px 0;
}

.services
  .item.custom-service-card.custom-service-card--btn
  .custom-service-btn
  .slide-down {
  display: none;
}

.services
  .item.custom-service-card.custom-service-card--btn
  .custom-service-btn:hover
  .slide-up {
  transform: none;
}

.services--equal .row,
.services--main-list .row {
  display: flex;
  flex-wrap: wrap;
}

.services--equal .row > [class*='col-'],
.services--main-list .row > [class*='col-'] {
  display: flex;
}

.services--equal .item {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.services--equal .item p {
  flex-grow: 1;
}

.services--main-list .row {
  align-items: stretch;
}

.services--main-list .services-main-card {
  width: 100%;
  min-height: 330px;
  padding: 45px 30px;
  display: flex;
  flex-direction: column;
}

.services--main-list .services-main-card .icon {
  margin-bottom: 24px;
}

.services--main-list .services-main-card h5 {
  min-height: 72px;
  font-size: 19px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.services--main-list .services-main-card p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.65;
}

@media screen and (max-width: 1199px) {
  .services
    .item.custom-service-card.custom-service-card--btn
    .custom-service-btn
    .text {
    font-size: 10px;
    letter-spacing: 0.8px;
  }

  .services--main-list .services-main-card {
    min-height: 315px;
    padding: 40px 26px;
  }

  .services--main-list .services-main-card h5 {
    min-height: auto;
    font-size: 18px;
  }
}

@media screen and (max-width: 767px) {
  .services .item.custom-service-card.custom-service-card--btn,
  .services--main-list .services-main-card {
    padding: 35px 25px;
  }

  .services
    .item.custom-service-card.custom-service-card--btn
    .custom-service-btn {
    padding: 0 18px;
  }

  .services
    .item.custom-service-card.custom-service-card--btn
    .custom-service-btn
    .text {
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: 0.6px;
  }

  .services--main-list .services-main-card {
    min-height: auto;
  }
}

/* ===== Services expandable carousel ===== */
.services-expand-carousel .owl-stage-outer {
  overflow: hidden !important;
  height: auto !important;
  padding: 10px 0 45px !important;
}

.services-expand-carousel .owl-stage,
.services-expand-carousel .owl-item {
  display: flex;
  align-items: flex-start !important;
}

.services-expand-carousel .owl-item:hover {
  z-index: 20;
}

.services-expand-carousel .custom-service-card--expand {
  position: relative;
  width: 100%;
  height: auto !important;
  min-height: 430px !important;
  max-height: 430px;
  padding: 55px 40px 35px;
  overflow: hidden;
  background: #fff !important;
  border-radius: 4px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition:
    max-height 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 300ms ease,
    box-shadow 300ms ease,
    background-color 300ms ease;
}

.services-expand-carousel .custom-service-card--expand::before {
  display: none !important;
}

.services-expand-carousel .custom-service-card--expand:hover,
.services-expand-carousel .custom-service-card--expand:focus-within {
  max-height: 760px;
  min-height: 430px !important;
  overflow: hidden;
  transform: translate3d(0, -8px, 0.01px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.services-expand-carousel .custom-service-card--expand .icon,
.services-expand-carousel .custom-service-card--expand h5,
.services-expand-carousel .custom-service-card--expand .custom-service-btn {
  flex-shrink: 0;
}

.services-expand-carousel .custom-service-card--expand .icon {
  margin-bottom: 22px;
}

.services-expand-carousel .custom-service-card--expand h5 {
  margin-bottom: 14px;
}

.services-expand-carousel .custom-service-card--expand > p {
  margin: 0 0 12px;
  line-height: 1.6;
  flex-shrink: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition:
    opacity 300ms ease,
    max-height 420ms ease;
}

.services-expand-carousel .custom-service-card--expand:hover > p,
.services-expand-carousel .custom-service-card--expand:focus-within > p {
  -webkit-line-clamp: 10;
  overflow: hidden;
}

.services-expand-carousel .custom-service-card--expand .custom-service-btn,
.services-expand-carousel
  .custom-service-card--expand:hover
  .custom-service-btn,
.services-expand-carousel
  .custom-service-card--expand:focus-within
  .custom-service-btn {
  margin-top: auto;
}

.services-expand-carousel .custom-service-hidden {
  display: grid;
  grid-template-rows: 0fr;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  margin: 4px 0 10px;
  transition:
    grid-template-rows 520ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 320ms ease,
    transform 420ms ease,
    margin 420ms ease,
    visibility 0s linear 520ms;
}

.services-expand-carousel .custom-service-hidden > * {
  min-height: 0;
  overflow: hidden;
}

.services-expand-carousel .custom-service-hidden p {
  margin: 0;
  color: #737373;
  font-size: 15px;
  line-height: 1.6;
}

.services-expand-carousel
  .custom-service-card--expand:hover
  .custom-service-hidden,
.services-expand-carousel
  .custom-service-card--expand:focus-within
  .custom-service-hidden {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  margin-top: 8px;
  margin-bottom: 8px;
  transition-delay: 0s;
}

@media screen and (max-width: 1199px) {
  .services-expand-carousel .custom-service-card--expand {
    height: 455px !important;
    min-height: 455px !important;
    padding: 50px 34px 32px;
  }

  .services-expand-carousel .custom-service-card--expand:hover,
  .services-expand-carousel .custom-service-card--expand:focus-within {
    max-height: 820px;
    min-height: 455px !important;
  }
}

@media screen and (max-width: 767px) {
  .services-expand-carousel .owl-stage-outer {
    padding: 5px 0 25px !important;
  }

  .services-expand-carousel .custom-service-card--expand,
  .services-expand-carousel .custom-service-card--expand:hover,
  .services-expand-carousel .custom-service-card--expand:focus-within {
    height: auto !important;
    min-height: auto !important;
    padding: 35px 25px 28px;
    overflow: visible;
    transform: none !important;
    box-shadow: none;
  }

  .services-expand-carousel .custom-service-card--expand > p {
    display: block;
    overflow: visible;
    margin: 0 0 12px;
  }

  .services-expand-carousel .custom-service-hidden,
  .services-expand-carousel
    .custom-service-card--expand:hover
    .custom-service-hidden,
  .services-expand-carousel
    .custom-service-card--expand:focus-within
    .custom-service-hidden {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin: 4px 0 10px;
  }

  .services-expand-carousel .custom-service-hidden > * {
    overflow: visible;
  }

  .services-expand-carousel .custom-service-hidden p {
    font-size: 15px;
    line-height: 1.6;
  }

  .services-expand-carousel .custom-service-card--expand .custom-service-btn {
    margin-top: 20px;
  }
}

/* ===== Portfolio / catalog cards ===== */
.portfolio2 .item,
.portfolio4 .item,
.services3 .item {
  position: relative;
  cursor: pointer;
}

.portfolio2 .portfolio2-card-link,
.portfolio4 .portfolio4-card-link,
.services3 .item-link {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
}

.portfolio2 .portfolio2-card-link {
  z-index: 5;
}

.portfolio4 .portfolio4-card-link {
  z-index: 30;
}

.portfolio4 .portfolio4-gallery-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.portfolio4 .portfolio4-gallery-link .item .cont {
  position: absolute !important;
  top: auto !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 86px !important;
  padding: 0 20px 12px !important;
  display: flex !important;
  justify-content: flex-start !important;
  overflow: visible;
}

.portfolio4 .portfolio4-gallery-link .item .cont .wrap {
  background: rgba(255, 255, 255, 0.68) !important;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 12px 18px !important;
  min-height: 48px;
  align-items: center;
  transform: translateY(20px) !important;
}

.portfolio4 .portfolio4-gallery-link .item .cont .title {
  font-size: 15px;
  line-height: 1.35;
}

.services3 .item-link {
  z-index: 2;
}

.portfolio2 .item .img,
.portfolio2 .item .icon-wrapper,
.portfolio2 .item .con,
.portfolio4 .item img,
.portfolio4 .item .cont {
  pointer-events: none;
}

.portfolio2 .item .icon-wrapper .hover-icon-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  color: inherit;
  text-decoration: none;
  z-index: 2;
}

.portfolio4 .item .cont,
.services3 .icon-wrapper,
.services3 .info {
  position: relative;
  z-index: 3;
}

.portfolio4 .item .cont {
  z-index: 2;
}

.portfolio4 .item .link span {
  display: inline-block;
  color: inherit;
}

.services3 .services3-btn,
.portfolio2 .portfolio2-btn {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.portfolio2--main .portfolio2-container {
  width: 150%;
  max-width: none;
  position: relative;
}

.portfolio2 .item .con.con--custom-position,
.portfolio2 .item .con.con--custom-position-main {
  bottom: calc(var(--catalog-card-offset) * -1);
}

.portfolio2 .item:hover .con.con--custom-position,
.portfolio2 .item:hover .con.con--custom-position-main {
  bottom: 0;
}

.portfolio2 .item .con.con--custom-position {
  --catalog-card-offset: 75px;
  padding: 30px;
}

.portfolio2 .item .con.con--custom-position-main {
  --catalog-card-offset: 38px;
  padding: 20px;
}

.portfolio2 .item .con.con--custom-position .details,
.portfolio2 .item .con.con--custom-position-main .details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 12px;
  margin-bottom: 0;
}

.portfolio2 .item .con.con--custom-position .details span,
.portfolio2 .item .con.con--custom-position-main .details span {
  margin-right: 0;
  line-height: 1.35;
  white-space: nowrap;
  max-width: 150px;
}

.portfolio2--main .item .con.con--custom-position-main h5 {
  font-size: 18px;
  margin-bottom: 10px;
}

.portfolio2--main .item .con.con--custom-position-main .line {
  margin-bottom: 12px;
}

.portfolio2--main .item .con.con--custom-position-main .details {
  gap: 5px 8px;
  font-size: 12px;
}

.portfolio2--main .item .con.con--custom-position-main .details span {
  font-size: 12px;
  max-width: none;
}

@media screen and (max-width: 1200px) {
  .portfolio2 .item .con.con--custom-position-main {
    --catalog-card-offset: 48px;
    padding: 10px;
  }
}

@media screen and (max-width: 991px) {
  .portfolio2--main .portfolio2-container {
    width: 100%;
    max-width: 100%;
  }

  .portfolio2 .item .con.con--custom-position {
    --catalog-card-offset: 60px;
    padding: 20px;
  }

  .portfolio2 .item .con.con--custom-position-main {
    --catalog-card-offset: 49px;
    padding: 15px !important;
  }

  .portfolio2 .item .con.con--custom-position-main h5 {
    font-size: 17px;
    margin-bottom: 8px;
  }

  .portfolio2 .item .con.con--custom-position-main .line {
    margin-bottom: 10px;
  }

  .portfolio2 .item .con.con--custom-position-main .details {
    gap: 4px 8px;
  }

  .portfolio2 .item .con.con--custom-position-main .details span {
    font-size: 11px;
    line-height: 1.3;
    max-width: none;
    white-space: nowrap;
  }
}

@media screen and (max-width: 767px) {
  .services3 .services3-btn,
  .portfolio2 .portfolio2-btn {
    margin-top: 25px;
  }

  .portfolio2 .item .con.con--custom-position {
    --catalog-card-offset: 38px;
    padding: 15px;
  }

  .portfolio2 .item .con.con--custom-position-main {
    --catalog-card-offset: 45px;
    padding: 15px !important;
  }

  .portfolio2 .item .con.con--custom-position .details,
  .portfolio2 .item .con.con--custom-position-main .details {
    flex-direction: row;
    align-items: center;
    gap: 5px;
  }

  .portfolio2 .item .con.con--custom-position-main .details {
    justify-content: center;
    gap: 4px 6px;
  }

  .portfolio2 .item .con.con--custom-position .details span {
    max-width: 170px;
    flex-direction: row;
  }

  .portfolio2 .item .con.con--custom-position-main .details span {
    max-width: 170px;
    font-size: 11px;
  }
}

@media screen and (max-width: 575px) {
  .portfolio2 .item .con.con--custom-position-main {
    --catalog-card-offset: 29px;
    padding: 14px !important;
  }

  .portfolio2 .item .con.con--custom-position-main .details span {
    white-space: normal;
  }
}

@media screen and (max-width: 428px) {
  .portfolio2 .item .con.con--custom-position {
    --catalog-card-offset: 65px;
    padding: 23px;
  }
}

@media screen and (max-width: 377px) {
  .portfolio2 .item .con.con--custom-position-main {
    --catalog-card-offset: 47px;
  }
}

/* ===== Portfolio 4 filter ===== */
.portfolio4--filter .portfolio4-filter {
  margin-bottom: 45px;
}

.portfolio4--filter .gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  padding: 0;
  margin: 0 0 45px;
}

.portfolio4--filter .gallery-filter li {
  position: relative;
  margin: 0;
  padding: 0 0 8px;
  color: #737373;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  cursor: pointer;
  transition: color 300ms ease;
}

.portfolio4--filter .gallery-filter li::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #c5a47e;
  transition: width 300ms ease;
}

.portfolio4--filter .gallery-filter li:hover,
.portfolio4--filter .gallery-filter li.active {
  color: #c5a47e;
}

.portfolio4--filter .gallery-filter li:hover::after,
.portfolio4--filter .gallery-filter li.active::after {
  width: 100%;
}

@media screen and (max-width: 767px) {
  .portfolio4--filter .gallery-filter {
    gap: 18px;
    margin-bottom: 30px;
  }

  .portfolio4--filter .gallery-filter li {
    font-size: 11px;
    letter-spacing: 1px;
    padding-bottom: 6px;
  }
}

/* ===== Testimonials ===== */
.testimonials2 {
  position: relative;
  overflow: hidden;
}

.testimonials2 .container {
  position: relative;
  min-height: 60vh;
  max-width: 1200px;
}

.testimonials2 .bg-img {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  border-radius: 4px;
}

.testimonials2 .bg-img[data-overlay-dark]::before {
  border-radius: 4px;
}

.testimonials2 .testimonials-text-block {
  position: absolute;
  right: 120px;
  bottom: 60px;
  z-index: 2;
  max-width: 540px;
}

.testimonials2 .testimonials-text-block .text {
  display: block;
  text-align: left;
}

.testimonials2 .custom--title {
  color: #c5a47e;
  font-size: 24px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.testimonials2 .custom--desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
}

.testimonials2 .row {
  position: relative;
  z-index: 3;
}

.testimonials2 .item-cover {
  background: #f5f5f5;
  position: relative;
  top: -80px;
  left: -80px;
  z-index: 3;
  border-radius: 4px;
  max-width: 420px;
}

.testimonials2 .item .cont {
  padding: 50px;
}

.testimonials2 .item .cont .quote-icon {
  width: 60px;
  margin-bottom: 0;
}

.testimonials2 .item .cont p {
  color: #737373;
  margin-bottom: 15px;
}

.testimonials2 .item .cont .icons.icons__custom--size {
  font-size: 14px;
  color: #fd961e;
  line-height: 1;
}

.testimonial-author {
  margin-top: 18px;
  color: #171717;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 500;
}

.testimonial-role {
  margin-top: 4px;
  color: #737373;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 300;
}

@media screen and (max-width: 991px) {
  .testimonials2 .container {
    min-height: 540px;
  }

  .testimonials2 .testimonials-text-block {
    right: 40px;
    bottom: 35px;
    left: auto;
    max-width: 400px;
  }

  .testimonials2 .item-cover {
    top: -70px;
    left: 0;
    max-width: 420px;
  }

  .testimonials2 .item .cont {
    padding: 30px;
  }

  .testimonials2 .custom--title {
    font-size: 21px;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .testimonials2 .custom--desc {
    font-size: 15px;
    line-height: 1.6;
    max-width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .testimonials2 {
    overflow: visible;
  }

  .testimonials2 .container {
    min-height: 500px;
  }

  .testimonials2 .bg-img {
    min-height: 320px;
  }

  .testimonials2 .testimonials-text-block {
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: none;
  }

  .testimonials2 .item-cover {
    top: -45px;
    left: 0;
    max-width: 100%;
    width: 100%;
  }

  .testimonials2 .item .cont {
    padding: 24px 22px;
  }

  .testimonials2 .item .cont .quote-icon {
    width: 48px;
    margin-bottom: 6px;
  }

  .testimonials2 .custom--title {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  .testimonials2 .custom--desc {
    font-size: 14px;
    line-height: 1.55;
  }

  .testimonials2 .item .cont p {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 12px;
  }

  .testimonials2 .item .cont .icons.icons__custom--size {
    font-size: 12px;
  }
}

@media screen and (max-width: 480px) {
  .testimonials2 .container {
    min-height: 470px;
  }

  .testimonials2 .bg-img {
    min-height: 290px;
  }

  .testimonials2 .testimonials-text-block {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .testimonials2 .item-cover {
    top: -35px;
  }

  .testimonials2 .item .cont {
    padding: 20px 18px;
  }

  .testimonials2 .custom--title {
    font-size: 16px;
  }

  .testimonials2 .custom--desc {
    font-size: 13px;
    line-height: 1.5;
  }

  .testimonials2 .item .cont p {
    font-size: 13px;
    line-height: 1.6;
  }
}

/* ===== Team benefits ===== */
.team-benefits {
  position: relative;
  overflow: hidden;
}

.team-benefits .team-container {
  width: 145%;
  position: relative;
}

.team-benefits .owl-carousel .owl-stage,
.team-benefits .owl-carousel .owl-item {
  display: flex;
}

.team-benefits .benefit-card {
  width: 100%;
  height: 100%;
}

.team-benefits .benefit-card__inner {
  background: #f5f5f5;
  border-radius: 4px;
  padding: 35px 30px;
  min-height: 280px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition:
    background-color 300ms ease,
    transform 300ms ease,
    color 300ms ease;
}

.team-benefits .benefit-card:hover .benefit-card__inner {
  transform: translate3d(0, -6px, 0.01px);
  background: #c5a47e;
}

.team-benefits .benefit-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 100%;
  background: #fff;
  color: #c5a47e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  flex-shrink: 0;
  transition: all 300ms ease;
}

.team-benefits .benefit-card:hover .benefit-card__icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.team-benefits .benefit-card__content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-benefits .benefit-card__content h5 {
  font-size: 20px;
  color: #171717;
  margin-bottom: 12px;
  line-height: 1.3;
}

.team-benefits .benefit-card__content p {
  font-size: 15px;
  color: #737373;
  margin-bottom: 0;
  line-height: 1.7;
}

.team-benefits .benefit-card:hover .benefit-card__content h5,
.team-benefits .benefit-card:hover .benefit-card__content p {
  color: #fff;
}

.team-benefits .item .img,
.team-benefits .item .bg,
.team-benefits .item .con {
  display: none;
}

@media screen and (max-width: 991px) {
  .team-benefits .team-container {
    width: 100%;
  }

  .team-benefits .benefit-card__inner {
    min-height: 240px;
    padding: 30px 24px;
  }

  .team-benefits .benefit-card__icon {
    width: 64px;
    height: 64px;
    font-size: 24px;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 767px) {
  .team-benefits .benefit-card__inner {
    min-height: 220px;
    padding: 24px 20px;
  }

  .team-benefits .benefit-card__content h5 {
    font-size: 18px;
  }

  .team-benefits .benefit-card__content p {
    font-size: 14px;
    line-height: 1.6;
  }
}

/* ===== Contact form ===== */
.contact-form .form-group {
  position: relative;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  box-sizing: border-box;
}

.contact-form .form-group input[type='text'],
.contact-form .form-group input[type='email'],
.contact-form .form-group input[type='tel'],
.contact-form .form-group textarea,
.form-group input[type='number'] {
  width: 100%;
  padding: 20px 20px 20px 52px;
  border: 1px solid rgba(197, 164, 126, 0.35);
  background: transparent;
  color: #7a7a7a;
  font-size: 16px;
  line-height: 1.4;
  outline: none;
  box-shadow: none;
}

.form-group input[type='number'] {
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding-left: 55px;
  appearance: textfield;
  -moz-appearance: textfield;
}

.form-group input[type='number']::-webkit-outer-spin-button,
.form-group input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.contact-form .form-group input[type='text']:focus,
.contact-form .form-group input[type='email']:focus,
.contact-form .form-group input[type='tel']:focus,
.contact-form .form-group textarea:focus,
.form-group input[type='number']:focus {
  border-color: #c5a47e;
}

.contact-form .form-group .form-icon {
  position: absolute;
  left: 18px;
  top: 65%;
  transform: translateY(-50%);
  z-index: 2;
  color: #c5a47e;
}

.contact-form .form-group.form-textarea .form-icon {
  top: 24px;
  transform: none;
}

.contact-form .form-group.form-file {
  margin-bottom: 15px;
}

.contact-form .form-file input[type='file'] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-form .form-file .file-label {
  width: 100%;
  min-height: 64px;
  padding: 12px 12px 12px 52px;
  border: 1px solid rgba(197, 164, 126, 0.35);
  background: transparent;
  color: #737373;
  font-size: 16px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  cursor: pointer;
  margin-bottom: 15px;
}

.contact-form .form-file .file-label:hover {
  border-color: #c5a47e;
}

.contact-form .form-file .file-label__text {
  color: #737373;
}

.contact-form .form-file .file-label__btn {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 40px;
  border: 1px solid #c5a47e;
  color: #171717;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-form .form-file .file-label:hover .file-label__btn {
  background: #c5a47e;
  color: #fff;
}

.contact-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.contact-form__actions .contact-form__btn {
  margin: 0 !important;
}

.contact-form__btn .text-wrapper {
  max-width: 100%;
}

.contact-form__btn .text {
  white-space: nowrap;
}

@media screen and (max-width: 575px) {
  .contact-form__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .contact-form__actions .contact-form__btn {
    width: 100%;
    max-width: 100%;
    min-height: 52px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .contact-form__btn .text-wrapper {
    width: 100%;
    text-align: center;
  }

  .contact-form__btn .text {
    width: 100%;
    font-size: 11px;
    letter-spacing: 1px;
    text-align: center;
  }
}

@media screen and (max-width: 380px) {
  .contact-form__actions .contact-form__btn {
    padding-left: 14px;
    padding-right: 14px;
  }

  .contact-form__btn .text {
    font-size: 10px;
    letter-spacing: 0.7px;
  }
}

/* ===== Catalog filters ===== */
.catalog-filters {
  padding: 45px 0 0;
  background: #fff;
}

.catalog-filters__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(280px, 1.5fr) auto;
  gap: 16px;
  align-items: end;
  padding: 28px;
  background: #f5f5f5;
  border-radius: 4px;
}

.catalog-filters__group label {
  display: block;
  margin-bottom: 8px;
  color: #171717;
  font-size: 13px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.catalog-filter {
  width: 100%;
  height: 52px;
  margin-bottom: 0;
  padding: 0 46px 0 18px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 40px;
  background-color: #fff;
  color: #737373;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 300;
  outline: none;
  box-shadow: none;
  transition:
    border-color 300ms ease,
    color 300ms ease,
    background-color 300ms ease;
}

select.catalog-filter {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #c5a47e 50%),
    linear-gradient(135deg, #c5a47e 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
}

.catalog-filter:hover,
.catalog-filter:focus {
  border-color: #c5a47e;
  color: #171717;
}

.catalog-filters__group--price {
  min-width: 260px;
}

.catalog-price__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 15px;
  margin-bottom: 8px;
}

.catalog-price__top label {
  margin-bottom: 0;
}

.catalog-price__values {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #737373;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.catalog-price {
  position: relative;
  height: 52px;
  padding: 0 8px;
  display: flex;
  align-items: center;
}

.catalog-price__track,
.catalog-price__range {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 65%;
  height: 3px;
  transform: translateY(-50%);
  border-radius: 20px;
}

.catalog-price__track {
  background: rgba(0, 0, 0, 0.12);
}

.catalog-price__range {
  background: #c5a47e;
}

.catalog-price__input {
  position: absolute;
  left: 0;
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0;
  background: none;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  outline: none;
}

.catalog-price__input::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #c5a47e;
  background: #fff;
  cursor: pointer;
  pointer-events: auto;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition:
    background-color 300ms ease,
    transform 300ms ease;
}

.catalog-price__input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #c5a47e;
  background: #fff;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition:
    background-color 300ms ease,
    transform 300ms ease;
}

.catalog-price__input::-webkit-slider-thumb:hover,
.catalog-price__input::-moz-range-thumb:hover {
  background: #c5a47e;
  transform: scale(1.08);
}

.catalog-price__input::-webkit-slider-runnable-track,
.catalog-price__input::-moz-range-track {
  height: 3px;
  background: transparent;
}

.catalog-filters__actions {
  display: flex;
  align-items: end;
}

.catalog-filters__reset {
  height: 52px;
  padding: 0 28px;
  border-radius: 40px;
  border: 1px solid #c5a47e;
  background: transparent;
  color: #171717;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 300ms ease,
    border-color 300ms ease,
    color 300ms ease,
    transform 300ms ease;
}

.catalog-filters__reset:hover {
  background: #c5a47e;
  border-color: #c5a47e;
  color: #fff;
  transform: translate3d(0, -3px, 0.01px);
}

.catalog-filters__empty {
  display: none;
  margin-top: 30px;
  color: #737373;
  font-size: 15px;
  text-align: center;
}

.catalog-filters__empty.is-visible {
  display: block;
}

.catalog-card.is-hidden {
  display: none;
}

@media screen and (max-width: 1199px) {
  .catalog-filters__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-filters__group--price,
  .catalog-filters__actions {
    grid-column: span 2;
  }

  .catalog-filters__reset {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .catalog-filters {
    padding: 35px 0 0;
  }

  .catalog-filters__inner {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 14px;
  }

  .catalog-filters__group--price,
  .catalog-filters__actions {
    grid-column: auto;
  }

  .catalog-filter,
  .catalog-filters__reset {
    height: 48px;
    font-size: 13px;
  }

  .catalog-price__top {
    display: block;
  }

  .catalog-price__values {
    margin-top: 8px;
    justify-content: space-between;
    font-size: 12px;
  }

  .catalog-price,
  .catalog-price__input {
    height: 48px;
  }
}

/* ===== Owl carousel arrows ===== */
.portfolio2-main-carousel,
.services3-carousel,
.galleryscroll .owl-carousel {
  position: relative;
  --owl-arrow-size: 46px;
  --owl-arrow-icon-size: 16px;
  --owl-arrow-offset-left: 12px;
  --owl-arrow-offset-right: 12px;
  --owl-arrow-bg: rgba(255, 255, 255, 0.42);
  --owl-arrow-bg-hover: rgba(197, 164, 126, 0.82);
  --owl-arrow-border: rgba(255, 255, 255, 0.55);
  --owl-arrow-color: #171717;
  --owl-arrow-color-hover: #fff;
}

.owl-carousel .owl-nav.disabled {
  display: none !important;
}

.portfolio2-main-carousel {
  --owl-arrow-offset-left: -54px;
  --owl-arrow-offset-right: calc(33.333% - 130px);
}

.galleryscroll .owl-carousel {
  --owl-arrow-offset-left: 24px;
  --owl-arrow-offset-right: 24px;
}

.services3-carousel {
  --owl-arrow-offset-left: 12px;
  --owl-arrow-offset-right: 12px;
}

.portfolio2-main-carousel .owl-nav,
.services3-carousel .owl-nav,
.galleryscroll .owl-carousel .owl-nav {
  display: block !important;
  position: absolute !important;
  left: 0;
  right: 0;
  top: 50%;
  width: 100%;
  height: 0;
  margin: 0 !important;
  padding: 0;
  transform: translateY(-50%);
  z-index: 80;
  pointer-events: none;
}

.portfolio2-main-carousel .owl-nav button.owl-prev,
.portfolio2-main-carousel .owl-nav button.owl-next,
.services3-carousel .owl-nav button.owl-prev,
.services3-carousel .owl-nav button.owl-next,
.galleryscroll .owl-carousel .owl-nav button.owl-prev,
.galleryscroll .owl-carousel .owl-nav button.owl-next {
  position: absolute !important;
  top: 0;
  z-index: 1000 !important;
  width: var(--owl-arrow-size);
  height: var(--owl-arrow-size);
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50%;
  border: 1px solid var(--owl-arrow-border) !important;
  background: var(--owl-arrow-bg) !important;
  color: var(--owl-arrow-color) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transform: translateY(0);
  pointer-events: auto !important;
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition:
    background-color 300ms ease,
    border-color 300ms ease,
    color 300ms ease,
    transform 300ms ease,
    box-shadow 300ms ease;
}

.portfolio2-main-carousel .owl-nav button.owl-prev,
.services3-carousel .owl-nav button.owl-prev,
.galleryscroll .owl-carousel .owl-nav button.owl-prev {
  left: var(--owl-arrow-offset-left) !important;
}

.portfolio2-main-carousel .owl-nav button.owl-next,
.services3-carousel .owl-nav button.owl-next,
.galleryscroll .owl-carousel .owl-nav button.owl-next {
  right: var(--owl-arrow-offset-right) !important;
}

.portfolio2-main-carousel .owl-nav button.owl-prev:hover,
.portfolio2-main-carousel .owl-nav button.owl-next:hover,
.services3-carousel .owl-nav button.owl-prev:hover,
.services3-carousel .owl-nav button.owl-next:hover,
.galleryscroll .owl-carousel .owl-nav button.owl-prev:hover,
.galleryscroll .owl-carousel .owl-nav button.owl-next:hover {
  background: var(--owl-arrow-bg-hover) !important;
  border-color: rgba(197, 164, 126, 0.9) !important;
  color: var(--owl-arrow-color-hover) !important;
  transform: scale(1.06);
  box-shadow:
    0 14px 35px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.portfolio2-main-carousel .owl-nav button span,
.portfolio2-main-carousel .owl-nav button i,
.services3-carousel .owl-nav button span,
.services3-carousel .owl-nav button i,
.galleryscroll .owl-carousel .owl-nav button span,
.galleryscroll .owl-carousel .owl-nav button i {
  color: inherit !important;
  font-size: var(--owl-arrow-icon-size);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 991px) {
  .portfolio2-main-carousel,
  .services3-carousel,
  .galleryscroll .owl-carousel {
    --owl-arrow-size: 42px;
    --owl-arrow-icon-size: 14px;
    --owl-arrow-offset-left: 10px;
    --owl-arrow-offset-right: 10px;
  }
}

@media screen and (max-width: 575px) {
  .portfolio2-main-carousel,
  .services3-carousel,
  .galleryscroll .owl-carousel {
    --owl-arrow-size: 38px;
    --owl-arrow-icon-size: 13px;
    --owl-arrow-offset-left: 8px;
    --owl-arrow-offset-right: 8px;
  }

  .portfolio2-main-carousel .owl-nav,
  .services3-carousel .owl-nav,
  .galleryscroll .owl-carousel .owl-nav {
    top: 48%;
  }
}

.galleryscroll .item .img > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.catalog-gallery-grid-wrap {
  padding-right: 24px;
  padding-left: 24px;
}

.galleryscroll .catalog-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

.galleryscroll .catalog-gallery-grid .item {
  width: 100%;
}

.galleryscroll .catalog-gallery-grid .item .img {
  aspect-ratio: 4 / 3;
  height: auto !important;
}

.galleryscroll .catalog-gallery-grid .item .img > img {
  display: block;
}

@media screen and (max-width: 991px) {
  .catalog-gallery-grid-wrap {
    padding-right: 18px;
    padding-left: 18px;
  }

  .galleryscroll .catalog-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media screen and (max-width: 575px) {
  .catalog-gallery-grid-wrap {
    padding-right: 12px;
    padding-left: 12px;
  }

  .galleryscroll .catalog-gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.home-carousel .owl-carousel .item {
  width: 100%;
}

.home-carousel .owl-carousel .item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Floating contact ===== */
.floating-contact {
  position: fixed;
  left: 24px;
  bottom: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-contact__item {
  width: 54px;
  height: 54px;
  animation: floatingContactBounce 2.6s ease-in-out infinite;
}

.floating-contact__item:nth-child(2) {
  animation-delay: 0.25s;
}

.floating-contact__btn {
  width: 54px;
  height: 54px;
  padding: 0;
  border-radius: 100%;
  background: #171717;
  border: 1px solid rgba(197, 164, 126, 0.55);
  color: #c5a47e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.16);
  transition:
    background-color 300ms ease,
    border-color 300ms ease,
    color 300ms ease;
}

.floating-contact__btn i,
.floating-contact__btn:hover i,
.floating-contact__btn:focus i,
.floating-contact__btn:active i {
  position: static;
  width: auto;
  height: auto;
  line-height: 1;
  font-size: 20px;
  color: inherit;
  transform: none;
  translate: none;
  opacity: 1;
  visibility: visible;
}

.floating-contact__btn:hover {
  background: #c5a47e;
  border-color: #c5a47e;
  color: #fff;
  display: inline-flex;
}

@keyframes floatingContactBounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@media screen and (max-width: 767px) {
  .floating-contact {
    left: 16px;
    bottom: 18px;
    gap: 10px;
  }

  .floating-contact__item,
  .floating-contact__btn {
    width: 50px;
    height: 50px;
  }

  .floating-contact__btn i,
  .floating-contact__btn:hover i {
    font-size: 18px;
  }
}

/* ===== Magnific Popup backdrop fix ===== */
body.mfp-zoom-out-cur {
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mfp-bg {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  background: #000 !important;
  opacity: 0.85 !important;
  z-index: 1042 !important;
}

.mfp-wrap {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  z-index: 1043 !important;
}

.mfp-container {
  height: 100% !important;
}

/* Final project card overlay overrides. */
.portfolio4 .portfolio4-gallery-link .item .cont {
  position: absolute !important;
  top: auto !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 86px !important;
  padding: 0 20px 12px !important;
  display: flex !important;
  justify-content: flex-start !important;
  overflow: visible !important;
}

.portfolio4 .portfolio4-gallery-link .item .cont .wrap {
  background: rgba(255, 255, 255, 0.68) !important;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 12px 18px !important;
  min-height: 48px;
  align-items: center;
  transform: translateY(20px) !important;
}

.portfolio4 .portfolio4-gallery-link .item .cont .title {
  font-size: 15px;
  line-height: 1.35;
}
