/* ════════════════════════════════════════════════════════════════════════════
   INTERIORS EXPRESS REALTY — MASTER STYLESHEET
   Daylight Zero-Charcoal Architecture · Cormorant Garamond Editorial Dignity
   Double Menu System (#gtop + #mnav) · High-Impact Visuals · 360° Viewer
   ════════════════════════════════════════════════════════════════════════════ */

:root {
  --bg-page: #FAF6EE;
  --bg-card: #FFFFFF;
  --bg-card-alt: #FDFCFA;
  --bg-sand: #EFE9DA;
  --bg-sand-light: #F7F3E9;
  --text-main: #23201C;
  --text-secondary: #4A443E;
  --text-muted: #756D63;
  --brand-copper: #8B5E34;
  --brand-copper-dark: #6E4522;
  --brand-copper-light: rgba(139, 94, 52, 0.08);
  --brand-gold: #C59B27;
  --brand-forest: #1B4D3E;
  --brand-forest-light: rgba(27, 77, 62, 0.08);
  --brand-indigo: #312E81;
  --brand-indigo-light: rgba(49, 46, 129, 0.08);
  --border-light: rgba(139, 94, 52, 0.12);
  --border-med: rgba(139, 94, 52, 0.24);
  --shadow-sm: 0 2px 8px rgba(60, 40, 20, 0.04);
  --shadow-md: 0 8px 24px rgba(60, 40, 20, 0.07);
  --shadow-lg: 0 16px 40px rgba(60, 40, 20, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: 112px; /* Clears 62px #gtop + 50px #mnav */
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ══════════════════════════════════════════════════════════════
   1. DOUBLE MENU SYSTEM (#gtop & #mnav)
   ══════════════════════════════════════════════════════════════ */

/* Tier 1: Fixed Global Bar */
#gtop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: rgba(250, 246, 238, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}

.gtop-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--brand-copper);
  color: #FFFFFF;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--brand-copper);
  letter-spacing: 1.5px;
}

.realty-pill {
  background: var(--brand-forest);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.gtop-search {
  flex: 1;
  max-width: 440px;
  margin: 0 24px;
  position: relative;
}

.gtop-search input {
  width: 100%;
  padding: 9px 16px 9px 38px;
  border: 1px solid var(--border-med);
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  font-size: 13.5px;
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}

.gtop-search input:focus {
  border-color: var(--brand-copper);
  box-shadow: 0 0 0 3px rgba(139, 94, 52, 0.12);
}

.gtop-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 15px;
}

.gtop-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mode-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--border-med);
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.mode-toggle-btn:hover {
  background: var(--bg-sand);
  color: var(--brand-copper);
}

.shortlist-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-med);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--brand-copper);
  transition: var(--transition);
}

.shortlist-btn:hover {
  background: var(--bg-sand);
}

.shortlist-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #B22222;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  padding: 8px 18px;
  background: var(--brand-copper);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary:hover {
  background: var(--brand-copper-dark);
  transform: translateY(-1px);
}

/* Tier 2: Fixed Module Bar */
#mnav {
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  height: 50px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  z-index: 990;
  display: flex;
  align-items: center;
  padding: 0 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

#mnav::-webkit-scrollbar {
  display: none;
}

.mnav-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.mnav-tab {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
}

.mnav-tab:hover {
  background: var(--bg-sand-light);
  color: var(--brand-copper);
}

.mnav-tab.active {
  background: var(--brand-copper-light);
  color: var(--brand-copper);
  border-color: rgba(139, 94, 52, 0.2);
  font-weight: 600;
}

.mnav-divider {
  width: 1px;
  height: 22px;
  background: var(--border-light);
  margin: 0 6px;
}

.mnav-special-tab {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tab-360 {
  background: rgba(49, 46, 129, 0.08);
  color: var(--brand-indigo);
  border: 1px solid rgba(49, 46, 129, 0.2);
}

.tab-360:hover {
  background: var(--brand-indigo);
  color: #FFFFFF;
}

.tab-video {
  background: rgba(131, 24, 67, 0.08);
  color: #831843;
  border: 1px solid rgba(131, 24, 67, 0.2);
}

.tab-video:hover {
  background: #831843;
  color: #FFFFFF;
}

.tab-guides {
  background: rgba(27, 77, 62, 0.08);
  color: var(--brand-forest);
  border: 1px solid rgba(27, 77, 62, 0.2);
}

.tab-guides:hover {
  background: var(--brand-forest);
  color: #FFFFFF;
}

.tab-list {
  background: var(--brand-gold);
  color: #FFFFFF;
  margin-left: auto;
}

.tab-list:hover {
  background: #9E7B1C;
}

/* ══════════════════════════════════════════════════════════════
   2. HERO VISUAL SHOWCASE (50/50 Editorial Split)
   ══════════════════════════════════════════════════════════════ */

.hero-editorial {
  padding: 24px 28px 16px;
  max-width: 1540px;
  margin: 0 auto;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 28px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  min-height: 520px;
}

.hero-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.badge-tag {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.badge-solace {
  background: var(--brand-forest-light);
  color: var(--brand-forest);
  border: 1px solid rgba(27, 77, 62, 0.2);
}

.badge-hills {
  background: var(--brand-copper-light);
  color: var(--brand-copper);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 12px;
}

.hero-tagline {
  font-size: 17px;
  font-weight: 500;
  color: var(--brand-copper);
  margin-bottom: 16px;
}

.hero-description {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.hero-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 16px;
  background: var(--bg-sand-light);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.hero-spec-item {
  display: flex;
  flex-direction: column;
}

.hero-spec-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-spec-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-secondary {
  padding: 8px 18px;
  border: 1px solid var(--border-med);
  background: #FFFFFF;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-secondary:hover {
  background: var(--bg-sand);
  border-color: var(--brand-copper);
  color: var(--brand-copper);
}

.hero-visual {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 480px;
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
}

.hero-visual-badges {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.visual-badge {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

.hero-visual-bottom {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  z-index: 2;
  color: #FFFFFF;
}

.hero-price-tag {
  display: flex;
  flex-direction: column;
}

.hero-price-val {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.hero-price-sub {
  font-size: 12px;
  opacity: 0.9;
}

.hero-visual-triggers {
  display: flex;
  gap: 10px;
}

.trigger-btn {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--text-main);
  font-size: 12.5px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-md);
}

.trigger-btn:hover {
  background: #FFFFFF;
  color: var(--brand-copper);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════════
   3. NATURE OF DWELLING (SOUL/VIBE) CAROUSEL & FILTER
   ══════════════════════════════════════════════════════════════ */

.nature-section {
  padding: 16px 28px;
  max-width: 1540px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-heading-group h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
}

.section-heading-group p {
  font-size: 13.5px;
  color: var(--text-muted);
}

.nature-pills-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.nature-pill-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 14px;
}

.nature-pill-card:hover {
  border-color: var(--brand-copper);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.nature-pill-card.active {
  background: var(--brand-copper-light);
  border-color: var(--brand-copper);
  box-shadow: 0 0 0 2px var(--brand-copper);
}

.nature-pill-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.nature-pill-info {
  display: flex;
  flex-direction: column;
}

.nature-pill-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.nature-pill-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ══════════════════════════════════════════════════════════════
   4. INTERACTIVE FILTER & SEARCH TOOLBAR
   ══════════════════════════════════════════════════════════════ */

.toolbar-section {
  padding: 12px 28px;
  max-width: 1540px;
  margin: 0 auto;
}

.filter-toolbar {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-sand-light);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.filter-chip:hover {
  background: var(--bg-sand);
  color: var(--brand-copper);
}

.filter-chip.active {
  background: var(--brand-copper);
  color: #FFFFFF;
  border-color: var(--brand-copper);
}

.toolbar-select {
  padding: 7px 12px;
  border: 1px solid var(--border-med);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  color: var(--text-main);
  background: #FFFFFF;
  outline: none;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.results-count {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════
   5. REAL ESTATE LISTINGS GRID
   ══════════════════════════════════════════════════════════════ */

.listings-section {
  padding: 16px 28px 48px;
  max-width: 1540px;
  margin: 0 auto;
}

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

.property-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(139, 94, 52, 0.3);
}

.card-media {
  position: relative;
  height: 250px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 100%);
}

.card-top-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.card-vibe-badge {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
}

.card-shortlist-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--text-muted);
  transition: var(--transition);
}

.card-shortlist-btn:hover,
.card-shortlist-btn.active {
  background: #FFFFFF;
  color: #B22222;
}

.card-media-triggers {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.media-tag-btn {
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}

.media-tag-btn:hover {
  background: var(--brand-copper);
}

.card-price-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  color: #FFFFFF;
}

.card-price-amount {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.card-price-rate {
  font-size: 11px;
  opacity: 0.9;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.card-style-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand-copper);
}

.card-location {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 3px;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 8px;
}

.card-tagline {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-specs-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-sand-light);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 12px;
}

.spec-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}

.spec-cell strong {
  color: var(--text-main);
}

.card-footer-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

.btn-card-primary {
  padding: 8px 12px;
  background: var(--brand-copper);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-align: center;
  transition: var(--transition);
}

.btn-card-primary:hover {
  background: var(--brand-copper-dark);
}

.btn-card-outline {
  padding: 8px 12px;
  border: 1px solid var(--border-med);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-align: center;
  transition: var(--transition);
}

.btn-card-outline:hover {
  background: var(--bg-sand);
  color: var(--brand-copper);
  border-color: var(--brand-copper);
}

/* ══════════════════════════════════════════════════════════════
   6. 360° VIRTUAL TOURS SPOTLIGHT SECTION
   ══════════════════════════════════════════════════════════════ */

.tours-section {
  padding: 36px 28px;
  max-width: 1540px;
  margin: 0 auto;
}

.tours-container {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.tours-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}

.tour-canvas-box {
  position: relative;
  height: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow-md);
}

.tour-canvas-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease-out;
  cursor: grab;
}

.tour-canvas-img:active {
  cursor: grabbing;
}

.tour-controls-bar {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}

.tour-room-selector {
  display: flex;
  gap: 6px;
}

.room-chip {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  background: var(--bg-sand);
  color: var(--text-secondary);
  transition: var(--transition);
}

.room-chip.active {
  background: var(--brand-indigo);
  color: #FFFFFF;
}

.tour-instructions {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.tour-playlist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tour-item-card {
  padding: 14px;
  background: var(--bg-sand-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  display: flex;
  gap: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.tour-item-card:hover,
.tour-item-card.active {
  background: #FFFFFF;
  border-color: var(--brand-indigo);
  box-shadow: var(--shadow-sm);
}

.tour-thumb {
  width: 90px;
  height: 65px;
  border-radius: 8px;
  object-fit: cover;
}

.tour-item-info h4 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.tour-item-info p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════
   7. BUYER ADVISORY GUIDES (KNOWLEDGE DOSSIERS)
   ══════════════════════════════════════════════════════════════ */

.guides-section {
  padding: 36px 28px 48px;
  max-width: 1540px;
  margin: 0 auto;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.guide-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.guide-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-forest);
  box-shadow: var(--shadow-md);
}

.guide-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.guide-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-forest);
  background: var(--brand-forest-light);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.guide-readtime {
  font-size: 11.5px;
  color: var(--text-muted);
}

.guide-title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 10px;
}

.guide-summary {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.guide-keypoints {
  background: var(--bg-sand-light);
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.guide-keypoints li {
  font-size: 12px;
  color: var(--text-main);
  margin-left: 16px;
  margin-bottom: 4px;
}

.btn-read-guide {
  color: var(--brand-forest);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-read-guide:hover {
  gap: 10px;
  color: var(--text-main);
}

/* ══════════════════════════════════════════════════════════════
   8. INTERACTIVE MODALS & DRAWERS
   ══════════════════════════════════════════════════════════════ */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(35, 32, 28, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
}

.modal-close-btn {
  font-size: 24px;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--bg-sand);
  color: var(--text-main);
}

.modal-body {
  padding: 24px;
}

/* Property Detail Drawer (Slides from Right) */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(35, 32, 28, 0.45);
  backdrop-filter: blur(6px);
  z-index: 2100;
  display: none;
}

.drawer-backdrop.active {
  display: block;
}

.drawer-box {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 720px;
  background: #FFFFFF;
  box-shadow: var(--shadow-lg);
  z-index: 2101;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.drawer-box.active {
  transform: translateX(0);
}

.drawer-hero-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.drawer-content {
  padding: 32px;
  flex: 1;
}

.drawer-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.drawer-gallery-thumb {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.drawer-gallery-thumb:hover {
  transform: scale(1.02);
}

/* Forms */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-med);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 13.5px;
  color: var(--text-main);
  background: #FFFFFF;
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-copper);
  box-shadow: 0 0 0 3px rgba(139, 94, 52, 0.12);
}

/* ══════════════════════════════════════════════════════════════
   9. DAYLIGHT WARM SANDSTONE FOOTER
   ══════════════════════════════════════════════════════════════ */

.realty-footer {
  background: var(--bg-sand);
  border-top: 1px solid var(--border-med);
  padding: 48px 28px 36px;
  margin-top: 48px;
}

.footer-inner {
  max-width: 1540px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-copper);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--brand-copper);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════
   10. RESPONSIVE QUERIES
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
  .hero-split {
    grid-template-columns: 1fr;
  }
  .listings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nature-pills-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .tours-grid {
    grid-template-columns: 1fr;
  }
  .guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 112px;
  }
  #gtop {
    padding: 0 16px;
  }
  .gtop-search {
    display: none;
  }
  .listings-grid {
    grid-template-columns: 1fr;
  }
  .nature-pills-row {
    grid-template-columns: 1fr 1fr;
  }
  .guides-grid {
    grid-template-columns: 1fr;
  }
  .hero-content {
    padding: 24px;
  }
  .hero-title {
    font-size: 30px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
