/* ==========================================================================
   Sakina Property's Solution LTD — Bespoke Architectural & Editorial CSS
   Palette:
   - Terracotta Orange: #CF5E3E (RGB: 207, 94, 62) — Primary Brand Accent
   - Near Black:        #1B1B1B (RGB: 27, 27, 27)  — Typography & Contrast
   - Pure White:        #FFFFFF (RGB: 255, 255, 255) — Primary Canvas
   - Deep Navy:         #132238 — Institutional & Trust Accent
   Strict Craftsmanship: ZERO Gradients, ZERO Shadows, Hairline Precision.
   ========================================================================== */

:root {
  --brand-orange: #CF5E3E;
  --brand-orange-hover: #B5492B;
  --brand-orange-soft: #FDF5F2;
  --brand-orange-border: #EFC6B9;
  --brand-black: #1B1B1B;
  --brand-white: #FFFFFF;
  --brand-navy: #132238;
  --surface-alabaster: #F9F8F6;
  --surface-warm: #F2EFE9;
  --border-hairline: #E4E0D8;
  --border-mid: #CCC6BA;
  --border-dark: #1B1B1B;
  --text-primary: #1B1B1B;
  --text-body: #2E2E2E;
  --text-muted: #63615C;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, Charter, "Bitstream Charter", "Sitka Text", Cambria, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --container-max: 1320px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--brand-white);
  line-height: 1.62;
  font-weight: 400;
  overflow-x: hidden;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

ul,
ol {
  list-style: none;
}

/* Editorial Typography */
h1, h2, h3, h4, .serif-heading {
  font-family: var(--font-serif);
  color: var(--brand-black);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.018em;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-orange);
  margin-bottom: 0.65rem;
}

.section-kicker::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background-color: var(--brand-orange);
}

.section-kicker-light {
  color: var(--brand-orange);
}

.price-figure {
  font-family: var(--font-sans);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
  color: var(--brand-black);
}

/* Containers & Structural Sections */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.75rem 0;
  border-bottom: 1px solid var(--border-hairline);
}

.section-compact {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-hairline);
}

.section-paper {
  background-color: var(--surface-alabaster);
}

.section-navy {
  background-color: var(--brand-navy);
  color: var(--brand-white);
  border-bottom-color: #223552;
}

.section-navy h1,
.section-navy h2,
.section-navy h3,
.section-navy h4 {
  color: var(--brand-white);
}

.section-dark {
  background-color: var(--brand-black);
  color: var(--brand-white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--brand-white);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--border-hairline);
}

.section-navy .section-header {
  border-bottom-color: #273B59;
}

.section-title {
  font-size: clamp(1.75rem, 2.8vw, 2.45rem);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 62ch;
  margin-top: 0.5rem;
  line-height: 1.6;
}

.section-navy .section-subtitle {
  color: #C5D0E0;
}

/* Top Utility Bar */
.top-utility-bar {
  background-color: var(--brand-black);
  color: #E5E5E5;
  font-size: 0.79rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #2E2E2E;
}

.top-utility-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.top-utility-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-orange);
  margin-right: 0.35rem;
}

.top-utility-divider {
  color: #555555;
}

.top-utility-right {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.top-utility-right a {
  color: #E5E5E5;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-utility-right a:hover {
  color: var(--brand-orange);
}

/* Main Site Header & Navigation */
.site-header {
  background-color: var(--brand-white);
  border-bottom: 1px solid var(--border-hairline);
  position: sticky;
  top: 0;
  z-index: 900;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 1.25rem;
}

.brand,
.brand-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo,
.brand-logo-img {
  height: 100%;
  width: auto;
  max-height: 62px;
  display: block;
  object-fit: contain;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand .brand-logo-footer {
  max-height: 64px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 80px;
  padding: 0 0.85rem;
  font-size: 0.89rem;
  font-weight: 600;
  color: var(--text-body);
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--brand-orange);
}

.nav-link.active {
  color: var(--brand-black);
  font-weight: 700;
  border-bottom-color: var(--brand-orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.saved-counter-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 42px;
  padding: 0 0.85rem;
  font-size: 0.84rem;
  font-weight: 600;
  border: 1px solid var(--border-mid);
  background-color: var(--brand-white);
  color: var(--brand-black);
  border-radius: 2px;
}

.saved-counter-link:hover {
  border-color: var(--brand-black);
  background-color: var(--surface-alabaster);
}

.saved-counter-badge {
  background-color: var(--surface-warm);
  color: var(--brand-black);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.08rem 0.42rem;
  border-radius: 2px;
  font-variant-numeric: tabular-nums;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 46px;
  min-height: 46px;
  padding: 0.5rem 0.85rem;
  background-color: var(--brand-white);
  color: var(--brand-black);
  border: 1px solid var(--border-mid);
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
}

/* Refined Designer Buttons (Zero Shadows, Zero Gradients, Crisp Proportions) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.65rem 1.3rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
  line-height: 1.25;
}

.btn-orange {
  background-color: var(--brand-orange);
  color: var(--brand-white);
  border-color: var(--brand-orange);
  font-weight: 700;
}

.btn-orange:hover {
  background-color: var(--brand-orange-hover);
  border-color: var(--brand-orange-hover);
  color: var(--brand-white);
}

.btn-black {
  background-color: var(--brand-black);
  color: var(--brand-white);
  border-color: var(--brand-black);
}

.btn-black:hover {
  background-color: var(--brand-orange);
  border-color: var(--brand-orange);
  color: var(--brand-white);
}

.btn-white {
  background-color: var(--brand-white);
  color: var(--brand-black);
  border-color: var(--border-mid);
}

.btn-white:hover {
  border-color: var(--brand-black);
  background-color: var(--surface-alabaster);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--brand-white);
  border-color: #465A78;
}

.btn-outline-light:hover {
  background-color: var(--brand-white);
  color: var(--brand-black);
  border-color: var(--brand-white);
}

.btn-sm {
  min-height: 38px;
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
}

.btn-lg {
  min-height: 52px;
  padding: 0.85rem 1.65rem;
  font-size: 0.94rem;
}

.btn-block {
  width: 100%;
}

/* Hero Section — Editorial Agency Layout */
.hero-section {
  background-color: var(--surface-alabaster);
  border-bottom: 1px solid var(--border-hairline);
  padding: 3.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.hero-headline {
  font-size: clamp(2.25rem, 4vw, 3.35rem);
  line-height: 1.12;
  margin-bottom: 1.1rem;
  color: var(--brand-black);
}

.hero-headline em {
  font-style: normal;
  color: var(--brand-orange);
}

.hero-subline {
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: 2rem;
  max-width: 54ch;
  line-height: 1.6;
}

/* Search Console */
.hero-search-box {
  background-color: var(--brand-white);
  border: 1px solid var(--border-mid);
  border-top: 3px solid var(--brand-orange);
  padding: 1.5rem;
  border-radius: 2px;
}

.search-mode-tabs {
  display: inline-flex;
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: 1.25rem;
  gap: 1.5rem;
  width: 100%;
}

.search-mode-tab {
  padding: 0 0 0.65rem;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text-muted);
  margin-bottom: -1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.search-mode-tab:hover {
  color: var(--brand-black);
}

.search-mode-tab.active {
  color: var(--brand-black);
  font-weight: 700;
  border-bottom-color: var(--brand-orange);
}

.search-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 0.9rem;
  align-items: end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.form-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  min-height: 46px;
  padding: 0.6rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.91rem;
  font-weight: 500;
  color: var(--brand-black);
  background-color: var(--brand-white);
  border: 1px solid var(--border-mid);
  border-radius: 2px;
  appearance: none;
  transition: border-color 0.15s ease;
}

.form-control:hover {
  border-color: #9E988E;
}

.form-control:focus {
  border-color: var(--brand-black);
  outline: none;
}

select.form-control {
  appearance: auto;
  padding-right: 0.85rem;
}

textarea.form-control {
  min-height: 108px;
  resize: vertical;
  line-height: 1.5;
}

.hero-corridor-quicklinks {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.9rem;
  font-size: 0.81rem;
}

.hero-corridor-quicklinks span {
  color: var(--text-muted);
  font-weight: 600;
}

.hero-corridor-quicklinks a {
  color: var(--text-body);
  font-weight: 600;
  border-bottom: 1px solid var(--border-mid);
}

.hero-corridor-quicklinks a:hover {
  color: var(--brand-orange);
  border-bottom-color: var(--brand-orange);
}

/* Hero Right Feature Card */
.hero-showcase-card {
  background-color: var(--brand-white);
  border: 1px solid var(--border-mid);
  border-radius: 2px;
  overflow: hidden;
}

.hero-showcase-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--surface-warm);
}

.hero-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-showcase-card:hover .hero-showcase-media img {
  transform: scale(1.03);
}

.hero-showcase-tagbar {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-showcase-body {
  padding: 1.5rem;
}

.hero-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-hairline);
}

.trust-stat-val {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-black);
}

.trust-stat-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Property Listing Cards — Bespoke Human Craftsmanship */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.listing-card {
  background-color: var(--brand-white);
  border: 1px solid var(--border-hairline);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease;
  overflow: hidden;
}

.listing-card:hover {
  border-color: var(--brand-black);
}

.listing-card-media {
  position: relative;
  border-bottom: 1px solid var(--border-hairline);
  background-color: var(--surface-warm);
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

/* Branded media placeholder — a frame never looks empty or broken.
   The wordmark sits behind the photo; it is visible while the image
   loads and remains as an intentional branded panel if it ever fails. */
.listing-card-media::before,
.hero-showcase-media::before,
.location-tile-media::before,
.gallery-main-frame::before {
  content: "SAKINA";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  color: #C4BCAD;
  z-index: 0;
}

.listing-card-media img,
.hero-showcase-media img,
.location-tile-media img,
.gallery-main-frame img {
  position: relative;
  z-index: 1;
}

.img-unavailable {
  opacity: 0;
}

/* Marketing flyers carry baked-in text — they must render whole on a
   white backing, never cover-cropped mid-sentence at the frame edge. */
.img-fit-contain {
  object-fit: contain !important;
  background-color: var(--brand-white);
}

.listing-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.listing-card:hover .listing-card-media img {
  transform: scale(1.035);
}

.listing-badges-top {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  pointer-events: none;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.26rem 0.65rem;
  font-size: 0.71rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-radius: 2px;
}

.status-for-sale {
  background-color: var(--brand-orange);
  color: var(--brand-white);
}

.status-for-lease,
.status-for-rent {
  background-color: var(--brand-navy);
  color: var(--brand-white);
}

.status-under-offer {
  background-color: var(--surface-warm);
  color: var(--brand-black);
  border: 1px solid var(--border-mid);
}

.status-sold {
  background-color: var(--brand-black);
  color: var(--brand-white);
}

.ref-badge {
  background-color: var(--brand-white);
  color: var(--brand-black);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.24rem 0.55rem;
  border: 1px solid var(--border-mid);
  border-radius: 2px;
}

.save-bookmark-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background-color: var(--brand-white);
  color: var(--brand-black);
  border: 1px solid var(--border-mid);
  border-radius: 2px;
  min-height: 32px;
  padding: 0.2rem 0.55rem;
  font-size: 0.73rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.save-bookmark-btn:hover {
  border-color: var(--brand-black);
}

.save-bookmark-btn.saved {
  background-color: var(--brand-black);
  color: var(--brand-white);
  border-color: var(--brand-black);
}

.listing-card-body {
  padding: 1.35rem 1.35rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.listing-location-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.location-marker-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--brand-orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.location-tile-media {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: -1.6rem -1.6rem 1.15rem -1.6rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-hairline);
  background-color: var(--surface-warm);
}

.location-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.location-tile:hover .location-tile-media img {
  transform: scale(1.035);
}

.listing-card-title {
  font-family: var(--font-serif);
  font-size: 1.14rem;
  line-height: 1.34;
  margin-bottom: 0.9rem;
  font-weight: 700;
}

.listing-card-title a:hover {
  color: var(--brand-orange);
}

.listing-price-block {
  margin-bottom: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border-hairline);
}

.listing-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.listing-price-main {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--brand-black);
  font-variant-numeric: tabular-nums;
}

.listing-price-unit {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-orange);
}

.listing-price-secondary {
  font-size: 0.77rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.listing-specs-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.spec-cell {
  border-right: 1px solid var(--border-hairline);
  padding-right: 0.45rem;
}

.spec-cell:last-child {
  border-right: none;
  padding-right: 0;
}

.spec-cell-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.1rem;
}

.spec-cell-value {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing-card-footer {
  border-top: 1px solid var(--border-hairline);
  padding: 0.75rem 1.35rem;
  background-color: var(--surface-alabaster);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.card-details-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-black);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.card-details-link:hover {
  color: var(--brand-orange);
}

.card-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.42rem 0.8rem;
  background-color: var(--brand-orange);
  color: var(--brand-white);
  font-size: 0.79rem;
  font-weight: 700;
  border-radius: 2px;
}

.card-wa-btn:hover {
  background-color: var(--brand-black);
  color: var(--brand-white);
}

/* Responsive Utility Grids — used for form rows and content blocks.
   Always collapse gracefully on small screens (unlike inline styles). */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* Corridor & Asset Type Editorial Grids */
.tiles-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tiles-grid-5 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.location-tile,
.type-tile {
  background-color: var(--brand-white);
  border: 1px solid var(--border-hairline);
  border-top: 2px solid var(--brand-black);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 2px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.location-tile:hover,
.type-tile:hover {
  border-color: var(--brand-orange);
  border-top-color: var(--brand-orange);
  background-color: var(--brand-white);
}

.tile-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.location-tile-count {
  display: inline-block;
  background-color: var(--surface-warm);
  color: var(--brand-black);
  font-size: 0.73rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: 2px;
}

.location-tile-name {
  font-size: 1.28rem;
  margin-bottom: 0.45rem;
}

.location-tile-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.location-tile-cta {
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--brand-orange);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-hairline);
}

/* Why Sakina 4-Column Architectural Block */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #283C5A;
  background-color: #172740;
}

.why-card {
  padding: 2rem 1.65rem;
  border-right: 1px solid #283C5A;
}

.why-card:last-child {
  border-right: none;
}

.why-number {
  display: block;
  font-family: var(--font-mono);
  color: var(--brand-orange);
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 0.85rem;
}

/* How Buying Works 4-Step Strip */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-mid);
  background-color: var(--brand-white);
}

.step-item {
  padding: 2rem 1.65rem;
  border-right: 1px solid var(--border-hairline);
  position: relative;
}

.step-item:last-child {
  border-right: none;
}

.step-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-orange);
  margin-bottom: 0.65rem;
}

/* Listing Detail Page Layout */
.detail-layout {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 2.75rem;
  align-items: start;
}

.gallery-main-frame {
  position: relative;
  border: 1px solid var(--border-mid);
  background-color: var(--surface-warm);
  margin-bottom: 0.75rem;
  border-radius: 2px;
  overflow: hidden;
}

.gallery-main-frame img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.gallery-caption-bar {
  background-color: var(--brand-black);
  color: #E8E8E8;
  padding: 0.65rem 1.15rem;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gallery-thumbs {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.gallery-thumb-btn {
  border: 2px solid transparent;
  background: var(--surface-warm);
  width: 116px;
  height: 74px;
  cursor: pointer;
  padding: 0;
  border-radius: 2px;
  overflow: hidden;
  opacity: 0.72;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.gallery-thumb-btn:hover,
.gallery-thumb-btn.active {
  opacity: 1;
  border-color: var(--brand-orange);
}

.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overview Table */
.overview-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border-hairline);
  margin-bottom: 2.25rem;
  background-color: var(--brand-white);
}

.overview-table th,
.overview-table td {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--border-hairline);
  text-align: left;
  font-size: 0.91rem;
}

.overview-table th {
  background-color: var(--surface-alabaster);
  font-weight: 600;
  width: 34%;
  color: var(--text-muted);
  font-size: 0.83rem;
  border-right: 1px solid var(--border-hairline);
}

.overview-table td {
  font-weight: 500;
  color: var(--brand-black);
}

/* Sticky Enquiry Card on Desktop */
.sticky-enquiry-card {
  position: sticky;
  top: 102px;
  background-color: var(--brand-white);
  border: 1px solid var(--border-mid);
  border-top: 3px solid var(--brand-orange);
  border-radius: 2px;
}

.enquiry-card-header {
  background-color: var(--surface-alabaster);
  color: var(--brand-black);
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-hairline);
}

.enquiry-card-body {
  padding: 1.5rem;
}

.agent-badge-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-bottom: 1.15rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--border-hairline);
}

.agent-avatar {
  width: 48px;
  height: 48px;
  background-color: var(--brand-navy);
  color: var(--brand-white);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}

/* Filter Panel */
.filter-panel {
  background-color: var(--brand-white);
  border: 1px solid var(--border-mid);
  border-top: 3px solid var(--brand-black);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 2px;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: end;
}

/* Share Bar */
.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.15rem;
  background-color: var(--surface-alabaster);
  border: 1px solid var(--border-hairline);
  margin-bottom: 2.25rem;
  border-radius: 2px;
}

/* Alerts & Disclaimers */
.alert-banner {
  background-color: var(--brand-orange-soft);
  border: 1px solid var(--brand-orange-border);
  border-left: 4px solid var(--brand-orange);
  padding: 1.15rem 1.4rem;
  margin-bottom: 1.75rem;
  font-size: 0.93rem;
}

.disclaimer-box {
  background-color: var(--surface-alabaster);
  border: 1px solid var(--border-hairline);
  border-left: 3px solid var(--brand-navy);
  padding: 1.15rem 1.35rem;
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-top: 2.25rem;
  line-height: 1.6;
}

/* Floating Contact Icons (Every Page: WhatsApp on Top, Call Below) */
.floating-contact-stack {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.floating-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  text-decoration: none;
}

.floating-contact-btn svg {
  display: block;
}

.floating-whatsapp {
  background-color: var(--brand-orange);
  color: var(--brand-white);
  border-color: var(--brand-orange);
}

.floating-whatsapp:hover {
  background-color: var(--brand-orange-hover);
  color: var(--brand-white);
}

.floating-call {
  background-color: var(--brand-black);
  color: var(--brand-white);
  border-color: #383838;
}

.floating-call:hover {
  background-color: var(--brand-navy);
  color: var(--brand-white);
}

/* Mobile Sticky Bottom Action Bar on Listing Pages */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 960;
  background-color: var(--brand-white);
  border-top: 1px solid var(--border-mid);
  padding: 0.65rem 0.9rem;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

/* DPA 2019 Privacy Notice Banner */
.privacy-consent-banner {
  position: fixed;
  left: 1.35rem;
  bottom: 1.35rem;
  max-width: 420px;
  background-color: var(--brand-white);
  border: 1px solid var(--border-mid);
  border-top: 3px solid var(--brand-black);
  padding: 1.15rem 1.35rem;
  z-index: 940;
  font-size: 0.82rem;
}

.privacy-consent-banner.hidden {
  display: none;
}

/* Footer */
.site-footer {
  background-color: var(--brand-black);
  color: #D9D9D9;
  border-top: 3px solid var(--brand-orange);
  padding: 4.5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr 0.95fr 1.25fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #2E2E2E;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-orange);
  margin-bottom: 1.15rem;
}

.footer-links li {
  margin-bottom: 0.58rem;
}

.footer-links a {
  color: #D4D4D4;
  font-size: 0.89rem;
}

.footer-links a:hover {
  color: var(--brand-white);
  text-decoration: underline;
  text-decoration-color: var(--brand-orange);
  text-underline-offset: 4px;
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: #9E9E9E;
}

.footer-bottom a {
  color: #E0E0E0;
}

.footer-bottom a:hover {
  color: var(--brand-orange);
}

/* Admin Table Styles */
.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-mid);
  background: var(--brand-white);
  border-radius: 2px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.87rem;
}

.admin-table th,
.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-hairline);
  text-align: left;
}

.admin-table th {
  background-color: var(--surface-alabaster);
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.73rem;
  letter-spacing: 0.06em;
}

/* Responsive Breakpoints */
@media (max-width: 1120px) {
  .hero-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .sticky-enquiry-card {
    position: static;
  }
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .listings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tiles-grid-5,
  .tiles-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-card:nth-child(2),
  .step-item:nth-child(2) {
    border-right: none;
  }
  .why-card:nth-child(1),
  .why-card:nth-child(2) {
    border-bottom: 1px solid #283C5A;
  }
  .step-item:nth-child(1),
  .step-item:nth-child(2) {
    border-bottom: 1px solid var(--border-hairline);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 880px) {
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--brand-white);
    border-bottom: 2px solid var(--brand-black);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.5rem 1.25rem;
    gap: 0;
  }
  .main-nav.open {
    display: flex;
  }
  .nav-link {
    width: 100%;
    height: auto;
    min-height: 46px;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border-hairline);
  }
  .search-form-grid {
    grid-template-columns: 1fr;
  }
  .search-form-grid .btn {
    width: 100%;
  }
  .filter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .filter-grid .form-group:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.1rem;
  }
  .section {
    padding: 3rem 0;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .filter-grid {
    grid-template-columns: 1fr;
  }
  .header-inner {
    min-height: 64px;
  }
  .hero-section {
    padding: 2.5rem 0 3.25rem;
  }
  .hero-search-box {
    padding: 1.15rem;
  }
  .search-mode-tabs {
    gap: 1.1rem;
    overflow-x: auto;
  }
  .search-mode-tab {
    white-space: nowrap;
  }
  .overview-table th,
  .overview-table td {
    padding: 0.7rem 0.75rem;
    font-size: 0.84rem;
  }
  .listing-card-footer {
    flex-wrap: wrap;
  }
  .listings-grid,
  .tiles-grid-5,
  .tiles-grid-6,
  .why-grid,
  .steps-grid,
  .footer-grid,
  .hero-trust-strip {
    grid-template-columns: 1fr;
  }
  .listings-grid,
  .tiles-grid-5,
  .tiles-grid-6 {
    gap: 1.25rem;
  }
  .why-card {
    border-right: none;
    border-bottom: 1px solid #283C5A;
  }
  .why-card:last-child {
    border-bottom: none;
  }
  .step-item {
    border-right: none;
    border-bottom: 1px solid var(--border-hairline);
  }
  .step-item:last-child {
    border-bottom: none;
  }
  .floating-contact-btn {
    width: 50px;
    height: 50px;
  }
  .floating-contact-stack {
    right: 1rem;
    bottom: 1rem;
  }
  body.has-mobile-bar {
    padding-bottom: 74px;
  }
  body.has-mobile-bar .floating-contact-stack {
    bottom: 5.25rem;
  }
  .mobile-bottom-bar {
    display: grid;
  }
  .privacy-consent-banner {
    right: 1rem;
    left: 1rem;
    bottom: 1rem;
    max-width: none;
  }
  body.has-mobile-bar .privacy-consent-banner {
    bottom: 5.25rem;
  }
  .brand-logo,
  .brand-logo-img {
    max-height: 52px;
  }
  .footer-brand .brand-logo-footer {
    max-height: 48px;
  }
}
