#page-index {
  overflow-x: hidden;
}

#page-index .ctnr {
  --container: 1080px
}
#modal-referral-welcome{
  .modal-custom__btn--confirm{
    background: var(--bg-linear);
    padding: 10px 20px;
  }
}
.home-banner {
  background: var(--bg-linear);
  padding: 60px 0 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* Content Elements */
  /* Visual Elements */
}

.home-banner__row {
  gap: 20px 0;
}

@media (min-width: 1280px) {
  .home-banner__row {
    --gutter: 30px;
  }
}

.home-banner__content {
  color: white;
}

.home-banner__title {
  font-size: 2.7rem;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: rgba(15, 82, 49, 0.59) 0.766035px 0.766035px 0px;
  max-width: 375px;
}

.home-banner__title--highlight {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 35px;
}

.home-banner__description {
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 30px;
  text-shadow: rgba(15, 82, 49, 0.59) 0.766035px 0.766035px 0px;
}

.home-banner__button {
  background: white;
  border: none;
  padding: 6px 24px;
  border-radius: 50px;
  font-weight: 600;
  color: #333;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.home-banner__button-icon {
  line-height: 0;
}

.home-banner__visual {
  position: relative;
  max-height: 348px;
  overflow: hidden;
}

.home-banner__visual.slick-dotted {
  margin-bottom: 0;
}

.home-banner__visual .slick-prev {
  left: 15px;
}

.home-banner__visual .slick-next {
  right: 15px;
}

.home-banner__visual .slick-dots {
  bottom: 20px;
}

.home-banner__visual .slick-dots li {
  width: auto;
  height: auto;
}

.home-banner__visual .slick-dots li.slick-active button {
  background: var(--color-1);
  opacity: 1;
}

.home-banner__visual .slick-dots button {
  width: 8px;
  height: 8px;
  background: black;
  opacity: 0.2;
  border-radius: 50%;
}

.home-banner__visual .slick-dots button::before {
  display: none;
}

.home-banner__img {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 15px;
}

.home-banner__img::after {
  content: "";
  padding-top: 52.8375733855%;
  display: block;
}

.home-banner__img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-search {
  height: 115px;
}

.search-form {
  background: linear-gradient(45deg, #f2f2f2, #f2f2f2);
  padding: 20px;
  border-radius: 8px;
  transform: translateY(-50%);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.16);
  /* Tabs */
  /* Main Search Row */
}

.search-form__tabs {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 10px;
  margin-bottom: 15px;
}

.search-form__tab {
  padding: 6px 20px;
  border: none;
  border-radius: 4px;
  background: #fff;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-size: 15px;
}

.search-form__tab.is-active {
  background: linear-gradient(45deg, #f9bd00, #e6a005);
  color: #fff;
}

.search-form__main {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.search-form__field {
  background: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  height: 32px;
}

.search-form__field--select {
  flex: 1;
  font-weight: 500;
  cursor: pointer;
  gap: 5px;
  max-width: 198px;
}

.search-form__field--select .icon-property {
  line-height: 0;
}

.search-form__field--select .icon-property img,
.search-form__field--select .icon-property svg {
  width: 15px;
  object-fit: contain;
}

.search-form__field--input {
  flex: 3;
}

.search-form__field--input .icon-search {
  line-height: 0;
}

.search-form__field--input .icon-search img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.search-form__select {
  padding: 0;
  border: 0;
  background: transparent;
}

.search-form__input {
  border: none;
  outline: none;
  width: 100%;
  padding-left: 10px;
  font-size: 14px;
}

.search-form__submit {
  background: linear-gradient(45deg, #f9bd00, #e6a005);
  color: #fff;
  border: none;
  padding: 0 30px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;

  @media (max-width: 640px) {
    padding: 0 7px;
  }
}

.search-form__trends {
  display: flex;
  align-items: center;
  font-size: 13px;
}

.search-form__trend-label {
  font-weight: 500;
  margin-right: 15px;
  white-space: nowrap;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.search-form__trend-label .icon-trend {
  line-height: 0;
}

.search-form__trend-label .icon-trend img,
.search-form__trend-label .icon-trend svg {
  width: 19px;
  object-fit: contain;
}

.search-form__trend-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.search-form__trend-list p {
  background: linear-gradient(45deg, #dcdcdc, white);
  padding: 5px 12px;
  border-radius: 4px;
  text-decoration: none;
  color: var(--color-text);
  white-space: nowrap;
  font-weight: 500;
}

.category-slider:not(.slick-initialized) {
  display: flex;
}

.category-slider .slick-list {
  margin: 0 -10px;
}

.category-slider .slick-slide {
  margin: 0 10px;
}

.category-slider__wrap {
  background: radial-gradient(#ffffff, #f6f6f6);
  padding: 13px;
  border-radius: 8px;
  color: #ff751f;
}

.category-slider__wrap:hover .category-slider__img img {
  transform: rotateY(180deg);
}

.category-slider__img {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.category-slider__img img {
  width: 53px;
  height: 53px;
  object-fit: contain;
  transition: all .6s ease;
}

.category-slider__ttl {
  font-size: 15px;
  text-align: center;
  line-height: 1.2;
  font-weight: 400;
}

.home-estate {
  padding: 20px 0;
}



.referral-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.referral-popup-overlay.referral-show {
  opacity: 1;
  visibility: visible;
}

.referral-modal-container {
  background: white;
  border-radius: 8px;
  max-width: 450px;
  width: 90%;
  padding: 40px 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  text-align: center;
  animation: referral-slide-up 0.4s ease-out;
  position: relative;
}

@keyframes referral-slide-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.referral-icon-badge {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2c5f9e 0%, #1a4d7a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
}

.referral-heading {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.referral-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.referral-reward-card {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
  border-left: 4px solid #2c5f9e;
  padding: 15px;
  margin: 20px 0;
  border-radius: 4px;
  text-align: left;
}

.referral-reward-label {
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.referral-reward-value {
  font-size: 28px;
  font-weight: 700;
  color: #2c5f9e;
}

.referral-reward-text {
  font-size: 13px;
  color: #666;
  margin-top: 8px;
}

.referral-button-group {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.referral-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.referral-btn-primary {
  background: #2c5f9e;
  color: white;
}

.referral-btn-primary:hover {
  background: #1a4d7a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 95, 158, 0.3);
}

.referral-btn-secondary {
  background: #f0ad02;
  color: #333;
}

.referral-btn-secondary:hover {
  background: #e0e0e0;
}

.referral-close-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 24px;
  color: #999;
  transition: color 0.2s;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.referral-close-icon:hover {
  color: #333;
}

@media (max-width: 480px) {
  .referral-modal-container {
    padding: 30px 20px;
  }

  .referral-heading {
    font-size: 20px;
  }

  .referral-reward-value {
    font-size: 24px;
  }

  .referral-button-group {
    flex-direction: column-reverse;
  }
}




/* Featured Projects Grid */
.featured-projects__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;

  @media (max-width: 1024px) {
    grid-template-columns: repeat(2, 1fr);
  }

  /* @media (max-width: 374px) {
    grid-template-columns: repeat(1, 1fr);
  } */
}

.project-card {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: #000;
}

.project-card__media {
  position: relative;
  overflow: hidden;
  display: block;
}

.project-card__media:hover img {
  transform: scale(1.09);
}

.project-card__media::before {
  content: "";
  padding-top: 141.0358565737%;
  display: block;
}

.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.6s ease;
}

.project-card__badge {
  background: linear-gradient(45deg, #febe00, #e6a004);
  color: #fff;
  padding: 5px 15px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-1);
  margin-bottom: 10px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.project-card__badge>span {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-card__badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: -1;
  opacity: 0;
  transition: all 0.3s ease;
}

.project-card__badge:hover {

  color: var(--color-1);
  border-color: var(--color-1);
}

.project-card__badge:hover::after {
  opacity: 1;
}

.project-card__info {
  padding: 20px 10px;
  color: #fff;
  font-size: 13px;
  position: absolute;
  background: linear-gradient(0deg, black, transparent);
  bottom: 0;
  top: 30%;
  left: 0;
  right: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project-card__location>* {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.guide-steps {
  padding: 50px 0 20px;
}

.guide-steps .ctnr {
  max-width: 1380px;
}

/* @media (max-width: 1400px) {
  
} */
.guide-steps__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.guide-steps__card {
  border: 1px solid #ddd;
  padding: 20px;
  text-align: center;
  background: #fff;
}

.guide-steps__item {
  border: 1px dashed #e0e0e0;
  padding: 40px 15px 30px;
  position: relative;
  margin: 35px 0;
}

.guide-steps__icon {
  width: 70px;
  height: 70px;
  background: #a6a6a6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all .3s ease;
}

.guide-steps__icon:hover {
  box-shadow: 0 0 10px 8px hsl(36deg 100% 50% / 16%);
  transform: translate(-50%, -50%) scale(1.09);
}

.guide-steps__icon img {
  width: 35px;
  height: 35px;
  object-fit: contain;
  transition: all 0.6s ease;
}

.guide-steps__icon:hover img {
  transform: rotateY(180deg);
}

.guide-steps__step {
  font-size: 26px;
  font-weight: 700;
  color: #000;
}

.guide-steps__title {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #ff5a1f;
}

.guide-steps__ck {
  font-size: 12px;
}

.guide-steps__ck ul {
  padding: 0;
}

.guide-steps__ck ul li {
  list-style: disc;
  margin-left: 15px;
}

.guide-steps__btn {
  display: inline-block;
  padding: 3px 20px;
  background: linear-gradient(45deg, #f9bd03, #e69f06);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none;
  position: absolute;
  overflow: hidden;
  bottom: 0;
  left: 50%;
  min-width: 120px;
  transform: translate(-50%, 50%);
  z-index: 1;
}

.guide-steps__btn::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  z-index: -1;
  background: linear-gradient(180deg, #f9bd03, #e69f06);
  transition: all 0.3s ease;
}

.guide-steps__btn:hover {
  color: white;
}

.guide-steps__btn:hover::after {
  width: 100%;
}

.banner-qc__link {
  line-height: 0;
}

.banner-qc__link img {
  border-radius: 8px;
  width: 100%;
}

/* ===== BLOCK NEWS ===== */
.home-news {
  padding: 40px 0;
}

.home-news>.ctnr {
  max-width: 1200px;
}

.block-news {
  --gutter: 10px;
  gap: 15px 0;
  /* ===== BANNER ===== */
  /* ===== LIST ===== */
}

.block-news__featured-image {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 4px;
}

.block-news__featured-image::before {
  content: "";
  padding-top: 62.3287671233%;
  display: block;
}

.block-news__featured-image img {
  width: 100%;
  height: auto;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.block-news__featured-title {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.block-news__featured-title a {
  text-decoration: none;
}

.block-news__featured-excerpt {
  margin-top: 12px;
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.block-news__banner {
  height: 100%;
}

.block-news__banner>* {
  height: 100%;
}

.block-news__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.block-news__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.block-news__item {
  display: flex;
  gap: 12px;
  align-items: start;
}

.block-news__item-image {
  width: 34%;
  overflow: hidden;
  position: relative;
}

.block-news__item-image::before {
  content: "";
  display: block;
  padding-top: 85.5072463768%;
}

.block-news__item-image img {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  object-fit: cover;
  border-radius: 4px;
}

.block-news__item-ct {
  flex: 1;
}

.block-news__item-title {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}

.block-news__item-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.block-news__item-title a {
  text-decoration: none;
}

.block-news__item-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* ===== RESPONSIVE ===== */

@media (max-width: 992px) {
  .guide-steps__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-steps__item {
    margin-bottom: 15px;
  }

  .search-form__field--select {
    flex: none;
    min-width: auto;
  }
}

@media (max-width: 768px) {
  .home-banner {
    padding: 20px 0 80px;
  }

  .home-banner__row {
    flex-direction: column-reverse;
  }

  .block-news__item {
    gap: 10px;
  }

  .search-form {
    margin-bottom: -30px;
  }

  .search-form__tab {
    padding: 5px 16px;
  }

  .search-form__main {
    margin-bottom: 0;
  }

  .search-form__field--select {
    flex: none;
    min-width: auto;
  }

  .search-form__trends {
    display: none;
  }

  .home-estate {
    padding: 30px 0;
  }

  .project-card__badge {
    padding: 3px 15px;
    font-size: 14px;
  }

  .project-card__info {
    font-size: 12px;
  }

  .home-news {
    padding: 30px 0;
  }

  .section-address {
    padding: 30px 0;
  }

  .section-address__ck.grid {
    grid-template-columns: 1fr 1fr;
  }

  .block-news__banner {
    display: none;
  }

  .home-search {
    height: 90px;
  }
}

/* Referral Welcome Modal Styles */
.referral-modal__header {
  text-align: center;
  border-bottom: none;
  padding-bottom: 0;
}

.referral-modal__icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.referral-modal__title {
  margin-bottom: 8px;
}

.referral-modal__body {
  text-align: center;
  padding-top: 0;
}

.referral-modal__description {
  margin-bottom: 24px;
  color: #64748b;
}

.referral-modal__reward-card {
  background: var(--bg-linear);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  color: white;
}

.referral-modal__reward-label {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.referral-modal__reward-value {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 8px;
}

.referral-modal__reward-text {
  font-size: 14px;
  opacity: 0.9;
}

.referral-modal__note {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 24px;
}

.referral-modal__footer {
  border-top: none;
  padding-top: 0;
}

.referral-modal__btn {
  width: 100%;
}

/*# sourceMappingURL=maps/home.css.map */