:root {
  --gama-primary: #63c7c1;
  --gama-primary-dark: #3f928d;
  --gama-accent: #f4c23d;
  --gama-ink: #172322;
  --gama-muted: #687574;
  --gama-surface: #f5f8f7;
}

html {
  scroll-behavior: auto !important;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body {
  width: 100%;
  max-width: 100%;
  color: var(--gama-ink);
  background: #fff;
  font-family: "Roboto", sans-serif;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.sidebar-menu-container,
.sidebar-menu-inner,
.sidebar-menu-push {
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  overflow-x: clip;
  overflow-y: visible;
}

.sidebar-menu-push {
  height: auto;
  left: 0 !important;
  transform: none !important;
  -webkit-transform: none !important;
}

.home-hero {
  width: 100%;
  max-width: 100%;
  min-height: 610px;
  display: flex;
  align-items: center;
  position: relative;
  background:
    linear-gradient(90deg, rgba(63, 146, 141, .78), rgba(63, 146, 141, .34)),
    url("../images/002.jpg") center / cover no-repeat;
  color: #fff;
}

.home-hero__content {
  position: relative;
  z-index: 1;
}

.home-hero__eyebrow {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--gama-accent);
  color: #172322;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.home-hero h1 {
  max-width: 900px;
  margin: 22px 0 12px;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.06;
}

.home-hero p {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .9);
  font-size: 20px;
}

.home-search {
  display: grid;
  grid-template-columns: 1.25fr 1.25fr 1fr 1fr .8fr;
  gap: 10px;
  max-width: 1140px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
}

.home-search .form-control,
.home-search .bt_buscar {
  width: 100%;
  height: 50px;
  margin: 0;
  border-radius: 8px;
}

.home-search .select2-container {
  min-width: 0;
}

.home-search .select2-container .select2-selection--single {
  height: 50px;
  border: 1px solid #dce5e4;
  border-radius: 8px;
  background: #fff;
}

.home-search .select2-container .select2-selection--single .select2-selection__rendered {
  padding: 0 38px 0 16px;
  color: #4f5b59;
  line-height: 48px;
}

.home-search .select2-container .select2-selection--single .select2-selection__arrow {
  top: 11px;
  right: 10px;
}

.select2-dropdown {
  overflow: hidden;
  border: 1px solid #dce5e4;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(23, 50, 48, .16);
}

.select2-search--dropdown {
  padding: 10px;
}

.select2-search--dropdown .select2-search__field {
  height: 40px;
  padding: 8px 11px;
  border: 1px solid #cfdcda !important;
  border-radius: 6px;
  outline: none;
}

.select2-results__option {
  padding: 9px 12px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: var(--gama-primary-dark);
}

.home-search .bt_buscar {
  background: var(--gama-accent);
  color: #172322;
  font-weight: 800;
  text-transform: uppercase;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: calc(100% - 30px);
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 0 60px;
}

.property-grid .featured-item {
  position: relative;
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
}

.property-grid .featured-item > a {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.property-grid .featured-item .imovel {
  height: 270px;
}

.property-grid .featured-item .down-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px !important;
}

.property-grid .featured-item .down-content h2 {
  width: 100% !important;
  margin: 12px 0 8px !important;
  font-size: 20px !important;
  line-height: 1.3 !important;
  text-transform: none !important;
}

.property-purpose {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 8px 14px;
  border-radius: 6px;
  background: var(--gama-primary-dark);
  color: #fff;
  font-weight: 800;
}

.property-purpose--sale {
  background: #e8473f;
  color: #fff;
}

.property-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--gama-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.property-grid .featured-item .down-content .property-meta > span {
  float: none;
  margin: 0;
  padding: 0;
  background: transparent !important;
  color: var(--gama-primary-dark);
  line-height: normal;
}

.property-subtitle {
  min-height: 22px;
  margin: 0 0 16px !important;
  color: var(--gama-muted);
  font-size: 14px;
}

.property-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: auto;
  padding: 15px 0;
  border-top: 1px solid #e7eceb;
  border-bottom: 1px solid #e7eceb;
  color: #586563;
  font-size: 13px;
}

.property-features span {
  float: none !important;
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #586563 !important;
  line-height: normal !important;
  text-align: left !important;
  white-space: nowrap;
}

.property-features i {
  margin-right: 6px;
  color: var(--gama-primary-dark);
}

.property-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  color: var(--gama-ink);
  font-size: 20px;
  font-weight: 900;
}

.property-price small {
  color: var(--gama-primary-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.sidebar-menu.open {
  visibility: visible;
  z-index: 10001;
}

#sub-header {
  background: linear-gradient(-45deg, #63c7c1 40%, #3f928d 40%);
}

.main-header {
  background: #63c7c1;
  box-shadow: 0 8px 24px rgba(63, 146, 141, .16);
}

.main-navigation > ul > li > a {
  font-weight: 700;
  letter-spacing: .02em;
}

.site-header,
.site-header.scrolled-header,
.property-detail-page .site-header,
.property-detail-page .site-header.scrolled-header {
  position: absolute !important;
  top: 42px !important;
}

.slider .first-slide:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 42, 40, .7), rgba(7, 42, 40, .25));
  pointer-events: none;
}

.slider .tp-caption {
  z-index: 2;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .35);
}

.slider form,
.listing-page .sidebar-content {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
}

.slider form .form-control {
  height: 46px;
  border: 1px solid #dce5e4;
  border-radius: 8px;
  box-shadow: none;
}

.bt_buscar,
.advanced-button a {
  border-radius: 8px !important;
  font-weight: 800;
}

.featured-listing,
.listing-page,
.car-details {
  background: var(--gama-surface);
}

.heading-section-2 h2,
.heading-section h2 {
  color: var(--gama-ink);
  font-weight: 800;
}

.featured-item {
  overflow: hidden;
  border: 0 !important;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(23, 50, 48, .1);
  transition: transform .2s ease, box-shadow .2s ease;
}

.featured-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(23, 50, 48, .16);
}

.featured-item .imovel,
.featured-item .imo {
  width: 100% !important;
  object-fit: cover;
}

.featured-item .down-content h2,
.featured-item .right-content h2 {
  color: var(--gama-ink);
  font-weight: 800;
  line-height: 1.25;
}

.featured-item .cod {
  color: var(--gama-primary);
  font-weight: 800;
}

.whatsapp-button {
  right: 24px !important;
  bottom: 24px !important;
  transition: transform .2s ease, box-shadow .2s ease;
}

.why-us {
  padding-top: 80px;
  padding-bottom: 80px;
}

.service-item {
  min-height: 170px;
}

#page-heading {
  margin-top: 110px;
  background: linear-gradient(135deg, var(--gama-primary-dark), var(--gama-primary)) !important;
}

#page-heading h1,
#page-heading span {
  color: #fff;
}

.car-details .details,
.car-details .enquiry,
.car-details .tab {
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(23, 50, 48, .1);
}

.property-detail-page .imovel-topcard {
  padding: 0;
  border: 1px solid #e5eceb;
  box-shadow: 0 10px 30px rgba(23, 50, 48, .08);
}

.topcard-meta {
  display: flex;
  justify-content: space-between;
  padding: 14px 22px;
  border-bottom: 1px solid #e5eceb;
  color: var(--gama-primary-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.topcard-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 22px;
}

.property-detail-page .imovel-topcard .topcard-main h2 {
  margin: 0;
  font-size: 27px;
}

.property-detail-page .imovel-topcard .subTitulo {
  margin-top: 8px;
  color: var(--gama-muted);
}

.property-detail-page .imovel-topcard .price {
  display: flex;
  min-width: 240px;
  margin: 0;
  flex-direction: column;
  align-items: flex-end;
}

.property-detail-page .imovel-topcard .price small {
  margin-bottom: 4px;
  color: var(--gama-muted);
}

.property-detail-page .imovel-topcard .price span {
  color: #176d68;
  font-size: 28px;
  white-space: nowrap;
}

.property-amenities,
.property-details-text {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid #e5eceb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(23, 50, 48, .08);
}

.property-amenities h3,
.property-details-text h3 {
  margin: 0;
  padding: 18px 24px;
  border-bottom: 1px solid #e5eceb;
  color: var(--gama-ink);
  font-size: 18px;
  font-weight: 800;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px;
  padding: 22px 24px;
}

.amenities-grid > div {
  display: flex;
  align-items: center;
  color: var(--gama-ink);
  font-size: 15px;
  font-weight: 600;
}

.amenities-grid img {
  width: 24px;
  height: 24px;
  margin-right: 9px;
}

.property-description {
  padding: 22px 24px 28px;
  color: #586563;
  font-size: 16px;
  line-height: 1.75;
}

.property-detail-page .featured-listing {
  padding-bottom: 70px;
}

.property-detail-page .featured-listing #featured-cars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.property-detail-page .featured-listing #featured-cars .featured-item {
  float: none;
  width: auto;
  height: auto !important;
  margin: 0 !important;
}

.property-detail-page .featured-listing #featured-cars .featured-item .imovel {
  width: 100%;
  height: 240px;
}

.listing-page {
  padding: 45px 0 80px;
}

.listing-page > .container {
  width: calc(100% - 30px);
  max-width: 1380px;
}

.listing-page > .container > .row {
  display: flex;
  margin: 0;
  flex-direction: column;
}

.listing-page #listing-cars {
  order: 2;
  display: grid;
  float: none;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.listing-page #listing-cars .pre-featured,
.listing-page #listing-cars .listing-empty {
  grid-column: 1 / -1;
}

.listing-page #listing-cars .pre-featured {
  margin: 0;
  padding: 0 0 4px;
  background: transparent;
}

.listing-page #listing-cars .pre-featured h4 {
  margin: 0;
  color: var(--gama-ink);
  font-size: 18px;
  text-transform: none;
}

.listing-page #listing-cars .featured-item {
  display: flex;
  float: none;
  width: auto;
  height: auto !important;
  min-width: 0;
  margin: 0;
  align-self: start;
  border: 1px solid #e2e9e8 !important;
  box-shadow: 0 10px 28px rgba(23, 50, 48, .08);
  flex-direction: column;
}

.listing-page #listing-cars .listing-image {
  display: block;
  position: relative;
}

.listing-page #listing-cars .featured-item .imo {
  float: none;
  width: 100% !important;
  height: 220px;
  margin: 0 !important;
  border-radius: 0;
}

.listing-purpose {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--gama-primary-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.listing-purpose--sale {
  background: #e8473f;
}

.listing-page #listing-cars .featured-item .right-content {
  display: flex;
  position: static;
  float: none;
  width: 100% !important;
  height: 250px;
  min-height: 250px;
  margin: 0 !important;
  padding: 20px 22px !important;
  border: 0 !important;
  flex: 1;
  flex-direction: column;
}

.listing-code {
  display: inline-block !important;
  align-self: flex-start;
  position: static !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #75817f !important;
  font-size: 11px !important;
  font-weight: 800;
  line-height: normal !important;
  text-transform: uppercase;
}

.listing-page #listing-cars .featured-item .right-content h2 {
  display: -webkit-box;
  overflow: hidden;
  height: 50px;
  margin: 8px 0 4px;
  font-size: 18px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.listing-page #listing-cars .featured-item .right-content h6 {
  overflow: hidden;
  min-height: 20px;
  max-height: 20px;
  margin: 0;
  color: var(--gama-muted);
}

.listing-page #listing-cars .featured-item .right-content > span:not(.listing-code) {
  align-self: flex-start;
  position: static;
  margin: 0 0 14px;
  padding: 6px 10px;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
}

.listing-page #listing-cars .featured-item .car-info {
  position: static;
  width: auto;
  margin: 12px 0 0;
  border: 0;
}

.listing-page #listing-cars .featured-item .car-info ul {
  display: flex;
  margin: 0;
  background: transparent !important;
  flex-wrap: wrap;
  gap: 7px;
}

.listing-page #listing-cars .featured-item .car-info ul li {
  width: auto;
  padding: 7px 9px;
  border: 1px solid #e5eceb;
  border-radius: 6px;
  background: #f7f9f9;
  color: #596563;
  font-size: 12px;
}

.listing-page #listing-cars .featured-item .car-info ul li i {
  margin: 0 6px 0 0;
  color: var(--gama-primary-dark);
}

.listing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #e5eceb;
}

.listing-footer strong {
  color: var(--gama-ink);
  font-size: 19px;
}

.listing-footer a {
  color: var(--gama-primary-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.listing-page #sidebar .sidebar-content {
  position: static;
  padding: 18px;
  border: 1px solid #e1e9e8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(23, 50, 48, .08);
}

.listing-page #sidebar {
  order: 1;
  float: none;
  width: 100%;
  margin-bottom: 34px;
}

.listing-page #sidebar .head-side-bar {
  margin: 0 0 16px;
  padding: 0;
  background: transparent;
}

.listing-page #sidebar .head-side-bar h4 {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--gama-ink);
  font-size: 16px;
}

.listing-page #sidebar .search-form .select:after {
  color: var(--gama-primary-dark);
}

.listing-page #sidebar .search-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 180px;
  gap: 12px;
  padding: 0;
  background: transparent;
}

.listing-page #sidebar .search-form .select {
  margin: 0;
}

.listing-page #sidebar select {
  width: 100%;
  height: 48px;
  border: 1px solid #dce6e5;
  border-radius: 8px;
  background: #fff !important;
  color: var(--gama-ink) !important;
}

.listing-page #sidebar .advanced-button {
  width: 100% !important;
  height: 48px !important;
  margin: 0;
  background: transparent !important;
  line-height: normal !important;
}

.listing-page #sidebar .advanced-button a {
  display: flex;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: var(--gama-primary-dark);
  color: #fff;
  margin: 0 !important;
}

.listing-page #sidebar .advanced-button a i {
  float: none;
  width: auto;
  height: auto;
  margin-left: 8px;
  background: transparent;
  line-height: normal;
}

.listing-empty {
  padding: 60px 20px;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.listing-empty i {
  color: var(--gama-primary);
  font-size: 42px;
}

.all-properties {
  padding: 55px 0 85px;
  background: var(--gama-surface);
}

.all-properties > .container {
  width: calc(100% - 30px);
  max-width: 1380px;
}

.all-properties__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.all-properties__heading span {
  color: var(--gama-primary-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.all-properties__heading h2 {
  margin: 4px 0 0;
  color: var(--gama-ink);
  font-size: 26px;
  font-weight: 800;
}

.all-properties__heading > a {
  padding: 10px 15px;
  border: 1px solid #dce5e4;
  border-radius: 8px;
  background: #fff;
  color: var(--gama-primary-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.all-properties-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.property-card {
  overflow: hidden;
  border: 1px solid #e2e9e8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 50, 48, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.property-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 34px rgba(23, 50, 48, .13);
}

.property-card__image {
  display: block;
  position: relative;
}

.property-card__image img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.property-card__purpose {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--gama-primary-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.property-card__purpose--sale {
  background: #e8473f;
}

.property-card__body {
  display: flex;
  height: 250px;
  padding: 20px 22px;
  flex-direction: column;
}

.property-card__code {
  color: #75817f;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.property-card h3 {
  display: -webkit-box;
  overflow: hidden;
  height: 48px;
  margin: 8px 0 3px;
  color: var(--gama-ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.property-card__body > p {
  overflow: hidden;
  height: 20px;
  margin: 0;
  color: var(--gama-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.property-card__features {
  display: flex;
  gap: 7px;
  margin-top: 12px;
}

.property-card__features span {
  padding: 7px 9px;
  border: 1px solid #e5eceb;
  border-radius: 6px;
  background: #f7f9f9;
  color: #596563;
  font-size: 12px;
  white-space: nowrap;
}

.property-card__features i {
  margin-right: 6px;
  color: var(--gama-primary-dark);
}

.property-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #e5eceb;
}

.property-card__footer strong {
  color: var(--gama-ink);
  font-size: 19px;
}

.property-card__footer a {
  color: var(--gama-primary-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

footer {
  background: #26313c;
}

#sub-footer {
  background: #1f2933;
}

@media (max-width: 767px) {
  .whatsapp-button {
    width: 54px !important;
    height: 54px !important;
    right: 16px !important;
    bottom: 16px !important;
  }

  .home-hero {
    min-height: auto;
    padding: 70px 0;
  }

  .home-hero h1 {
    font-size: 38px;
  }

  .home-search {
    grid-template-columns: 1fr;
  }

  .property-grid {
    grid-template-columns: 1fr;
    width: calc(100% - 30px);
    padding-bottom: 40px;
  }

  .featured-item {
    height: auto !important;
    margin-bottom: 22px;
  }

  .listing-page .featured-item .imo {
    height: 220px;
  }

  .listing-page .featured-item .right-content {
    padding: 20px;
  }

  #single-car,
  #left-info {
    width: 100%;
  }

  .property-detail-page .featured-listing #featured-cars {
    grid-template-columns: 1fr;
  }

  #page-heading {
    margin-top: 110px;
  }

  .listing-page #listing-cars {
    grid-template-columns: 1fr;
  }

  .listing-page #sidebar {
    margin-top: 0;
  }

  .listing-page #sidebar .search-form {
    grid-template-columns: 1fr;
  }

  .topcard-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .property-detail-page .imovel-topcard .price {
    min-width: 0;
    align-items: flex-start;
  }

  .amenities-grid {
    grid-template-columns: 1fr 1fr;
  }

  .all-properties__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .all-properties-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .home-search {
    grid-template-columns: repeat(2, 1fr);
  }

  .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-page #listing-cars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .all-properties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
