html {
  font-size: 16px;
  min-height: 100%;
}

body {
  margin: 0;
  color: #18212f;
  background: #ffffff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.btn {
  border-radius: 6px;
  font-weight: 700;
}

.btn-primary {
  background: #0d6b5f;
  border-color: #0d6b5f;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #09554b;
  border-color: #09554b;
}

.btn-outline-primary {
  color: #0d6b5f;
  border-color: #0d6b5f;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: #0d6b5f;
  border-color: #0d6b5f;
}

.site-navbar {
  background: #ffffff;
  border-bottom: 1px solid #e7ebf0;
  min-height: 68px;
}

.brand-mark {
  color: #0d6b5f;
  font-size: 1.32rem;
  font-weight: 800;
}

.navbar .nav-link {
  color: #354154;
  font-weight: 650;
  padding-inline: 0.85rem;
}

.navbar .nav-link:hover {
  color: #0d6b5f;
}

.navbar-actions {
  display: flex;
  gap: 0.65rem;
}

.hero-section {
  min-height: 620px;
  padding: 84px 0 58px;
  background:
    linear-gradient(90deg, rgba(9, 31, 42, 0.92), rgba(9, 31, 42, 0.62), rgba(9, 31, 42, 0.36)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: #ffffff;
}

.hero-copy {
  max-width: 780px;
  margin-bottom: 34px;
}

.hero-kicker {
  display: block;
  margin-bottom: 10px;
  color: #a9e2d9;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: 3.5rem;
  line-height: 1.05;
  font-weight: 850;
}

.hero-copy p {
  max-width: 650px;
  margin: 0;
  color: #e7f4f2;
  font-size: 1.18rem;
}

.search-panel {
  max-width: 1060px;
  padding: 18px;
  background: #ffffff;
  color: #18212f;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.22);
}

.search-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.search-tabs a,
.quick-filters a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8e0e7;
  background: #ffffff;
  color: #38475b;
  border-radius: 6px;
  min-height: 38px;
  padding: 0 14px;
  font-weight: 750;
}

.search-tabs a.active {
  background: #0d6b5f;
  border-color: #0d6b5f;
  color: #ffffff;
}

.search-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.field {
  min-width: 0;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: #657184;
  font-size: 0.82rem;
  font-weight: 800;
}

.field input,
.field select {
  width: 100%;
  height: 48px;
  border: 1px solid #d8e0e7;
  border-radius: 6px;
  padding: 0 13px;
  color: #1d2939;
  background: #ffffff;
  font-weight: 700;
}

.search-button {
  height: 48px;
  min-width: 132px;
}

.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.quick-filters a {
  min-height: 34px;
  background: #f5faf9;
  color: #0d6b5f;
}

.stats-band {
  background: #f3f7f6;
  border-bottom: 1px solid #e2e9e7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 26px 12px;
}

.stats-grid div {
  display: grid;
  gap: 2px;
}

.stats-grid strong {
  color: #0d6b5f;
  font-size: 1.55rem;
}

.stats-grid span {
  color: #627084;
  font-weight: 650;
}

.section-block {
  padding: 58px 0;
}

.muted-section {
  background: #f7f8fb;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 24px;
}

.section-heading span,
.seller-panel > span {
  display: block;
  margin-bottom: 6px;
  color: #0d6b5f;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.section-heading h2,
.seller-panel h2 {
  margin: 0;
  color: #18212f;
  font-size: 1.9rem;
  font-weight: 850;
}

.section-heading a {
  color: #0d6b5f;
  font-weight: 800;
}

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

.property-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(24, 33, 47, 0.08);
}

.property-media {
  display: flex;
  align-items: start;
  justify-content: end;
  min-height: 178px;
  padding: 12px;
  background-size: cover;
  background-position: center;
}

.property-media span {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.94);
  color: #0d6b5f;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 850;
}

.media-1 {
  background-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=900&q=80");
}

.media-2 {
  background-image: url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=900&q=80");
}

.media-3 {
  background-image: url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=900&q=80");
}

.property-body {
  padding: 16px;
}

.property-body strong {
  display: block;
  margin-bottom: 6px;
  color: #1d2939;
  font-size: 1.05rem;
}

.property-body p {
  margin: 0 0 14px;
  color: #667085;
}

.property-body div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.property-body span {
  color: #0d6b5f;
  font-weight: 850;
}

.property-body a {
  color: #344054;
  font-weight: 800;
}

.discovery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.city-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.city-list a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  background: #ffffff;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  color: #263348;
  font-weight: 800;
}

.seller-panel {
  padding: 28px;
  background: #ffffff;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
}

.seller-panel p {
  margin: 14px 0 22px;
  color: #667085;
  line-height: 1.65;
}

.seller-panel div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer {
  padding: 36px 0;
  background: #101828;
  color: #d0d5dd;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer-grid strong {
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 1.25rem;
}

.footer-grid p {
  max-width: 360px;
  margin: 0;
  color: #98a2b3;
}

.footer-grid span {
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
  font-weight: 800;
}

.footer-grid a {
  display: block;
  margin-bottom: 7px;
  color: #d0d5dd;
}

.page-hero {
  padding: 70px 0;
  background:
    linear-gradient(90deg, rgba(9, 31, 42, 0.9), rgba(9, 31, 42, 0.58)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: #ffffff;
}

.compact-hero {
  min-height: 300px;
  display: flex;
  align-items: center;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0 0 12px;
  font-size: 2.6rem;
  line-height: 1.12;
  font-weight: 850;
}

.page-hero p {
  max-width: 740px;
  margin: 0;
  color: #e7f4f2;
  font-size: 1.08rem;
}

.listing-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
}

.filter-panel,
.form-shell,
.auth-panel,
.content-page,
.faq-list article,
.plan-card {
  background: #ffffff;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(24, 33, 47, 0.06);
}

.filter-panel {
  padding: 20px;
  position: sticky;
  top: 86px;
}

.filter-panel h2 {
  margin: 0 0 16px;
  font-size: 1.25rem;
  font-weight: 850;
}

.filter-panel label,
.form-shell label,
.auth-panel label {
  display: block;
  margin: 12px 0 6px;
  color: #657184;
  font-size: 0.82rem;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select,
.form-shell input,
.form-shell select,
.form-shell textarea,
.auth-panel input,
.auth-panel select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d8e0e7;
  border-radius: 6px;
  padding: 0 12px;
  color: #1d2939;
  background: #ffffff;
  font-weight: 650;
}

.form-shell textarea {
  padding-top: 12px;
}

.listing-results {
  display: grid;
  gap: 14px;
}

.result-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(24, 33, 47, 0.06);
}

.result-media {
  min-height: 152px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

.result-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.result-card p {
  margin: 0 0 12px;
  color: #667085;
}

.result-card span {
  display: block;
  margin-bottom: 14px;
  color: #0d6b5f;
  font-size: 1.12rem;
  font-weight: 850;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
}

.detail-gallery {
  display: grid;
  gap: 12px;
}

.gallery-main {
  min-height: 410px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

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

.gallery-strip div {
  min-height: 118px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

.detail-panel strong {
  display: block;
  margin-bottom: 18px;
  color: #0d6b5f;
  font-size: 1.6rem;
}

.auth-page {
  min-height: calc(100vh - 68px);
  display: grid;
  place-items: center;
  padding: 58px 16px;
  background: #f7f8fb;
}

.auth-panel {
  width: min(100%, 440px);
  padding: 28px;
}

.auth-panel > span {
  color: #0d6b5f;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.auth-panel h1 {
  margin: 8px 0 18px;
  font-size: 1.8rem;
  font-weight: 850;
}

.auth-panel p {
  margin: 18px 0 0;
  color: #667085;
}

.auth-panel p a {
  color: #0d6b5f;
  font-weight: 850;
}

.form-shell {
  padding: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 16px;
  margin-bottom: 18px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.plan-card {
  padding: 24px;
}

.plan-card span {
  display: block;
  color: #0d6b5f;
  font-weight: 850;
  text-transform: uppercase;
}

.plan-card strong {
  display: block;
  margin: 12px 0;
  font-size: 2rem;
}

.plan-card p {
  min-height: 50px;
  color: #667085;
}

.plan-card.highlighted {
  border-color: #0d6b5f;
}

.content-page,
.faq-list article {
  padding: 24px;
}

.content-page h2 {
  margin: 0 0 10px;
  font-weight: 850;
}

.content-page p,
.faq-list p {
  margin: 0;
  color: #667085;
  line-height: 1.7;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.alert-container {
  padding-top: 16px;
}

.side-actions {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.side-actions a {
  color: #0d6b5f;
  font-weight: 800;
}

.result-title-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.result-title-row small,
.admin-tile span {
  color: #0d6b5f;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.mini-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.mini-meta li {
  padding: 5px 9px;
  background: #f3f7f6;
  color: #475467;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
}

.mini-meta.stacked {
  display: grid;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.action-row form {
  margin: 0;
}

.btn-light {
  background: #f3f7f6;
  border-color: #d8e0e7;
  color: #0d6b5f;
}

.lead-form {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e3e8ef;
}

.lead-form label {
  display: block;
  margin: 10px 0 6px;
  color: #657184;
  font-size: 0.82rem;
  font-weight: 800;
}

.lead-form input,
.lead-form textarea,
.chat-form input {
  width: 100%;
  border: 1px solid #d8e0e7;
  border-radius: 6px;
  padding: 10px 12px;
  color: #1d2939;
  background: #ffffff;
  font-weight: 650;
}

.pill-list,
.document-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pill-list span,
.document-list a {
  padding: 8px 10px;
  background: #f3f7f6;
  color: #0d6b5f;
  border-radius: 6px;
  font-weight: 800;
}

.empty-state {
  padding: 34px;
  background: #ffffff;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  text-align: center;
}

.empty-state h2 {
  margin: 0 0 8px;
  font-weight: 850;
}

.empty-state p {
  color: #667085;
}

.compare-grid,
.dashboard-grid,
.admin-grid,
.checkout-layout {
  display: grid;
  gap: 18px;
}

.compare-grid {
  grid-template-columns: repeat(4, 1fr);
}

.compare-card,
.admin-tile,
.chat-shell {
  background: #ffffff;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(24, 33, 47, 0.06);
}

.compare-card {
  padding: 14px;
}

.compare-card h2 {
  margin: 14px 0;
  font-size: 1.12rem;
  font-weight: 850;
}

.compare-card dl,
.summary-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
}

.compare-card dt,
.summary-list dt {
  color: #667085;
  font-weight: 800;
}

.compare-card dd,
.summary-list dd {
  margin: 0;
  font-weight: 750;
}

.dashboard-stats {
  padding-inline: 0;
  margin-bottom: 24px;
}

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

.table-list {
  display: grid;
  gap: 10px;
}

.table-list div {
  display: grid;
  gap: 3px;
  padding: 12px;
  background: #f7f8fb;
  border-radius: 8px;
}

.table-list strong {
  color: #18212f;
}

.table-list span,
.table-list small {
  color: #667085;
}

.chat-shell {
  padding: 18px;
}

.chat-thread {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.message {
  max-width: 70%;
  padding: 12px;
  border-radius: 8px;
}

.message.seller {
  background: #f3f7f6;
}

.message.buyer {
  justify-self: end;
  background: #0d6b5f;
  color: #ffffff;
}

.message p {
  margin: 4px 0 0;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.checkout-layout {
  grid-template-columns: 1fr 1fr;
}

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

.admin-tile {
  padding: 20px;
}

.admin-tile strong {
  display: block;
  margin: 10px 0;
  font-size: 1.5rem;
}

.admin-tile p {
  margin: 0;
  color: #667085;
}

@media (max-width: 991px) {
  .navbar-actions {
    padding-top: 12px;
  }

  .hero-copy h1 {
    font-size: 2.5rem;
  }

  .search-row,
  .property-grid,
  .discovery-grid,
  .footer-grid,
  .listing-layout,
  .detail-layout,
  .plan-grid,
  .compare-grid,
  .dashboard-grid,
  .checkout-layout,
  .admin-grid {
    grid-template-columns: 1fr;
  }

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

  .filter-panel {
    position: static;
  }

  .result-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .hero-section {
    min-height: auto;
    padding: 48px 0 34px;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .search-panel {
    padding: 14px;
  }

  .search-tabs a,
  .quick-filters a {
    flex: 1 1 auto;
  }

  .stats-grid,
  .city-list {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .form-grid,
  .gallery-strip {
    grid-template-columns: 1fr;
  }
}
