:root {
  --brand: #0f766e;
  --brand-dark: #0b5f59;
  --brand-soft: #e7f7f4;
  --accent: #e9a23b;
  --ink: #14212b;
  --muted: #64737e;
  --line: #dce6e9;
  --surface: #ffffff;
  --surface-soft: #f5f8f8;
  --danger: #d64545;
  --shadow-sm: 0 8px 24px rgba(20, 33, 43, 0.08);
  --shadow-lg: 0 24px 70px rgba(20, 33, 43, 0.15);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.brand {
  font-family: "Manrope", sans-serif;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-navbar {
  min-height: 76px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220,230,233,.7);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.brand > span:last-child > span {
  color: var(--brand);
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #25a69a);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(15,118,110,.24);
}

.nav-link {
  font-weight: 600;
  color: #4e5e68;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand) !important;
}

.btn {
  border-radius: 11px;
  font-weight: 700;
  padding: .72rem 1rem;
  transition: all .2s ease;
}

.btn-brand {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 8px 20px rgba(15,118,110,.18);
}

.btn-brand:hover,
.btn-brand:focus {
  color: #fff;
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: translateY(-1px);
}

.btn-outline-brand {
  color: var(--brand);
  border: 1px solid var(--brand);
  background: transparent;
}

.btn-outline-brand:hover {
  color: #fff;
  background: var(--brand);
}

.favorite-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 21px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7,42,40,.94) 0%, rgba(7,42,40,.82) 48%, rgba(7,42,40,.30) 100%),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1920&q=90") center/cover no-repeat;
}

.hero-section::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  bottom: -220px;
  border: 80px solid rgba(255,255,255,.05);
  border-radius: 50%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 68% 30%, rgba(255,255,255,.12), transparent 30%);
  pointer-events: none;
}

.min-vh-75 {
  min-height: 76vh;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  color: #bdf7ef;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--brand);
}

.hero-section h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 800;
}

.hero-section h1 span {
  color: #7ce4d7;
}

.hero-copy {
  max-width: 700px;
  margin-bottom: 30px;
  color: rgba(255,255,255,.78);
  font-size: 1.12rem;
}

.hero-search-card {
  max-width: 880px;
  padding: 20px;
  color: var(--ink);
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.form-label {
  margin-bottom: 6px;
  font-weight: 700;
  font-size: .86rem;
  color: #33434c;
}

.form-control,
.form-select,
.input-group-text {
  min-height: 48px;
  border-color: var(--line);
  border-radius: 11px;
  background-color: #fff;
}

textarea.form-control {
  min-height: auto;
}

.form-control:focus,
.form-select:focus {
  border-color: #5fbeb5;
  box-shadow: 0 0 0 .22rem rgba(15,118,110,.12);
}

.input-group > .input-group-text {
  border-right: 0;
  color: var(--brand);
  background: #fff;
}

.input-group > .form-control {
  border-left: 0;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 32px;
}

.hero-stats div {
  display: grid;
}

.hero-stats strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.75rem;
  line-height: 1;
}

.hero-stats span {
  margin-top: 8px;
  color: rgba(255,255,255,.66);
  font-size: .84rem;
}

.hero-feature-card {
  max-width: 430px;
  margin-left: auto;
  overflow: hidden;
  color: var(--ink);
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: var(--radius-lg);
  box-shadow: 0 35px 100px rgba(0,0,0,.25);
  transform: rotate(1.5deg);
}

.feature-image {
  position: relative;
  height: 280px;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-pill {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 13px;
  color: #fff;
  background: var(--brand);
  border-radius: 99px;
  font-weight: 800;
  font-size: .75rem;
}

.hero-feature-card small {
  color: var(--brand);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-feature-card h3 {
  margin: 5px 0 2px;
  font-weight: 800;
  font-size: 1.35rem;
}

.feature-price {
  color: var(--brand);
  font-size: 1.15rem;
}

.section-space {
  padding: 95px 0;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2,
.why-section h2,
.cta-card h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 800;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.view-controls .btn-view {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: #60717b;
  background: #f4f7f7;
  border: 1px solid var(--line);
}

.view-controls .btn-view.active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.filter-panel {
  margin-bottom: 30px;
  padding: 20px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.property-grid.list-view {
  grid-template-columns: 1fr;
}

.property-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(20,33,43,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.property-card:hover {
  transform: translateY(-6px);
  border-color: #bed7d3;
  box-shadow: 0 24px 60px rgba(20,33,43,.13);
}

.property-card-image {
  position: relative;
  height: 245px;
  overflow: hidden;
  background: #eaf0f1;
}

.property-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.property-card:hover .property-card-image img {
  transform: scale(1.045);
}

.property-card-badges {
  position: absolute;
  left: 16px;
  top: 16px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.card-badge {
  padding: 7px 11px;
  border-radius: 99px;
  font-weight: 800;
  font-size: .7rem;
  letter-spacing: .02em;
  box-shadow: 0 4px 12px rgba(0,0,0,.10);
}

.card-badge-purpose {
  color: #fff;
  background: var(--brand);
}

.card-badge-featured {
  color: #5b3900;
  background: #ffd88d;
}

.favorite-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #32434c;
  background: rgba(255,255,255,.92);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0,0,0,.14);
}

.favorite-btn:hover,
.favorite-btn.active {
  color: #d53f51;
  background: #fff;
}

.property-card-body {
  padding: 20px;
}

.property-price {
  color: var(--brand);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
}

.property-price small {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  color: var(--muted);
  font-size: .75rem;
}

.property-card h3 {
  margin: 9px 0 4px;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -.025em;
}

.property-location {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  min-height: 47px;
  color: var(--muted);
  font-size: .88rem;
}

.property-location i {
  margin-top: 3px;
  color: var(--brand);
}

.property-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 17px 0;
  padding: 15px 0;
  border-top: 1px solid #edf1f2;
  border-bottom: 1px solid #edf1f2;
}

.property-specs span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #40525d;
  font-size: .82rem;
  font-weight: 700;
}

.property-specs i {
  color: var(--brand);
}

.property-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.property-reference {
  color: #80909a;
  font-size: .76rem;
}

.property-grid.list-view .property-card {
  display: grid;
  grid-template-columns: 320px 1fr;
}

.property-grid.list-view .property-card-image {
  height: 100%;
  min-height: 270px;
}

.property-grid.list-view .property-location {
  min-height: auto;
}

.empty-state {
  padding: 65px 20px;
  text-align: center;
  border: 1px dashed #cfdcde;
  border-radius: var(--radius);
  background: #fafcfc;
}

.empty-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 50%;
  font-size: 2rem;
}

.why-section {
  background: #f4f8f7;
}

.lead-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.trust-list {
  display: grid;
  gap: 17px;
  margin-top: 28px;
}

.trust-list > div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.trust-list i {
  margin-top: 2px;
  color: var(--brand);
  font-size: 1.25rem;
}

.trust-list span {
  display: grid;
}

.trust-list small {
  margin-top: 3px;
  color: var(--muted);
}

.why-visual {
  position: relative;
  min-height: 520px;
}

.why-visual > img {
  width: 86%;
  height: 500px;
  margin-left: 14%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.floating-review,
.floating-metric {
  position: absolute;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(220,230,233,.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.floating-review {
  left: 0;
  bottom: 35px;
  width: 260px;
}

.review-stars {
  color: #e9a23b;
  letter-spacing: .12em;
  font-size: .85rem;
}

.floating-review p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .85rem;
}

.floating-metric {
  top: 35px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}

.floating-metric i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 13px;
  font-size: 1.1rem;
}

.floating-metric span {
  display: grid;
}

.floating-metric small {
  color: var(--muted);
}

.cta-section {
  padding: 55px 0;
}

.cta-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 46px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 0, rgba(255,255,255,.16), transparent 30%),
    linear-gradient(135deg, #0b5f59, #0d847a);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 70px rgba(15,118,110,.25);
}

.cta-card h2 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta-card p {
  max-width: 720px;
  margin: 0;
  color: rgba(255,255,255,.76);
}

.app-footer {
  padding: 70px 0 25px;
  color: #b6c3c8;
  background: #10242a;
}

.footer-brand {
  margin-bottom: 18px;
  color: #fff;
}

.app-footer p {
  max-width: 480px;
}

.app-footer h6 {
  color: #fff;
  font-weight: 800;
}

.app-footer a:not(.brand) {
  display: block;
  margin: 8px 0;
  color: #b6c3c8;
}

.app-footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 45px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.footer-bottom .btn-link {
  color: #b6c3c8;
}

/* Property details */
#propertyDetailsModal {
  --property-modal-gap: 1rem;
}

#propertyDetailsModal .property-details-dialog {
  width: min(1200px, calc(100vw - (var(--property-modal-gap) * 2)));
  max-width: 1200px;
  height: calc(100dvh - (var(--property-modal-gap) * 2));
  margin: var(--property-modal-gap) auto;
}

.property-modal {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: var(--radius);
}

#propertyDetailsContent {
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.property-modal-scroll {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  overflow-y: scroll !important;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  scrollbar-gutter: stable;
  scrollbar-width: auto;
  scrollbar-color: #74aaa4 #eef3f3;
  -webkit-overflow-scrolling: touch;
}

.property-modal-scroll:focus {
  outline: none;
}

.property-modal-scroll::-webkit-scrollbar {
  width: 13px;
}

.property-modal-scroll::-webkit-scrollbar-track {
  background: #eef3f3;
  border-left: 1px solid #d9e5e5;
}

.property-modal-scroll::-webkit-scrollbar-thumb {
  min-height: 55px;
  background: #74aaa4;
  border: 3px solid #eef3f3;
  border-radius: 999px;
}

.property-modal-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--brand);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  padding: 10px;
  background-color: #fff;
  border-radius: 50%;
  opacity: 1;
  box-shadow: var(--shadow-sm);
}

.details-hero {
  position: relative;
  height: 430px;
  background: #edf2f3;
}

.details-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.details-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6,25,28,.78));
}

.details-hero-content {
  position: absolute;
  left: 35px;
  right: 35px;
  bottom: 27px;
  color: #fff;
}

.details-scroll-cue {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  color: #fff;
  background: rgba(7, 38, 40, .72);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 99px;
  backdrop-filter: blur(8px);
  font-size: .72rem;
  font-weight: 700;
  pointer-events: none;
}

.details-scroll-cue .bi-chevron-down {
  animation: details-scroll-bounce 1.4s ease-in-out infinite;
}

@keyframes details-scroll-bounce {
  0%, 100% { transform: translateY(-1px); }
  50% { transform: translateY(3px); }
}

.details-hero-content h2 {
  margin: 7px 0 2px;
  font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 3rem);
  letter-spacing: -.04em;
}

.details-content {
  padding: 32px;
}

.details-price {
  color: var(--brand);
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.details-spec-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 30px;
}

.details-spec {
  padding: 17px;
  text-align: center;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.details-spec i {
  color: var(--brand);
  font-size: 1.2rem;
}

.details-spec strong,
.details-spec small {
  display: block;
}

.details-spec strong {
  margin-top: 5px;
}

.details-spec small {
  color: var(--muted);
  font-size: .73rem;
}

.amenities-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.amenity-chip {
  padding: 8px 12px;
  color: #38515a;
  background: #eef7f5;
  border: 1px solid #cee6e1;
  border-radius: 99px;
  font-size: .82rem;
  font-weight: 700;
}

.contact-card {
  position: sticky;
  top: 0;
  padding: 24px;
  background: #f6f9f9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-avatar {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #3db4a8);
  border-radius: 18px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
}

.contact-line {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  color: #4e616b;
  font-size: .9rem;
}

.contact-line i {
  color: var(--brand);
}


/* Contact providers and inquiry form */
.contact-provider-modal {
  overflow: hidden;
}

.contact-provider-summary,
.contact-recipient-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.contact-provider-summary > div:last-child,
.contact-recipient-card > div:last-child {
  min-width: 0;
  display: grid;
}

.contact-provider-summary strong,
.contact-recipient-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-provider-summary span,
.contact-recipient-card span,
.contact-recipient-card small {
  color: var(--muted);
  font-size: .84rem;
}

.contact-provider-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.provider-option {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.provider-option:hover {
  color: var(--ink);
  transform: translateY(-2px);
  border-color: #9fcfc9;
  box-shadow: var(--shadow-sm);
}

.provider-option.disabled {
  opacity: .48;
  cursor: not-allowed;
  pointer-events: auto;
}

.provider-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #3ca99f);
  border-radius: 14px;
  font-size: 1.1rem;
}

.provider-option > span:nth-child(2) {
  min-width: 0;
  display: grid;
}

.provider-option strong {
  font-family: "Manrope", sans-serif;
  font-size: .95rem;
}

.provider-option small {
  color: var(--muted);
  font-size: .78rem;
}

.provider-arrow {
  color: #8b9da5;
}

.contact-provider-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 14px;
  color: #5d7079;
  background: #f6f9f9;
  border-radius: 12px;
  font-size: .8rem;
}

.contact-provider-note i {
  margin-top: 2px;
  color: var(--brand);
}

.modal-subtitle {
  max-width: 620px;
  color: var(--muted);
  font-size: .86rem;
}

/* Management */
.management-panel {
  width: min(620px, 100vw) !important;
}

.management-panel .offcanvas-header {
  padding: 28px 28px 14px;
}

.management-panel .offcanvas-body {
  padding: 14px 28px 30px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dashboard-stats > div {
  display: grid;
  padding: 17px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.dashboard-stats strong {
  margin-top: 8px;
  font-family: "Manrope", sans-serif;
  font-size: 1.55rem;
}

.dashboard-stats small {
  color: var(--muted);
}

.stat-icon {
  color: var(--brand);
}

.management-list {
  display: grid;
  gap: 12px;
}

.manage-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.manage-item img {
  width: 96px;
  height: 78px;
  object-fit: cover;
  border-radius: 11px;
  background: #edf2f3;
}

.manage-item h6 {
  margin: 0 0 3px;
  font-weight: 800;
}

.manage-item p {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
}

.manage-actions {
  display: grid;
  gap: 6px;
}

.manage-actions .btn {
  width: 38px;
  height: 38px;
  padding: 0;
}

/* Forms */
.modal-content {
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.modal-header,
.modal-footer {
  padding: 22px 26px;
  border-color: #edf1f2;
}

.modal-body {
  padding: 24px 26px;
}

.form-section + .form-section {
  margin-top: 30px;
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.form-section-title span {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 9px;
  font-size: .8rem;
}

.image-preview-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 15px;
  background: #eef2f3;
}

.image-preview-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-preview-wrap .btn {
  position: absolute;
  top: 12px;
  right: 12px;
}

.confirm-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 8px auto 15px;
  color: #c58100;
  background: #fff3d4;
  border-radius: 50%;
  font-size: 1.5rem;
}

.toast {
  border: 0;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

.toast-success {
  border-left: 4px solid var(--brand);
}

.toast-error {
  border-left: 4px solid var(--danger);
}

@media (max-width: 1199.98px) {
  .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .app-navbar .navbar-collapse {
    padding: 18px 0 8px;
  }

  .hero-section {
    background-position: 65% center;
  }

  .property-grid.list-view .property-card {
    grid-template-columns: 260px 1fr;
  }

  .details-spec-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-visual > img {
    width: 92%;
    margin-left: 8%;
  }

  .cta-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  #propertyDetailsModal {
    --property-modal-gap: .5rem;
  }

  #propertyDetailsModal .property-details-dialog {
    width: calc(100vw - 1rem);
    height: calc(100dvh - 1rem);
    margin: .5rem auto;
  }

  .property-modal {
    border-radius: 16px;
  }

  .property-modal-scroll::-webkit-scrollbar {
    width: 10px;
  }

  .section-space {
    padding: 70px 0;
  }

  .hero-section h1 {
    font-size: 3.3rem;
  }

  .hero-stats {
    gap: 22px;
  }

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

  .property-grid.list-view .property-card {
    display: block;
  }

  .property-grid.list-view .property-card-image {
    min-height: auto;
    height: 245px;
  }

  .details-hero {
    height: 330px;
  }

  .details-hero-content {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .details-content {
    padding: 22px 18px;
  }

  .details-spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-visual {
    min-height: 450px;
  }

  .why-visual > img {
    width: 100%;
    height: 420px;
    margin-left: 0;
  }

  .floating-review {
    width: 230px;
    left: 12px;
    bottom: -18px;
  }

  .floating-metric {
    top: 18px;
    right: 12px;
  }

  .cta-card {
    padding: 30px 24px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .manage-item {
    grid-template-columns: 78px 1fr;
  }

  .manage-item img {
    width: 78px;
    height: 72px;
  }

  .manage-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
  }

  .manage-actions .btn {
    width: 100%;
  }
}

@media (max-width: 479.98px) {
  .details-scroll-cue {
    display: none;
  }

  .hero-section h1 {
    font-size: 2.65rem;
  }

  .hero-search-card {
    padding: 16px;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .floating-metric {
    display: none;
  }
}
